/* ═══════════════════════════════════════════════════════════════
   CMS LOS — Marketing Site
   Warm marketing palette (cream + CMS blue + CMS orange)
   Cool app-lane palette used inside product mockups
   ═══════════════════════════════════════════════════════════════ */

:root {
  /* ---------- Marketing palette (warm) ---------- */
  --cms-bg:        #FFFBF7;   /* cream */
  --cms-bg-alt:    #FFF5EB;   /* warm cream alt */
  --cms-bg-beige:  #F5EFE6;   /* deeper beige for sections */
  --cms-surface:   #FFFFFF;
  --cms-ink:       #1A1A1A;
  --cms-ink-soft:  #3A3A3A;
  --cms-muted:     #6B6B6B;
  --cms-muted-2:   #8C8C8C;
  --cms-border:    #EEE4D6;
  --cms-border-2:  #E5D9C6;

  --cms-blue:      #00269A;   /* CMS deep blue — sparingly */
  --cms-blue-2:    #001F7D;
  --cms-blue-light:#EEF1FC;
  --cms-orange:    #FF5100;   /* CMS orange — CTAs */
  --cms-orange-2:  #E84709;
  --cms-orange-hot:#FF7A33;   /* gradient mate */
  --cms-orange-light:#FFEDE3;

  --cms-green:     #0E8A5B;
  --cms-green-light:#E3F5ED;
  --cms-yellow:    #D97706;
  --cms-red:       #B91C1C;

  /* ---------- App-lane palette (cool, used inside mockups) ---------- */
  --app-bg:        #F5F6FA;
  --app-surface:   #FFFFFF;
  --app-ink:       #0F1A3D;
  --app-muted:     #6B7A9A;
  --app-border:    #DDE1F0;
  --app-border-2:  #E8EBF5;
  --app-primary:   #2D3DB0;
  --app-primary-light:#EEF0FA;
  --app-cta:       #E84C1E;
  --app-cta-light: #FEF0EB;
  --sidebar-bg:    #1E2545;
  --sidebar-muted: #8B95B8;

  /* Program dots */
  --p-conv:  #2D3DB0;
  --p-fha:   #E84C1E;
  --p-va:    #22C55E;
  --p-jumbo: #8B5CF6;

  /* Fonts */
  --font-display: "Manrope", system-ui, -apple-system, sans-serif;
  --font-body:    "Manrope", system-ui, -apple-system, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, SFMono-Regular, monospace;

  /* Motion */
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@media (prefers-color-scheme: dark) {
  :root { color-scheme: light; }
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
}

body {
  background: var(--cms-bg);
  color: var(--cms-ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  font-feature-settings: "ss01", "cv11";
}

.num { font-family: var(--font-mono); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 32px; }

a { color: inherit; text-decoration: none; }
button { font-family: inherit; border: none; background: none; cursor: pointer; }

/* ═══════════════════════════════════════════════════════════════
   NAV
   ═══════════════════════════════════════════════════════════════ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 251, 247, 0.82);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid rgba(238, 228, 214, 0.6);
}
.nav-inner {
  max-width: 1240px; margin: 0 auto;
  padding: 16px 32px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
}
.logo {
  display: inline-flex;
  align-items: center;
}
.logo-mark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: var(--cms-blue);
}
.logo-mark .dot { color: var(--cms-orange); margin: 0 1px; }

.nav-links {
  display: flex;
  gap: 32px;
  justify-self: center;
  font-size: 14px;
  font-weight: 500;
  color: var(--cms-ink-soft);
}
.nav-links a {
  position: relative;
  padding: 4px 0;
  transition: color 150ms var(--ease);
}
.nav-links a:hover { color: var(--cms-blue); }

.nav-cta { display: flex; gap: 10px; }

/* ═══════════════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.005em;
  line-height: 1;
  white-space: nowrap;
  transition: all 180ms var(--ease);
  border: 1px solid transparent;
}
.btn-lg { padding: 14px 24px; font-size: 15px; border-radius: 12px; }
.btn-primary {
  background: var(--cms-orange);
  color: white;
  box-shadow: 0 2px 10px rgba(255, 81, 0, 0.28);
}
.btn-primary:hover {
  background: var(--cms-orange-2);
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(255, 81, 0, 0.38);
}
.btn-ghost {
  background: transparent;
  color: var(--cms-ink);
  border-color: var(--cms-border);
}
.btn-ghost:hover {
  background: var(--cms-surface);
  border-color: var(--cms-border-2);
}
.btn-link {
  background: transparent;
  color: var(--cms-blue);
  padding: 10px 8px;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 4px;
  transition: text-decoration-color 200ms var(--ease);
}
.btn-link:hover { text-decoration-color: var(--cms-blue); }
.btn .arrow { transition: transform 200ms var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

.btn-sm {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 12px; font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-sm-primary { background: var(--app-cta); color: white; }
.btn-sm-ghost {
  background: var(--app-surface); color: var(--app-ink); border-color: var(--app-border);
}

/* ═══════════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  padding: 96px 32px 0;
  background:
    radial-gradient(1000px 600px at 85% -10%, rgba(255, 81, 0, 0.08), transparent 60%),
    radial-gradient(1200px 700px at 0% 30%, rgba(0, 38, 154, 0.05), transparent 55%),
    var(--cms-bg);
  overflow: hidden;
}
.hero-inner {
  max-width: 1240px;
  margin: 0 auto;
  text-align: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px;
  background: var(--cms-surface);
  border: 1px solid var(--cms-border);
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 600;
  color: var(--cms-ink-soft);
  letter-spacing: 0.01em;
  margin-bottom: 32px;
}
.eyebrow-dot {
  width: 7px; height: 7px; border-radius: 9999px;
  background: var(--cms-green);
  box-shadow: 0 0 0 4px rgba(14, 138, 91, 0.15);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(14, 138, 91, 0.15); }
  50% { box-shadow: 0 0 0 6px rgba(14, 138, 91, 0.05); }
}

.hero-h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(44px, 7.5vw, 104px);
  line-height: 0.96;
  letter-spacing: -0.035em;
  color: var(--cms-ink);
  max-width: 1100px;
  margin: 0 auto 24px;
}
.hero-h1 em {
  font-style: normal;
  font-weight: 800;
  background: linear-gradient(95deg, var(--cms-blue) 0%, var(--cms-orange) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 1.55;
  color: var(--cms-muted);
  max-width: 720px;
  margin: 0 auto 40px;
  font-weight: 400;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 48px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-proof {
  display: inline-flex;
  align-items: center;
  gap: 36px;
  padding: 16px 32px;
  background: var(--cms-surface);
  border: 1px solid var(--cms-border);
  border-radius: 9999px;
  margin-bottom: 72px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}
.proof-item { text-align: center; }
.proof-num {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: var(--cms-blue);
  letter-spacing: -0.02em;
  line-height: 1;
}
.proof-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--cms-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 4px;
}
.proof-divider {
  width: 1px;
  height: 30px;
  background: var(--cms-border);
}

/* ═══════════════════════════════════════════════════════════════
   HERO MOCKUP
   ═══════════════════════════════════════════════════════════════ */
.hero-mockup {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
  transform: translateZ(0);
}
.hero-mockup-glow {
  position: absolute;
  inset: auto 5% -80px 5%;
  height: 220px;
  background: radial-gradient(ellipse at top, rgba(0, 38, 154, 0.25), transparent 70%);
  filter: blur(40px);
  z-index: -1;
}

.app-frame {
  position: relative;
  background: var(--app-surface);
  border: 1px solid var(--cms-border-2);
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 2px 8px rgba(15, 26, 61, 0.05),
    0 24px 80px -20px rgba(15, 26, 61, 0.28),
    0 48px 120px -40px rgba(0, 38, 154, 0.25);
}

.chrome-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: var(--app-bg);
  border-bottom: 1px solid var(--app-border);
}
.chrome-dots { display: flex; gap: 6px; }
.chrome-dots span { width: 11px; height: 11px; border-radius: 9999px; background: #D0D5EB; }
.chrome-dots span:nth-child(1) { background: #FF5F57; }
.chrome-dots span:nth-child(2) { background: #FEBC2E; }
.chrome-dots span:nth-child(3) { background: #28C840; }
.chrome-url {
  flex: 1;
  background: var(--app-surface);
  border: 1px solid var(--app-border);
  border-radius: 6px;
  padding: 5px 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--app-muted);
  max-width: 420px;
  margin: 0 auto;
}
.chrome-url .lock { color: var(--cms-green); margin-right: 4px; }
.chrome-meta {
  font-size: 11px;
  font-weight: 600;
  color: var(--app-muted);
  letter-spacing: 0.04em;
}

.app-body {
  display: grid;
  grid-template-columns: 64px 1fr 340px;
  min-height: 540px;
  color: var(--app-ink);
  background: var(--app-bg);
  font-size: 14px;
}

.app-sidebar {
  background: var(--sidebar-bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 14px 0;
  gap: 4px;
}
.sb-logo {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--app-primary);
  color: white;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 800; font-size: 13px;
  margin-bottom: 14px;
}
.sb-icon {
  width: 40px; height: 40px; border-radius: 8px;
  color: var(--sidebar-muted);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  cursor: pointer;
  transition: background 120ms;
}
.sb-icon.sb-active { background: var(--app-primary); color: white; }
.sb-icon:hover:not(.sb-active) { background: rgba(255, 255, 255, 0.08); }
.sb-avatar {
  margin-top: auto;
  width: 36px; height: 36px; border-radius: 9999px;
  background: #FEF3C7; color: #D97706;
  border: 2px solid #F59E0B;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 11px;
}

.app-work {
  padding: 20px 24px;
  overflow: hidden;
  background: var(--app-bg);
}
.app-work-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 18px;
  gap: 16px;
}
.work-h2 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--app-ink);
}
.work-sub {
  font-size: 13px;
  color: var(--app-muted);
  margin-top: 3px;
}
.work-actions { display: flex; gap: 8px; }

.attention-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--app-cta);
  margin-bottom: 8px;
}

.loan-rows {
  background: var(--app-surface);
  border: 1px solid var(--app-border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(15, 26, 61, 0.03);
}
.loan-row {
  display: grid;
  grid-template-columns: 12px 52px 1fr 90px 110px auto;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--app-border-2);
  font-size: 13px;
  transition: background 120ms;
}
.loan-row:last-child { border-bottom: none; }
.loan-row:hover { background: var(--app-primary-light); }
.loan-row.attention { background: var(--app-cta-light); }
.loan-row.attention:hover { background: #FDDCD0; }

.dot-prog {
  width: 8px; height: 8px; border-radius: 9999px;
}
.dot-conv { background: var(--p-conv); }
.dot-fha { background: var(--p-fha); }
.dot-va { background: var(--p-va); }
.dot-jumbo { background: var(--p-jumbo); }

.prog {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--app-muted);
  letter-spacing: 0.04em;
}
.brw-name { font-weight: 600; color: var(--app-ink); }
.brw-sub { color: var(--app-muted); font-size: 12px; margin-top: 1px; }
.amount { text-align: right; font-weight: 600; }
.warn { color: var(--app-cta); font-size: 12px; font-weight: 600; }
.warn-sm { color: var(--app-muted); font-size: 12px; font-weight: 500; }

/* pills */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}
.pill-locked { background: var(--app-primary); color: white; }
.pill-priced { background: var(--app-primary); color: white; }
.pill-aus { background: var(--app-cta-light); color: var(--app-cta); }
.pill-docs { background: var(--app-primary-light); color: var(--app-primary); }

/* genesis pane */
.app-genesis {
  background: var(--app-surface);
  border-left: 1px solid var(--app-border);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.gen-head {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--app-border);
}
.g-avatar {
  width: 32px; height: 32px; border-radius: 9999px;
  background: var(--app-primary); color: white;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 800; font-size: 13px;
  box-shadow: 0 4px 18px rgba(45, 61, 176, 0.28);
}
.gen-name { font-weight: 700; font-size: 13px; color: var(--app-ink); }
.gen-sub { color: var(--app-muted); font-size: 11px; margin-top: 1px; }

.gen-thread {
  flex: 1;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: auto;
}
.bubble {
  max-width: 88%;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.45;
}
.bubble-user {
  align-self: flex-end;
  background: var(--app-primary);
  color: white;
  border-bottom-right-radius: 4px;
}
.bubble-bot {
  align-self: flex-start;
  background: var(--app-bg);
  color: var(--app-ink);
  border: 1px solid var(--app-border);
  border-bottom-left-radius: 4px;
}
.bubble-bot strong { color: var(--app-primary); font-weight: 700; }
.tool-card {
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--app-muted);
  background: var(--app-bg);
  border: 1px solid var(--app-border-2);
  border-radius: 6px;
  padding: 5px 8px;
}
.tool-card::before {
  content: "⚙ ";
  color: var(--app-primary);
}

.gen-input {
  display: flex; gap: 8px;
  padding: 12px;
  border-top: 1px solid var(--app-border);
}
.gen-input input {
  flex: 1;
  background: var(--app-bg);
  border: 1px solid var(--app-border);
  border-radius: 8px;
  padding: 9px 12px;
  font-family: inherit;
  font-size: 13px;
  outline: none;
}
.gen-input .send {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: var(--app-cta);
  color: white;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

/* ═══════════════════════════════════════════════════════════════
   TRUST / LOGOS
   ═══════════════════════════════════════════════════════════════ */
.trust {
  padding: 120px 32px 60px;
  background: var(--cms-bg);
}
.trust-inner {
  max-width: 1240px;
  margin: 0 auto;
  text-align: center;
}
.trust-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cms-muted);
  margin-bottom: 28px;
}
.trust-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 44px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--cms-ink-soft);
  opacity: 0.7;
  letter-spacing: -0.01em;
}
.trust-logos span {
  transition: opacity 180ms, color 180ms;
}
.trust-logos span:hover { opacity: 1; color: var(--cms-blue); }

/* ═══════════════════════════════════════════════════════════════
   SECTION HEADS
   ═══════════════════════════════════════════════════════════════ */
.section-head {
  max-width: 820px;
  margin-bottom: 64px;
}
.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section-eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--cms-orange);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-eyebrow::before {
  content: "// ";
  opacity: 0.6;
}
.section-eyebrow.light { color: var(--cms-orange-hot); }
.section-eyebrow.dark { color: #FF8F5C; }

.section-h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(34px, 4.5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.028em;
  color: var(--cms-ink);
  margin-bottom: 20px;
}
.section-h2.light-h { color: #FFFBF7; }
.section-lede {
  font-size: clamp(16px, 1.3vw, 18px);
  line-height: 1.55;
  color: var(--cms-muted);
  font-weight: 400;
}
.section-lede.light-p { color: rgba(255, 251, 247, 0.72); }

/* ═══════════════════════════════════════════════════════════════
   PROBLEM
   ═══════════════════════════════════════════════════════════════ */
.problem {
  padding: 120px 32px;
  background: var(--cms-bg);
}
.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 24px;
}
.problem-card {
  background: var(--cms-surface);
  border: 1px solid var(--cms-border);
  border-radius: 20px;
  padding: 32px;
  transition: transform 250ms var(--ease), box-shadow 250ms var(--ease), border-color 250ms var(--ease);
}
.problem-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.12);
  border-color: var(--cms-border-2);
}
.problem-num {
  font-family: var(--font-display);
  font-size: 72px;
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, var(--cms-blue) 0%, var(--cms-orange) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 8px;
}
.problem-h {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--cms-ink);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.problem-p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--cms-muted);
}

/* ═══════════════════════════════════════════════════════════════
   VISION
   ═══════════════════════════════════════════════════════════════ */
.vision {
  padding: 120px 32px;
  background: var(--cms-bg-beige);
  position: relative;
  overflow: hidden;
}
.vision::before {
  content: "";
  position: absolute;
  inset: -10% -10% auto auto;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(255, 81, 0, 0.08), transparent 60%);
  pointer-events: none;
}
.vision-inner { position: relative; }
.vision-h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(32px, 4.2vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--cms-ink);
  max-width: 1100px;
  margin-bottom: 24px;
}
.vision-h2 .highlight {
  background: linear-gradient(90deg, var(--cms-blue), var(--cms-orange));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.vision-p {
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.6;
  color: var(--cms-muted);
  max-width: 820px;
  margin-bottom: 64px;
}
.vision-pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.pillar {
  background: var(--cms-surface);
  border: 1px solid var(--cms-border);
  border-radius: 20px;
  padding: 28px;
}
.pillar-num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--cms-orange);
  margin-bottom: 16px;
}
.pillar h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.pillar p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--cms-muted);
}

/* ═══════════════════════════════════════════════════════════════
   WALKTHROUGH
   ═══════════════════════════════════════════════════════════════ */
.walkthrough {
  padding: 120px 32px;
  background: var(--cms-bg);
}
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 80px;
  align-items: center;
  margin-top: 96px;
}
.feature-row.reverse {
  direction: rtl;
}
.feature-row.reverse > * { direction: ltr; }
.feature-row:first-of-type { margin-top: 64px; }

.feature-num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--cms-orange);
  margin-bottom: 16px;
}
.feature-num::before { content: "FEATURE · "; opacity: 0.7; }

.feature-h {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--cms-ink);
  margin-bottom: 20px;
}
.feature-p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--cms-muted);
  margin-bottom: 20px;
}
.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.feature-list li {
  position: relative;
  padding: 10px 0 10px 28px;
  font-size: 14px;
  color: var(--cms-ink-soft);
  border-top: 1px solid var(--cms-border);
  line-height: 1.5;
}
.feature-list li:first-child { border-top: none; padding-top: 20px; }
.feature-list li::before {
  content: "→";
  position: absolute;
  left: 0; top: 10px;
  color: var(--cms-orange);
  font-weight: 700;
}
.feature-list li:first-child::before { top: 20px; }

/* ----- mini app frame (for embedded feature mockups) ----- */
.mini-app {
  background: var(--app-surface);
  border: 1px solid var(--cms-border-2);
  border-radius: 14px;
  overflow: hidden;
  box-shadow:
    0 2px 8px rgba(15, 26, 61, 0.04),
    0 20px 60px -20px rgba(15, 26, 61, 0.2);
  color: var(--app-ink);
  font-size: 13px;
}
.mini-chrome {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: var(--app-bg);
  border-bottom: 1px solid var(--app-border);
}
.mini-chrome span {
  width: 9px; height: 9px; border-radius: 9999px;
  background: #D0D5EB;
}
.mini-chrome span:nth-child(1) { background: #FF5F57; }
.mini-chrome span:nth-child(2) { background: #FEBC2E; }
.mini-chrome span:nth-child(3) { background: #28C840; }
.mini-url {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--app-muted);
  background: var(--app-surface);
  border: 1px solid var(--app-border);
  border-radius: 6px;
  padding: 3px 10px;
}
.mini-body { padding: 22px; background: var(--app-bg); }

/* ----- scenario mock ----- */
.scen-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 18px;
}
.scen-eyebrow {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  color: var(--app-muted);
  letter-spacing: 0.08em;
  margin-bottom: 3px;
}
.scen-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.scen-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
}
.scen-cell {
  background: var(--app-surface);
  border: 1px solid var(--app-border);
  border-radius: 10px;
  padding: 14px 16px;
}
.scen-cell.scen-highlight {
  background: var(--app-primary-light);
  border-color: #C4C9EE;
}
.scen-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--app-muted);
  margin-bottom: 4px;
}
.scen-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--app-ink);
}
.scen-value.num { font-family: var(--font-mono); }
.scen-value.green { color: #047857; }

.scen-genesis {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 14px;
  background: var(--app-surface);
  border: 1px solid var(--app-border);
  border-left: 3px solid var(--app-primary);
  border-radius: 8px;
  font-size: 12px;
  line-height: 1.5;
}
.scen-g-avatar {
  flex: 0 0 22px;
  width: 22px; height: 22px;
  border-radius: 9999px;
  background: var(--app-primary);
  color: white;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 800; font-size: 11px;
  margin-top: 1px;
}

/* ----- pricing mock ----- */
.p-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--app-surface);
  border: 1px solid var(--app-border);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 12px;
  font-size: 12px;
}
.p-table thead {
  background: var(--app-bg);
  font-size: 10px;
  font-weight: 600;
  color: var(--app-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.p-table th, .p-table td {
  text-align: left;
  padding: 10px 14px;
  border-bottom: 1px solid var(--app-border-2);
}
.p-table tr:last-child td { border-bottom: none; }
.p-table .num-col { font-family: var(--font-mono); text-align: right; }
.p-table th.num-col { text-align: right; }
.p-recommended { background: var(--app-primary-light); }
.p-recommended td { font-weight: 600; }
.badge-rec {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 2px 7px;
  margin-left: 8px;
  border-radius: 9999px;
  background: var(--app-primary);
  color: white;
  text-transform: uppercase;
  vertical-align: middle;
}
.p-good { color: #047857; font-size: 11px; font-weight: 600; }
.p-warn { color: var(--app-cta); font-size: 11px; font-weight: 600; }

.p-rationale {
  background: var(--app-surface);
  border: 1px solid var(--app-border);
  border-left: 3px solid var(--app-primary);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 12px;
  line-height: 1.5;
}
.p-rat-head {
  font-weight: 700;
  color: var(--app-ink);
  margin-bottom: 4px;
  display: flex; align-items: center; gap: 6px;
}
.g-chip {
  display: inline-flex; align-items: center; justify-content: center;
  width: 18px; height: 18px; border-radius: 9999px;
  background: var(--app-primary); color: white;
  font-size: 10px; font-weight: 800;
  font-family: var(--font-display);
}
.p-rat-body { color: var(--app-muted); }

/* ----- 1003 mock ----- */
.f1003-mock .mini-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.fg {
  background: var(--app-surface);
  border: 1px solid var(--app-border);
  border-radius: 10px;
  padding: 14px 16px;
  grid-column: 1 / -1;
}
.fg.fg-half { grid-column: span 1; }
.fg-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
  gap: 10px;
}
.fg label {
  font-size: 11px;
  font-weight: 600;
  color: var(--app-ink);
}
.fg-g {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 600;
  color: var(--app-primary);
  background: var(--app-primary-light);
  padding: 2px 8px;
  border-radius: 9999px;
  border: 1px solid #C4C9EE;
}
.fg-g::before { content: "G"; width: 12px; height: 12px; border-radius: 9999px; background: var(--app-primary); color: white; font-size: 8px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }
.fg-g-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--app-muted);
  background: var(--app-bg);
  padding: 2px 8px;
  border-radius: 9999px;
  border: 1px solid var(--app-border-2);
}
.fg input {
  width: 100%;
  background: var(--app-bg);
  border: 1px solid var(--app-border);
  border-radius: 8px;
  padding: 9px 12px;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--app-ink);
  outline: none;
  font-weight: 600;
}
.fg-cap {
  font-size: 11px;
  color: var(--app-muted);
  margin-top: 6px;
  line-height: 1.4;
}
.fg-cap::before { content: "↳ "; color: #C4C9EE; }

/* ----- portal mock ----- */
.portal-mock .mini-body {
  background: #FBFAF7;
}
.portal-body { padding: 28px !important; }
.portal-head { margin-bottom: 28px; }
.portal-eyebrow {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  color: var(--app-muted);
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}
.portal-h {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--app-ink);
  max-width: 400px;
}
.milestones {
  display: flex;
  align-items: flex-start;
  margin-bottom: 28px;
  gap: 4px;
}
.ms {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex-basis: 60px;
}
.ms-dot {
  width: 28px; height: 28px; border-radius: 9999px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  border: 2px solid var(--app-border);
  background: var(--app-surface);
  color: var(--app-muted);
}
.ms-l {
  font-size: 10px;
  font-weight: 600;
  color: var(--app-muted);
  text-align: center;
  line-height: 1.2;
  letter-spacing: -0.005em;
}
.ms-done .ms-dot { background: var(--app-primary-light); border-color: var(--app-primary); color: var(--app-primary); }
.ms-done .ms-l { color: var(--app-ink); }
.ms-current .ms-dot { background: var(--app-primary); border-color: var(--app-primary); color: white; box-shadow: 0 0 0 4px rgba(45, 61, 176, 0.12); }
.ms-current .ms-l { color: var(--app-primary); font-weight: 700; }
.ms-line {
  height: 2px;
  background: var(--app-border);
  flex: 0 0 24px;
  margin-top: 13px;
  border-radius: 2px;
}
.ms-line.done { background: var(--app-primary); }

.portal-docs {
  background: var(--app-surface);
  border: 1px solid var(--app-border);
  border-radius: 12px;
  overflow: hidden;
}
.portal-docs-head {
  padding: 12px 16px;
  border-bottom: 1px solid var(--app-border);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: var(--app-bg);
}
.doc-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  border-bottom: 1px solid var(--app-border-2);
}
.doc-item:last-child { border-bottom: none; }
.doc-icon { font-size: 18px; }
.doc-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--app-ink);
}
.doc-sub {
  font-size: 11px;
  color: var(--app-muted);
  margin-top: 1px;
}

/* ═══════════════════════════════════════════════════════════════
   GENESIS SECTION (dark)
   ═══════════════════════════════════════════════════════════════ */
.genesis-section {
  padding: 120px 32px;
  background:
    radial-gradient(800px 400px at 20% 0%, rgba(255, 81, 0, 0.12), transparent 60%),
    radial-gradient(900px 500px at 90% 100%, rgba(45, 61, 176, 0.22), transparent 60%),
    linear-gradient(180deg, #0A1030 0%, #121A47 100%);
  color: #FFFBF7;
  position: relative;
  overflow: hidden;
}

.genesis-layers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 56px;
}
.layer-card {
  background: rgba(255, 251, 247, 0.04);
  border: 1px solid rgba(255, 251, 247, 0.1);
  border-radius: 20px;
  padding: 32px;
  backdrop-filter: blur(8px);
  transition: background 250ms, border-color 250ms, transform 250ms var(--ease);
}
.layer-card:hover {
  background: rgba(255, 251, 247, 0.06);
  border-color: rgba(255, 81, 0, 0.3);
  transform: translateY(-3px);
}
.layer-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}
.layer-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(255, 81, 0, 0.15);
  color: var(--cms-orange-hot);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
}
.layer-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: rgba(255, 251, 247, 0.4);
}
.layer-h {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 10px;
  color: #FFFBF7;
}
.layer-p {
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 251, 247, 0.66);
  margin-bottom: 22px;
}
.layer-example {
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 251, 247, 0.06);
  border-radius: 12px;
  padding: 16px;
  font-size: 12px;
  line-height: 1.55;
}
.le-q {
  color: rgba(255, 251, 247, 0.58);
  font-style: italic;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 251, 247, 0.08);
}
.le-a {
  color: #FFFBF7;
}
.le-a strong { color: var(--cms-orange-hot); font-weight: 700; }

/* rules strip */
.genesis-rules { margin-top: 64px; }
.rule-strip {
  background: rgba(255, 251, 247, 0.04);
  border: 1px solid rgba(255, 251, 247, 0.1);
  border-radius: 20px;
  padding: 32px 36px;
}
.rule-title {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: rgba(255, 251, 247, 0.56);
  text-transform: uppercase;
  margin-bottom: 22px;
}
.rule-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.rule-h {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: #FFFBF7;
  margin-bottom: 6px;
}
.rule-p {
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 251, 247, 0.6);
}

/* ═══════════════════════════════════════════════════════════════
   HOW / TIMELINE
   ═══════════════════════════════════════════════════════════════ */
.how {
  padding: 120px 32px;
  background: var(--cms-bg);
}
.how-timeline {
  position: relative;
  margin-top: 72px;
  padding-left: 90px;
}
.timeline-track {
  position: absolute;
  top: 16px;
  bottom: 16px;
  left: 34px;
  width: 2px;
  background: linear-gradient(180deg, var(--cms-blue) 0%, var(--cms-orange) 100%);
  border-radius: 2px;
}
.tl-stop {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  padding-bottom: 40px;
}
.tl-stop:last-child { padding-bottom: 0; }
.tl-num {
  position: absolute;
  left: -90px;
  top: 0;
  width: 70px;
  height: 36px;
  background: var(--cms-surface);
  border: 1px solid var(--cms-border-2);
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--cms-ink);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.tl-h {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}
.tl-p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--cms-muted);
  max-width: 720px;
}

/* ═══════════════════════════════════════════════════════════════
   BUILDERS
   ═══════════════════════════════════════════════════════════════ */
.builders {
  padding: 120px 32px;
  background: var(--cms-bg-alt);
}
.builders-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 48px;
}
.builder-card {
  background: var(--cms-surface);
  border: 1px solid var(--cms-border);
  border-radius: 20px;
  padding: 32px;
  transition: transform 250ms var(--ease), box-shadow 250ms var(--ease);
}
.builder-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 48px -20px rgba(0, 0, 0, 0.12);
}
.builder-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--cms-orange);
  margin-bottom: 14px;
}
.builder-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.15;
  margin-bottom: 10px;
}
.builder-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--cms-muted);
}

/* ═══════════════════════════════════════════════════════════════
   NUMBERS
   ═══════════════════════════════════════════════════════════════ */
.numbers { padding: 120px 32px; background: var(--cms-bg); }
.numbers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 48px;
}
.num-card {
  background: var(--cms-surface);
  border: 1px solid var(--cms-border);
  border-radius: 20px;
  padding: 32px 28px;
  text-align: left;
}
.num-big {
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 84px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--cms-blue);
  margin-bottom: 12px;
}
.num-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--cms-orange);
  margin-bottom: 8px;
}
.num-sub {
  font-size: 13px;
  line-height: 1.55;
  color: var(--cms-muted);
}

/* ═══════════════════════════════════════════════════════════════
   FAQ
   ═══════════════════════════════════════════════════════════════ */
.faq { padding: 120px 32px; background: var(--cms-bg-alt); }
.faq-list {
  max-width: 820px;
  margin: 48px auto 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.faq-item {
  background: var(--cms-surface);
  border: 1px solid var(--cms-border);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 200ms;
}
.faq-item[open] { border-color: var(--cms-border-2); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-q {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--cms-ink);
}
.faq-plus {
  font-size: 22px;
  color: var(--cms-orange);
  font-weight: 400;
  transition: transform 250ms var(--ease);
  flex-shrink: 0;
}
.faq-item[open] .faq-plus { transform: rotate(45deg); }
.faq-a {
  padding: 0 28px 24px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--cms-muted);
}

/* ═══════════════════════════════════════════════════════════════
   CTA
   ═══════════════════════════════════════════════════════════════ */
.cta {
  padding: 120px 32px;
  background:
    radial-gradient(800px 400px at 80% 100%, rgba(255, 81, 0, 0.3), transparent 60%),
    radial-gradient(900px 500px at 10% 0%, rgba(45, 61, 176, 0.4), transparent 60%),
    linear-gradient(135deg, #00269A 0%, #0A1030 100%);
  color: #FFFBF7;
  position: relative;
  overflow: hidden;
}
.cta-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.cta-eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--cms-orange-hot);
  text-transform: uppercase;
  margin-bottom: 24px;
}
.cta-eyebrow::before { content: "// "; opacity: 0.6; }
.cta-h {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(36px, 5.5vw, 72px);
  line-height: 1;
  letter-spacing: -0.035em;
  margin-bottom: 24px;
}
.cta-p {
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.55;
  color: rgba(255, 251, 247, 0.75);
  max-width: 640px;
  margin: 0 auto 40px;
}
.cta-row {
  display: inline-flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}
.cta .btn-ghost {
  background: rgba(255, 251, 247, 0.08);
  color: #FFFBF7;
  border-color: rgba(255, 251, 247, 0.18);
}
.cta .btn-ghost:hover {
  background: rgba(255, 251, 247, 0.14);
  border-color: rgba(255, 251, 247, 0.32);
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════ */
.footer {
  background: #FFFBF7;
  border-top: 1px solid var(--cms-border);
  padding: 64px 32px 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.3fr 2fr;
  gap: 64px;
  padding-bottom: 48px;
}
.footer-brand .logo-mark { font-size: 22px; }
.footer-tag {
  font-size: 14px;
  color: var(--cms-muted);
  margin-top: 10px;
  max-width: 280px;
  line-height: 1.5;
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--cms-orange);
  margin-bottom: 6px;
  text-transform: uppercase;
}
.footer-col a {
  font-size: 14px;
  color: var(--cms-ink-soft);
  transition: color 150ms;
}
.footer-col a:hover { color: var(--cms-blue); }

.footer-bottom {
  border-top: 1px solid var(--cms-border);
  padding: 24px 0;
  color: var(--cms-muted-2);
  font-size: 12px;
}
.footer-bot-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

/* ═══════════════════════════════════════════════════════════════
   BETA BANNER (above nav)
   ═══════════════════════════════════════════════════════════════ */
.beta-banner {
  background: #0A1030;
  color: #FFFBF7;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: -0.005em;
  border-bottom: 1px solid rgba(255, 251, 247, 0.08);
}
.beta-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 10px 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.beta-pulse {
  width: 7px; height: 7px;
  border-radius: 9999px;
  background: var(--cms-orange);
  box-shadow: 0 0 0 0 rgba(255, 81, 0, 0.6);
  animation: beta-pulse 2.2s infinite;
}
@keyframes beta-pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 81, 0, 0.5); }
  70% { box-shadow: 0 0 0 8px rgba(255, 81, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 81, 0, 0); }
}
.beta-text strong {
  color: var(--cms-orange-hot);
  font-weight: 700;
}
.beta-divider { color: rgba(255, 251, 247, 0.3); }
.beta-meta {
  color: rgba(255, 251, 247, 0.55);
  font-family: var(--font-mono);
  font-size: 11px;
}

/* ═══════════════════════════════════════════════════════════════
   HERO iframe frame (the "feature image")
   ═══════════════════════════════════════════════════════════════ */
.hero-frame {
  position: relative;
  max-width: 1040px;
  margin: 0 auto;
  background: var(--cms-surface);
  border: 1px solid var(--cms-border-2);
  border-radius: 14px;
  overflow: hidden;
  box-shadow:
    0 2px 4px rgba(15, 26, 61, 0.04),
    0 10px 24px -6px rgba(15, 26, 61, 0.12),
    0 32px 64px -16px rgba(15, 26, 61, 0.28),
    0 64px 128px -32px rgba(0, 38, 154, 0.32);
  transform: translateZ(0);
}
.hero-frame-chrome {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px;
  background: #FDF9F4;
  border-bottom: 1px solid var(--cms-border);
  z-index: 2;
  position: relative;
}
.hero-frame-dots { display: flex; gap: 6px; }
.hero-frame-dots span {
  width: 11px; height: 11px; border-radius: 9999px;
  background: #D0D5EB;
}
.hero-frame-dots span:nth-child(1) { background: #FF5F57; }
.hero-frame-dots span:nth-child(2) { background: #FEBC2E; }
.hero-frame-dots span:nth-child(3) { background: #28C840; }
.hero-frame-url {
  flex: 1;
  background: var(--cms-surface);
  border: 1px solid var(--cms-border);
  border-radius: 6px;
  padding: 5px 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--cms-muted);
  max-width: 420px;
  margin: 0 auto;
  text-align: center;
}
.hero-frame-url .lock { color: var(--cms-green); margin-right: 4px; }
.hero-frame-url .path { color: var(--cms-ink-soft); font-weight: 600; }
.hero-frame-meta {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--cms-muted);
  letter-spacing: 0.04em;
}
.live-dot {
  width: 7px; height: 7px;
  border-radius: 9999px;
  background: var(--cms-green);
  box-shadow: 0 0 0 0 rgba(14, 138, 91, 0.6);
  animation: beta-pulse 2s infinite;
}
.hero-frame-shot {
  position: relative;
  display: block;
  width: 100%;
  line-height: 0;
  background: #FAFAF7;
  cursor: pointer;
  overflow: hidden;
}
.hero-image {
  width: 100% !important;
  max-width: 100%;
  height: auto !important;
  display: block;
  transition: transform 500ms var(--ease);
}
.hero-frame-shot:hover .hero-image {
  transform: scale(1.01);
}
.hero-frame-hover {
  position: absolute;
  inset: auto 0 0 0;
  padding: 24px 0 18px;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  color: var(--cms-blue);
  background: linear-gradient(180deg, rgba(255, 251, 247, 0) 0%, rgba(255, 251, 247, 0.98) 80%);
  opacity: 0;
  transition: opacity 250ms var(--ease);
  pointer-events: none;
}
.hero-frame-shot:hover .hero-frame-hover {
  opacity: 1;
}
.hero-frame-glow {
  position: absolute;
  inset: auto 5% -80px 5%;
  height: 180px;
  background: radial-gradient(ellipse at top, rgba(0, 38, 154, 0.22), transparent 70%);
  filter: blur(40px);
  z-index: -1;
  pointer-events: none;
}

/* tighter hero layout since frame is bigger */
.hero { padding-bottom: 48px; }

/* ═══════════════════════════════════════════════════════════════
   Inline mockup tweaks (agencies, tier chips, rate-hot, etc)
   ═══════════════════════════════════════════════════════════════ */
.scen-badge {
  padding: 4px 10px;
  border-radius: 4px;
  background: #FFFBEB;
  color: #92400E;
  border: 1px solid #FDE68A;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.scen-note {
  font-size: 11px;
  color: var(--app-muted);
  margin-top: 2px;
}

.agencies {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin: 0 0 14px;
}
.agency {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 3px 9px;
  border-radius: 4px;
  border: 1px solid;
}
.agency-fnma  { background: #EEF0FA; color: #2D3DB0; border-color: #C4C9EE; }
.agency-fhlmc { background: #F0FDF4; color: #166534; border-color: #BBF7D0; }
.agency-fha   { background: #FFFBEB; color: #92400E; border-color: #FDE68A; }
.agency-va    { background: #F5F3FF; color: #5B21B6; border-color: #DDD6FE; }
.agency-usda  { background: #ECFDF5; color: #065F46; border-color: #A7F3D0; }
.agency.faded { opacity: 0.4; }

.qualify-alert {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  border-radius: 8px;
  padding: 12px 14px;
  color: #166534;
  font-size: 12px;
  line-height: 1.5;
}
.qa-check {
  font-weight: 800;
  color: #16A34A;
  flex-shrink: 0;
  margin-top: 1px;
}

/* pricing table tier chips */
.tier-chip {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid;
  white-space: nowrap;
}
.tier-1 { background: #F0FDF4; color: #166534; border-color: #BBF7D0; }
.tier-2 { background: #EEF0FA; color: #2D3DB0; border-color: #C4C9EE; }
.tier-3 { background: #FFFBEB; color: #92400E; border-color: #FDE68A; }
.rate-hot { color: #16A34A !important; }

/* ═══════════════════════════════════════════════════════════════
   Section head tweaks
   ═══════════════════════════════════════════════════════════════ */
.section-h2 .dim {
  color: var(--cms-muted);
  font-weight: 800;
}
.section-h2 em {
  font-style: italic;
  font-weight: 800;
  color: var(--cms-orange);
}
.was {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--cms-muted-2);
  letter-spacing: 0;
  margin-left: 6px;
}

/* ═══════════════════════════════════════════════════════════════
   Timeline states (shipped / live / next / future)
   ═══════════════════════════════════════════════════════════════ */
.tl-stop .shipped,
.tl-stop .live,
.tl-stop .next-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 3px 9px;
  border-radius: 4px;
  vertical-align: middle;
  margin-left: 6px;
  border: 1px solid;
}
.tl-stop .shipped {
  background: #F0FDF4;
  color: #166534;
  border-color: #BBF7D0;
}
.tl-stop .live {
  background: rgba(255, 81, 0, 0.1);
  color: var(--cms-orange);
  border-color: var(--cms-orange-mid, #F9C4B0);
}
.tl-stop .next-tag {
  background: var(--cms-blue-light, #EEF1FC);
  color: var(--cms-blue);
  border-color: #C4C9EE;
}
.tl-stop .future-tag {
  background: transparent;
  color: var(--cms-muted);
  border-color: var(--cms-border);
}
.tl-stop.done .tl-num {
  background: #F0FDF4;
  color: #166534;
  border-color: #BBF7D0;
}
.tl-stop.active .tl-num {
  background: var(--cms-orange);
  color: white;
  border-color: var(--cms-orange);
  box-shadow: 0 0 0 4px rgba(255, 81, 0, 0.15);
}
.tl-stop.next .tl-num {
  background: var(--cms-blue);
  color: white;
  border-color: var(--cms-blue);
}
.tl-stop.future .tl-num {
  opacity: 0.5;
}

/* ═══════════════════════════════════════════════════════════════
   CTA tweaks for waitlist
   ═══════════════════════════════════════════════════════════════ */
.cta-h-alt {
  background: linear-gradient(90deg, var(--cms-orange-hot) 0%, #FFD6B8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: italic;
}
.cta-fine {
  margin-top: 24px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(255, 251, 247, 0.45);
  letter-spacing: 0.02em;
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-inner { grid-template-columns: auto 1fr; }
  .nav-cta { justify-self: end; }
  .hero { padding-top: 64px; }
  .feature-row { grid-template-columns: 1fr; gap: 40px; margin-top: 72px; }
  .feature-row.reverse { direction: ltr; }
  .app-body { grid-template-columns: 52px 1fr; }
  .app-genesis { display: none; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-cols { grid-template-columns: repeat(3, 1fr); }
  .hero-proof { gap: 20px; padding: 14px 22px; }
  .proof-num { font-size: 22px; }
  .beta-meta { display: none; }
}

@media (max-width: 640px) {
  .beta-inner { padding: 10px 20px; font-size: 11px; }
  .beta-divider { display: none; }
  .container { padding: 0 20px; }
  .hero { padding: 48px 20px 0; }
  .problem, .vision, .walkthrough, .genesis-section, .how, .builders, .numbers, .faq, .cta {
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 80px;
    padding-bottom: 80px;
  }
  .nav-inner { padding: 14px 20px; }
  .nav .btn-ghost { display: none; }
  .hero-cta { flex-direction: column; width: 100%; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .hero-proof { flex-direction: column; gap: 14px; border-radius: 20px; padding: 18px 24px; }
  .proof-divider { width: 30px; height: 1px; }
  .trust-logos { gap: 24px; font-size: 15px; }
  .how-timeline { padding-left: 54px; }
  .tl-num { left: -54px; width: 44px; font-size: 10px; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
}
