/* =================================================================
   OXFLARE PROPERTY MANAGEMENT — SITE STYLESHEET
   Design system ported from the approved reference design.
   Do not introduce new border-radius values, shadows, or accent
   colors elsewhere — everything routes through the tokens below.
================================================================= */

/* ========== RESET & BASE ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: #000000;
  background: #ffffff;
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

:root {
  --black: #000000;
  --white: #ffffff;
  --sky: #0ea5e9;
  --sky-deep: #0284c7;
  --sky-dark: #0369a1;
  --sky-pale: #f0f9ff;
  --sky-mid: #bae6fd;
  --radius: 4px;
  --border-thin: 2px solid #000000;
  --border-soft: 1px solid rgba(0,0,0,0.10);
}

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-narrow { width: 100%; max-width: 820px; margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ========== TYPOGRAPHY ========== */
h1, h2, h3, h4 {
  color: #000000;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.2rem, 5.4vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 800; letter-spacing: -0.01em; }
p { color: #000000; font-size: 1rem; }
.lead { font-size: 1.08rem; color: #000000; max-width: 60ch; }

.eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #000000;
  margin-bottom: 16px;
  border: var(--border-thin);
  border-radius: var(--radius);
  padding: 4px 12px;
}
.section { padding: 100px 0; }
.section-tight { padding: 72px 0; }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .lead { margin-left: auto; margin-right: auto; }

/* ========== PROSE (article / legal / long-form content) ========== */
.prose { max-width: 74ch; }
.prose h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 44px 0 16px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.15rem; margin: 30px 0 12px; }
.prose p { margin-bottom: 18px; font-size: 1rem; font-weight: 500; line-height: 1.75; }
.prose ul, .prose ol { margin: 0 0 18px 22px; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-bottom: 8px; font-weight: 500; line-height: 1.65; }
.prose a { color: var(--sky-deep); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.prose a:hover { color: var(--sky-dark); }
.prose strong { font-weight: 800; }
.prose blockquote {
  border-left: var(--border-thin);
  padding: 4px 0 4px 22px;
  margin: 24px 0;
  font-weight: 700;
  font-size: 1.05rem;
}
.prose hr { border: none; border-top: var(--border-thin); margin: 40px 0; }
.prose .lead { margin-bottom: 28px; }

/* ========== NAVBAR ========== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: #ffffff;
  border-bottom: var(--border-thin);
  transition: box-shadow .3s ease;
}
.nav.scrolled {
  box-shadow: 0 4px 0 rgba(0,0,0,0.9);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.brand { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-size: 1.2rem; font-weight: 900; letter-spacing: 0.1em;
  color: #000000;
}
.brand-name span { color: var(--sky); }
.brand-sub {
  font-size: 0.55rem; font-weight: 800; letter-spacing: 0.24em;
  color: #000000; text-transform: uppercase; margin-top: 3px;
}
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  font-size: 0.85rem; font-weight: 800; color: #000000;
  text-transform: uppercase; letter-spacing: 0.06em;
  transition: color .2s ease; position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: -6px;
  width: 0; height: 3px; background: var(--sky);
  transition: width .25s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--sky-deep); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-actions { display: flex; align-items: center; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 800; font-size: 0.85rem;
  padding: 14px 26px;
  border: var(--border-thin);
  border-radius: var(--radius);
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.btn:active { transform: translateY(2px); }
.btn-primary {
  background: #000000;
  color: #ffffff;
}
.btn-primary:hover {
  background: var(--sky);
  border-color: var(--sky);
  color: #ffffff;
}
.btn-outline {
  background: #ffffff;
  color: #000000;
  border: var(--border-thin);
}
.btn-outline:hover {
  background: #000000;
  color: #ffffff;
}
.btn-ghost {
  background: transparent;
  color: #000000;
  border-color: transparent;
  padding: 14px 12px;
}
.btn-ghost:hover {
  color: var(--sky-deep);
  border-color: transparent;
}
.btn-lg { padding: 18px 36px; font-size: 0.95rem; }
.btn-sm { padding: 10px 18px; font-size: 0.75rem; }
.btn-block { width: 100%; }
.btn-white {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
}
.btn-white:hover {
  background: #000000;
  color: #ffffff;
  border-color: #000000;
}
.btn-outline-white {
  background: transparent;
  color: #ffffff;
  border-color: #ffffff;
}
.btn-outline-white:hover {
  background: #ffffff;
  color: #000000;
}
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

.hamburger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 46px; height: 46px;
  border: var(--border-thin);
  border-radius: var(--radius);
  background: #ffffff;
}
.hamburger span {
  display: block; width: 20px; height: 3px; background: #000000;
  margin: 0 auto; transition: transform .3s ease, opacity .3s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.mobile-menu {
  display: none; flex-direction: column; gap: 0;
  padding: 0 24px 24px;
  background: #ffffff;
  border-bottom: var(--border-thin);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 16px 0; font-weight: 800; color: #000000;
  border-bottom: 2px solid #000000;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.85rem;
}
.mobile-menu .btn { margin-top: 16px; }

/* ========== BREADCRUMBS ========== */
.breadcrumbs {
  padding: 14px 0; border-bottom: var(--border-thin); background: #ffffff;
}
.breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.breadcrumbs li { display: flex; align-items: center; gap: 8px; font-size: 0.78rem; font-weight: 700; }
.breadcrumbs a { color: #000000; opacity: 0.65; }
.breadcrumbs a:hover { opacity: 1; color: var(--sky-deep); }
.breadcrumbs li[aria-current] { opacity: 1; color: var(--sky-deep); }
.breadcrumbs .sep { opacity: 0.35; }

/* ========== HERO (home) ========== */
.hero {
  padding: 160px 0 100px;
  background: #ffffff;
  border-bottom: var(--border-thin);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 40%; height: 100%;
  background: var(--sky-pale);
  border-left: var(--border-thin);
  z-index: 0;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-copy h1 { margin-bottom: 20px; }
.hero-copy .lead { margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 24px; }
.hero-note {
  font-size: 0.85rem; font-weight: 700; color: #000000;
  display: flex; align-items: center; gap: 10px;
  text-transform: uppercase; letter-spacing: 0.04em;
}
.hero-note svg { flex-shrink: 0; }
.hero-visual { position: relative; }

/* ========== PAGE HERO (interior pages) ========== */
.page-hero {
  padding: 152px 0 64px;
  background: #ffffff;
  border-bottom: var(--border-thin);
}
.page-hero.on-sky { background: var(--sky-pale); }
.page-hero.on-black { background: #000000; color: #ffffff; }
.page-hero.on-black h1, .page-hero.on-black .lead, .page-hero.on-black p { color: #ffffff; }
.page-hero.on-black .eyebrow { color: #ffffff; border-color: #ffffff; }
.page-hero .lead { margin-top: 18px; }
.page-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

/* Dashboard mockup — softer borders, real image parts in KPI row */
.dash {
  background: #ffffff;
  border: var(--border-thin);
  border-radius: var(--radius);
  overflow: hidden;
  animation: floatIn .9s ease forwards;
  opacity: 0;
}
@keyframes floatIn {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.dash-top {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 18px; border-bottom: var(--border-thin);
  background: #ffffff;
}
.dot { width: 12px; height: 12px; border: var(--border-thin); border-radius: 50%; }
.dot.r { background: #000000; }
.dot.y { background: var(--sky); }
.dot.g { background: #ffffff; }
.dash-title { font-size: 0.72rem; font-weight: 800; color: #000000; margin-left: 10px; letter-spacing: 0.08em; text-transform: uppercase; }
.dash-body { padding: 22px; }

.dash-image-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}
.dash-img-card {
  border: var(--border-thin);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  aspect-ratio: 1 / 1;
  background: #000000;
}
.dash-img-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.dash-img-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: rgba(0,0,0,0.78);
  color: #ffffff;
  padding: 6px 8px;
  font-size: 0.58rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.dash-img-label .num {
  color: var(--sky);
  font-size: 0.8rem;
  font-weight: 900;
}

.dash-row { display: grid; grid-template-columns: 1.6fr 1fr; gap: 14px; }
.panel {
  background: #ffffff; border: var(--border-thin); border-radius: var(--radius); padding: 16px;
}
.panel-title {
  font-size: 0.65rem; font-weight: 800; color: #000000;
  text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 12px;
}
.chart {
  display: flex; align-items: flex-end; gap: 6px; height: 80px; padding-top: 8px;
}
.bar {
  flex: 1; background: #000000; min-height: 6px;
  border-radius: var(--radius) var(--radius) 0 0;
  transform-origin: bottom;
  animation: growBar 1s ease forwards;
  opacity: 0;
}
.bar.sky { background: var(--sky); }
@keyframes growBar { from { transform: scaleY(0); opacity: 0; } to { transform: scaleY(1); opacity: 1; } }
.pay-list { display: flex; flex-direction: column; gap: 0; }
.pay-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 0; border-bottom: 2px solid #000000;
  font-size: 0.72rem;
}
.pay-item:last-child { border-bottom: none; }
.pay-name { font-weight: 800; color: #000000; }
.pay-amt { font-weight: 900; color: #000000; }
.pay-amt.sky { color: var(--sky); }

.float-badge {
  position: absolute; background: #ffffff;
  border: var(--border-thin); border-radius: var(--radius); padding: 12px 16px;
  font-size: 0.72rem; font-weight: 900;
  color: #000000; display: flex; align-items: center; gap: 10px;
  text-transform: uppercase; letter-spacing: 0.06em;
  animation: floaty 4s ease-in-out infinite;
}
.float-badge.b1 { top: -16px; right: 24px; animation-delay: 0s; }
.float-badge.b2 { bottom: -16px; left: -12px; animation-delay: 1.5s; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.badge-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--sky); }

/* ========== VALUE STRIP ========== */
.value-strip {
  background: #000000; color: #ffffff;
  padding: 28px 0; border-bottom: var(--border-thin);
}
.value-track {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.value-item {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.75rem; font-weight: 900; letter-spacing: 0.12em;
  text-transform: uppercase; color: #ffffff;
  transition: color .3s ease;
}
.value-item:hover { color: var(--sky); }
.value-item svg { color: var(--sky); }
.value-sep { color: rgba(255,255,255,0.3); font-weight: 400; }

/* ========== PROBLEM ========== */
.problem { background: #ffffff; border-bottom: var(--border-thin); }
.problem-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.problem-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 8px; border: var(--border-thin); border-radius: var(--radius); overflow: hidden; }
.problem-item {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 18px 16px; background: #ffffff;
  font-size: 0.85rem; font-weight: 700; color: #000000;
  border-bottom: 2px solid #000000;
  border-right: 2px solid #000000;
  transition: background .2s ease;
}
.problem-item:nth-child(2n) { border-right: none; }
.problem-item:nth-last-child(-n+2) { border-bottom: none; }
.problem-item:hover { background: var(--sky-pale); }
.problem-item svg { flex-shrink: 0; margin-top: 3px; color: #000000; }

.transition-box {
  margin-top: 48px; padding: 36px;
  border: var(--border-thin); border-radius: var(--radius);
  background: var(--sky-pale);
}
.transition-box h3 { color: #000000; font-size: 1.4rem; }

/* ========== MODULES ========== */
.modules { background: #ffffff; border-bottom: var(--border-thin); }
.eco {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border: var(--border-thin); border-radius: var(--radius); overflow: hidden;
}
.eco-card {
  background: #ffffff;
  padding: 28px 22px;
  border-right: var(--border-thin);
  border-bottom: var(--border-thin);
  transition: background .2s ease;
  display: block;
}
.eco-card:nth-child(4n) { border-right: none; }
.eco-card:nth-last-child(-n+4) { border-bottom: none; }
.eco-card:hover { background: var(--sky-pale); }
.eco-icon {
  width: 48px; height: 48px;
  background: #000000; color: #ffffff;
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.eco-card h3 { font-size: 1rem; margin-bottom: 8px; }
.eco-card p { font-size: 0.82rem; line-height: 1.55; }
.eco-card .eco-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 0.72rem; font-weight: 900; text-transform: uppercase; letter-spacing: 0.06em; color: var(--sky-deep); }

/* ========== SPLIT SECTIONS ========== */
.split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.split.reverse .split-visual { order: -1; }
.split-copy h2 { margin-bottom: 18px; }
.split-copy .lead { margin-bottom: 28px; }
.check-list { display: flex; flex-direction: column; gap: 14px; }
.check-list li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 0.88rem; font-weight: 700; color: #000000;
}
.check-list svg { flex-shrink: 0; margin-top: 3px; color: var(--sky); }

/* Property mockup */
.property-mock {
  background: #ffffff; border: var(--border-thin); border-radius: var(--radius); overflow: hidden;
}
.pm-head {
  padding: 16px 20px; border-bottom: var(--border-thin);
  display: flex; align-items: center; justify-content: space-between;
  background: #000000; color: #ffffff;
}
.pm-head h4 { font-size: 0.85rem; font-weight: 900; color: #ffffff; text-transform: uppercase; letter-spacing: 0.06em; }
.pm-head span { font-size: 0.7rem; color: var(--sky); font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; }
.pm-row {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  padding: 14px 20px; border-bottom: 2px solid #000000;
  font-size: 0.78rem; align-items: center;
  transition: background .2s ease;
}
.pm-row:last-child { border-bottom: none; }
.pm-row:hover { background: var(--sky-pale); }
.pm-row.head {
  font-size: 0.6rem; font-weight: 900; text-transform: uppercase;
  letter-spacing: 0.1em; color: #000000; background: #ffffff;
  border-bottom: var(--border-thin);
}
.pm-name { font-weight: 900; color: #000000; }
.pm-bar {
  height: 8px; background: #ffffff; border: 2px solid #000000; border-radius: var(--radius); overflow: hidden; margin-top: 5px;
}
.pm-bar span { display: block; height: 100%; background: #000000; }
.pm-bar span.sky { background: var(--sky); }
.pill {
  display: inline-block; padding: 4px 10px;
  font-size: 0.6rem; font-weight: 900; text-transform: uppercase; letter-spacing: 0.06em;
  border: var(--border-thin); border-radius: var(--radius);
}
.pill.good { background: #000000; color: #ffffff; }
.pill.warn { background: #ffffff; color: #000000; border-color: #000000; }
.pill.bad { background: #000000; color: var(--sky); }
.pill.sky { background: var(--sky); color: #ffffff; border-color: var(--sky); }

/* Ledger mockup */
.ledger {
  background: #ffffff; border: var(--border-thin); border-radius: var(--radius); overflow: hidden;
}
.ledger-head {
  padding: 20px 22px; background: #000000; color: #ffffff;
  display: flex; align-items: center; justify-content: space-between;
}
.ledger-head h4 { color: #ffffff; font-size: 0.9rem; font-weight: 900; }
.ledger-head .bal { font-size: 1.2rem; font-weight: 900; color: var(--sky); }
.ledger-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 22px; border-bottom: 2px solid #000000;
  font-size: 0.82rem;
}
.ledger-row:last-child { border-bottom: none; }
.ledger-row .lbl { color: #000000; font-weight: 700; }
.ledger-row .amt { font-weight: 900; }
.amt.credit { color: var(--sky); }
.amt.debit { color: #000000; }
.amt.neutral { color: #000000; }

/* Payment flow */
.flow {
  display: flex; align-items: stretch; justify-content: space-between;
  gap: 0; flex-wrap: nowrap; margin-top: 8px;
  border: var(--border-thin); border-radius: var(--radius); overflow: hidden;
}
.flow-step {
  flex: 1; text-align: center;
  padding: 24px 12px; background: #ffffff;
  border-right: var(--border-thin);
  transition: background .2s ease;
}
.flow-step:last-child { border-right: none; }
.flow-step:hover { background: var(--sky-pale); }
.flow-step .num {
  width: 36px; height: 36px;
  background: #000000; color: #ffffff;
  border-radius: var(--radius);
  font-weight: 900; font-size: 0.8rem;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 12px;
}
.flow-step p { font-size: 0.78rem; font-weight: 900; color: #000000; margin: 0; text-transform: uppercase; letter-spacing: 0.04em; }
.flow-step .sub { font-size: 0.65rem; color: #000000; margin-top: 4px; font-weight: 600; }

/* Portal mockup */
.portal-mock {
  background: #ffffff; border: var(--border-thin); border-radius: var(--radius); overflow: hidden;
}
.portal-head {
  padding: 20px 22px; border-bottom: var(--border-thin);
  display: flex; align-items: center; gap: 14px; background: #ffffff;
}
.avatar {
  width: 44px; height: 44px;
  background: #000000; color: #ffffff;
  border-radius: var(--radius);
  font-weight: 900; font-size: 0.85rem;
  display: flex; align-items: center; justify-content: center;
}
.portal-head .name { font-weight: 900; font-size: 0.9rem; color: #000000; }
.portal-head .unit { font-size: 0.72rem; color: #000000; font-weight: 600; }
.portal-body { padding: 22px; }
.portal-balance {
  background: #000000; color: #ffffff;
  border-radius: var(--radius);
  padding: 22px; margin-bottom: 18px;
}
.portal-balance .lbl { font-size: 0.65rem; opacity: 0.9; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 900; }
.portal-balance .val { font-size: 1.7rem; font-weight: 900; margin-top: 6px; color: var(--sky); }
.portal-balance .sub { font-size: 0.72rem; opacity: 0.8; margin-top: 4px; font-weight: 600; }
.portal-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.portal-action {
  padding: 14px; border: var(--border-thin); border-radius: var(--radius);
  font-size: 0.75rem; font-weight: 900; color: #000000; text-align: center;
  text-transform: uppercase; letter-spacing: 0.04em;
  transition: background .2s ease, color .2s ease;
}
.portal-action:hover { background: #000000; color: #ffffff; }

/* Owner mockup */
.owner-mock {
  background: #ffffff; border: var(--border-thin); border-radius: var(--radius); overflow: hidden;
}
.owner-head {
  padding: 18px 22px; border-bottom: var(--border-thin);
  background: #000000; color: #ffffff;
  display: flex; justify-content: space-between; align-items: center;
}
.owner-head h4 { font-size: 0.9rem; color: #ffffff; font-weight: 900; }
.owner-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-bottom: var(--border-thin); }
.owner-kpi {
  text-align: left; padding: 20px 22px;
  border-right: var(--border-thin);
}
.owner-kpi:last-child { border-right: none; }
.owner-kpi .lbl { font-size: 0.6rem; text-transform: uppercase; letter-spacing: 0.1em; color: #000000; font-weight: 900; }
.owner-kpi .val { font-size: 1.2rem; font-weight: 900; color: #000000; margin-top: 4px; }
.owner-kpi .val.sky { color: var(--sky); }

/* Phone mockup */
.phone {
  width: 280px; margin: 0 auto;
  background: #000000; padding: 12px;
  border-radius: 24px;
}
.phone-screen {
  background: #ffffff; border-radius: 16px; overflow: hidden;
}
.phone-notch {
  height: 24px; background: #000000; display: flex; align-items: center; justify-content: center;
}
.phone-notch::after {
  content: ''; width: 60px; height: 5px; background: #ffffff; border-radius: 2px;
}
.phone-body { padding: 18px; }
.phone-title { font-size: 0.85rem; font-weight: 900; color: #000000; margin-bottom: 14px; text-transform: uppercase; letter-spacing: 0.06em; }
.phone-task {
  display: flex; align-items: center; gap: 12px;
  padding: 12px; border: var(--border-thin); border-radius: var(--radius);
  margin-bottom: 10px; font-size: 0.72rem;
}
.phone-task .ic {
  width: 32px; height: 32px;
  background: #000000; color: #ffffff;
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.phone-task .tx { font-weight: 900; color: #000000; }
.phone-task .st { font-size: 0.62rem; color: #000000; font-weight: 600; }

/* Maintenance flow */
.maint-flow {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 0;
  border: var(--border-thin); border-radius: var(--radius); overflow: hidden;
}
.maint-step {
  text-align: center; padding: 26px 12px;
  background: #ffffff;
  border-right: var(--border-thin);
  transition: background .2s ease;
}
.maint-step:last-child { border-right: none; }
.maint-step:hover { background: var(--sky-pale); }
.maint-step .ic {
  width: 44px; height: 44px;
  background: #000000; color: #ffffff;
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 12px;
}
.maint-step p { font-size: 0.72rem; font-weight: 900; color: #000000; margin: 0; text-transform: uppercase; letter-spacing: 0.04em; }
.maint-step .st { font-size: 0.6rem; color: #000000; margin-top: 4px; font-weight: 600; }

/* Analytics */
.analytics-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border: var(--border-thin); border-radius: var(--radius); overflow: hidden;
}
.an-card {
  background: #ffffff; padding: 24px 22px;
  border-right: var(--border-thin);
  transition: background .2s ease;
}
.an-card:last-child { border-right: none; }
.an-card:hover { background: var(--sky-pale); }
.an-card .lbl { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 900; color: #000000; }
.an-card .val { font-size: 1.6rem; font-weight: 900; color: #000000; margin: 8px 0 4px; }
.an-card .trend { font-size: 0.72rem; font-weight: 900; }
.trend.up { color: var(--sky); }
.trend.down { color: #000000; }
.mini-chart { display: flex; align-items: flex-end; gap: 4px; height: 36px; margin-top: 12px; }
.mini-chart span { flex: 1; background: #000000; border-radius: 2px 2px 0 0; }
.mini-chart span.sky { background: var(--sky); }

/* Automation */
.auto-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  border: var(--border-thin); border-radius: var(--radius); overflow: hidden;
}
.auto-card {
  background: #ffffff; padding: 26px 24px;
  display: flex; gap: 16px; align-items: flex-start;
  border-right: var(--border-thin);
  border-bottom: var(--border-thin);
  transition: background .2s ease;
}
.auto-card:nth-child(3n) { border-right: none; }
.auto-card:nth-last-child(-n+3) { border-bottom: none; }
.auto-card:hover { background: var(--sky-pale); }
.auto-card .ic {
  width: 44px; height: 44px;
  background: #000000; color: #ffffff;
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.auto-card h4 { font-size: 0.9rem; margin-bottom: 4px; font-weight: 900; }
.auto-card p { font-size: 0.78rem; line-height: 1.5; font-weight: 600; }

/* Tree */
.tree { display: flex; flex-direction: column; align-items: center; gap: 0; }
.tree-node {
  background: #ffffff; border: var(--border-thin); border-radius: var(--radius);
  padding: 14px 28px;
  font-size: 0.82rem; font-weight: 900; color: #000000;
  position: relative;
  text-transform: uppercase; letter-spacing: 0.04em;
  transition: background .2s ease, color .2s ease;
}
.tree-node:hover { background: #000000; color: #ffffff; }
.tree-node.root { background: #000000; color: #ffffff; border-color: #000000; }
.tree-connector { width: 2px; height: 28px; background: #000000; }
.tree-children { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* Kenya section */
.kenya {
  background: #000000; color: #ffffff;
  border-bottom: var(--border-thin);
  position: relative; overflow: hidden;
}
.kenya h2 { color: #ffffff; }
.kenya .lead { color: #ffffff; }
.kenya .eyebrow { color: #ffffff; border-color: #ffffff; }
.kenya-tags { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.kenya-tag {
  padding: 12px 22px;
  background: #ffffff; border: var(--border-thin); border-radius: var(--radius);
  font-size: 0.8rem; font-weight: 900; color: #000000;
  text-transform: uppercase; letter-spacing: 0.06em;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.kenya-tag:hover { background: var(--sky); border-color: var(--sky); color: #ffffff; }

/* How it works — RICH PROCESS */
.process-section {
  background: #ffffff;
  border-bottom: var(--border-thin);
}
.process-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  border: var(--border-thin); border-radius: var(--radius); overflow: hidden;
}
.process-card {
  background: #ffffff;
  padding: 40px 32px;
  border-right: var(--border-thin);
  position: relative;
  transition: background .2s ease;
}
.process-card:last-child { border-right: none; }
.process-card:hover { background: var(--sky-pale); }
.process-num {
  font-size: 3.6rem; font-weight: 900; color: #000000;
  line-height: 1; margin-bottom: 18px; letter-spacing: -0.04em;
}
.process-num span { color: var(--sky); }
.process-card h3 { font-size: 1.2rem; margin-bottom: 10px; font-weight: 900; }
.process-card p { font-size: 0.88rem; font-weight: 600; }
.process-card .process-bar {
  height: 4px; background: #000000; margin-top: 24px;
  width: 100%; border-radius: var(--radius);
}
.process-card:nth-child(2) .process-bar { background: var(--sky); }

/* Why Oxflare */
.why-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  border: var(--border-thin); border-radius: var(--radius); overflow: hidden;
}
.why-card {
  padding: 32px 28px; background: #ffffff;
  border-right: var(--border-thin);
  border-bottom: var(--border-thin);
  transition: background .2s ease;
}
.why-card:nth-child(3n) { border-right: none; }
.why-card:nth-last-child(-n+3) { border-bottom: none; }
.why-card:hover { background: var(--sky-pale); }
.why-card .ic {
  width: 44px; height: 44px;
  background: #000000; color: #ffffff;
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.why-card h3 { font-size: 1rem; margin-bottom: 8px; font-weight: 900; }
.why-card p { font-size: 0.82rem; font-weight: 600; }

/* Final CTA */
.final-cta {
  background: #000000; color: #ffffff;
  text-align: center; padding: 100px 0;
  border-bottom: var(--border-thin);
}
.final-cta h2 { color: #ffffff; margin-bottom: 16px; }
.final-cta p { color: #ffffff; max-width: 560px; margin: 0 auto 36px; font-size: 1.05rem; font-weight: 600; }
.final-cta .actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* FAQ */
.faq-list { max-width: 800px; margin: 0 auto; border: var(--border-thin); border-radius: var(--radius); overflow: hidden; }
.faq-list.align-left { margin: 0; }
.faq-item { border-bottom: var(--border-thin); }
.faq-item:last-child { border-bottom: none; }
.faq-q {
  width: 100%; text-align: left; padding: 24px 28px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  font-weight: 900; font-size: 1rem; color: #000000;
  transition: background .2s ease;
}
.faq-q:hover { background: var(--sky-pale); }
.faq-icon {
  width: 32px; height: 32px;
  border: var(--border-thin); border-radius: var(--radius); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 1.1rem;
  transition: transform .3s ease, background .3s ease, color .3s ease;
}
.faq-item.open .faq-icon { transform: rotate(45deg); background: #000000; color: #ffffff; }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
  padding: 0 28px;
}
.faq-item.open .faq-a { max-height: 600px; padding-bottom: 24px; }
.faq-a p { font-size: 0.9rem; font-weight: 600; color: #000000; }

/* ========== PRICING ========== */
.pricing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch;
}
.price-card {
  background: #ffffff; border: var(--border-thin); border-radius: var(--radius);
  padding: 32px 28px; display: flex; flex-direction: column;
  position: relative;
}
.price-card.featured { background: #000000; color: #ffffff; transform: translateY(-8px); }
.price-card.featured h3, .price-card.featured .price-desc { color: #ffffff; }
.price-card.featured .price-amt { color: #ffffff; }
.price-card.featured .price-amt span { color: var(--sky); }
.price-card.featured .check-list li { color: #ffffff; }
.price-card.featured .check-list svg { color: var(--sky); }
.price-badge {
  position: absolute; top: -14px; left: 28px;
  background: var(--sky); color: #ffffff;
  padding: 6px 14px; border-radius: var(--radius);
  font-size: 0.65rem; font-weight: 900; text-transform: uppercase; letter-spacing: 0.08em;
}
.price-card h3 { font-size: 1.1rem; margin-bottom: 6px; }
.price-desc { font-size: 0.82rem; font-weight: 600; margin-bottom: 20px; }
.price-amt { font-size: 2.2rem; font-weight: 900; color: #000000; margin-bottom: 4px; letter-spacing: -0.02em; }
.price-amt span { font-size: 0.85rem; font-weight: 800; color: var(--sky-deep); text-transform: uppercase; letter-spacing: 0.04em; }
.price-period { font-size: 0.72rem; font-weight: 700; opacity: 0.7; margin-bottom: 24px; text-transform: uppercase; letter-spacing: 0.06em; }
.price-card .check-list { margin-bottom: 28px; flex-grow: 1; }
.price-card .check-list li { font-size: 0.85rem; }
.price-note {
  margin-top: 20px; text-align: center; font-size: 0.85rem; font-weight: 600;
}

/* ========== RESOURCES / BLOG ========== */
.post-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0;
  border: var(--border-thin); border-radius: var(--radius); overflow: hidden;
}
.post-card {
  display: block; background: #ffffff; padding: 30px 28px;
  border-right: var(--border-thin); border-bottom: var(--border-thin);
  transition: background .2s ease;
}
.post-card:nth-child(2n) { border-right: none; }
.post-card:last-child, .post-card:nth-last-child(2):nth-child(odd) { border-bottom: none; }
.post-card:hover { background: var(--sky-pale); }
.post-card .eyebrow { margin-bottom: 14px; }
.post-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.post-card p { font-size: 0.88rem; line-height: 1.6; margin-bottom: 14px; }
.post-meta { font-size: 0.72rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; color: #000000; opacity: 0.6; }
.post-read-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 0.75rem; font-weight: 900; text-transform: uppercase; letter-spacing: 0.06em; color: var(--sky-deep); }

.article-head { max-width: 74ch; }
.article-head .post-meta { margin-bottom: 18px; }
.article-head h1 { margin-bottom: 0; }

/* ========== FORMS ========== */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; display: flex; flex-direction: column; gap: 8px; }
.form-group.full { grid-column: 1 / -1; }
.form-label { font-size: 0.75rem; font-weight: 900; text-transform: uppercase; letter-spacing: 0.06em; color: #000000; }
.form-label .opt { font-weight: 600; text-transform: none; letter-spacing: 0; opacity: 0.55; }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 14px 16px; font-family: inherit; font-size: 0.95rem; font-weight: 600;
  border: var(--border-thin); border-radius: var(--radius); background: #ffffff; color: #000000;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none; border-color: var(--sky); box-shadow: 0 0 0 3px rgba(14,165,233,0.18);
}
.form-textarea { resize: vertical; min-height: 130px; }
.form-card {
  background: #ffffff; border: var(--border-thin); border-radius: var(--radius); padding: 36px;
}
.form-note { font-size: 0.78rem; font-weight: 600; opacity: 0.7; margin-top: 4px; }
.alert {
  padding: 16px 20px; border: var(--border-thin); border-radius: var(--radius);
  font-size: 0.88rem; font-weight: 700; margin-bottom: 24px;
}
.alert-success { background: var(--sky-pale); border-color: var(--sky-deep); color: var(--sky-dark); }
.alert-error { background: #fff5f5; border-color: #000000; color: #000000; }
.field-error { font-size: 0.75rem; font-weight: 800; color: #b91c1c; }

/* ========== CONTACT CARDS ========== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; align-items: start; }
.contact-info-card {
  background: #000000; color: #ffffff; border-radius: var(--radius); padding: 32px; border: var(--border-thin);
}
.contact-info-card h3 { color: #ffffff; margin-bottom: 20px; }
.contact-line { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 20px; font-size: 0.9rem; font-weight: 700; }
.contact-line:last-child { margin-bottom: 0; }
.contact-line svg { flex-shrink: 0; color: var(--sky); margin-top: 2px; }
.contact-line a:hover { color: var(--sky); }

/* ========== SIMPLE LIST CARDS (used on About / Security / Why pages) ========== */
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: var(--border-thin); border-radius: var(--radius); overflow: hidden; }
.stat-card { padding: 30px 26px; border-right: var(--border-thin); text-align: center; }
.stat-card:last-child { border-right: none; }
.stat-card .stat-num { font-size: 2rem; font-weight: 900; color: var(--sky-deep); }
.stat-card .stat-lbl { font-size: 0.75rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; margin-top: 6px; }

/* ========== 404 ========== */
.error-page { padding: 180px 0 120px; text-align: center; }
.error-code { font-size: clamp(5rem, 14vw, 9rem); font-weight: 900; color: #000000; line-height: 1; letter-spacing: -0.04em; }
.error-code span { color: var(--sky); }

/* ========== RICH FOOTER ========== */
footer {
  background: #000000; color: #ffffff;
  padding: 80px 0 0;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 40px;
  padding-bottom: 60px; border-bottom: var(--border-thin);
}
.footer-brand .brand-name { color: #ffffff; font-size: 1.3rem; }
.footer-brand .brand-name span { color: var(--sky); }
.footer-brand .brand-sub { color: #ffffff; opacity: 0.7; }
.footer-brand p { font-size: 0.85rem; margin-top: 20px; color: #ffffff; opacity: 0.8; max-width: 320px; font-weight: 500; }
.footer-col h4 {
  color: #ffffff; font-size: 0.75rem; text-transform: uppercase;
  letter-spacing: 0.12em; margin-bottom: 20px; font-weight: 900;
}
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a {
  font-size: 0.85rem; color: #ffffff; opacity: 0.7;
  transition: opacity .2s ease, color .2s ease; font-weight: 600;
}
.footer-col a:hover { opacity: 1; color: var(--sky); }
.footer-bottom {
  padding: 30px 0; display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px; font-size: 0.8rem; color: #ffffff; opacity: 0.7;
  font-weight: 600;
}
.footer-bottom-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-bottom-links a { color: #ffffff; opacity: 0.7; transition: opacity .2s ease, color .2s ease; }
.footer-bottom-links a:hover { opacity: 1; color: var(--sky); }

.footer-social {
  display: flex; gap: 12px; margin-top: 24px;
}
.footer-social a {
  width: 40px; height: 40px;
  border: var(--border-thin); border-radius: var(--radius); color: #ffffff;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.footer-social a:hover { background: var(--sky); border-color: var(--sky); color: #ffffff; }

/* Animations */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: .1s; }
.reveal-d2 { transition-delay: .2s; }
.reveal-d3 { transition-delay: .3s; }

/* ========== RESPONSIVE ========== */
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero::before { display: none; }
  .problem-grid { grid-template-columns: 1fr; gap: 44px; }
  .split { grid-template-columns: 1fr; gap: 48px; }
  .split.reverse .split-visual { order: 0; }
  .eco { grid-template-columns: repeat(2, 1fr); }
  .eco-card:nth-child(4n) { border-right: var(--border-thin); }
  .eco-card:nth-child(2n) { border-right: none; }
  .eco-card:nth-last-child(-n+4) { border-bottom: var(--border-thin); }
  .eco-card:nth-last-child(-n+2) { border-bottom: none; }
  .analytics-grid { grid-template-columns: repeat(2, 1fr); }
  .an-card:nth-child(4n) { border-right: var(--border-thin); }
  .an-card:nth-child(2n) { border-right: none; }
  .auto-grid { grid-template-columns: repeat(2, 1fr); }
  .auto-card:nth-child(3n) { border-right: var(--border-thin); }
  .auto-card:nth-child(2n) { border-right: none; }
  .auto-card:nth-last-child(-n+3) { border-bottom: var(--border-thin); }
  .auto-card:nth-last-child(-n+2) { border-bottom: none; }
  .process-grid { grid-template-columns: 1fr; }
  .process-card { border-right: none; border-bottom: var(--border-thin); }
  .process-card:last-child { border-bottom: none; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .why-card:nth-child(3n) { border-right: var(--border-thin); }
  .why-card:nth-child(2n) { border-right: none; }
  .why-card:nth-last-child(-n+3) { border-bottom: var(--border-thin); }
  .why-card:nth-last-child(-n+2) { border-bottom: none; }
  .maint-flow { grid-template-columns: repeat(3, 1fr); }
  .maint-step:nth-child(6) { border-right: none; }
  .maint-step:nth-child(3) { border-right: none; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .dash-image-row { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .price-card.featured { transform: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr; }
  .stat-card { border-right: none; border-bottom: var(--border-thin); }
  .stat-card:last-child { border-bottom: none; }
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .post-grid { grid-template-columns: 1fr; }
  .post-card { border-right: none !important; }
  .post-card:last-child { border-bottom: none; }
}
@media (max-width: 768px) {
  .nav-links, .nav-actions .btn-ghost, .nav-actions .btn-primary { display: none; }
  .hamburger { display: flex; }
  .section { padding: 72px 0; }
  .hero { padding: 130px 0 72px; }
  .page-hero { padding: 122px 0 52px; }
  .value-track { justify-content: center; }
  .value-sep { display: none; }
  .problem-list { grid-template-columns: 1fr; }
  .problem-item { border-right: none !important; }
  .problem-item:nth-last-child(-n+2) { border-bottom: 2px solid #000000; }
  .problem-item:last-child { border-bottom: none; }
  .eco { grid-template-columns: 1fr; }
  .eco-card { border-right: none !important; border-bottom: var(--border-thin) !important; }
  .eco-card:last-child { border-bottom: none !important; }
  .analytics-grid { grid-template-columns: 1fr; }
  .an-card { border-right: none !important; border-bottom: var(--border-thin); }
  .an-card:last-child { border-bottom: none; }
  .auto-grid { grid-template-columns: 1fr; }
  .auto-card { border-right: none !important; border-bottom: var(--border-thin) !important; }
  .auto-card:last-child { border-bottom: none !important; }
  .why-grid { grid-template-columns: 1fr; }
  .why-card { border-right: none !important; border-bottom: var(--border-thin) !important; }
  .why-card:last-child { border-bottom: none !important; }
  .maint-flow { grid-template-columns: repeat(2, 1fr); }
  .maint-step { border-right: var(--border-thin); border-bottom: var(--border-thin); }
  .maint-step:nth-child(2n) { border-right: none; }
  .maint-step:nth-last-child(-n+2) { border-bottom: none; }
  .flow { flex-direction: column; }
  .flow-step { border-right: none; border-bottom: var(--border-thin); }
  .flow-step:last-child { border-bottom: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .owner-kpis { grid-template-columns: 1fr 1fr; }
  .owner-kpi { border-right: var(--border-thin); border-bottom: var(--border-thin); }
  .owner-kpi:nth-child(2n) { border-right: none; }
  .owner-kpi:nth-last-child(-n+2) { border-bottom: none; }
  .dash-row { grid-template-columns: 1fr; }
  .float-badge { display: none; }
  .tree-children { flex-direction: column; align-items: center; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .form-grid { grid-template-columns: 1fr; }
  .form-group.full { grid-column: auto; }
}
@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .hero-actions .btn { width: 100%; }
  .portal-actions { grid-template-columns: 1fr; }
  .owner-kpis { grid-template-columns: 1fr; }
  .owner-kpi { border-right: none !important; border-bottom: var(--border-thin); }
  .owner-kpi:last-child { border-bottom: none; }
  .dash-image-row { grid-template-columns: 1fr 1fr; }
  .page-hero-actions .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
