/* =============================================================
   Zenex Verified — Editorial Luxury PropTech Design System
   Banking-grade trust meets cinematic real estate.
   Variance 7 · Motion 5 · Density 4 (gallery-airy, editorial)
   Theme variables (--brand-*) are injected from SiteSetting.
   ============================================================= */

:root {
  /* Brand palette — Zenex identity; overridden inline from SiteSetting */
  --brand-navy:       #213e37; /* Primary — dark gray turquoise */
  --brand-sage:       #2F5D50; /* Secondary — forest green */
  --brand-sage-dark:  #254a40;
  --brand-gold:       #ae9566; /* Accent — gray orange */
  --brand-gold-soft:  #e1d2aa; /* Soft accent — pastel gold */
  --brand-emerald:    #2F5D50; /* Status / verified (forest green) */
  --brand-surface:    #F7F8F7; /* Light background */
  --brand-ink:        #213e37;

  /* Primary scale (dark gray turquoise) */
  --navy-900: var(--brand-navy);
  --navy-800: #2a4f46;
  --navy-700: #32564d;
  --navy-600: #3d665b;
  --navy-500: #4a7569;

  /* Accent scale (gray orange + pastel gold) */
  --gold-50:  #faf8f3;
  --gold-100: #f3efe3;
  --gold-200: var(--brand-gold-soft);
  --gold-300: #d4c095;
  --gold-500: var(--brand-gold);
  --gold-600: #967f52;
  --gold-700: #7d6844;

  /* Verified / live status */
  --emerald-300: #7aab96;
  --emerald-500: var(--brand-emerald);
  --emerald-600: #254a40;

  /* Text & neutrals */
  --ink:         var(--brand-ink);
  --ink-soft:    #2a4f46;
  --muted:       #5c6b66;
  --muted-soft:  #7a8782;
  --line:        #e3e6e4;
  --line-soft:   rgba(33, 62, 55, 0.06);
  --line-strong: #cdd2cf;

  /* Surfaces */
  --bg:          var(--brand-surface);
  --surface:     #FFFFFF;
  --surface-warm:#f5f6f5;
  --surface-alt: #ebece9;

  /* Tinted shadows */
  --shadow-xs: 0 1px 2px rgba(33, 62, 55, 0.05);
  --shadow-sm: 0 2px 12px -2px rgba(33, 62, 55, 0.08);
  --shadow-md: 0 16px 40px -16px rgba(33, 62, 55, 0.14);
  --shadow-lg: 0 40px 80px -28px rgba(33, 62, 55, 0.22);
  --shadow-gold: 0 14px 36px -12px rgba(174, 149, 102, 0.35);
  --shadow-inset: inset 0 1px 0 rgba(255, 255, 255, 0.06);

  /* Radius — varied (skill: vary radius, tighter inner, softer outer) */
  --radius-pill: 999px;
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --radius-xs: 6px;

  /* Typography — Fraunces (display serif) + Plus Jakarta Sans (body) + JetBrains Mono (numerals) */
  --font-display: "Fraunces", "Times New Roman", "Times", Georgia, serif;
  --font-body:    "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", "Helvetica Neue", sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Motion — premium cubic-bezier (no linear / ease-in-out) */
  --ease-out:    cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-soft:   cubic-bezier(0.16, 1, 0.3, 1);

  /* Hero tabs & primary CTAs */
  --hero-lime:       var(--brand-sage);
  --hero-lime-dark:  var(--brand-sage-dark);

  /* Prices, hovers, highlights */
  --accent-gold: var(--gold-500);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-feature-settings: "ss01", "ss02", "cv01";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

h1 {
  font-family: var(--font-display);
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--ink);
  font-weight: 500;
  margin: 0 0 0.6rem;
  text-wrap: balance;
  font-variation-settings: "opsz" 144, "SOFT" 30;
}

h2, h3, h4, h5 {
  font-family: var(--font-body);
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--ink);
  font-weight: 600;
  margin: 0 0 0.6rem;
  text-wrap: balance;
}

h4, h5 {
  font-weight: 600;
  letter-spacing: -0.02em;
  font-size: 1rem;
}

p {
  color: var(--muted);
  margin: 0 0 1rem;
  text-wrap: pretty;
  max-width: 65ch;
}

strong { font-weight: 600; }

.container {
  width: min(1240px, calc(100% - 2.4rem));
  margin: 0 auto;
}

.container-narrow {
  width: min(880px, calc(100% - 2.4rem));
  margin: 0 auto;
}

::selection { background: var(--gold-500); color: var(--navy-900); }

/* Skip link — accessibility (skill: redesign-existing-projects §strategic omissions) */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--navy-900);
  color: var(--gold-500);
  padding: 0.7rem 1.1rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.85rem;
  z-index: 100;
  transition: top 0.25s var(--ease-spring);
}

.skip-link:focus { top: 1rem; outline: 2px solid var(--gold-500); outline-offset: 2px; }

/* Tabular numerals for stats (skill: design-taste-frontend) */
.num, .stat-num, .stats-grid h3, .diaspora-stats h4 {
  font-feature-settings: "tnum" 1, "lnum" 1;
  font-variant-numeric: tabular-nums lining-nums;
}

/* Deprecated — use plain headlines; no decorative serif italics */
.display-italic {
  font-family: inherit;
  font-style: normal;
  font-weight: inherit;
  color: inherit;
  font-variation-settings: normal;
}

/* Scroll-reveal — IntersectionObserver-driven (no scroll listeners) */
[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease-soft), transform 0.7s var(--ease-soft);
  will-change: transform, opacity;
}

[data-reveal].is-revealed {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal][data-stagger] > * {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease-soft), transform 0.6s var(--ease-soft);
  transition-delay: calc(var(--index, 0) * 80ms);
}

[data-reveal].is-revealed[data-stagger] > * { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  [data-reveal][data-stagger] > * { opacity: 1; transform: none; }
}

/* =================================================== Top utility bar */

.top-bar {
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.8rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.55rem 0;
  gap: 1rem;
  flex-wrap: wrap;
}

.top-bar-standards {
  margin: 0;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.55);
}

.top-bar-contact {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}

.top-bar-contact a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  transition: color 0.2s var(--ease-out);
}

.top-bar-contact a:hover {
  color: var(--gold-300);
}

.top-bar-sep {
  width: 1px;
  height: 0.85rem;
  background: rgba(255, 255, 255, 0.2);
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(73, 133, 123, 0.5); }
  50%      { box-shadow: 0 0 0 7px rgba(73, 133, 123, 0); }
}

/* Pages with breadcrumb hero — no duplicate utility strip */
.page-home .top-bar,
.page-developers .top-bar,
.page-developer .top-bar {
  display: none;
}

.page-home .site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: none;
}

.page-home .site-header.is-scrolled {
  position: fixed;
  background: rgba(33, 62, 55, 0.9);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 20px 50px -28px rgba(0, 0, 0, 0.4);
}

.page-home .site-nav a:not(.nav-cta) { color: rgba(255, 255, 255, 0.92); }
.page-home .site-nav a:not(.nav-cta):hover,
.page-home .site-nav a.active { color: white; }

.page-home .brand .text-accent { color: var(--hero-lime); }
.page-home .brand-mark {
  background: var(--brand-sage);
  box-shadow: 0 8px 20px -6px rgba(73, 133, 123, 0.55);
}
.page-home .nav-cta-ghost {
  border-color: rgba(255, 255, 255, 0.35);
  color: white;
}
.page-home .nav-cta-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}
.page-home .nav-cta-primary {
  background: var(--brand-sage) !important;
  color: white !important;
  border-color: transparent;
  box-shadow: 0 8px 24px -8px rgba(73, 133, 123, 0.55);
}
.page-home .nav-cta-primary:hover {
  background: var(--gold-500) !important;
  color: var(--navy-900) !important;
}
.page-home .link-button { color: rgba(255, 255, 255, 0.85); }
.page-home .nav-toggle span { background: white; }

.page-home .hero .hero-tab {
  color: rgba(255, 255, 255, 0.72);
}

.page-home .hero .hero-tab:hover {
  color: #fff;
}

.page-home .hero .hero-tab.is-active {
  color: var(--ink);
}

.page-home .hero .hero-search-btn {
  color: #fff;
  box-shadow: 0 8px 24px -8px rgba(73, 133, 123, 0.55);
}

.page-home .hero .hero-search-btn:hover {
  box-shadow: 0 10px 28px -6px rgba(73, 133, 123, 0.65);
}

/* =================================================== Header */

.site-header {
  background: rgba(33, 62, 55, 0.78);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  transition: background 0.4s var(--ease-out), border-color 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

.site-header.is-scrolled {
  background: rgba(33, 62, 55, 0.92);
  border-bottom-color: rgba(255, 255, 255, 0.06);
  box-shadow: 0 20px 50px -28px rgba(0, 0, 0, 0.4);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: -0.035em;
  font-size: 1.35rem;
  color: white;
}

.brand-logo {
  height: 42px;
  width: auto;
  max-width: min(220px, 56vw);
  object-fit: contain;
  display: block;
}

.brand-logo--footer {
  height: 46px;
  max-width: min(240px, 70vw);
}

.page-marketplace .brand-logo {
  height: 38px;
  max-width: min(200px, 48vw);
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(145deg, var(--brand-sage) 0%, var(--brand-sage-dark) 100%);
  position: relative;
  box-shadow: 0 8px 18px -6px rgba(73, 133, 123, 0.45), inset 0 1px 0 rgba(255,255,255,0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.brand-mark::before {
  content: "Z";
  font-family: var(--font-body);
  font-weight: 700;
  font-style: normal;
  font-size: 1.15rem;
  color: white;
}

.brand .text-primary { color: white; }
.brand .text-accent  {
  color: var(--gold-300);
  margin-left: 0.1rem;
  font-style: normal;
  font-weight: 600;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  border: none;
  background: none;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  height: 3px;
  border-radius: 999px;
  background: white;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.1rem;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
  font-size: 0.91rem;
  letter-spacing: -0.005em;
  padding: 0.55rem 1rem;
  border-radius: var(--radius-pill);
  transition: color 0.3s var(--ease-out), background 0.3s var(--ease-out);
  position: relative;
}

.site-nav a:hover { color: white; background: rgba(255,255,255,0.05); }
.site-nav a.active {
  color: var(--gold-300);
  background: rgba(73, 133, 123, 0.14);
}

.nav-cta {
  margin-left: 0.5rem;
  padding: 0.6rem 1.25rem !important;
  border-radius: var(--radius-pill);
  font-weight: 600 !important;
  font-size: 0.88rem !important;
  letter-spacing: -0.005em;
  transition: background 0.3s var(--ease-out), color 0.3s var(--ease-out), transform 0.18s var(--ease-spring), box-shadow 0.3s var(--ease-out) !important;
}

.nav-cta:active { transform: scale(0.97); }

.nav-cta-ghost {
  border: 1px solid rgba(255,255,255,0.16) !important;
  color: white !important;
}

.nav-cta-ghost:hover {
  border-color: var(--gold-300) !important;
  color: var(--gold-300) !important;
  background: transparent !important;
}

.nav-cta-primary {
  background: var(--brand-sage) !important;
  color: white !important;
  box-shadow: 0 10px 28px -10px rgba(73, 133, 123, 0.45);
}

.nav-cta-primary:hover {
  background: var(--gold-500) !important;
  color: var(--navy-900) !important;
  box-shadow: 0 18px 40px -12px rgba(197, 160, 89, 0.5);
}

.logout-form { display: inline; margin: 0; }

.link-button {
  background: none;
  border: none;
  color: rgba(255,255,255,0.7);
  font: inherit;
  cursor: pointer;
  padding: 0.55rem 0.9rem;
  font-weight: 500;
  transition: color 0.25s var(--ease-out);
}

.link-button:hover { color: white; }

/* =================================================== Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.9rem 1.7rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.94rem;
  letter-spacing: -0.005em;
  transition:
    transform 0.18s var(--ease-spring),
    background 0.3s var(--ease-out),
    color 0.3s var(--ease-out),
    box-shadow 0.3s var(--ease-out),
    border-color 0.3s var(--ease-out);
  border: 1px solid transparent;
  cursor: pointer;
  font-family: var(--font-body);
  position: relative;
  isolation: isolate;
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: scale(0.98) translateY(0); }

.btn-primary {
  background: var(--brand-sage);
  color: white;
  box-shadow: 0 10px 28px -10px rgba(73, 133, 123, 0.45);
}
.btn-primary:hover {
  background: var(--gold-500);
  color: var(--navy-900);
  box-shadow: 0 18px 40px -12px rgba(197, 160, 89, 0.5);
}

.btn-sage {
  background: var(--brand-sage);
  color: white;
  border-color: transparent;
  box-shadow: 0 4px 14px -6px rgba(73, 133, 123, 0.4);
}
.btn-sage:hover {
  background: var(--gold-500);
  color: var(--navy-900);
  border-color: transparent;
  box-shadow: 0 10px 24px -8px rgba(197, 160, 89, 0.45);
}

.btn-sage-outline {
  background: white;
  color: var(--brand-sage);
  border: 1px solid rgba(73, 133, 123, 0.35);
}
.btn-sage-outline:hover {
  background: var(--gold-500);
  color: var(--navy-900);
  border-color: var(--gold-500);
}

.btn-dark {
  background: var(--navy-900);
  color: white;
  box-shadow: 0 10px 30px -10px rgba(33, 62, 55, 0.4);
}
.btn-dark:hover { background: var(--navy-700); box-shadow: 0 18px 40px -14px rgba(33, 62, 55, 0.5); }

.btn-secondary {
  background: var(--surface);
  border-color: var(--line);
  color: var(--ink);
}
.btn-secondary:hover { border-color: var(--navy-900); background: var(--surface-warm); }

.btn-ghost {
  background: transparent;
  color: white;
  border: 1px solid rgba(255,255,255,0.22);
}
.btn-ghost:hover { background: rgba(255,255,255,0.05); border-color: var(--gold-300); color: var(--gold-300); }

.btn-tertiary {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-tertiary:hover { background: var(--surface-warm); border-color: var(--gold-300); }

.btn-sm { padding: 0.55rem 1.1rem; font-size: 0.85rem; }
.btn-lg { padding: 1.05rem 2rem; font-size: 1rem; }

/* Button-in-button trailing icon (skill: high-end-visual-design §4.B) */
.btn-icon-nest {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: -0.5rem;
  background: rgba(33, 62, 55, 0.08);
  transition: transform 0.35s var(--ease-spring), background 0.3s var(--ease-out);
  flex: 0 0 28px;
}
.btn-icon-nest svg { width: 14px; height: 14px; transition: transform 0.35s var(--ease-spring); }
.btn:hover .btn-icon-nest { transform: translate(2px, -1px); }
.btn:hover .btn-icon-nest svg { transform: scale(1.05); }

.btn-primary .btn-icon-nest,
.btn-sage .btn-icon-nest { background: rgba(255, 255, 255, 0.2); color: white; }
.btn-primary:hover .btn-icon-nest,
.btn-sage:hover .btn-icon-nest { background: rgba(33, 62, 55, 0.12); color: var(--navy-900); }
.btn-dark .btn-icon-nest    { background: rgba(255, 255, 255, 0.12); color: var(--gold-300); }
.btn-ghost .btn-icon-nest   { background: rgba(255, 255, 255, 0.1); color: white; }
.btn-secondary .btn-icon-nest,
.btn-tertiary .btn-icon-nest { background: var(--navy-900); color: var(--gold-300); }

/* Focus rings — accessibility */
.btn:focus-visible,
.nav-cta:focus-visible,
.hero-search-btn:focus-visible {
  outline: 2px solid var(--brand-sage);
  outline-offset: 3px;
}

.btn-primary:focus-visible,
.btn-sage:focus-visible {
  outline-color: var(--gold-500);
}

/* Content links — sage default, gold on hover */
.link-accent {
  color: var(--brand-sage);
  font-weight: 600;
  transition: color 0.2s var(--ease-out);
}

.link-accent:hover {
  color: var(--gold-600);
}

/* =================================================== Hero — full-bleed image spotlight */

.hero {
  position: relative;
  min-height: clamp(560px, 92vh, 780px);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  color: white;
  padding: clamp(7rem, 12vw, 9.5rem) 0 clamp(3rem, 5vw, 4rem);
  overflow: hidden;
  isolation: isolate;
  background: var(--brand-navy);
  text-align: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--hero-image);
  background-size: cover;
  background-position: center 35%;
  opacity: 1;
  z-index: -2;
  transform: scale(1);
  filter: saturate(1.08) brightness(0.98);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 10, 18, 0.42) 0%, rgba(6, 10, 18, 0.18) 45%, rgba(6, 10, 18, 0.52) 100%),
    linear-gradient(90deg, rgba(6, 10, 18, 0.2) 0%, transparent 42%, rgba(6, 10, 18, 0.2) 100%);
  z-index: -1;
}

.hero-content {
  position: relative;
  width: min(1100px, calc(100% - 2rem));
  margin: 0 auto;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-spotlight {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-headline {
  font-family: var(--font-body);
  font-size: clamp(2rem, 5.2vw, 3.65rem);
  font-weight: 800;
  color: white;
  margin: 0 auto 1rem;
  letter-spacing: -0.03em;
  line-height: 1.14;
  max-width: 22ch;
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.28);
  text-wrap: balance;
}

.hero-strike {
  display: inline;
  text-decoration: line-through;
  text-decoration-thickness: 3px;
  text-decoration-color: rgba(255, 255, 255, 0.9);
  font-weight: 800;
}

.hero-tagline {
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(0.95rem, 1.6vw, 1.12rem);
  font-weight: 500;
  margin: 0 auto 2rem;
  max-width: none;
  line-height: 1.5;
  letter-spacing: -0.01em;
  text-align: center;
}

.hero-search-form {
  width: 100%;
  max-width: 980px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-cta-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-trust-row {
  display: flex;
  gap: 1.8rem;
  flex-wrap: wrap;
  align-items: center;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(255,255,255,0.07);
}

.hero-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: rgba(255,255,255,0.72);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: -0.005em;
}

.hero-trust-item svg { width: 16px; height: 16px; color: var(--gold-300); flex-shrink: 0; }

/* Hero card panel — IoT live preview mock (Double-Bezel architecture) */
.hero-panel {
  background: rgba(15, 33, 59, 0.5);
  backdrop-filter: blur(28px) saturate(140%);
  -webkit-backdrop-filter: blur(28px) saturate(140%);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-xl);
  padding: 0.7rem;
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255,255,255,0.06);
  position: relative;
  overflow: hidden;
  transform: rotate(-1deg);
}

.hero-panel-inner {
  background: rgba(15, 33, 59, 0.65);
  border-radius: calc(var(--radius-xl) - 6px);
  padding: 1.4rem;
  border: 1px solid rgba(255,255,255,0.04);
  position: relative;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(197, 160, 89, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.hero-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.hero-panel-title {
  color: white;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.005em;
}

.hero-panel-title small {
  display: block;
  color: rgba(255,255,255,0.55);
  font-weight: 400;
  font-size: 0.78rem;
  margin-top: 0.15rem;
}

.live-dot {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(16, 185, 129, 0.12);
  color: var(--emerald-300);
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-pill);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.live-dot::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--emerald-500);
  animation: pulse 1.8s ease-out infinite;
}

.hero-panel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  margin: 1rem 0;
}

.hero-cam {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--navy-700), var(--navy-900));
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
}

.hero-cam::after {
  content: attr(data-cam);
  position: absolute;
  bottom: 0.5rem;
  left: 0.5rem;
  color: white;
  font-size: 0.65rem;
  font-weight: 600;
  background: rgba(0,0,0,0.55);
  padding: 0.2rem 0.45rem;
  border-radius: 4px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero-cam::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--cam-img);
  background-size: cover;
  background-position: center;
  opacity: 0.85;
}

.hero-cam.live::after { background: var(--emerald-500); color: var(--navy-900); }

.hero-panel-meta {
  display: flex;
  justify-content: space-between;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.78rem;
  color: rgba(255,255,255,0.6);
}

.hero-panel-meta strong { color: var(--gold-300); font-weight: 600; }

/* =================================================== Search panel */

.hero-search-wrap {
  width: 100%;
  background: white;
  border-radius: var(--radius-pill);
  padding: 0.3rem 0.3rem 0.3rem 0;
  box-shadow: 0 24px 64px -24px rgba(0, 0, 0, 0.38);
  display: grid;
  grid-template-columns: repeat(4, 1fr) auto;
  align-items: center;
  position: relative;
  z-index: 3;
  border: 1px solid rgba(255, 255, 255, 0.85);
}

.hero-tabs {
  display: inline-flex;
  gap: 0;
  background: var(--hero-lime);
  border: none;
  padding: 5px;
  border-radius: var(--radius-pill);
  margin-bottom: 1.65rem;
  box-shadow: 0 10px 36px -12px rgba(0, 0, 0, 0.22);
}

.hero-tab {
  border: 0;
  background: transparent;
  font-family: var(--font-body);
  color: rgba(10, 15, 26, 0.5);
  font-weight: 700;
  padding: 0.5rem 1.45rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  font-size: 0.88rem;
  letter-spacing: -0.01em;
  transition: color 0.3s var(--ease-spring), background 0.35s var(--ease-spring), box-shadow 0.35s var(--ease-spring);
}

.hero-tab:hover { color: rgba(10, 15, 26, 0.85); }
.hero-tab.is-active {
  background: white;
  color: var(--ink);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.hero-search-field {
  display: flex;
  flex-direction: column;
  padding: 0.7rem 1.1rem;
  border-right: 1px solid var(--line);
  min-width: 0;
}

.hero-search-field:first-child { padding-left: 1.3rem; }
.hero-search-field:last-of-type { border-right: 0; }

.hero-search-field label {
  font-size: 0.68rem;
  color: var(--muted-soft);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.2rem;
  font-family: var(--font-body);
}

.hero-search-field .input-row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.hero-search-field svg:not(.hero-chevron) {
  width: 16px;
  height: 16px;
  color: var(--muted);
  flex: 0 0 auto;
}

.hero-chevron {
  width: 14px;
  height: 14px;
  color: var(--muted-soft);
  flex: 0 0 auto;
  pointer-events: none;
}

.hero-search-field input,
.hero-search-field select {
  border: 0;
  outline: 0;
  font: inherit;
  font-weight: 600;
  color: var(--ink);
  background: transparent;
  width: 100%;
  font-size: 0.95rem;
  padding: 0;
  appearance: none;
}

.hero-search-field input::placeholder { color: var(--muted-soft); font-weight: 500; }
.hero-search-field select { cursor: pointer; }

.hero-search-btn {
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  margin: 0.2rem;
  border-radius: 50%;
  border: 0;
  background: var(--brand-sage);
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 24px -8px rgba(73, 133, 123, 0.55);
  transition: background 0.35s var(--ease-spring), transform 0.18s var(--ease-spring), box-shadow 0.35s var(--ease-out);
}

.hero-search-btn:hover {
  background: var(--gold-500);
  color: var(--navy-900);
  box-shadow: 0 10px 28px -6px rgba(197, 160, 89, 0.5);
  transform: scale(1.05);
}
.hero-search-btn:active { transform: scale(0.96); }
.hero-search-btn svg { width: 20px; height: 20px; }

/* Hero proof row + scroll cue (UI/UX Pro Max: social proof near hero CTA) */
.hero-proof {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 1.75rem;
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
}

.hero-proof li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
  letter-spacing: -0.01em;
}

.hero-proof svg {
  width: 15px;
  height: 15px;
  color: var(--hero-lime);
  flex-shrink: 0;
}

.hero-scroll-cue {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  margin-top: auto;
  padding-top: 2.5rem;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-family: var(--font-mono);
  transition: color 0.25s var(--ease-out), transform 0.25s var(--ease-out);
  cursor: pointer;
}

.hero-scroll-cue:hover {
  color: white;
  transform: translateY(3px);
}

.hero-scroll-cue svg {
  width: 20px;
  height: 20px;
  animation: hero-scroll-bob 2.4s var(--ease-soft) infinite;
}

@keyframes hero-scroll-bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(5px); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-scroll-cue svg { animation: none; }
}

.hero.hero--spotlight {
  justify-content: space-between;
  padding-bottom: 2rem;
}

/* =================================================== Sections */

section { padding: clamp(4rem, 7vw, 7rem) 0; }

.section-eyebrow,
.eyebrow {
  display: block;
  text-transform: uppercase;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-bottom: 0.65rem;
}

.section-eyebrow::before,
.eyebrow::before {
  display: none;
}

.section-header {
  max-width: 760px;
  margin: 0 auto 3.5rem;
  text-align: center;
}

.section-header.left {
  text-align: left;
  margin-left: 0;
  margin-right: auto;
  max-width: 720px;
}
.section-header.left .section-eyebrow { justify-content: flex-start; }

/* Shared with .page-hero h1 — matches “Browse verified homes by category” */
.section-header h2,
.page-hero h1 {
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.18;
}

.section-header h2 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.65rem, 2.6vw, 2.25rem);
}

.section-header--compact {
  margin-bottom: 2rem;
}

.section-deck {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--muted);
  max-width: 48ch;
}

.section-header p {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.65;
  max-width: 60ch;
  margin-left: auto;
  margin-right: auto;
}

.section-header.left p { margin-left: 0; }

.page-hero {
  background: var(--navy-900);
  color: white;
  padding: clamp(5rem, 10vw, 8rem) 0 clamp(3rem, 5vw, 4.5rem);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 78% 28%, rgba(197, 160, 89, 0.16) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 12% 88%, rgba(73, 133, 123, 0.12) 0%, transparent 55%);
}

.page-hero > * { position: relative; z-index: 2; }

.page-hero--media {
  isolation: isolate;
}

.page-hero--media::before {
  background-image: var(--page-hero-image);
  background-size: cover;
  background-position: center 42%;
  background-repeat: no-repeat;
  z-index: 0;
}

.page-hero--media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      180deg,
      rgba(9, 14, 24, 0.78) 0%,
      rgba(9, 14, 24, 0.88) 55%,
      rgba(9, 14, 24, 0.94) 100%
    ),
    radial-gradient(ellipse 80% 60% at 78% 28%, rgba(197, 160, 89, 0.16) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 12% 88%, rgba(73, 133, 123, 0.12) 0%, transparent 55%);
  pointer-events: none;
}

.page-hero-crumb {
  margin: 0 0 1.15rem;
}

.page-hero-crumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.55rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.page-hero-crumb a {
  color: rgba(255, 255, 255, 0.62);
  text-decoration: none;
  transition: color 0.2s var(--ease-out);
}

.page-hero-crumb a:hover,
.page-hero-crumb a:focus-visible {
  color: var(--gold-300);
}

.page-hero-crumb li + li::before {
  content: "/";
  margin-right: 0.55rem;
  color: rgba(255, 255, 255, 0.32);
}

.page-hero-crumb [aria-current="page"] {
  color: rgba(255, 255, 255, 0.92);
}

.page-hero-main {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.page-hero-copy {
  flex: 1 1 280px;
  min-width: 0;
}

.page-hero-actions {
  flex: 0 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}

.page-hero--centered .page-hero-main {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-hero--centered .page-hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-hero--centered .page-hero-copy p {
  margin-left: auto;
  margin-right: auto;
}

.page-hero .section-eyebrow,
.page-hero .eyebrow {
  color: rgba(255, 255, 255, 0.55);
}

.page-hero h1 {
  font-size: clamp(1.65rem, 2.6vw, 2.25rem);
  color: white;
  margin: 0.5rem 0 1.2rem;
  max-width: 22ch;
}

.page-hero h1 em,
.page-hero h1 .text-highlight {
  font-style: normal;
  font-weight: 600;
  color: var(--gold-300);
  font-variation-settings: normal;
}

.page-hero p {
  color: rgba(255,255,255,0.74);
  max-width: 60ch;
  font-size: 1.05rem;
  line-height: 1.65;
}

.page-hero-meta {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 1rem;
}

.page-hero--error {
  min-height: 60vh;
  display: flex;
  align-items: center;
}

.page-hero-error-title {
  font-size: clamp(2rem, 6vw, 3.5rem);
  margin: 1rem 0;
}

.page-hero-error-code {
  display: block;
  font-size: clamp(4rem, 14vw, 7rem);
  line-height: 1;
  font-weight: 400;
  letter-spacing: -0.04em;
  margin-bottom: 0.5rem;
}

.page-hero-error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 2rem;
}

/* =================================================== Trust strip */

.trust-strip {
  background: var(--surface-warm);
  padding: 2rem 0;
  border-bottom: 1px solid var(--line);
  position: relative;
}

.trust-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.trust-strip-title {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  flex: 0 0 auto;
  font-family: var(--font-mono);
}

.trust-strip-items {
  display: flex;
  gap: 2.2rem;
  flex-wrap: wrap;
  flex: 1;
  justify-content: center;
}

.trust-strip-items span {
  font-weight: 500;
  color: var(--ink-soft);
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  letter-spacing: -0.005em;
}

.trust-strip-items span:not(.trust-strip-badge)::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold-500);
}

.trust-strip-badge {
  gap: 0.5rem;
}

.trust-strip-badge svg {
  width: 15px;
  height: 15px;
  color: var(--gold-600);
  flex-shrink: 0;
}

/* =================================================== Stat strip (Numbers) — editorial cream, not random dark slab */

.stats-strip {
  background: var(--surface-warm);
  color: var(--ink);
  padding: clamp(3.5rem, 6vw, 5.5rem) 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stats-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 85% 15%, rgba(197, 160, 89, 0.06) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 10% 90%, rgba(33, 62, 55, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

.stats-strip .stats-eyebrow {
  text-align: center;
  margin-bottom: 2.5rem;
  display: block;
  font-family: var(--font-mono);
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  color: var(--gold-600);
  font-weight: 500;
}

.stats-strip .stats-eyebrow::before { display: none; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  position: relative;
  align-items: end;
}

.stats-grid > div {
  padding: 0.4rem 1.6rem;
  border-right: 1px solid var(--line);
}

.stats-grid > div:last-child { border-right: 0; }

.stats-grid h3 {
  font-family: var(--font-body);
  color: var(--navy-900);
  font-size: clamp(2rem, 3.5vw, 3rem);
  margin: 0 0 0.4rem;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1;
  font-feature-settings: "tnum" 1, "lnum" 1;
  font-variant-numeric: tabular-nums lining-nums;
}

.stats-grid h3 span,
.stats-grid h3 em {
  color: var(--gold-600);
  font-style: normal;
  font-weight: 700;
  font-size: 0.7em;
  margin-left: 0.05em;
  vertical-align: baseline;
}

.stats-grid p {
  color: var(--muted);
  margin: 0;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-family: var(--font-body);
  font-weight: 500;
}

/* =================================================== Why Zenex — bento, not four equal cards */

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 1.2rem;
}

.pillar {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 2.2rem 1.9rem;
  border: 1px solid var(--line);
  transition: transform 0.4s var(--ease-spring), box-shadow 0.4s var(--ease-out), border-color 0.3s var(--ease-out);
  position: relative;
  overflow: hidden;
  grid-column: span 6;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  isolation: isolate;
}

.pillar:nth-child(3),
.pillar:nth-child(4) { grid-column: span 6; }

/* First pillar = feature card with image */
.pillar.is-feature {
  grid-column: span 8;
  grid-row: span 2;
  padding: 0;
  background: var(--navy-900);
  color: white;
  overflow: hidden;
}

.pillar.is-feature .pillar-feature-media {
  aspect-ratio: 16 / 9;
  background-image: var(--pillar-img);
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.pillar.is-feature .pillar-feature-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(33, 62, 55, 0.1) 0%, rgba(33, 62, 55, 0.65) 100%);
}

.pillar.is-feature .pillar-feature-body {
  padding: 2rem 2.2rem 2.4rem;
}

.pillar.is-feature h3 { color: white; }
.pillar.is-feature p { color: rgba(255,255,255,0.72); }

.pillar.is-small { grid-column: span 4; }

.pillar:not(.is-feature)::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-spring);
}

.pillar:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold-200);
}

.pillar:hover:not(.is-feature)::before {
  transform: scaleX(1);
  background: linear-gradient(90deg, var(--brand-sage), var(--gold-500));
}

.pillar.is-feature:hover { box-shadow: 0 30px 60px -20px rgba(33, 62, 55, 0.35); }

.pillar-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--surface-warm);
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--navy-900);
  flex-shrink: 0;
  position: relative;
}

.pillar-icon::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: calc(var(--radius-md) - 4px);
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 100%);
}

.pillar-icon svg {
  width: 22px;
  height: 22px;
  color: var(--gold-300);
  position: relative;
  z-index: 1;
}

.pillar.is-feature .pillar-icon { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.12); }
.pillar.is-feature .pillar-icon::after { background: rgba(255,255,255,0.04); }

.pillar h3 {
  margin: 0 0 0.4rem;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  font-weight: 600;
  color: var(--ink);
}

.pillar p {
  margin: 0;
  font-size: 0.93rem;
  color: var(--muted);
  line-height: 1.6;
  max-width: none;
}

/* =================================================== Live Transparency demo */

.live-demo {
  background: var(--brand-gold-soft);
  color: var(--ink);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.live-demo::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 18% 45%, rgba(255, 255, 255, 0.35) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 82% 55%, rgba(47, 93, 80, 0.08) 0%, transparent 55%);
  z-index: -1;
}

.live-demo .container { position: relative; }
.live-demo h2 { color: var(--ink); }
.live-demo .section-header p { color: var(--muted); }
.live-demo .section-eyebrow,
.live-demo .eyebrow { color: var(--brand-sage); }
.live-demo .section-eyebrow::before,
.live-demo .eyebrow::before { background: var(--brand-gold); }

.live-demo-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
  margin-top: 2rem;
}

.live-feed-card {
  background: rgba(15, 33, 59, 0.65);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  backdrop-filter: blur(20px);
}

.live-feed-screen {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--navy-700), var(--navy-900));
  background-image: var(--demo-img);
  background-size: cover;
  background-position: center;
  background-blend-mode: overlay;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
}

.live-feed-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.7) 100%);
}

.live-feed-overlay {
  position: absolute;
  bottom: 1.1rem;
  left: 1.1rem;
  right: 1.1rem;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
}

.live-feed-overlay .live-meta { color: white; }
.live-feed-overlay .live-meta strong { display: block; font-size: 1rem; font-weight: 600; }
.live-feed-overlay .live-meta small { color: rgba(255,255,255,0.75); font-size: 0.78rem; }

.live-feed-controls {
  display: inline-flex;
  background: rgba(0,0,0,0.55);
  border-radius: var(--radius-pill);
  padding: 4px;
}
.live-feed-controls button {
  background: transparent;
  border: 0;
  color: rgba(255,255,255,0.7);
  font: inherit;
  font-size: 0.78rem;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  font-weight: 600;
}
.live-feed-controls button.is-active { background: var(--gold-500); color: var(--navy-900); }

/* Milestone Timeline */
.milestone-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  position: relative;
  padding-top: 1.5rem;
  margin-top: 1.4rem;
}

.milestone-track::before {
  content: "";
  position: absolute;
  top: calc(1.5rem + 14px);
  left: 4%;
  right: 4%;
  height: 2px;
  background: rgba(255,255,255,0.12);
}

.milestone-step {
  text-align: center;
  position: relative;
}

.milestone-step::before {
  content: "";
  display: block;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 2px solid rgba(255,255,255,0.18);
  margin: 0 auto 0.7rem;
}

.milestone-step.done::before {
  background: var(--emerald-500);
  border-color: var(--emerald-500);
  box-shadow: 0 0 0 6px rgba(16, 185, 129, 0.18);
}

.milestone-step.current::before {
  background: var(--gold-500);
  border-color: var(--gold-500);
  animation: pulse 2s ease-out infinite;
}

.milestone-step h4 {
  color: white;
  font-size: 0.88rem;
  margin: 0 0 0.2rem;
  font-weight: 600;
}

.milestone-step span { color: rgba(255,255,255,0.55); font-size: 0.75rem; }

.live-demo-side .feature-list {
  list-style: none;
  padding: 0;
  margin: 1.4rem 0 2rem;
  display: grid;
  gap: 1rem;
}

.live-demo-side .feature-list li {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  color: var(--ink-soft);
  font-size: 0.94rem;
}

.live-demo-side .feature-list .check {
  flex: 0 0 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(47, 93, 80, 0.12);
  color: var(--brand-sage);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.live-demo-side .feature-list .check svg { width: 14px; height: 14px; }

/* =================================================== Marketplace property cards */

.property-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.8rem;
}

.property-grid-bento {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 1.6rem;
}

.property-grid-bento > .property-card { grid-column: span 2; }
.property-grid-bento > .property-card:first-child { grid-column: span 4; grid-row: span 2; }
.property-grid-bento > .property-card:first-child .property-media { aspect-ratio: 16 / 11; }
.property-grid-bento > .property-card:first-child .property-body h3 { font-size: 1.4rem; }

.property-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--ease-spring), box-shadow 0.4s var(--ease-out), border-color 0.3s var(--ease-out);
  isolation: isolate;
}

.property-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold-200);
}

.property-card:active { transform: translateY(-2px) scale(0.995); }

.property-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  display: block;
}

.property-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-spring);
  filter: saturate(0.96);
}

.property-card:hover .property-media img { transform: scale(1.06); }

.property-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(33, 62, 55, 0) 50%, rgba(33, 62, 55, 0.7) 100%);
  pointer-events: none;
}

.property-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35rem 0.7rem;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  box-shadow: 0 4px 14px -4px rgba(33, 62, 55, 0.25);
  z-index: 2;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-family: var(--font-mono);
}

.property-badge.verified {
  background: var(--brand-sage);
  color: white;
  box-shadow: 0 6px 18px -6px rgba(73, 133, 123, 0.45);
}

.property-badge.verified svg {
  color: rgba(255, 255, 255, 0.95);
}

.property-badge-row {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 0.5rem;
  z-index: 2;
}

.property-price {
  background: rgba(33, 62, 55, 0.82);
  color: white;
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: -0.005em;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-variant-numeric: tabular-nums lining-nums;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.property-status-chip {
  background: var(--brand-sage);
  color: white;
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius-pill);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: var(--font-mono);
  transition: background 0.25s var(--ease-out), color 0.25s var(--ease-out);
}

.property-status-chip.live {
  background: var(--brand-sage);
  color: white;
}

.property-status-chip.live::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: white;
  margin-right: 0.4rem;
  vertical-align: middle;
  animation: pulse 2s infinite;
}

.property-body {
  padding: 1.4rem 1.4rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.property-body h3 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.3;
  letter-spacing: -0.02em;
  font-weight: 600;
  font-family: var(--font-body);
}

.property-body h3 a {
  color: inherit;
  transition: color 0.3s var(--ease-out);
}
.property-body h3 a:hover { color: var(--brand-sage); }

.property-meta {
  color: var(--muted);
  font-size: 0.86rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.property-meta svg { color: var(--brand-sage); flex-shrink: 0; }
.property-card:hover .property-meta svg { color: var(--gold-600); }

.property-attrs {
  display: flex;
  gap: 1.2rem;
  border-top: 1px solid var(--line);
  padding-top: 1rem;
  margin-top: 0.4rem;
  color: var(--ink-soft);
  font-size: 0.85rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.property-attrs span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.property-attrs svg { width: 16px; height: 16px; color: var(--brand-sage); }

/* =================================================== Developers */

.developer-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 1.7rem;
  border: 1px solid var(--line);
  display: flex;
  gap: 1.1rem;
  align-items: center;
  transition: box-shadow 0.4s var(--ease-out), transform 0.4s var(--ease-spring), border-color 0.3s var(--ease-out);
}

.developer-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: var(--gold-200);
}

.developer-avatar {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: linear-gradient(145deg, var(--brand-sage) 0%, var(--brand-sage-dark) 100%);
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-style: normal;
  font-size: 1.5rem;
  flex: 0 0 auto;
  font-family: var(--font-body);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12);
}

.developer-card h3 {
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  font-weight: 600;
}
.developer-card p  { margin: 0; font-size: 0.86rem; color: var(--muted); }

/* =================================================== Diaspora reach */

.diaspora-section {
  background: var(--surface-warm);
  position: relative;
  overflow: hidden;
}

.diaspora-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 4rem;
  align-items: center;
}

.diaspora-map {
  aspect-ratio: 4 / 3;
  background: var(--navy-900);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.diaspora-map::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.06) 1px, transparent 0);
  background-size: 24px 24px;
}

.diaspora-map::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 28% 36%, rgba(197, 160, 89, 0.5) 0%, transparent 6%),
    radial-gradient(circle at 22% 50%, rgba(16, 185, 129, 0.5) 0%, transparent 5%),
    radial-gradient(circle at 50% 60%, rgba(197, 160, 89, 0.6) 0%, transparent 5%),
    radial-gradient(circle at 80% 42%, rgba(16, 185, 129, 0.5) 0%, transparent 5%),
    radial-gradient(circle at 72% 28%, rgba(197, 160, 89, 0.5) 0%, transparent 5%);
}

.diaspora-map-pin {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255,255,255,0.94);
  color: var(--navy-900);
  padding: 0.35rem 0.7rem;
  border-radius: var(--radius-pill);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: -0.005em;
  box-shadow: var(--shadow-md);
}
.diaspora-map-pin::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-500);
  box-shadow: 0 0 0 4px rgba(197, 160, 89, 0.3);
}

.diaspora-map-pin.london  { top: 28%; left: 38%; }
.diaspora-map-pin.houston { top: 46%; left: 17%; }
.diaspora-map-pin.lagos   { top: 56%; left: 46%; }
.diaspora-map-pin.dubai   { top: 44%; left: 66%; }
.diaspora-map-pin.toronto { top: 32%; left: 22%; }

.diaspora-stats {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  padding: 1.6rem 1.4rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.diaspora-stats > div h4 {
  font-family: var(--font-body);
  font-size: 1.75rem;
  color: var(--navy-900);
  margin: 0 0 0.25rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums lining-nums;
}
.diaspora-stats > div small {
  color: var(--muted);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: var(--font-mono);
}

/* =================================================== How it works — connector line between steps */

.flow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  counter-reset: flow;
  position: relative;
}

.flow-grid::before {
  content: "";
  position: absolute;
  top: 3rem;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--line) 15%, var(--line) 85%, transparent 100%);
  z-index: 0;
  pointer-events: none;
}

.flow-step {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 2.4rem 1.9rem;
  border: 1px solid var(--line);
  position: relative;
  counter-increment: flow;
  z-index: 1;
  transition: transform 0.4s var(--ease-spring), box-shadow 0.4s var(--ease-out), border-color 0.3s var(--ease-out);
}

.flow-step:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold-200);
}

.flow-step::before {
  content: counter(flow, decimal-leading-zero);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--gold-600);
  margin-bottom: 1rem;
  letter-spacing: 0.06em;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--gold-300);
  background: var(--surface-warm);
}

.flow-step h3 {
  font-size: 1.2rem;
  margin: 0 0 0.6rem;
  letter-spacing: -0.02em;
  font-weight: 500;
  font-variation-settings: "opsz" 96, "SOFT" 30;
}
.flow-step p { margin: 0; font-size: 0.93rem; line-height: 1.6; }

/* =================================================== Testimonials */

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.6rem;
}

.testimonial {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  padding: 2.2rem;
  position: relative;
  transition: transform 0.25s var(--ease-spring), box-shadow 0.25s var(--ease-out), border-color 0.25s var(--ease-out);
  cursor: default;
}

.testimonial:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold-200);
}

.testimonial--highlight {
  background: linear-gradient(165deg, var(--surface) 0%, var(--gold-50) 100%);
  border-color: var(--gold-200);
}

.testimonial-rating {
  display: flex;
  gap: 0.15rem;
  margin-bottom: 0.85rem;
}

.testimonial-rating svg {
  width: 14px;
  height: 14px;
  color: var(--gold-500);
}

.testimonial blockquote {
  margin: 0 0 1.4rem;
  font-size: 1.05rem;
  color: var(--ink);
  line-height: 1.6;
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: -0.01em;
  text-wrap: pretty;
}

.testimonial blockquote::before {
  content: "“";
  font-family: var(--font-body);
  font-size: 3rem;
  color: var(--brand-sage);
  display: block;
  line-height: 0.5;
  margin-bottom: 0.8rem;
  font-style: normal;
  font-weight: 700;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.testimonial-author .avatar {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand-sage), var(--brand-sage-dark));
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  font-family: var(--font-body);
  font-style: normal;
}

.testimonial-author strong { display: block; color: var(--ink); font-size: 0.95rem; font-weight: 600; }
.testimonial-author small  { color: var(--muted); font-size: 0.78rem; font-family: var(--font-mono); letter-spacing: 0.02em; }

/* Live demo side typography */
.live-demo-side-title {
  color: var(--ink);
  font-size: 1.7rem;
  margin: 0 0 0.8rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  font-variation-settings: "opsz" 96, "SOFT" 30;
}

.live-demo-side-desc {
  color: var(--muted);
  margin: 0 0 1.4rem;
  max-width: 42ch;
  line-height: 1.65;
}

.diaspora-heading {
  font-family: var(--font-body);
  font-size: clamp(1.65rem, 2.8vw, 2.25rem);
  margin-bottom: 1rem;
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.18;
}

/* FAQ — objection handling before final CTA */
.landing-section.faq-section {
  background: var(--surface-warm);
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}

.faq-item:hover {
  border-color: var(--gold-200);
  box-shadow: var(--shadow-sm);
}

.faq-item[open] {
  border-color: var(--gold-300);
  box-shadow: var(--shadow-sm);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.15rem 1.35rem;
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink);
  letter-spacing: -0.015em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: color 0.2s var(--ease-out);
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 1.1rem;
  color: var(--gold-600);
  flex-shrink: 0;
  transition: transform 0.25s var(--ease-spring);
}

.faq-item[open] summary::after {
  content: "−";
  transform: rotate(180deg);
}

.faq-item summary:hover { color: var(--navy-700); }

.faq-item p {
  margin: 0;
  padding: 0 1.35rem 1.2rem;
  font-size: 0.94rem;
  line-height: 1.65;
  color: var(--muted);
  max-width: none;
}

.faq-audience-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  max-width: 920px;
  margin: 0 auto;
}

.faq-audience-btn {
  flex: 1 1 200px;
  justify-content: center;
  text-align: center;
}

/* Dedicated FAQ page */
.page-hero--compact {
  padding-bottom: clamp(2rem, 4vw, 3rem);
}

.faq-page {
  padding: 0 0 clamp(3rem, 6vw, 5rem);
}

.faq-page-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
  position: sticky;
  top: calc(var(--header-height, 72px) + 0.5rem);
  z-index: 20;
  padding: 0.75rem 0;
  background: linear-gradient(180deg, var(--surface) 70%, transparent);
}

.faq-page-nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.15rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: var(--surface);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.2s var(--ease-out), background 0.2s var(--ease-out), color 0.2s var(--ease-out);
}

.faq-page-nav-link:hover,
.faq-page-nav-link:focus-visible {
  border-color: var(--brand-sage, #2F5D50);
  color: var(--navy-700);
}

.faq-page-nav-link.is-primary {
  background: var(--brand-sage, #2F5D50);
  border-color: var(--brand-sage, #2F5D50);
  color: #fff;
}

.faq-page-section {
  scroll-margin-top: calc(var(--header-height, 72px) + 5rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
  border-bottom: 1px solid var(--line);
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.faq-page-section:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.faq-page-section:target .faq-page-section-head h2 {
  color: var(--brand-sage-dark, #254a40);
}

.faq-page-section-head {
  max-width: 720px;
  margin-bottom: 1.5rem;
}

.faq-page-section-head h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 0.5rem;
}

.faq-page-section-head p {
  color: var(--muted);
  margin: 0;
  max-width: none;
}

.faq-page-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  max-width: 820px;
}

.faq-page-list > li {
  margin: 0;
  padding: 0;
}

.faq-page-cta {
  text-align: center;
  max-width: 480px;
  margin: 0 auto;
}

.faq-page-cta p {
  margin: 0 0 1rem;
  color: var(--muted);
}

/* Verify document — slot uploads */
.verify-doc-slots {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1.25rem 0;
  margin: 0.25rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.verify-doc-slot input[type="file"] {
  font-size: 0.88rem;
  padding: 0.35rem 0;
}

.verify-doc-pay {
  padding: 1rem 1.1rem;
  background: var(--surface-warm);
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
}

.verify-doc-pay__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.35rem;
}

.verify-doc-pay__row strong {
  font-size: 1.25rem;
  color: var(--ink);
}

@media (max-width: 640px) {
  .faq-audience-actions {
    flex-direction: column;
  }

  .faq-audience-btn {
    flex: 1 1 auto;
    width: 100%;
  }
}

/* Verify document */
.verify-doc-page {
  padding-block: clamp(2rem, 5vw, 3.5rem);
}

.verify-doc-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.9fr);
  gap: clamp(1.25rem, 3vw, 2rem);
  align-items: start;
}

.verify-doc-lead {
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.verify-doc-ref-input {
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.verify-doc-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.verify-doc-result {
  margin-top: 1.75rem;
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius-md, 12px);
  border: 1px solid var(--line);
  background: var(--surface-warm);
}

.verify-doc-result--success {
  border-color: rgba(73, 133, 123, 0.45);
  background: rgba(73, 133, 123, 0.08);
}

.verify-doc-result--warning {
  border-color: rgba(180, 130, 40, 0.45);
  background: rgba(180, 130, 40, 0.08);
}

.verify-doc-result--error {
  border-color: rgba(185, 60, 60, 0.4);
  background: rgba(185, 60, 60, 0.06);
}

.verify-doc-result--muted {
  border-color: var(--line);
  background: var(--surface);
}

.verify-doc-result-head h3 {
  margin: 0.5rem 0 0;
  font-size: 1.15rem;
}

.verify-doc-status-badge {
  display: inline-block;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--brand-sage, #2F5D50);
  color: #fff;
}

.verify-doc-result--warning .verify-doc-status-badge {
  background: #b48228;
}

.verify-doc-result--error .verify-doc-status-badge {
  background: #b93c3c;
}

.verify-doc-result--muted .verify-doc-status-badge {
  background: var(--muted);
}

.verify-doc-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem 1.25rem;
  margin: 1.1rem 0 0;
}

.verify-doc-meta dt {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}

.verify-doc-meta dd {
  margin: 0.15rem 0 0;
  color: var(--ink);
  font-weight: 500;
}

.verify-doc-note,
.verify-doc-disclaimer {
  margin: 1rem 0 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.verify-doc-samples {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.verify-doc-samples .num {
  color: var(--ink);
  font-weight: 600;
}

.verify-doc-types {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.verify-doc-type-card {
  padding: 1.1rem 1.15rem;
  border-radius: var(--radius-md, 12px);
  border: 1px solid var(--line);
  background: #fff;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.verify-doc-type-card:hover {
  border-color: rgba(73, 133, 123, 0.35);
  box-shadow: var(--shadow-sm);
}

.verify-doc-type-card h3 {
  margin: 0.65rem 0 0;
  font-size: 0.98rem;
}

.verify-doc-type-icon {
  display: inline-flex;
  width: 2rem;
  height: 2rem;
  color: var(--brand-sage, #2F5D50);
}

.verify-doc-type-icon svg {
  width: 100%;
  height: 100%;
}

.verify-doc-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
  max-width: 720px;
}

.verify-doc-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
}

.verify-doc-step-num {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brand-sage, #2F5D50);
  line-height: 1;
}

.verify-doc-step h3 {
  margin: 0 0 0.35rem;
}

.verify-doc-step p {
  margin: 0;
  color: var(--muted);
}

.verify-doc-cta {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  text-align: center;
  max-width: 560px;
  margin-inline: auto;
}

.verify-doc-cta p {
  color: var(--muted);
}

.verify-doc-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1rem;
}

@media (max-width: 900px) {
  .verify-doc-grid {
    grid-template-columns: 1fr;
  }

  .verify-doc-meta {
    grid-template-columns: 1fr;
  }
}

/* Interactive affordances (UI/UX Pro Max checklist) */
a.property-card,
.property-card,
.developer-card,
.flow-step,
.pillar,
.btn,
.hero-tab,
.hero-search-btn,
.faq-item summary,
.nav-cta,
.site-nav a,
.property-card h3 a {
  cursor: pointer;
}

.property-card:focus-within {
  outline: 2px solid var(--gold-500);
  outline-offset: 3px;
}

/* =================================================== CTA — double-bezel architecture */

.cta-panel {
  background: var(--brand-sage);
  color: white;
  border-radius: var(--radius-xl);
  margin: clamp(3rem, 6vw, 6rem) auto;
  padding: 0.6rem;
  position: relative;
  overflow: hidden;
  width: min(1240px, calc(100% - 2.4rem));
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 50px 100px -30px rgba(37, 74, 64, 0.45);
}

.cta-panel-inner {
  border-radius: calc(var(--radius-xl) - 7px);
  padding: clamp(2.5rem, 5vw, 4.2rem);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(135deg, var(--brand-sage) 0%, var(--brand-sage-dark) 100%);
}

.cta-panel-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 85% 18%, rgba(197, 160, 89, 0.22) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 12% 85%, rgba(255, 255, 255, 0.08) 0%, transparent 55%);
  pointer-events: none;
}

.cta-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  flex-wrap: wrap;
  position: relative;
}

.cta-content h2 {
  color: white;
  margin: 0 0 0.8rem;
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  max-width: 18ch;
  letter-spacing: -0.03em;
  font-weight: 400;
  font-variation-settings: "opsz" 144, "SOFT" 30;
}

.cta-content h2 em {
  font-style: italic;
  font-weight: 400;
  color: var(--gold-300);
  font-variation-settings: "opsz" 144, "SOFT" 100;
}

.cta-content p {
  color: rgba(255, 255, 255, 0.74);
  margin: 0;
  max-width: 52ch;
  font-size: 1rem;
}

.cta-actions {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

/* =================================================== Properties listing */

.listing-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
  align-items: start;
}

.filter-panel {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  padding: 1.7rem;
  position: sticky;
  top: 5.5rem;
  box-shadow: var(--shadow-sm);
}

.filter-panel h3 {
  margin: 0 0 1.1rem;
  font-size: 1.05rem;
  letter-spacing: -0.015em;
  font-weight: 500;
}

.filter-group { margin-bottom: 1.25rem; }

.filter-group label {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.5rem;
  font-family: var(--font-mono);
}

.filter-group input,
.filter-group select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.9rem;
  font: inherit;
  font-size: 0.93rem;
  color: var(--ink);
  background: var(--surface);
  transition: border-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.filter-group input:focus,
.filter-group select:focus {
  outline: none;
  border-color: var(--gold-500);
  box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.18);
}

.filter-actions { display: flex; gap: 0.5rem; margin-top: 1rem; }
.filter-actions .btn { flex: 1; padding: 0.7rem 1rem; font-size: 0.9rem; }

.listing-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.8rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.listing-toolbar h2 {
  margin: 0;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  font-weight: 500;
  font-variation-settings: "opsz" 96, "SOFT" 30;
}

.listing-toolbar-meta {
  color: var(--muted);
  font-size: 0.85rem;
  font-family: var(--font-mono);
}
.listing-toolbar-meta strong { color: var(--ink); font-weight: 600; }

.listing-toolbar select {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.55rem 0.9rem;
  font: inherit;
  font-size: 0.9rem;
  background: white;
  cursor: pointer;
}

.empty-card {
  background: white;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-md);
  padding: 3rem;
  text-align: center;
}

.empty-card h3 { margin: 0 0 0.5rem; }
.empty-card p { margin: 0 0 1.2rem; }

.pagination {
  display: flex;
  gap: 0.35rem;
  justify-content: center;
  margin-top: 2.5rem;
  flex-wrap: wrap;
  font-family: var(--font-mono);
}

.pagination a,
.pagination span {
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  font-size: 0.88rem;
  background: var(--surface);
  color: var(--ink);
  transition: all 0.3s var(--ease-out);
  font-variant-numeric: tabular-nums lining-nums;
}

.pagination a:hover { border-color: var(--gold-300); background: var(--surface-warm); }

.pagination .active span {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: var(--gold-300);
}

.pagination .disabled span { color: var(--muted-soft); background: var(--surface-alt); }

/* =================================================== Property detail */

.property-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.property-hero img {
  width: 100%;
  border-radius: var(--radius-md);
  object-fit: cover;
  aspect-ratio: 16 / 11;
}

.property-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.property-card-detail {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  padding: 2.2rem;
  box-shadow: var(--shadow-sm);
}

.property-card-detail h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  letter-spacing: -0.025em;
  font-weight: 500;
  font-variation-settings: "opsz" 96, "SOFT" 30;
}

.property-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
  padding: 1.4rem;
  border-radius: var(--radius-md);
  background: var(--surface-warm);
  border: 1px solid var(--line);
}

.property-summary div { text-align: center; }
.property-summary strong {
  display: block;
  color: var(--ink);
  font-size: 1.2rem;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums lining-nums;
}
.property-summary span {
  color: var(--muted);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-family: var(--font-mono);
}

.tag-row { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1rem 0; }

.tag {
  background: var(--surface-warm);
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-pill);
  letter-spacing: 0.04em;
  border: 1px solid var(--line);
  font-family: var(--font-mono);
}

.tag.verified {
  background: rgba(73, 133, 123, 0.12);
  color: var(--brand-sage-dark);
  border-color: rgba(73, 133, 123, 0.35);
}

.tag.verified--gold {
  background: linear-gradient(135deg, var(--gold-300), var(--gold-600));
  color: var(--navy-900);
  border-color: transparent;
}

.contact-side { position: sticky; top: 5.5rem; }

/* =================================================== Forms */

.form-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  padding: 2.4rem;
  box-shadow: var(--shadow-sm);
}

.form-card h2 {
  margin: 0 0 1.5rem;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
  font-weight: 500;
  font-variation-settings: "opsz" 96, "SOFT" 30;
}

.form-grid { display: grid; gap: 1.1rem; }
.form-grid .row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.form-field { display: flex; flex-direction: column; gap: 0.45rem; }

.form-field label {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.005em;
}

.form-field input,
.form-field textarea,
.form-field select {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1.05rem;
  font: inherit;
  font-size: 0.95rem;
  background: var(--surface);
  color: var(--ink);
  transition: border-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
  font-family: var(--font-body);
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--brand-sage);
  box-shadow: 0 0 0 3px rgba(73, 133, 123, 0.18);
}

.form-field .field-error {
  font-size: 0.78rem;
  color: #B3261E;
  margin-top: 0.2rem;
}

.alert {
  padding: 1rem 1.2rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.2rem;
  font-size: 0.95rem;
}

.alert.success {
  background: rgba(16, 185, 129, 0.1);
  color: var(--emerald-600);
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.alert.error {
  background: #FDECEA;
  color: #B3261E;
  border: 1px solid #F6C4C0;
}

.alert.error ul { margin: 0.3rem 0 0 1.2rem; padding: 0; }

/* =================================================== Content blocks */

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 4rem;
  align-items: start;
}

.content-grid h2 {
  margin: 0 0 0.8rem;
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  letter-spacing: -0.025em;
  font-weight: 400;
  font-variation-settings: "opsz" 144, "SOFT" 30;
  line-height: 1.1;
}

.content-grid h2 em {
  font-style: italic;
  font-weight: 400;
  color: var(--gold-600);
  font-variation-settings: "opsz" 144, "SOFT" 100;
}

.bullet-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.85rem;
}

.bullet-list li {
  padding-left: 1.8rem;
  position: relative;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.bullet-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 12px;
  height: 1px;
  background: var(--gold-500);
}

.bullet-list li::after {
  content: "";
  position: absolute;
  left: 14px;
  top: 0.55rem;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold-500);
}

/* =================================================== Footer */

.site-footer {
  background: var(--brand-sage);
  color: rgba(255, 255, 255, 0.78);
  padding: 5.5rem 0 2rem;
  margin-top: 5rem;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 90% 0%, rgba(255, 255, 255, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr));
  gap: 3.5rem;
  position: relative;
}

.footer-brand { max-width: 36ch; }

.brand-footer { color: white; margin-bottom: 1rem; font-size: 1.45rem; }
.brand-footer .text-accent { color: var(--brand-gold-soft); }

.site-footer p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.93rem;
  line-height: 1.65;
}

.footer-trust {
  margin-top: 1.5rem;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.footer-trust span {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
  letter-spacing: 0.04em;
  font-family: var(--font-mono);
}

.footer-social { margin-top: 1.4rem; display: flex; gap: 0.7rem; }

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.82);
  transition: all 0.35s var(--ease-spring);
}

.footer-social a:hover {
  background: var(--brand-gold-soft);
  color: var(--brand-sage-dark);
  border-color: var(--brand-gold-soft);
  transform: translateY(-2px);
}

.footer-social svg { width: 16px; height: 16px; }

.footer-links h4 {
  margin: 0 0 1.2rem;
  color: white;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-family: var(--font-mono);
  font-weight: 500;
}

.footer-links a {
  display: block;
  margin-bottom: 0.7rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.93rem;
  transition: color 0.3s var(--ease-out), transform 0.3s var(--ease-spring);
}

.footer-links a:hover { color: var(--brand-gold-soft); transform: translateX(2px); }

.footer-bottom {
  margin-top: 4rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.62);
  flex-wrap: wrap;
  gap: 0.5rem;
  position: relative;
}

.footer-bottom p { margin: 0; color: inherit; }
.footer-bottom-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.78);
}
.footer-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--emerald-500);
  display: inline-block;
  animation: pulse 2.4s var(--ease-soft) infinite;
}

/* =================================================== Admin sidebar shell */

.admin-shell {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 0;
  min-height: calc(100vh - 70px);
  background: var(--surface-alt);
}

.admin-sidebar {
  background: var(--navy-900);
  color: white;
  padding: 2rem 1.2rem;
  border-right: 1px solid rgba(255,255,255,0.06);
}

.admin-sidebar-title {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold-300);
  font-weight: 700;
  padding: 0 1rem 1rem;
  margin: 0;
}

.admin-sidebar a {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.75rem 1rem;
  color: rgba(255,255,255,0.7);
  font-size: 0.92rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  margin-bottom: 0.2rem;
  transition: all 0.2s;
}

.admin-sidebar a:hover { background: rgba(255,255,255,0.05); color: white; }

.admin-sidebar a.active {
  background: rgba(73, 133, 123, 0.2);
  color: var(--gold-300);
}

.admin-sidebar a svg { width: 18px; height: 18px; }

.admin-main { padding: 2.5rem 2.5rem 4rem; min-width: 0; }

.admin-card {
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  padding: 2rem;
  margin-bottom: 1.5rem;
}

.admin-card h3 { margin: 0 0 0.3rem; font-size: 1.1rem; }
.admin-card .admin-card-help { color: var(--muted); margin: 0 0 1.5rem; font-size: 0.9rem; max-width: 58ch; }

.admin-card--wide { max-width: 820px; }

.admin-form-section-title {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.admin-form-divider {
  border: none;
  border-top: 1px solid var(--line);
  margin: 2rem 0;
}

.form-field-hint {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.appearance-logo-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 1.25rem;
  align-items: center;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface-warm);
}

.appearance-logo-preview {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 96px;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-sm);
  border: 1px dashed rgba(73, 133, 123, 0.35);
}

.appearance-logo-preview--dark {
  background: var(--navy-900);
}

.appearance-logo-preview-label {
  position: absolute;
  top: 0.65rem;
  left: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.appearance-logo-preview-img {
  max-height: 52px;
  max-width: min(100%, 280px);
  width: auto;
  object-fit: contain;
}

.appearance-logo-meta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.appearance-status {
  display: inline-flex;
  align-self: flex-start;
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-pill);
  background: rgba(73, 133, 123, 0.12);
  color: var(--brand-sage-dark);
  font-size: 0.78rem;
  font-weight: 600;
}

.appearance-status--custom {
  background: rgba(197, 160, 89, 0.15);
  color: var(--gold-700);
}

.appearance-logo-note {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.55;
}

.appearance-check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--muted);
  cursor: pointer;
}

.appearance-favicon-current {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.65rem 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.appearance-favicon-thumb {
  border-radius: 4px;
  border: 1px solid var(--line);
}

.appearance-page-hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.appearance-page-hero-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--surface);
}

.appearance-page-hero-preview {
  min-height: 120px;
  background:
    linear-gradient(180deg, rgba(9, 14, 24, 0.72), rgba(9, 14, 24, 0.88)),
    var(--preview-image) center / cover no-repeat;
}

.appearance-page-hero-preview-label {
  display: inline-block;
  margin: 0.85rem;
  padding: 0.25rem 0.55rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.appearance-page-hero-fields {
  padding: 1rem 1.1rem 1.15rem;
}

.appearance-page-hero-fields strong {
  display: block;
  font-size: 0.95rem;
}

.appearance-page-hero-desc,
.appearance-page-hero-status {
  margin: 0.35rem 0 0;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.5;
}

.appearance-page-hero-status {
  color: var(--brand-sage-dark, #254a40);
  font-weight: 600;
}

@media (max-width: 720px) {
  .appearance-logo-panel {
    grid-template-columns: 1fr;
  }
}

.admin-body {
  background: var(--surface-alt);
  min-height: 100vh;
}

.admin-topbar {
  background: var(--navy-900);
  color: white;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  position: sticky;
  top: 0;
  z-index: 100;
}

.admin-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.5rem;
  max-width: 100%;
}

.admin-topbar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: white;
  font-weight: 700;
  font-size: 1rem;
}

.admin-topbar-logo {
  height: 36px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}

.admin-topbar-badge {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.2rem 0.5rem;
  background: rgba(197, 160, 89, 0.2);
  color: var(--gold-300);
  border-radius: 4px;
  font-weight: 700;
}

.admin-topbar-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.7);
}

.admin-topbar-logout { margin: 0; }

.admin-shell {
  min-height: calc(100vh - 52px);
}

.admin-sidebar-footer {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.admin-flash { margin-bottom: 1.25rem; }

.admin-page-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-bottom: 2rem;
}

.admin-page-head h1 {
  margin: 0 0 0.35rem;
  font-family: var(--font-body);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.035em;
}

.admin-page-head p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 52ch;
}

.admin-page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.admin-kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.admin-kpi {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.admin-kpi:hover {
  border-color: rgba(73, 133, 123, 0.35);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.admin-kpi-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  font-weight: 600;
}

.admin-kpi-value {
  font-family: var(--font-body);
  font-size: 1.85rem;
  font-weight: 700;
  line-height: 1;
  color: var(--navy-900);
}

.admin-kpi-meta { font-size: 0.82rem; color: var(--muted); }

.admin-kpi--accent .admin-kpi-value { color: var(--brand-sage); }
.admin-kpi--warn .admin-kpi-value { color: #b45309; }
.admin-kpi--success .admin-kpi-value { color: var(--emerald-600); }

.admin-dash-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.admin-panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.admin-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.35rem;
  border-bottom: 1px solid var(--line);
}

.admin-panel-head h2 { margin: 0; font-size: 1rem; font-weight: 700; }
.admin-panel-head a { font-size: 0.85rem; font-weight: 600; color: var(--brand-sage); }
.admin-panel-head a:hover { color: var(--gold-600); }
.admin-panel-body { padding: 0; }

.admin-trend { padding: 1.35rem; }

.admin-trend-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 120px;
  margin-top: 0.5rem;
}

.admin-trend-bar-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  height: 100%;
  justify-content: flex-end;
}

.admin-trend-bar {
  width: 100%;
  max-width: 28px;
  background: linear-gradient(180deg, var(--gold-400), var(--gold-600));
  border-radius: 4px 4px 0 0;
  min-height: 4px;
}

.admin-trend-label { font-size: 0.65rem; color: var(--muted); white-space: nowrap; }

.admin-table-wrap { overflow-x: auto; }

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.admin-table th,
.admin-table td {
  padding: 0.85rem 1.35rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}

.admin-table th {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-weight: 700;
  background: var(--surface-alt);
}

.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: rgba(248, 250, 252, 0.8); }
.admin-table a { font-weight: 600; color: var(--navy-800); }
.admin-table a:hover { color: var(--gold-600); }

.admin-table-empty {
  padding: 2.5rem 1.35rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}

.admin-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.admin-badge--new { background: #fef3c7; color: #92400e; }
.admin-badge--assigned { background: #dbeafe; color: #1e40af; }
.admin-badge--in_progress { background: #e0e7ff; color: #3730a3; }
.admin-badge--closed { background: #f1f5f9; color: #475569; }
.admin-badge--pending { background: #fef3c7; color: #92400e; }
.admin-badge--confirmed { background: #d1fae5; color: #065f46; }
.admin-badge--cancelled { background: #f1f5f9; color: #64748b; }
.admin-badge--redeemed { background: #d1fae5; color: #065f46; }
.admin-badge--developer_confirmed { background: #bbf7d0; color: #166534; }
.admin-badge--investor { background: #e0f2fe; color: #0369a1; }
.admin-badge--realtor { background: #fef9c3; color: #854d0e; }
.admin-badge--developer { background: #ede9fe; color: #5b21b6; }
.admin-badge--admin { background: #fce7f3; color: #9d174d; }

.admin-filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.admin-filter-tabs a {
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  border: 1px solid var(--line);
  background: white;
  transition: all 0.2s;
}

.admin-filter-tabs a:hover { border-color: var(--gold-400); color: var(--navy-800); }
.admin-filter-tabs a.active { background: var(--navy-900); border-color: var(--navy-900); color: white; }
.admin-filter-tabs .count { opacity: 0.7; margin-left: 0.25rem; }

.admin-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  align-items: center;
}

.admin-search { flex: 1; min-width: 200px; max-width: 360px; }

.admin-search input {
  width: 100%;
  padding: 0.6rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
}

.admin-quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.75rem;
}

.admin-quick-actions a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1rem;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy-800);
  transition: all 0.2s;
}

.admin-quick-actions a:hover {
  border-color: var(--gold-400);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}

.admin-cache-panel { margin-bottom: 1.5rem; }

.admin-cache-body {
  padding: 1.25rem 1.35rem 1.5rem;
}

.admin-cache-list {
  margin: 0 0 1.25rem;
  padding-left: 1.2rem;
  color: var(--ink-soft);
  line-height: 1.65;
}

.admin-cache-list li + li { margin-top: 0.35rem; }

.admin-cache-note {
  margin: 0 0 1.25rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--surface-warm);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.admin-cache-form { margin: 0; }

.admin-detail-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 1.5rem;
  align-items: start;
}

.admin-detail-main .admin-card { margin-bottom: 1.25rem; }

.admin-meta-list { list-style: none; margin: 0; padding: 0; }

.admin-meta-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.88rem;
}

.admin-meta-list li:last-child { border-bottom: none; }
.admin-meta-list span:first-child { color: var(--muted); }

@media (max-width: 1024px) {
  .admin-dash-grid,
  .admin-detail-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .admin-kpi-grid { grid-template-columns: repeat(2, 1fr); }
}

.color-input-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.color-input {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.8rem;
  background: white;
  transition: border-color 0.2s;
}

.color-input:focus-within { border-color: var(--gold-500); }

.color-input input[type="color"] {
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
  border-radius: 8px;
  overflow: hidden;
}

.color-input input[type="color"]::-webkit-color-swatch-wrapper { padding: 0; }
.color-input input[type="color"]::-webkit-color-swatch { border: 0; border-radius: 6px; }

.color-input .meta {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.color-input .meta label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.005em;
}

.color-input .meta input[type="text"] {
  border: 0;
  outline: 0;
  font: inherit;
  font-size: 0.82rem;
  color: var(--muted);
  background: transparent;
  padding: 0;
  text-transform: uppercase;
  font-family: ui-monospace, "SF Mono", monospace;
}

.upload-tile {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 1rem;
  background: var(--surface-alt);
}

.upload-tile .preview {
  width: 88px;
  height: 88px;
  border-radius: var(--radius-sm);
  background: white;
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  overflow: hidden;
  padding: 0.5rem;
}

.upload-tile .preview img { max-width: 100%; max-height: 100%; object-fit: contain; }
.upload-tile .preview.empty { color: var(--muted-soft); font-size: 0.75rem; text-align: center; }

.upload-tile .info { flex: 1; }
.upload-tile .info p { margin: 0 0 0.5rem; font-size: 0.88rem; color: var(--muted); }

.upload-tile input[type="file"] {
  font: inherit;
  font-size: 0.85rem;
}

.upload-tile-actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin-top: 0.5rem;
}

.checkbox-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.field-help {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 0.3rem;
}

.preview-box {
  background: var(--navy-900);
  color: white;
  border-radius: var(--radius-md);
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.preview-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 20%, rgba(197, 160, 89, 0.2) 0%, transparent 50%);
}

.preview-box .label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--gold-300);
  margin-bottom: 0.8rem;
  position: relative;
}

.preview-box h2 {
  color: white;
  margin: 0 0 0.5rem;
  font-size: 1.6rem;
  position: relative;
}

.preview-box p { color: rgba(255,255,255,0.7); margin: 0; position: relative; }

/* =================================================== Responsive */

@media (max-width: 1200px) {
  .testimonials-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .testimonial--highlight { grid-column: 1 / -1; }
}

/* =============================================================
   Dynamic mall — price chips, map, flow rail, portals, Unit-ID
   ============================================================= */

.price-chips {
  padding: 0;
  background: var(--surface);
  border-block: 1px solid var(--line);
  overflow: hidden;
}

.price-chips-track {
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.price-chips-inner {
  display: flex;
  gap: 0.65rem;
  padding: 0.85rem 0;
  width: max-content;
  animation: price-chip-marquee 42s linear infinite;
}

@keyframes price-chip-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.price-chip {
  flex-shrink: 0;
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: var(--surface-warm);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-soft);
  transition: background 0.25s var(--ease-out), border-color 0.25s var(--ease-out), transform 0.25s var(--ease-out);
  cursor: pointer;
}

.price-chip:hover {
  border-color: var(--gold-300);
  background: var(--gold-50);
  transform: translateY(-2px);
}

/* Map mall */
.map-mall { background: var(--bg); }

.map-mall-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.map-mall-tools {
  display: flex;
  gap: 0.4rem;
  padding: 0.35rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
}

.map-tool {
  border: 0;
  background: transparent;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: background 0.2s var(--ease-out), color 0.2s var(--ease-out);
}

.map-tool.is-active {
  background: var(--navy-900);
  color: white;
}

.map-mall-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: 1.5rem;
  align-items: stretch;
}

.map-canvas {
  position: relative;
  min-height: 420px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--navy-800);
}

.map-canvas-bg {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s var(--ease-out);
  background-size: cover;
  background-position: center;
}

.map-canvas-bg.is-active { opacity: 1; }

.map-canvas-bg--pins {
  background-image:
    linear-gradient(180deg, rgba(33, 62, 55, 0.35), rgba(33, 62, 55, 0.75)),
    url('https://images.unsplash.com/photo-1524661135-423995f22d0b?auto=format&fit=crop&w=1400&q=80');
}

.map-canvas-bg--street {
  background-image:
    linear-gradient(180deg, rgba(33, 62, 55, 0.25), rgba(33, 62, 55, 0.65)),
    url('https://images.unsplash.com/photo-1514565131-fce0801e5785?auto=format&fit=crop&w=1400&q=80');
}

.map-pin {
  position: absolute;
  left: var(--pin-x);
  top: var(--pin-y);
  transform: translate(-50%, -100%);
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  z-index: 2;
}

.map-pin-dot {
  display: block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--brand-sage);
  box-shadow: 0 0 0 6px rgba(73, 133, 123, 0.35);
  transition: transform 0.25s var(--ease-spring), box-shadow 0.25s var(--ease-out), background 0.25s var(--ease-out);
}

.map-pin.is-active .map-pin-dot,
.map-pin:hover .map-pin-dot,
.map-pin:focus-visible .map-pin-dot {
  transform: scale(1.35);
  background: var(--gold-500);
  box-shadow: 0 0 0 10px rgba(197, 160, 89, 0.4);
}

.map-card {
  position: absolute;
  left: 1.25rem;
  bottom: 1.25rem;
  z-index: 3;
  width: min(280px, calc(100% - 2.5rem));
  padding: 1.1rem 1.2rem;
  background: rgba(255, 255, 255, 0.96);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}

.map-card[hidden] { display: none; }

.map-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.map-card-meta { font-size: 0.82rem; color: var(--muted); margin-bottom: 0.5rem; }
.map-card-price { font-family: var(--font-mono); font-size: 1rem; color: var(--gold-600); margin: 0 0 0.35rem; }
.map-card-units { font-size: 0.78rem; font-family: var(--font-mono); color: var(--muted); margin-bottom: 0.85rem; }

.map-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.map-list-item {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 0.85rem;
  align-items: center;
  padding: 0.75rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: border-color 0.25s var(--ease-out), transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
  cursor: pointer;
}

.map-list-item:hover {
  border-color: var(--gold-300);
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
}

.map-list-item img {
  width: 72px;
  height: 56px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.map-list-item strong { display: block; font-size: 0.92rem; color: var(--ink); }
.map-list-item span { display: block; font-size: 0.78rem; color: var(--muted); }
.map-list-units { font-family: var(--font-mono); color: var(--emerald-600) !important; margin-top: 0.2rem; }
.map-list-price { font-family: var(--font-mono); font-size: 0.82rem; font-weight: 600; color: var(--gold-600); white-space: nowrap; }

.map-list-all {
  text-align: center;
  padding: 0.85rem;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--navy-700);
  border-radius: var(--radius-md);
  transition: color 0.2s var(--ease-out);
}

.map-list-all:hover { color: var(--gold-600); }

/* Property availability + hover CTAs */
.property-media-link {
  display: block;
  position: absolute;
  inset: 0;
}

.property-availability {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  color: var(--muted);
  margin-bottom: 0.55rem;
}

.property-availability-bar {
  display: block;
  width: 100%;
  height: 3px;
  border-radius: var(--radius-pill);
  background: var(--line);
  position: relative;
  overflow: hidden;
}

.property-availability-bar::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: var(--avail-pct, 50%);
  background: var(--brand-sage);
  border-radius: inherit;
  transition: width 0.6s var(--ease-out);
}

.property-unit-id {
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-pill);
  background: rgba(73, 133, 123, 0.12);
  color: var(--brand-sage-dark);
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: var(--font-mono);
}

.property-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-top: 0.85rem;
  margin-top: 0.15rem;
}

.property-card-actions .btn-sm {
  flex: 1 1 auto;
  min-width: 0;
  padding: 0.55rem 0.85rem;
  font-size: 0.82rem;
}

.property-deposit { color: var(--muted-soft); }

.live-feed-screen[data-feed-mode="milestone"] {
  --demo-img: url('https://images.unsplash.com/photo-1503387762-592deb58ef4e?auto=format&fit=crop&w=1400&q=80');
}

/* Interest flow rail */
.interest-flow { background: var(--surface-warm); }

.flow-rail {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  padding-top: 1.5rem;
}

.flow-rail-progress {
  position: absolute;
  top: 0.35rem;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--line);
  border-radius: var(--radius-pill);
}

.flow-rail-progress::after {
  content: "";
  display: block;
  height: 100%;
  width: var(--flow-pct, 0%);
  background: var(--hero-lime);
  border-radius: inherit;
  transition: width 0.4s var(--ease-out);
}

.flow-rail-step {
  padding-top: 1.5rem;
  opacity: 0.55;
  transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-out);
}

.flow-rail-step.is-lit {
  opacity: 1;
  transform: translateY(-4px);
}

.flow-rail-num {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--gold-600);
  margin-bottom: 0.5rem;
}

.flow-rail-step h3 { font-size: 1.05rem; }

/* Portals showcase */
.portals-showcase { background: var(--bg); }

.portals-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.portals-tabs button {
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: background 0.2s var(--ease-out), border-color 0.2s var(--ease-out), color 0.2s var(--ease-out);
}

.portals-tabs button.is-active {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: white;
}

.portal-panel {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  padding: 2rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
}

.portal-panel.is-active { display: grid; }

.portal-mock {
  border-radius: var(--radius-lg);
  background: var(--surface-warm);
  border: 1px solid var(--line);
  padding: 1.25rem;
  min-height: 220px;
}

.portal-mock-bar {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
}

.portal-mock-bar.is-highlight {
  color: var(--gold-600);
  font-weight: 700;
}

.portal-mock-inbox {
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.88rem;
  margin: 0;
}

.portal-mock-inbox.is-highlight { color: var(--emerald-600); font-weight: 600; }

.portal-mock-phone {
  max-width: 200px;
  margin: 0 auto;
  aspect-ratio: 9 / 16;
  background: var(--navy-900);
  border-radius: 22px;
  padding: 1rem 0.75rem;
  position: relative;
}

.portal-mock-progress {
  display: flex;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.72rem;
  margin-bottom: 0.75rem;
}

.portal-mock-feed {
  flex: 1;
  min-height: 120px;
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
  margin-top: 0.5rem;
}

.portal-mock-fab {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--hero-lime);
  box-shadow: var(--shadow-gold);
}

/* Unit-ID section */
.unit-id-section {
  background: #ffffff;
  color: var(--ink);
}
.unit-id-section h2 { color: var(--ink); }
.unit-id-section p { color: var(--muted); }
.unit-id-section .section-eyebrow { color: var(--brand-sage); }
.unit-id-section .section-eyebrow::before { background: var(--brand-gold); }

.unit-id-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3rem;
  align-items: center;
}

.unit-id-stats {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
}

.unit-id-stats > div span:first-child {
  display: block;
  font-size: 2rem;
  font-family: var(--font-mono);
  color: var(--brand-sage);
}

.unit-id-stats small { color: var(--muted); font-size: 0.78rem; }

.unit-id-map {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
}

.unit-id-plot {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  border-radius: var(--radius-xs);
  background: rgba(47, 93, 80, 0.12);
  color: var(--brand-sage);
  border: 1px solid rgba(47, 93, 80, 0.28);
  animation: plot-pulse 3s var(--ease-soft) infinite;
  animation-delay: calc(var(--plot-i, 0) * 0.15s);
}

.unit-id-plot.is-held {
  background: rgba(174, 149, 102, 0.2);
  border-color: var(--brand-gold);
  color: var(--gold-700);
}

.unit-id-plot.is-sold {
  background: rgba(33, 62, 55, 0.08);
  border-color: rgba(33, 62, 55, 0.16);
  color: var(--muted);
  animation: none;
}

@keyframes plot-pulse {
  0%, 100% { opacity: 0.85; }
  50% { opacity: 1; transform: scale(1.02); }
}

.unit-id-legend {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
  font-size: 0.75rem;
  color: var(--muted);
}

.unit-id-legend .leg-available,
.unit-id-legend .leg-held,
.unit-id-legend .leg-sold {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  display: inline-block;
  margin-right: 0.35rem;
  vertical-align: middle;
}

.unit-id-legend .leg-available { background: rgba(47, 93, 80, 0.45); }
.unit-id-legend .leg-held { background: var(--brand-gold); }
.unit-id-legend .leg-sold { background: rgba(33, 62, 55, 0.18); }

.stats-strip .num.is-pulsed {
  animation: stat-pulse 0.6s var(--ease-out) once;
}

@keyframes stat-pulse {
  0% { transform: scale(1); }
  40% { transform: scale(1.04); }
  100% { transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .price-chips-inner { animation: none; }
  .browse-rail-inner { animation: none; }
  .unit-id-plot { animation: none; }
}

@media (max-width: 1024px) {
  .hero-headline { max-width: 18ch; }
  .map-mall-grid { grid-template-columns: 1fr; }
  .flow-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .portal-panel.is-active { grid-template-columns: 1fr; }
  .unit-id-grid { grid-template-columns: 1fr; }
  .listing-layout { grid-template-columns: 1fr; }
  .filter-panel { position: static; }
  .property-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .property-grid-bento { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .property-grid-bento > .property-card { grid-column: span 2; }
  .property-grid-bento > .property-card:first-child { grid-column: span 4; grid-row: span 1; }
  .pillars-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); display: grid; }
  .pillar { grid-column: auto !important; grid-row: auto !important; }
  .pillar.is-feature { grid-column: 1 / -1 !important; }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 0; }
  .stats-grid > div:nth-child(2) { border-right: 0; }
  .stats-grid > div:nth-child(1), .stats-grid > div:nth-child(2) { border-bottom: 1px solid var(--line); padding-bottom: 1.5rem; }
  .stats-grid > div:nth-child(3), .stats-grid > div:nth-child(4) { padding-top: 0.4rem; }
  .property-detail-grid,
  .property-hero,
  .content-grid { grid-template-columns: 1fr; gap: 2rem; }
  .contact-side { position: static; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem; }
  .footer-brand { grid-column: 1 / -1; }
  .diaspora-grid { grid-template-columns: 1fr; gap: 2rem; }
  .live-demo-grid { grid-template-columns: 1fr; gap: 2rem; }
  .flow-grid { grid-template-columns: 1fr; }
  .flow-grid::before { display: none; }
  .flow-rail { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .hero-proof { flex-direction: column; align-items: center; gap: 0.65rem; }
  .admin-shell { grid-template-columns: 1fr; }
  .admin-sidebar { padding: 1rem; }
  .admin-main { padding: 1.5rem; }
  .hero-search-wrap { grid-template-columns: repeat(2, 1fr); }
  .hero-search-field { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .hero-search-field:nth-child(2n) { border-right: 0; }
  .hero-search-field:nth-last-child(-n+2) { border-bottom: 0; }
}

@media (max-width: 720px) {
  body { overflow-x: hidden; }
  section { padding: 4rem 0; }

  .container { width: calc(100% - 1.6rem); }

  .nav-toggle { display: flex; }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 1rem;
    left: 1rem;
    flex-direction: column;
    align-items: stretch;
    background: var(--navy-900);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-md);
    padding: 1rem;
    box-shadow: var(--shadow-lg);
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    gap: 0.2rem;
  }

  .site-nav.open {
    transform: translateY(8px);
    opacity: 1;
    visibility: visible;
  }

  .site-nav a {
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
  }

  .header-inner { position: relative; }

  .page-home .site-header { position: fixed; background: rgba(33, 62, 55, 0.92); backdrop-filter: blur(16px); }

  .hero { padding: 6.5rem 0 3.5rem; min-height: 640px; }
  .hero-headline { font-size: clamp(1.75rem, 7.5vw, 2.35rem); max-width: none; }

  .hero-search-wrap {
    grid-template-columns: 1fr;
    padding: 0.75rem;
    gap: 0.2rem;
    border-radius: var(--radius-xl);
  }

  .hero-search-field {
    width: 100%;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 0.85rem 1rem;
  }
  .hero-search-field:last-of-type { border-bottom: 0; }

  .hero-search-btn {
    margin: 0.6rem auto 0;
    width: 100%;
    height: 52px;
    border-radius: var(--radius-pill);
  }

  .hero-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    overflow: visible;
  }

  .hero-tab {
    white-space: nowrap;
    padding: 0.55rem 0.35rem;
    font-size: clamp(0.72rem, 2.8vw, 0.88rem);
    text-align: center;
  }

  .property-grid,
  .property-grid-bento,
  .pillars-grid,
  .stats-grid,
  .content-grid,
  .diaspora-stats { grid-template-columns: 1fr; }

  .property-grid-bento > .property-card,
  .property-grid-bento > .property-card:first-child { grid-column: 1 / -1; grid-row: auto; }
  .property-grid-bento > .property-card:first-child .property-media { aspect-ratio: 4 / 3; }
  .property-grid-bento > .property-card:first-child .property-body h3 { font-size: 1.15rem; }

  .stats-grid > div { border-right: 0; border-bottom: 1px solid var(--line); padding: 1.4rem 0; }
  .stats-grid > div:last-child { border-bottom: 0; }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-brand { grid-column: auto; }

  .cta-panel { padding: 0.5rem; margin: 3rem auto; width: min(1240px, calc(100% - 1.6rem)); }
  .cta-panel-inner { padding: 2.5rem 1.6rem; }

  .cta-content {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 1.75rem;
  }

  .cta-content h2 {
    max-width: none;
    margin-left: auto;
    margin-right: auto;
  }

  .cta-content p {
    max-width: 38ch;
    margin-left: auto;
    margin-right: auto;
  }

  .cta-actions {
    justify-content: center;
    align-items: stretch;
    width: 100%;
    max-width: 360px;
    flex-direction: column;
  }

  .cta-actions .btn {
    width: 100%;
    justify-content: center;
  }
  .property-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .top-bar { display: none; }
  .milestone-track { grid-template-columns: 1fr 1fr; gap: 1.4rem; }
  .milestone-track::before { display: none; }
  .flow-rail { grid-template-columns: 1fr; }
  .unit-id-stats { flex-direction: column; gap: 1rem; }
  .property-card-actions { padding-top: 0.75rem; }
  .listing-section-head { flex-direction: column; align-items: flex-start; }
}
