/* ============================== NOCTURN DESIGN SYSTEM ============================== */

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

:root {
  --purple: #7B2FF7;
  --purple-soft: #A855F7;
  --purple-glow: #C084FC;

  --bg: #09090B;
  --bg-raised: #0F0F12;
  --bg-card: #141418;
  --bg-card-hover: #1A1A20;

  --text: #FAFAFA;
  --text-dim: #A1A1AA;
  --text-faint: #52525B;

  --line: rgba(255,255,255,0.06);
  --line-strong: rgba(255,255,255,0.12);

  --display: 'Space Grotesk', system-ui, sans-serif;
  --body: 'Inter', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;

  --max-w: 1200px;
  --pad-x: clamp(20px, 5vw, 56px);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

/* ============================== AMBIENT ============================== */
.ambient {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
}
.ambient::before, .ambient::after {
  content: ''; position: absolute; border-radius: 50%;
  background: radial-gradient(circle, rgba(123,47,247,0.08) 0%, transparent 60%);
  filter: blur(60px);
}
.ambient::before { top: -20%; left: -10%; width: 70vw; height: 70vw; }
.ambient::after { bottom: -30%; right: -10%; width: 60vw; height: 60vw; background: radial-gradient(circle, rgba(168,85,247,0.06) 0%, transparent 60%); }

.grain {
  position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.5' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ============================== NAV ============================== */
nav.top {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  background: rgba(9,9,11,0.72);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 14px var(--pad-x);
  display: flex; align-items: center; justify-content: space-between;
}
.wordmark {
  font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: -0.02em;
  display: flex; align-items: center; gap: 9px;
}
.wordmark-dot { color: var(--purple); }
.moon-mark { width: 18px; height: 18px; }
.nav-links { display: flex; gap: 32px; font-size: 13.5px; color: var(--text-dim); }
.nav-links a { position: relative; padding: 4px 0; transition: color 0.15s; }
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--text); }
.nav-links a.active::after {
  content: ''; position: absolute; bottom: -2px; left: 0;
  width: 100%; height: 2px; background: var(--purple);
  border-radius: 2px;
}
.nav-cta { display: flex; align-items: center; gap: 8px; }

.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 16px; border-radius: 8px;
  font-family: var(--body); font-size: 13.5px; font-weight: 500;
  transition: all 0.15s ease; white-space: nowrap;
}
.btn-ghost { color: var(--text-dim); }
.btn-ghost:hover { color: var(--text); }
.btn-primary { background: var(--purple); color: white; }
.btn-primary:hover { background: var(--purple-soft); transform: translateY(-1px); }
.btn-outline { border: 1px solid var(--line-strong); color: var(--text); }
.btn-outline:hover { border-color: rgba(255,255,255,0.25); background: rgba(255,255,255,0.02); }

/* Hamburger (mobile only) */
.hamburger {
  display: none;
  width: 38px; height: 38px;
  background: none; border: 1px solid var(--line-strong); border-radius: 8px;
  color: var(--text); cursor: pointer;
  align-items: center; justify-content: center;
  transition: all 0.15s;
  margin-left: 4px;
  padding: 0;
}
.hamburger:hover { border-color: rgba(255,255,255,0.25); background: rgba(255,255,255,0.02); }
.hamburger svg { width: 18px; height: 18px; transition: transform 0.25s; }
.hamburger[aria-expanded="true"] svg { transform: rotate(90deg); }

@media (max-width: 760px) {
  /* Nav tap targets — 44px min per Apple/Google mobile accessibility guidance */
  .hamburger { display: inline-flex; width: 44px; height: 44px; }
  .nav-inner { flex-wrap: wrap; padding: 12px var(--pad-x); }
  .nav-cta .btn-ghost { display: none; }
  .nav-cta .btn { min-height: 44px; }
  .wordmark { min-height: 44px; display: inline-flex; align-items: center; }
  .nav-links {
    display: none;
    flex-basis: 100%;
    flex-direction: column;
    gap: 0;
    padding: 14px 0 6px;
    margin-top: 12px;
    border-top: 1px solid var(--line);
    order: 99;
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    padding: 14px 0; font-size: 16px; font-weight: 500;
    color: var(--text);
  }
  .nav-links a.active::after { display: none; }
  .nav-links a.active { color: var(--purple-glow); }

  /* Footer + final-section links — vertical padding on every link so
     thumbs get a real tap target */
  footer a,
  .final-micro a {
    display: inline-block;
    padding: 10px 0;
    min-height: 44px;
    line-height: 24px;
  }
}

/* ============================== MOBILE OPTIMIZATIONS ============================== */
@media (max-width: 760px) {
  .hero { padding-top: 120px; padding-bottom: 64px; }
  .page-hero { padding: 118px var(--pad-x) 72px; }
  section { padding: clamp(64px, 10vh, 100px) var(--pad-x); }
  .founder-section { padding: clamp(64px, 10vh, 100px) var(--pad-x); }
  .final { padding: clamp(64px, 10vh, 100px) var(--pad-x); }
  .big-quote { padding: clamp(64px, 10vh, 100px) var(--pad-x); }
}

@media (max-width: 700px) {
  /* Data table stacking on mobile */
  .data-table .data-row:not(.data-header) {
    grid-template-columns: 1fr !important;
    gap: 6px !important;
    padding: 18px 22px !important;
  }
  .data-table .data-row.data-header { display: none; }
  .data-table .data-row.highlight { padding-left: 19px !important; }
  .data-row-name { font-size: 16px; }
  .data-row-status { font-size: 12px; color: var(--text-faint); }

  /* Stat trio — tighter */
  .stat-cell { padding: 28px 24px; }
  .stat-cell-val { font-size: clamp(40px, 11vw, 56px); }
}

@media (max-width: 560px) {
  /* Display sizes — tighter */
  .big-stat { font-size: clamp(64px, 22vw, 110px); }
  .hero h1 { font-size: clamp(36px, 11vw, 56px); }
  .page-hero h1 { font-size: clamp(36px, 11vw, 56px); }
  .final h2 { font-size: clamp(32px, 10vw, 56px); }
  .big-quote-stat { font-size: clamp(40px, 12vw, 60px); }

  /* Callouts — tighter padding */
  .callout { padding: 20px 22px; }

  /* Pricing tier inner padding */
  .tier { padding: 32px 26px; }
  .tier-price { font-size: clamp(36px, 11vw, 48px); }

  /* Outcome side card tighter */
  .outcome-side { padding: 24px 22px; }

  /* Artifact (settlement ledger) tighter */
  .artifact { padding: 20px; }
  .ledger-total-val { font-size: 24px; }

  /* Footer layout on small mobile */
  footer { flex-direction: column; align-items: flex-start; gap: 10px; }
  .footer-links { gap: 16px; }
}

/* Turn off cursor spotlight on touch devices (no cursor) */
@media (hover: none) {
  .spotlight { display: none; }
}

/* ============================== LAYOUT ============================== */
main { position: relative; z-index: 2; }
section { padding: clamp(90px, 14vh, 160px) var(--pad-x); position: relative; }
.container { max-width: var(--max-w); margin: 0 auto; }

.section-label {
  font-family: var(--mono); font-size: 12px; font-weight: 500;
  color: var(--text-faint); letter-spacing: 0.14em; text-transform: uppercase;
  margin-bottom: 24px; display: flex; align-items: center; gap: 12px;
}
.section-label::before {
  content: ''; width: 24px; height: 1px; background: var(--purple);
}

h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; letter-spacing: -0.025em; line-height: 1.05; }

/* ============================== HERO (home) ============================== */
.hero { padding-top: 180px; padding-bottom: 120px; }
.hero-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 80px; align-items: center;
}
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 56px; }
}

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; margin-bottom: 32px;
  border: 1px solid var(--line-strong); border-radius: 100px;
  font-family: var(--mono); font-size: 11.5px; color: var(--text-dim);
  letter-spacing: 0.06em;
}
.hero-eyebrow-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--purple);
  box-shadow: 0 0 8px var(--purple);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.2); }
}

.hero h1 {
  font-size: clamp(44px, 6.5vw, 80px);
  line-height: 0.98; margin-bottom: 28px;
  letter-spacing: -0.035em;
}
.hero h1 em { font-style: normal; color: var(--purple-glow); }
.hero-sub {
  font-size: clamp(17px, 1.4vw, 20px); color: var(--text-dim);
  max-width: 520px; margin-bottom: 14px; line-height: 1.5;
}
.hero-tag {
  font-family: var(--mono); font-size: 13px; color: var(--text);
  margin-bottom: 40px;
}
.hero-tag-purple { color: var(--purple-glow); }
.hero-ctas { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.btn-lg { padding: 13px 22px; font-size: 14.5px; border-radius: 10px; }
.hero-micro {
  margin-top: 22px; font-size: 12.5px; color: var(--text-faint);
  font-family: var(--mono);
}

/* ============================== PAGE HERO (sub pages) ============================== */
.page-hero { padding: 170px var(--pad-x) 100px; position: relative; z-index: 2; }
.page-hero-inner { max-width: var(--max-w); margin: 0 auto; }
.page-hero h1 {
  font-size: clamp(44px, 6vw, 80px);
  line-height: 1; letter-spacing: -0.035em;
  max-width: 900px; margin-bottom: 28px;
}
.page-hero h1 em { font-style: normal; color: var(--purple-glow); }
.page-hero-sub {
  font-size: clamp(17px, 1.3vw, 20px); color: var(--text-dim);
  max-width: 720px; margin-bottom: 40px; line-height: 1.55;
}
.page-hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

/* ============================== ARTIFACT (ledger) ============================== */
.artifact {
  position: relative; border-radius: 14px;
  background: linear-gradient(180deg, #141418 0%, #0D0D10 100%);
  border: 1px solid var(--line-strong);
  padding: 24px;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.04) inset,
    0 40px 80px -20px rgba(0,0,0,0.6),
    0 0 0 1px rgba(123,47,247,0.08);
  font-family: var(--body);
}
.artifact::before {
  content: ''; position: absolute; inset: -1px; border-radius: 15px;
  background: linear-gradient(135deg, rgba(123,47,247,0.35), transparent 40%);
  z-index: -1; opacity: 0.5;
}
.artifact-head {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 16px; border-bottom: 1px solid var(--line);
  margin-bottom: 18px;
}
.artifact-title { font-family: var(--display); font-weight: 600; font-size: 15px; }
.artifact-meta { font-family: var(--mono); font-size: 11.5px; color: var(--text-faint); }
.artifact-meta span { color: var(--purple-glow); }

.ledger { display: flex; flex-direction: column; gap: 8px; }
.row {
  display: grid; grid-template-columns: 1fr auto; align-items: center;
  padding: 11px 12px; border-radius: 8px;
  font-family: var(--mono); font-size: 13px;
  background: rgba(255,255,255,0.015);
  transition: background 0.2s;
  animation: ledgerIn 0.6s ease-out both;
}
.row:nth-child(1) { animation-delay: 0.1s; }
.row:nth-child(2) { animation-delay: 0.25s; }
.row:nth-child(3) { animation-delay: 0.4s; }
.row:nth-child(4) { animation-delay: 0.55s; }
.row:nth-child(5) { animation-delay: 0.7s; }
.row:hover { background: rgba(123,47,247,0.06); }

@keyframes ledgerIn {
  from { opacity: 0; transform: translateX(-6px); }
  to { opacity: 1; transform: translateX(0); }
}

.row-label { color: var(--text-dim); }
.row-val { color: var(--text); font-variant-numeric: tabular-nums; font-weight: 500; }
.row-val.neg { color: #FB7185; }
.row-val.pos { color: var(--purple-glow); }

.ledger-total {
  margin-top: 14px; padding-top: 16px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center;
}
.ledger-total-label { font-family: var(--mono); font-size: 11.5px; color: var(--text-faint); letter-spacing: 0.1em; text-transform: uppercase; }
.ledger-total-val {
  font-family: var(--display); font-weight: 600; font-size: 28px;
  color: var(--purple-glow); font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.artifact-footer {
  margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line);
  display: flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 11.5px; color: var(--text-faint);
}
.check-ic { width: 14px; height: 14px; color: var(--purple-glow); }
.artifact-footer span { color: var(--text-dim); }
.artifact-note {
  margin-top: 10px; font-family: var(--mono); font-size: 10.5px;
  color: var(--text-faint); letter-spacing: 0.02em; line-height: 1.5;
}

/* ============================== PROBLEM ============================== */
.problem-stat {
  display: grid; grid-template-columns: 1fr 1.3fr; gap: 60px; align-items: start;
  padding-bottom: 80px; border-bottom: 1px solid var(--line);
}
@media (max-width: 900px) { .problem-stat { grid-template-columns: 1fr; gap: 32px; } }

.big-stat {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(80px, 13vw, 180px);
  line-height: 0.9; letter-spacing: -0.04em;
  color: var(--text);
}
.big-stat em { font-style: normal; color: var(--purple-glow); }
.big-stat-caption {
  font-family: var(--mono); font-size: 12px; color: var(--text-faint);
  letter-spacing: 0.14em; text-transform: uppercase;
  margin-top: 16px;
}

.problem-lead h2 { font-size: clamp(28px, 3vw, 40px); margin-bottom: 18px; }
.problem-lead p { font-size: 17px; color: var(--text-dim); line-height: 1.55; }

.pain-grid {
  margin-top: 80px;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--line);
  border: 1px solid var(--line);
  border-radius: 12px; overflow: hidden;
}
@media (max-width: 900px) { .pain-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .pain-grid { grid-template-columns: 1fr; } }

.pain {
  background: var(--bg); padding: 28px 24px;
  display: flex; flex-direction: column; gap: 10px;
  min-height: 180px;
  transition: background 0.2s;
}
.pain:hover { background: var(--bg-card); }
.pain-num {
  font-family: var(--mono); font-size: 11.5px; color: var(--purple);
  letter-spacing: 0.14em;
}
.pain-title {
  font-family: var(--display); font-weight: 600; font-size: 17px;
  letter-spacing: -0.015em;
}
.pain-body { font-size: 13.5px; color: var(--text-dim); line-height: 1.5; }

/* ============================== FEATURES ============================== */
.features-head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: start; margin-bottom: 56px; }
@media (max-width: 900px) { .features-head { grid-template-columns: 1fr; gap: 24px; } }
.features-head h2 { font-size: clamp(32px, 4vw, 52px); letter-spacing: -0.03em; max-width: 620px; }
.features-head p { color: var(--text-dim); font-size: 16.5px; max-width: 460px; line-height: 1.6; }
.features-head p + p { margin-top: 14px; }

.feat-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
}
@media (max-width: 900px) { .feat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .feat-grid { grid-template-columns: 1fr; } }

.feat {
  background: var(--bg); padding: 32px 28px;
  min-height: 220px; display: flex; flex-direction: column; gap: 14px;
  position: relative; transition: background 0.2s;
}
.feat:hover { background: var(--bg-card); }
.feat-icon {
  width: 36px; height: 36px;
  border: 1px solid var(--line-strong); border-radius: 8px;
  display: grid; place-items: center;
  color: var(--purple-glow);
  background: rgba(123,47,247,0.05);
}
.feat-icon svg { width: 18px; height: 18px; }
.feat-title { font-family: var(--display); font-weight: 600; font-size: 18px; letter-spacing: -0.015em; }
.feat-body { color: var(--text-dim); font-size: 14px; line-height: 1.55; }
.feat-num {
  position: absolute; top: 20px; right: 24px;
  font-family: var(--mono); font-size: 11.5px; color: var(--text-faint);
}

/* ============================== DISCOVER MARQUEE + GRID ============================== */
.discover-head { margin-bottom: 48px; max-width: 680px; }
.discover-head h2 { font-size: clamp(32px, 4vw, 52px); margin-bottom: 14px; letter-spacing: -0.03em; }
.discover-head p { color: var(--text-dim); font-size: 16.5px; }

.roles-marquee {
  margin-left: calc(var(--pad-x) * -1); margin-right: calc(var(--pad-x) * -1);
  overflow: hidden; padding: 8px 0;
  mask-image: linear-gradient(90deg, transparent 0%, black 6%, black 94%, transparent 100%);
}
.roles-track {
  display: flex; gap: 12px; padding: 0 var(--pad-x);
  animation: marquee 60s linear infinite;
  width: max-content;
}
.roles-marquee:hover .roles-track { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.role {
  flex-shrink: 0;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 20px;
  border: 1px solid var(--line-strong); border-radius: 100px;
  font-family: var(--body); font-size: 14px; font-weight: 500;
  color: var(--text); white-space: nowrap;
  background: var(--bg-raised);
  transition: all 0.2s;
}
.role:hover { border-color: var(--purple); background: rgba(123,47,247,0.08); }
.role-ic { width: 14px; height: 14px; color: var(--text-dim); flex-shrink: 0; }
.role:hover .role-ic { color: var(--purple-glow); }

/* static role grid (discover page) */
.role-grid-static {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
}
@media (max-width: 900px) { .role-grid-static { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .role-grid-static { grid-template-columns: 1fr; } }
.role-cell {
  background: var(--bg); padding: 22px 20px;
  display: flex; align-items: center; gap: 12px;
  font-family: var(--body); font-size: 14.5px; font-weight: 500;
  color: var(--text); transition: background 0.2s;
  cursor: pointer;
}
.role-cell:hover { background: var(--bg-card); }
.role-cell svg { width: 18px; height: 18px; color: var(--purple-glow); flex-shrink: 0; }

/* ============================== AGENTS ============================== */
.agents-head { margin-bottom: 64px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: end; }
@media (max-width: 900px) { .agents-head { grid-template-columns: 1fr; gap: 24px; } }
.agents-head h2 { font-size: clamp(32px, 4vw, 52px); letter-spacing: -0.03em; max-width: 600px; }
.agents-head p { color: var(--text-dim); font-size: 16.5px; }

.agents-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
}
@media (max-width: 720px) { .agents-grid { grid-template-columns: 1fr; } }

.agent {
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: 14px; padding: 28px;
  transition: all 0.25s;
}
.agent:hover {
  border-color: var(--line-strong); transform: translateY(-2px);
  background: var(--bg-card-hover);
}
.agent-head {
  display: flex; justify-content: space-between; align-items: start;
  margin-bottom: 20px;
}
.agent-name {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--display); font-weight: 600; font-size: 18px;
}
.agent-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--purple-glow); box-shadow: 0 0 8px var(--purple-glow);
  animation: pulse 2.4s ease-in-out infinite;
}
.agent-status {
  font-family: var(--mono); font-size: 11px;
  color: var(--purple-glow); letter-spacing: 0.08em;
}
.agent-desc { color: var(--text-dim); font-size: 14px; margin-bottom: 18px; line-height: 1.55; }
.agent-action {
  font-family: var(--mono); font-size: 12.5px;
  color: var(--text); padding: 10px 12px;
  background: rgba(123,47,247,0.06); border-left: 2px solid var(--purple);
  border-radius: 4px; line-height: 1.5;
}
.agent-action span { color: var(--purple-glow); }

/* ============================== STEP GRID ============================== */
.step-head { margin-bottom: 56px; max-width: 720px; }
.step-head h2 { font-size: clamp(32px, 4vw, 52px); letter-spacing: -0.03em; margin-bottom: 14px; }
.step-head p { color: var(--text-dim); font-size: 16.5px; }

.step-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
}
@media (max-width: 900px) { .step-grid { grid-template-columns: 1fr; } }
.step {
  background: var(--bg); padding: 32px 28px;
  display: flex; flex-direction: column; gap: 12px;
  min-height: 220px; transition: background 0.2s;
}
.step:hover { background: var(--bg-card); }
.step-num {
  font-family: var(--mono); font-size: 11.5px; color: var(--purple);
  letter-spacing: 0.14em;
}
.step-title { font-family: var(--display); font-weight: 600; font-size: 20px; letter-spacing: -0.015em; }
.step-body { color: var(--text-dim); font-size: 14.5px; line-height: 1.55; }

/* ============================== AUDIENCE CARDS ============================== */
.audience-head { margin-bottom: 56px; max-width: 720px; }
.audience-head h2 { font-size: clamp(32px, 4vw, 52px); letter-spacing: -0.03em; }

.audience-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
}
@media (max-width: 720px) { .audience-grid { grid-template-columns: 1fr; } }

.audience {
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: 14px; padding: 32px 28px;
  transition: all 0.25s;
}
.audience:hover {
  border-color: var(--line-strong); transform: translateY(-2px);
  background: var(--bg-card-hover);
}
.audience-label {
  font-family: var(--mono); font-size: 11px;
  color: var(--purple-glow); letter-spacing: 0.14em;
  margin-bottom: 14px; text-transform: uppercase;
}
.audience h3 {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(22px, 2.4vw, 28px);
  letter-spacing: -0.02em; margin-bottom: 12px;
}
.audience p { color: var(--text-dim); font-size: 14.5px; line-height: 1.6; }

/* ============================== PRICING TIERS ============================== */
.value-props {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  margin-bottom: 80px;
}
@media (max-width: 800px) { .value-props { grid-template-columns: 1fr; } }
.value-prop {
  background: var(--bg); padding: 28px 24px;
  display: flex; flex-direction: column; gap: 10px;
  transition: background 0.2s;
}
.value-prop:hover { background: var(--bg-card); }
.value-prop-num {
  font-family: var(--mono); font-size: 11px; color: var(--purple);
  letter-spacing: 0.14em;
}
.value-prop-title {
  font-family: var(--display); font-weight: 600;
  font-size: 18px; letter-spacing: -0.015em;
}
.value-prop-body { color: var(--text-dim); font-size: 13.5px; line-height: 1.55; }

.pricing-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 20px; margin-bottom: 80px;
}
@media (max-width: 800px) { .pricing-grid { grid-template-columns: 1fr; } }
.tier {
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: 16px; padding: 40px 36px;
  display: flex; flex-direction: column; gap: 20px;
  position: relative;
}
.tier.featured {
  border-color: rgba(123,47,247,0.35);
  background: linear-gradient(180deg, rgba(123,47,247,0.06), var(--bg-card) 80%);
  box-shadow: 0 0 0 1px rgba(123,47,247,0.1), 0 40px 80px -20px rgba(123,47,247,0.15);
}
.tier-badge {
  position: absolute; top: 24px; right: 24px;
  font-family: var(--mono); font-size: 10.5px;
  color: var(--purple-glow); letter-spacing: 0.14em;
  padding: 5px 11px; border-radius: 100px;
  background: rgba(123,47,247,0.12); border: 1px solid rgba(123,47,247,0.3);
}
.tier-label {
  font-family: var(--mono); font-size: 11.5px;
  color: var(--text-faint); letter-spacing: 0.14em; text-transform: uppercase;
}
.tier-name {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(28px, 3vw, 36px); letter-spacing: -0.02em;
}
.tier-price {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(40px, 5vw, 56px); letter-spacing: -0.035em; line-height: 1;
  color: var(--text);
}
.tier-price em {
  font-style: normal; font-weight: 400; font-size: 15px;
  color: var(--text-dim); font-family: var(--body);
  letter-spacing: 0; margin-left: 4px;
}
.tier-sub {
  color: var(--text-dim); font-size: 14.5px; line-height: 1.55;
  padding-bottom: 20px; border-bottom: 1px solid var(--line);
}
.tier-features { display: flex; flex-direction: column; gap: 11px; }
.tier-feature {
  display: flex; align-items: start; gap: 10px;
  font-size: 14px; color: var(--text-dim); line-height: 1.5;
}
.tier-feature svg {
  width: 14px; height: 14px; color: var(--purple-glow);
  flex-shrink: 0; margin-top: 4px;
}
.tier-cta { margin-top: 8px; padding-top: 10px; }
.tier-cta .btn { width: 100%; justify-content: center; }

/* ============================== FAQ ============================== */
.faq-head { margin-bottom: 40px; max-width: 720px; }
.faq-head h2 { font-size: clamp(32px, 4vw, 48px); letter-spacing: -0.03em; }

.faq-list {
  border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
}
.faq-item {
  border-bottom: 1px solid var(--line);
  background: var(--bg); transition: background 0.2s;
}
.faq-item:last-child { border-bottom: none; }
.faq-item:hover { background: var(--bg-card); }
.faq-q {
  padding: 24px 28px; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--display); font-weight: 500; font-size: 17px;
  letter-spacing: -0.015em;
  list-style: none;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q-icon {
  color: var(--purple-glow); transition: transform 0.25s;
  font-family: var(--mono); font-weight: 400; font-size: 20px; line-height: 1;
}
.faq-item[open] .faq-q-icon { transform: rotate(45deg); }
.faq-a {
  padding: 0 28px 24px; color: var(--text-dim); font-size: 14.5px;
  line-height: 1.65; max-width: 820px;
}

/* ============================== VALUES (about) ============================== */
.values-head { margin-bottom: 56px; max-width: 720px; }
.values-head h2 { font-size: clamp(32px, 4vw, 52px); letter-spacing: -0.03em; margin-bottom: 14px; }
.values-head p { color: var(--text-dim); font-size: 16.5px; }

.values-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
}
@media (max-width: 800px) { .values-grid { grid-template-columns: 1fr; } }
.value {
  background: var(--bg); padding: 40px 32px;
  display: flex; flex-direction: column; gap: 14px;
  min-height: 240px; transition: background 0.2s;
}
.value:hover { background: var(--bg-card); }
.value-num {
  font-family: var(--mono); font-size: 12px; color: var(--purple);
  letter-spacing: 0.14em; margin-bottom: 4px;
}
.value-title {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(20px, 2vw, 24px); letter-spacing: -0.02em; line-height: 1.2;
}
.value-body { color: var(--text-dim); font-size: 14.5px; line-height: 1.6; }

/* ============================== BIG QUOTE STAT ============================== */
.big-quote {
  padding: clamp(80px, 12vh, 140px) var(--pad-x);
  background: var(--bg-raised);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  position: relative; z-index: 2;
}
.big-quote-inner { max-width: 880px; margin: 0 auto; text-align: center; }
.big-quote-stat {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(44px, 6vw, 88px);
  line-height: 1.05; letter-spacing: -0.035em; margin-bottom: 24px;
}
.big-quote-stat em { font-style: normal; color: var(--purple-glow); }
.big-quote-caption {
  font-family: var(--mono); font-size: 12.5px;
  color: var(--text-dim); letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ============================== CULTURE / TWO-COL ============================== */
.two-col {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: start;
}
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; gap: 40px; } }
.two-col h2 {
  font-size: clamp(32px, 4.5vw, 56px); letter-spacing: -0.03em; line-height: 1.05;
}
.two-col p {
  color: var(--text-dim); font-size: 17px; line-height: 1.65;
  margin-bottom: 18px;
}
.two-col .comparison {
  margin-top: 32px; padding: 20px 24px;
  background: var(--bg-card); border: 1px solid var(--line);
  border-left: 3px solid var(--purple);
  border-radius: 10px;
  font-family: var(--mono); font-size: 13.5px;
  color: var(--text-dim); line-height: 1.7;
}
.two-col .comparison strong { color: var(--purple-glow); font-weight: 500; }

/* ============================== FOUNDER BIO ============================== */
.founder-bio {
  display: grid; grid-template-columns: 1fr 1.4fr;
  gap: 60px; align-items: center;
}
@media (max-width: 800px) { .founder-bio { grid-template-columns: 1fr; gap: 40px; } }
.founder-portrait {
  aspect-ratio: 4/5;
  background: linear-gradient(180deg, var(--bg-card), var(--bg));
  border-radius: 16px; border: 1px solid var(--line-strong);
  max-width: 360px;
  position: relative; overflow: hidden;
  display: grid; place-items: center;
  font-family: var(--mono); font-size: 11.5px;
  color: var(--text-faint); letter-spacing: 0.14em;
  text-align: center;
}
.founder-portrait img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block;
}
.founder-portrait::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(9,9,11,0.35) 100%);
  pointer-events: none;
  z-index: 1;
}
.founder-portrait span { position: relative; z-index: 2; padding: 20px; }

.founder-bio-content h2 {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(32px, 4vw, 48px); letter-spacing: -0.03em;
  margin-bottom: 8px;
}
.founder-role {
  font-family: var(--mono); font-size: 12.5px;
  color: var(--purple-glow); letter-spacing: 0.14em;
  text-transform: uppercase; margin-bottom: 28px;
}
.founder-bio-content ul {
  list-style: none; display: flex; flex-direction: column; gap: 14px;
  font-size: 15.5px; color: var(--text-dim); line-height: 1.55;
}
.founder-bio-content li {
  padding-left: 22px; position: relative;
}
.founder-bio-content li::before {
  content: '→'; position: absolute; left: 0;
  color: var(--purple-glow); font-family: var(--mono);
}

/* ============================== INVEST CALLOUT ============================== */
.invest {
  border: 1px solid rgba(123,47,247,0.25); border-radius: 16px;
  padding: 40px; background: linear-gradient(135deg, rgba(123,47,247,0.05), transparent 60%);
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center;
}
@media (max-width: 720px) { .invest { grid-template-columns: 1fr; gap: 24px; } }
.invest h2 { font-size: clamp(24px, 3vw, 36px); letter-spacing: -0.025em; margin-bottom: 12px; }
.invest p { color: var(--text-dim); font-size: 15.5px; line-height: 1.6; }
.invest-cta { display: flex; justify-content: flex-end; }
@media (max-width: 720px) { .invest-cta { justify-content: flex-start; } }

/* ============================== FOUNDER QUOTE (home) ============================== */
.founder-section { padding: clamp(100px, 16vh, 180px) var(--pad-x); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-raised); position: relative; z-index: 2; }
.founder-inner { max-width: 760px; margin: 0 auto; text-align: center; }
.quote-mark {
  font-family: var(--display); color: var(--purple);
  font-size: 44px; line-height: 1; margin-bottom: 20px;
  display: inline-block;
}
.founder-quote {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(20px, 2.4vw, 30px); line-height: 1.35;
  letter-spacing: -0.02em; margin: 0 auto 36px;
  max-width: 640px;
  text-wrap: balance;
}
.founder-attr { font-family: var(--mono); font-size: 12.5px; color: var(--text-dim); letter-spacing: 0.14em; text-transform: uppercase; }
.founder-attr span { color: var(--text); font-weight: 500; }

/* ============================== FINAL CTA ============================== */
.final { text-align: center; padding: clamp(100px, 16vh, 180px) var(--pad-x); position: relative; z-index: 2; }
.final h2 {
  font-size: clamp(36px, 6vw, 72px);
  letter-spacing: -0.035em; margin-bottom: 20px;
  max-width: 820px; margin-left: auto; margin-right: auto;
}
.final h2 em { font-style: normal; color: var(--purple-glow); }
.final p {
  color: var(--text-dim); font-size: 17px; margin-bottom: 36px;
  max-width: 520px; margin-left: auto; margin-right: auto;
}
.final-cta { display: inline-flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.final-micro { margin-top: 22px; font-family: var(--mono); font-size: 12px; color: var(--text-faint); }

/* ============================== FOOTER ============================== */
footer {
  padding: 40px var(--pad-x); border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--mono); font-size: 12px; color: var(--text-faint);
  flex-wrap: wrap; gap: 16px;
  max-width: var(--max-w); margin: 0 auto;
  position: relative; z-index: 2;
}
footer a:hover { color: var(--text); }
.footer-links { display: flex; gap: 20px; }

.built-with {
  flex-basis: 100%;
  padding-bottom: 20px; margin-bottom: 8px;
  border-bottom: 1px dashed var(--line);
  font-style: italic; color: var(--text-faint);
  line-height: 1.6;
}
.built-with span { color: var(--text-dim); font-style: normal; font-family: var(--body); font-size: 12px; }
.built-with a { color: var(--purple-glow); text-decoration: none; border-bottom: 1px dotted rgba(192,132,252,0.5); font-style: normal; }
.built-with a:hover { border-bottom-color: var(--purple-glow); }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ============================== ANIMATIONS ============================== */
/* Cursor-follow spotlight (uses CSS vars updated by JS) */
.spotlight {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(circle 380px at var(--mx, 50%) var(--my, 50%), rgba(123,47,247,0.10), transparent 70%);
  mix-blend-mode: screen;
  transition: opacity 0.3s;
}

/* Magnetic CTA */
.btn-magnetic { transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1); will-change: transform; }

/* Count-up number marker */
.countup { font-variant-numeric: tabular-nums; display: inline-block; }

/* Hero artifact scroll parallax */
.hero .artifact { transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1); will-change: transform; }

/* Ledger total pulse on reveal */
@keyframes totalPulse {
  0% { transform: scale(1); text-shadow: 0 0 0 transparent; }
  45% { transform: scale(1.04); text-shadow: 0 0 28px rgba(192,132,252,0.55); }
  100% { transform: scale(1); text-shadow: 0 0 0 transparent; }
}
.ledger-total-val.pulsed { animation: totalPulse 1.3s ease-out; display: inline-block; }

/* Subtle underline-grow on big-stat slash */
.big-stat { display: inline-block; }

/* ============================== OUTCOMES (product page) ============================== */
.outcome {
  display: grid; grid-template-columns: 1.1fr 1fr;
  gap: 72px; align-items: start;
}
@media (max-width: 900px) { .outcome { grid-template-columns: 1fr; gap: 40px; } }

.outcome-head h2 {
  font-size: clamp(30px, 4.2vw, 52px); letter-spacing: -0.03em;
  line-height: 1.05; margin-bottom: 20px;
}
.outcome-head h2 em { font-style: normal; color: var(--purple-glow); }
.outcome-head p {
  color: var(--text-dim); font-size: 16.5px; line-height: 1.6;
  margin-bottom: 28px; max-width: 520px;
}

.before-after {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1px; background: var(--line);
  border: 1px solid var(--line);
  border-radius: 14px; overflow: hidden;
  margin-top: 56px;
}
@media (max-width: 700px) { .before-after { grid-template-columns: 1fr; } }

.ba-side {
  padding: 26px 32px; background: var(--bg);
  display: flex; flex-direction: column; gap: 12px;
  transition: background 0.2s;
  min-height: 120px;
}
.ba-label {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.16em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 8px;
}
.ba-label::before {
  content: ''; width: 16px; height: 1px; background: currentColor; opacity: 0.5;
}
.ba-side.ba-before { }
.ba-side.ba-before .ba-label { color: #FB7185; }
.ba-side.ba-after { background: rgba(123,47,247,0.04); }
.ba-side.ba-after .ba-label { color: var(--purple-glow); }
.ba-text { color: var(--text-dim); font-size: 14.5px; line-height: 1.55; }
.ba-side.ba-after .ba-text { color: var(--text); }

/* Stagger reveal for grid children */
.stagger > * { opacity: 0; transform: translateY(10px); transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1), transform 0.55s cubic-bezier(0.22, 1, 0.36, 1); }
.stagger > *.stagger-in { opacity: 1; transform: none; }

.outcome-side {
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: 14px; padding: 28px 26px;
  display: flex; flex-direction: column; gap: 18px;
}
.outcome-side-label {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.14em; color: var(--text-faint);
  text-transform: uppercase;
}
.outcome-features { display: flex; flex-direction: column; gap: 10px; }
.outcome-feature {
  display: flex; align-items: start; gap: 10px;
  font-size: 14px; color: var(--text-dim); line-height: 1.5;
}
.outcome-feature svg {
  width: 14px; height: 14px; color: var(--purple-glow);
  flex-shrink: 0; margin-top: 4px;
}
.powered-by {
  margin-top: 4px; padding: 11px 14px;
  background: rgba(123,47,247,0.06); border-left: 2px solid var(--purple);
  border-radius: 4px;
  font-family: var(--mono); font-size: 12px; color: var(--text-dim);
  letter-spacing: 0.02em;
}
.powered-by strong { color: var(--purple-glow); font-weight: 500; }

/* divider between outcomes */
.outcome-divider {
  border: none; border-top: 1px solid var(--line);
  margin: clamp(80px, 12vh, 120px) 0;
}

/* ============================== LOOP DIAGRAM ============================== */
.loop-section {
  background: var(--bg-raised);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  position: relative; z-index: 2;
}
.loop-head { max-width: 720px; margin-bottom: 48px; }
.loop-head h2 {
  font-size: clamp(32px, 4.5vw, 56px); letter-spacing: -0.03em;
  margin-bottom: 14px; line-height: 1.05;
}
.loop-head h2 em { font-style: normal; color: var(--purple-glow); }
.loop-head p { color: var(--text-dim); font-size: 16.5px; line-height: 1.6; }

.loop-trigger {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 16px; margin-bottom: 32px;
  border: 1px solid var(--line-strong); border-radius: 100px;
  font-family: var(--mono); font-size: 12px; color: var(--text);
  letter-spacing: 0.02em;
  background: rgba(123,47,247,0.05);
}
.loop-trigger-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--purple-glow); box-shadow: 0 0 8px var(--purple-glow);
  animation: pulse 2.4s ease-in-out infinite;
}
.loop-trigger strong { color: var(--purple-glow); font-weight: 500; }

.loop-diagram {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 16px; position: relative;
}
@media (max-width: 900px) { .loop-diagram { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .loop-diagram { grid-template-columns: 1fr; } }
.loop-node {
  background: var(--bg-card); border: 1px solid var(--line-strong);
  border-radius: 12px; padding: 22px 20px; position: relative;
  transition: all 0.25s;
}
.loop-node:hover {
  border-color: rgba(123,47,247,0.3);
  transform: translateY(-2px);
}
.loop-node-name {
  font-family: var(--display); font-weight: 600;
  font-size: 17px; margin-bottom: 10px;
}
.loop-node-trigger {
  font-family: var(--mono); font-size: 10.5px;
  color: var(--purple-glow); letter-spacing: 0.08em;
  margin-bottom: 12px; text-transform: uppercase;
}
.loop-node-action { font-size: 13.5px; color: var(--text-dim); line-height: 1.5; }

/* ============================== INVESTOR PAGE ============================== */

/* TL;DR strip (immediately below hero) */
.tldr-section {
  padding: 20px var(--pad-x) 60px; position: relative; z-index: 2;
}
.tldr-section .container { max-width: var(--max-w); margin: 0 auto; }
.tldr-head {
  font-family: var(--mono); font-size: 12px; color: var(--text-faint);
  letter-spacing: 0.14em; text-transform: uppercase;
  margin-bottom: 18px; display: flex; align-items: center; gap: 12px;
}
.tldr-head::before {
  content: ''; width: 24px; height: 1px; background: var(--purple);
}
.tldr-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
}
@media (max-width: 900px) { .tldr-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .tldr-grid { grid-template-columns: 1fr; } }
.tldr-item {
  background: var(--bg); padding: 24px 22px;
  display: flex; flex-direction: column; gap: 8px;
  transition: background 0.2s;
}
.tldr-item:hover { background: var(--bg-card); }
.tldr-num {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(20px, 2.2vw, 28px); letter-spacing: -0.02em;
  color: var(--purple-glow);
  font-variant-numeric: tabular-nums; line-height: 1;
}
.tldr-label {
  font-size: 12.5px; color: var(--text-dim); line-height: 1.5;
}



/* Live status pill */
.live-status {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px; margin-bottom: 28px;
  border: 1px solid var(--line-strong); border-radius: 100px;
  font-family: var(--mono); font-size: 11.5px; color: var(--text);
  letter-spacing: 0.04em;
  background: rgba(123,47,247,0.05);
  flex-wrap: wrap;
}
.live-status-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #22C55E; box-shadow: 0 0 10px #22C55E;
  animation: pulse 2.4s ease-in-out infinite;
}
.live-status strong { color: var(--purple-glow); font-weight: 500; }
.live-status span { color: var(--text-dim); }

/* Stat trio (TAM/SAM/SOM) */
.stat-trio {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
}
@media (max-width: 800px) { .stat-trio { grid-template-columns: 1fr; } }
.stat-cell {
  background: var(--bg); padding: 36px 32px;
  display: flex; flex-direction: column; gap: 10px;
  transition: background 0.2s;
}
.stat-cell:hover { background: var(--bg-card); }
.stat-cell-label {
  font-family: var(--mono); font-size: 11px; color: var(--text-faint);
  letter-spacing: 0.14em; text-transform: uppercase;
}
.stat-cell-val {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(40px, 5vw, 60px); letter-spacing: -0.035em;
  line-height: 1; color: var(--purple-glow);
  font-variant-numeric: tabular-nums;
}
.stat-cell-val em { font-style: normal; color: var(--purple-glow); }
.stat-cell-body { color: var(--text-dim); font-size: 14px; line-height: 1.55; margin-top: 4px; }

/* Data table (competitive landscape, segment table, SaaS pattern) */
.data-table {
  border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  background: var(--bg);
}
.data-row {
  display: grid; gap: 20px; align-items: start;
  padding: 20px 28px; border-bottom: 1px solid var(--line);
  font-size: 14px; transition: background 0.2s;
}
.data-row:hover { background: var(--bg-card); }
.data-row:last-child { border-bottom: none; }
.data-row.data-header {
  background: var(--bg-raised); font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-faint); padding: 14px 28px;
}
.data-row.highlight { background: rgba(123,47,247,0.05); border-left: 3px solid var(--purple); padding-left: 25px; }
.data-row-name {
  font-family: var(--display); font-weight: 600; color: var(--text);
  font-size: 15.5px; letter-spacing: -0.015em;
}
.data-row-status {
  font-family: var(--mono); font-size: 12px; color: var(--text-dim);
}
.data-row-note { color: var(--text-dim); line-height: 1.55; }
.data-row.highlight .data-row-name { color: var(--purple-glow); }

/* Team grid */
.team-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 900px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .team-grid { grid-template-columns: 1fr; } }

.team-card {
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: 14px; padding: 26px 24px;
  display: flex; flex-direction: column; gap: 10px;
  transition: all 0.25s;
}
.team-card:hover {
  border-color: var(--line-strong); transform: translateY(-2px);
  background: var(--bg-card-hover);
}
.team-label {
  font-family: var(--mono); font-size: 10.5px; color: var(--purple-glow);
  letter-spacing: 0.14em; text-transform: uppercase;
}
.team-name {
  font-family: var(--display); font-weight: 600;
  font-size: 20px; letter-spacing: -0.02em;
}
.team-role {
  font-family: var(--body); font-size: 13.5px; color: var(--text-dim);
  margin-bottom: 4px;
}
.team-bio { font-size: 13.5px; color: var(--text-dim); line-height: 1.6; }
.team-bio strong { color: var(--text); font-weight: 500; }

/* Revenue layer cards */
.revenue-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
}
@media (max-width: 800px) { .revenue-grid { grid-template-columns: 1fr; } }

.revenue-card {
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: 14px; padding: 28px 26px;
  display: flex; flex-direction: column; gap: 14px;
  transition: all 0.25s;
}
.revenue-card:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.revenue-head { display: flex; justify-content: space-between; align-items: start; gap: 16px; }
.revenue-title {
  font-family: var(--display); font-weight: 600;
  font-size: 20px; letter-spacing: -0.02em;
}
.revenue-badge {
  font-family: var(--mono); font-size: 10px;
  color: var(--purple-glow); letter-spacing: 0.14em;
  padding: 4px 10px; border-radius: 100px;
  background: rgba(123,47,247,0.08); border: 1px solid rgba(123,47,247,0.25);
  white-space: nowrap; text-transform: uppercase;
}
.revenue-desc { color: var(--text-dim); font-size: 14px; line-height: 1.55; }
.revenue-timing {
  font-family: var(--mono); font-size: 11.5px; color: var(--text-dim);
  padding-top: 14px; border-top: 1px solid var(--line);
  letter-spacing: 0.02em;
}
.revenue-timing strong { color: var(--purple-glow); font-weight: 500; }

/* Phase cards */
.phase-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
}
@media (max-width: 900px) { .phase-grid { grid-template-columns: 1fr; } }

.phase-card {
  background: var(--bg); padding: 32px 28px;
  display: flex; flex-direction: column; gap: 14px;
  transition: background 0.2s;
}
.phase-card:hover { background: var(--bg-card); }
.phase-num {
  font-family: var(--mono); font-size: 11px; color: var(--purple);
  letter-spacing: 0.14em; text-transform: uppercase;
}
.phase-title {
  font-family: var(--display); font-weight: 600;
  font-size: 22px; letter-spacing: -0.02em; line-height: 1.15;
}
.phase-when {
  font-family: var(--mono); font-size: 11.5px; color: var(--purple-glow);
  letter-spacing: 0.06em;
}
.phase-where {
  font-family: var(--body); font-size: 13px; color: var(--text-dim);
  padding: 10px 12px; background: rgba(255,255,255,0.02);
  border-left: 2px solid var(--purple); border-radius: 4px;
}
.phase-body { color: var(--text-dim); font-size: 13.5px; line-height: 1.55; }
.phase-milestones {
  display: flex; flex-direction: column; gap: 8px;
  padding-top: 14px; margin-top: 2px; border-top: 1px solid var(--line);
  font-family: var(--mono); font-size: 12px;
  list-style: none;
}
.phase-milestones li {
  padding-left: 18px; position: relative; color: var(--text-dim);
}
.phase-milestones li::before {
  content: '→'; position: absolute; left: 0;
  color: var(--purple-glow);
}

/* Tools split (before/after case study) */
.tools-split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  margin-bottom: 40px;
}
@media (max-width: 700px) { .tools-split { grid-template-columns: 1fr; } }
.tools-col {
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: 14px; padding: 28px 26px;
}
.tools-col.after { border-color: rgba(123,47,247,0.3); background: linear-gradient(180deg, rgba(123,47,247,0.04), var(--bg-card) 80%); }
.tools-label {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; margin-bottom: 8px;
}
.tools-col.before .tools-label { color: #FB7185; }
.tools-col.after .tools-label { color: var(--purple-glow); }
.tools-heading {
  font-family: var(--display); font-weight: 600;
  font-size: 19px; letter-spacing: -0.02em; margin-bottom: 22px;
}
.tools-list { display: flex; flex-direction: column; gap: 0; }
.tool-item {
  display: grid; grid-template-columns: 160px 1fr; gap: 16px; align-items: start;
  padding: 14px 0;
  border-bottom: 1px dashed var(--line);
}
.tool-item:last-child { border-bottom: none; }
.tool-name { font-family: var(--display); font-weight: 600; font-size: 14px; color: var(--text); }
.tool-desc { font-size: 13px; color: var(--text-dim); line-height: 1.5; }
@media (max-width: 520px) {
  .tool-item { grid-template-columns: 1fr; gap: 4px; }
}

/* Metrics strip (3-col mini stat row) */
.metrics-strip {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
}
@media (max-width: 700px) { .metrics-strip { grid-template-columns: 1fr; } }
.metric-cell {
  background: var(--bg); padding: 28px 20px;
  text-align: center;
}
.metric-val {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(28px, 3.2vw, 42px);
  letter-spacing: -0.02em; line-height: 1;
  color: var(--purple-glow); font-variant-numeric: tabular-nums;
  margin-bottom: 10px;
}
.metric-label {
  font-family: var(--mono); font-size: 11px;
  color: var(--text-dim); letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* Callout */
.callout {
  background: var(--bg-raised); border: 1px solid var(--line);
  border-left: 3px solid var(--purple);
  border-radius: 8px; padding: 24px 28px;
  margin-top: 40px;
}
.callout-label {
  font-family: var(--mono); font-size: 11px;
  color: var(--purple-glow); letter-spacing: 0.14em;
  text-transform: uppercase; margin-bottom: 10px;
}
.callout h3 {
  font-family: var(--display); font-weight: 600;
  font-size: 20px; letter-spacing: -0.02em; margin-bottom: 10px;
}
.callout p {
  color: var(--text-dim); font-size: 14.5px; line-height: 1.6;
}
.callout p strong { color: var(--text); font-weight: 500; }

/* Vision sub-section */
.vision-sub { margin-top: 72px; }
.vision-sub:first-child { margin-top: 0; }
.vision-sub-head {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--mono); font-size: 12px; color: var(--text-faint);
  letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 18px;
}
.vision-sub-head::before {
  content: ''; width: 20px; height: 1px; background: var(--purple-glow); opacity: 0.6;
}
.vision-sub h3 {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(24px, 3vw, 36px); letter-spacing: -0.025em;
  margin-bottom: 18px; line-height: 1.15;
}
.vision-sub > p {
  color: var(--text-dim); font-size: 16px; line-height: 1.65;
  max-width: 780px; margin-bottom: 22px;
}
.vision-sub .sub-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
  margin-top: 24px;
}
.vision-sub .sub-grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 800px) {
  .vision-sub .sub-grid,
  .vision-sub .sub-grid-3 { grid-template-columns: 1fr; }
}
.sub-card {
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: 12px; padding: 24px;
  transition: all 0.25s;
}
.sub-card:hover { border-color: var(--line-strong); }
.sub-card-title {
  font-family: var(--display); font-weight: 600;
  font-size: 17px; letter-spacing: -0.015em; margin-bottom: 10px;
}
.sub-card p { color: var(--text-dim); font-size: 13.5px; line-height: 1.6; }

/* ============================== PASSWORD GATE (investors) ============================== */
.gate-overlay {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  padding: 40px var(--pad-x);
  background: var(--bg);
}
.gate-card {
  width: 100%; max-width: 520px;
  background: var(--bg-card); border: 1px solid var(--line-strong);
  border-radius: 16px; padding: 48px 40px;
  position: relative;
  box-shadow: 0 40px 120px -20px rgba(0,0,0,0.7), 0 0 0 1px rgba(123,47,247,0.08);
  animation: gateIn 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.gate-card::before {
  content: ''; position: absolute; inset: -1px; border-radius: 17px;
  background: linear-gradient(135deg, rgba(123,47,247,0.35), transparent 40%);
  z-index: -1; opacity: 0.5;
}
@keyframes gateIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.gate-wordmark {
  font-family: var(--display); font-weight: 700; font-size: 22px;
  letter-spacing: -0.02em;
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 32px;
}
.gate-wordmark svg { width: 20px; height: 20px; }
.gate-eyebrow {
  font-family: var(--mono); font-size: 11.5px;
  color: var(--purple-glow); letter-spacing: 0.14em;
  text-transform: uppercase; margin-bottom: 18px;
  display: flex; align-items: center; gap: 10px;
}
.gate-eyebrow::before {
  content: ''; width: 20px; height: 1px; background: var(--purple);
}
.gate-title {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(26px, 2.8vw, 34px); letter-spacing: -0.025em;
  line-height: 1.1; margin-bottom: 28px;
}
.gate-form {
  display: flex; flex-direction: column; gap: 12px;
}
.gate-input {
  width: 100%; padding: 14px 16px;
  font-family: var(--body); font-size: 15px;
  background: var(--bg); color: var(--text);
  border: 1px solid var(--line-strong); border-radius: 10px;
  outline: none;
  transition: border-color 0.15s, background 0.15s;
}
.gate-input:focus { border-color: var(--purple); background: rgba(123,47,247,0.04); }
.gate-input::placeholder { color: var(--text-faint); }
.gate-form .btn { width: 100%; justify-content: center; padding: 14px 22px; }
.gate-error {
  margin-top: 12px; font-family: var(--mono); font-size: 12px;
  color: #FB7185; letter-spacing: 0.04em;
  opacity: 0; transition: opacity 0.2s;
}
.gate-error.show { opacity: 1; }
.gate-footer {
  margin-top: 28px; padding-top: 20px;
  border-top: 1px solid var(--line);
  font-family: var(--mono); font-size: 11.5px; color: var(--text-faint);
  letter-spacing: 0.04em;
}
.gate-footer a { color: var(--purple-glow); text-decoration: none; border-bottom: 1px dotted rgba(192,132,252,0.5); }

/* Hide content while gated (display:none so IntersectionObserver doesn't prematurely fire) */
body.gated > nav.top,
body.gated > main,
body.gated > footer,
body.gated > section { display: none; }

/* REAL WEEK TIMELINE */
.real-week-head { max-width: 680px; margin-bottom: 56px; }
.real-week-head h2 { font-size: clamp(32px, 4vw, 52px); margin-bottom: 14px; letter-spacing: -0.03em; }
.real-week-head p { color: var(--text-dim); font-size: 16.5px; }
.timeline {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  position: relative;
}
.timeline::before {
  content: ''; position: absolute; top: 58px; left: 0; right: 0;
  height: 1px; background: linear-gradient(90deg, transparent, var(--purple) 20%, var(--purple) 80%, transparent);
  opacity: 0.3; pointer-events: none;
}
@media (max-width: 900px) { .timeline { grid-template-columns: 1fr; } .timeline::before { display: none; } }
.tl-step {
  background: var(--bg); padding: 28px 24px;
  display: flex; flex-direction: column; gap: 10px;
  min-height: 200px; position: relative;
  transition: background 0.2s;
}
.tl-step:hover { background: var(--bg-card); }
.tl-when {
  font-family: var(--mono); font-size: 11.5px; color: var(--purple-glow);
  letter-spacing: 0.14em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 8px;
}
.tl-when::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--purple); box-shadow: 0 0 0 3px rgba(123,47,247,0.12);
}
.tl-title { font-family: var(--display); font-weight: 600; font-size: 18px; letter-spacing: -0.015em; }
.tl-body { font-size: 13.5px; color: var(--text-dim); line-height: 1.5; }

/* ─────────────────────────────────────────────────────────
   INVESTOR PAGE DATA VISUALS
   Market funnel · vSaaS comps · MRR trajectory · Expansion map
   ───────────────────────────────────────────────────────── */

/* Market funnel: TAM / SAM / SOM */
.market-funnel {
  display: flex; flex-direction: column; gap: 16px;
  margin-top: 28px;
}
.funnel-row {
  display: grid; grid-template-columns: minmax(0, 1fr) 300px;
  gap: 32px; align-items: center;
}
.funnel-bar {
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: 14px; position: relative; overflow: hidden;
  transform-origin: left center; transform: scaleX(0.4);
  transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.funnel-bar::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(123,47,247,0.14), rgba(192,132,252,0.06));
  opacity: 0; transition: opacity 0.9s 0.6s ease-out;
}
.reveal.in .funnel-bar { transform: scaleX(1); }
.reveal.in .funnel-bar::before { opacity: 1; }
.funnel-bar-inner {
  position: relative; z-index: 1;
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 24px 30px;
}
.funnel-label {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--text-dim); white-space: nowrap;
}
.funnel-val {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(26px, 3vw, 38px); letter-spacing: -0.03em;
  line-height: 1; color: var(--purple-glow);
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.funnel-tam { width: 100%; }
.funnel-sam { width: 62%; }
.funnel-sam .funnel-val { color: var(--text); }
/* SOM bar is the narrowest (preserves the funnel visual), so stack the
   label above the value inside it — otherwise "SOM · NEAR TERM" + "$18M"
   fight for horizontal space at 26% and the dollar value clips mid-char. */
.funnel-som { width: 32%; border-color: var(--purple); }
.funnel-som .funnel-bar-inner {
  padding: 18px 22px;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.funnel-som .funnel-val {
  color: var(--purple-glow);
  font-size: clamp(28px, 2.4vw, 34px);
}
.funnel-som::after {
  content: ''; position: absolute; inset: -1px; border-radius: 14px;
  box-shadow: 0 0 28px rgba(123,47,247,0.35); pointer-events: none;
}
.funnel-note {
  font-family: var(--mono); font-size: 12.5px;
  color: var(--text-dim); line-height: 1.55;
}

@media (max-width: 900px) {
  .funnel-row { grid-template-columns: 1fr; gap: 6px; }
  .funnel-tam, .funnel-sam, .funnel-som { width: 100% !important; }
  .funnel-bar-inner { padding: 18px 20px; }
  .funnel-note { margin-top: 2px; }
}

/* Vertical SaaS comp */
.vsaas-comp {
  margin-top: 64px; padding: 44px 40px;
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: 18px;
}
.vsaas-label {
  font-family: var(--mono); font-size: 11px; color: var(--purple-glow);
  letter-spacing: 0.18em; text-transform: uppercase;
}
.vsaas-head h3 {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(22px, 2.6vw, 30px); letter-spacing: -0.025em;
  margin: 12px 0 10px; color: var(--text); line-height: 1.15;
}
.vsaas-head h3 em { font-style: normal; color: var(--purple-glow); }
.vsaas-head p { color: var(--text-dim); font-size: 15px; line-height: 1.6; max-width: 680px; }

.vsaas-bars { display: flex; flex-direction: column; gap: 10px; margin-top: 28px; }
.vsaas-bar-row {
  display: grid; grid-template-columns: 130px 220px 1fr 76px;
  gap: 22px; align-items: center; padding: 14px 0;
  border-top: 1px solid var(--line);
}
.vsaas-bar-row:first-child { border-top: none; }
.vsaas-bar-name {
  font-family: var(--display); font-weight: 600; font-size: 17px;
  color: var(--text); letter-spacing: -0.015em;
}
.vsaas-bar-vertical {
  font-family: var(--mono); font-size: 11px; color: var(--text-faint);
  letter-spacing: 0.08em; text-transform: uppercase;
}
.vsaas-bar-track {
  position: relative; height: 32px;
  background: rgba(255,255,255,0.03); border-radius: 6px;
}
.vsaas-bar-fill {
  height: 100%; border-radius: 6px;
  background: linear-gradient(90deg, rgba(123,47,247,0.28), rgba(192,132,252,0.14));
  border-left: 3px solid var(--purple-glow);
  transform-origin: left; transform: scaleX(0);
  transition: transform 1.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.in .vsaas-bar-fill { transform: scaleX(1); }
.reveal.in .vsaas-bar-row:nth-child(2) .vsaas-bar-fill { transition-delay: 0.1s; }
.reveal.in .vsaas-bar-row:nth-child(3) .vsaas-bar-fill { transition-delay: 0.2s; }
.reveal.in .vsaas-bar-row:nth-child(4) .vsaas-bar-fill { transition-delay: 0.3s; }
.vsaas-bar-val {
  font-family: var(--display); font-weight: 700; font-size: 19px;
  color: var(--text); letter-spacing: -0.015em; white-space: nowrap;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.vsaas-gap {
  margin-top: 48px; padding: 48px 44px 40px;
  background:
    radial-gradient(120% 120% at 8% 0%, rgba(123,47,247,0.14), transparent 55%),
    var(--bg);
  border: 1px solid var(--purple); border-radius: 16px;
  position: relative;
  box-shadow: 0 0 60px rgba(123,47,247,0.16), inset 0 0 120px rgba(123,47,247,0.04);
}
.vsaas-gap::before {
  content: 'THE GAP'; position: absolute; top: 0; left: 28px;
  transform: translateY(-50%);
  background: var(--bg-card); padding: 5px 14px;
  font-family: var(--mono); font-size: 10.5px; color: var(--purple-glow);
  letter-spacing: 0.24em; text-transform: uppercase;
  border: 1px solid rgba(123,47,247,0.4); border-radius: 4px;
}
.vsaas-gap-name {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(44px, 6.2vw, 76px);
  letter-spacing: -0.04em; line-height: 0.95;
  color: var(--purple-glow);
  margin: 0 0 20px;
}
.vsaas-gap-meta {
  font-family: var(--mono); font-size: 12.5px; color: var(--text);
  letter-spacing: 0.12em; text-transform: uppercase;
  margin: 0 0 28px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(123,47,247,0.22);
}
.vsaas-gap-body {
  color: var(--text-dim); font-size: 15.5px; line-height: 1.65;
  max-width: 720px; margin: 0;
}

@media (max-width: 820px) {
  .vsaas-comp { padding: 30px 22px; }
  .vsaas-bar-row { grid-template-columns: 1fr; gap: 4px; padding: 14px 0; }
  .vsaas-bar-val {
    text-align: left; margin-top: 6px; font-size: 17px;
  }
  .vsaas-bar-track { height: 24px; margin-top: 2px; }
  .vsaas-gap { padding: 36px 22px 28px; }
  .vsaas-gap-name { font-size: clamp(38px, 11vw, 56px); margin-bottom: 14px; }
  .vsaas-gap-meta { font-size: 11px; margin-bottom: 18px; padding-bottom: 14px; }
  .vsaas-gap-body { font-size: 14.5px; }
}

/* MRR trajectory */
.mrr-chart-section { padding: 88px 0; }
.mrr-chart-container { max-width: 1080px; }
.mrr-chart-head { margin-bottom: 36px; max-width: 720px; }
.mrr-chart-head h2 {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(30px, 3.8vw, 46px); letter-spacing: -0.03em;
  line-height: 1.05; margin-top: 14px;
}
.mrr-chart-head p { color: var(--text-dim); font-size: 15.5px; line-height: 1.6; margin-top: 14px; }

.mrr-chart-wrap {
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: 18px; padding: 36px 28px 24px;
  overflow: hidden;
}
.mrr-chart { width: 100%; height: auto; display: block; }
.mrr-grid line { stroke: rgba(255,255,255,0.05); stroke-width: 1; }
.mrr-axis-label text {
  font-family: var(--mono); font-size: 10.5px;
  fill: var(--text-faint); letter-spacing: 0.08em;
}
.mrr-phase-divider { stroke: rgba(123,47,247,0.3); stroke-width: 1; stroke-dasharray: 3 5; }
.mrr-phase-tag {
  font-family: var(--mono); font-size: 10px; fill: var(--text-faint);
  letter-spacing: 0.14em;
}
.mrr-phase-tag.mrr-phase-2 { fill: var(--purple-glow); }

.mrr-area { opacity: 0; transition: opacity 1.4s 0.6s ease-out; }
.reveal.in .mrr-area { opacity: 1; }

.mrr-line {
  stroke-dasharray: 1400; stroke-dashoffset: 1400;
  transition: stroke-dashoffset 2.4s cubic-bezier(0.22, 1, 0.36, 1) 0.2s;
  filter: drop-shadow(0 2px 10px rgba(192,132,252,0.28));
}
.reveal.in .mrr-line { stroke-dashoffset: 0; }

.mrr-points circle { fill: var(--purple-glow); opacity: 0; transition: opacity 0.5s ease-out 2s; }
.reveal.in .mrr-points circle { opacity: 1; }
.mrr-dot-highlight { fill: #FAFAFA !important; stroke: var(--purple); stroke-width: 2; }
.mrr-dot-final {
  fill: var(--purple-glow) !important; stroke: var(--bg); stroke-width: 3;
  filter: drop-shadow(0 0 12px var(--purple));
}

.mrr-callouts text {
  font-family: var(--mono); font-size: 10.5px;
  fill: var(--text-dim); letter-spacing: 0.1em; text-transform: uppercase;
  opacity: 0; transition: opacity 0.6s ease-out 2.3s;
}
.reveal.in .mrr-callouts text { opacity: 1; }
.mrr-callout-hi { fill: var(--text) !important; }
.mrr-callout-final { fill: var(--purple-glow) !important; font-weight: 700; font-size: 12.5px !important; }

@media (max-width: 680px) {
  .mrr-chart-wrap { padding: 20px 14px 14px; }
  .mrr-chart-section { padding: 56px 0; }
}

/* Expansion map */
.expansion-map-wrap { margin-top: 28px; margin-bottom: 56px; }
.expansion-map-label {
  font-family: var(--mono); font-size: 11px; color: var(--purple-glow);
  letter-spacing: 0.18em; text-transform: uppercase;
  margin-bottom: 14px;
}
.expansion-map {
  width: 100%; height: auto; display: block;
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: 18px; padding: 28px;
  box-sizing: border-box;
}
.map-line {
  stroke: rgba(123,47,247,0.22); stroke-width: 1;
  stroke-dasharray: 5 6; opacity: 0;
  transition: opacity 0.8s ease-out 1.2s;
}
.map-line-active { stroke: var(--purple); stroke-width: 2; stroke-dasharray: none; opacity: 0; transition-delay: 0.6s; }
.reveal.in .map-line-active { opacity: 1; }
.reveal.in .map-line-future .map-line { opacity: 0.65; }

.city { opacity: 0; transition: opacity 0.5s ease-out; }
.reveal.in .city-active { opacity: 1; transition-delay: 0.2s; }
.reveal.in .city-next { opacity: 1; transition-delay: 0.9s; }
.reveal.in .city-future { opacity: 1; transition-delay: 1.5s; }

.city-dot { fill: var(--purple-glow); }
.city-active .city-dot { filter: drop-shadow(0 0 10px var(--purple)); }
.city-next .city-dot { fill: var(--purple); }
.city-ring {
  fill: none; stroke: var(--purple); stroke-width: 1.5;
  transform-box: fill-box; transform-origin: center;
  animation: cityPulse 3s ease-out infinite;
}
@keyframes cityPulse {
  0% { transform: scale(0.6); opacity: 0.7; }
  100% { transform: scale(1.7); opacity: 0; }
}
.city-dot-outline { fill: none; stroke: var(--text-faint); stroke-width: 1.5; }
.city-label {
  font-family: var(--mono); font-size: 10.5px; fill: var(--text-dim);
  letter-spacing: 0.14em; text-transform: uppercase;
}
.city-label-primary { fill: var(--text); font-weight: 600; font-size: 11px; }
.city-future .city-label { fill: var(--text-faint); }
.city-phase {
  font-family: var(--mono); font-size: 9.5px; fill: var(--purple-glow);
  letter-spacing: 0.12em; text-transform: uppercase;
}
.city-next .city-phase { fill: var(--purple-soft); }
.expansion-phase-3-label {
  font-family: var(--mono); font-size: 10.5px; fill: var(--text-faint);
  letter-spacing: 0.18em; text-transform: uppercase;
}

/* ─────────────────────────────────────────────────────────
   CINEMATIC PACING
   Hero-scale punch moments · chapter breaks · slower reveals
   ───────────────────────────────────────────────────────── */

.reveal.reveal-cinematic {
  transition: opacity 1.8s cubic-bezier(0.22, 1, 0.36, 1),
              transform 1.8s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Hero-scale punch — title-card moments */
.hero-punch {
  padding: clamp(140px, 24vh, 260px) var(--pad-x);
  position: relative;
}
.hero-punch::before {
  content: ''; position: absolute; left: 0; top: 50%;
  width: 2px; height: 36%;
  background: linear-gradient(to bottom, transparent, var(--purple), transparent);
  transform: translateY(-50%);
  opacity: 0;
  transition: opacity 1.4s 0.8s ease-out;
}
.hero-punch.reveal.in::before { opacity: 0.4; }

.hero-punch-eyebrow {
  font-family: var(--mono); font-size: 11.5px; color: var(--purple-glow);
  letter-spacing: 0.24em; text-transform: uppercase;
  margin-bottom: 36px;
  opacity: 0;
  transition: opacity 1.2s 0.3s ease-out, transform 1.2s 0.3s ease-out;
  transform: translateY(12px);
}
.hero-punch.reveal.in .hero-punch-eyebrow { opacity: 1; transform: none; }

.hero-punch-text {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(52px, 9vw, 118px);
  line-height: 0.98; letter-spacing: -0.045em;
  color: var(--text); margin: 0;
  max-width: 1200px;
}
.hero-punch-text em { font-style: normal; color: var(--purple-glow); }
.hero-punch-text.reveal-type {
  opacity: 0;
  filter: blur(10px);
  transform: translateY(24px);
  transition:
    opacity 1.8s cubic-bezier(0.22, 1, 0.36, 1) 0.6s,
    filter 2s cubic-bezier(0.22, 1, 0.36, 1) 0.6s,
    transform 2.2s cubic-bezier(0.22, 1, 0.36, 1) 0.6s;
}
.hero-punch.reveal.in .hero-punch-text.reveal-type {
  opacity: 1; filter: blur(0); transform: none;
}

.hero-punch-sub {
  font-family: var(--mono); font-size: 12px; color: var(--text-faint);
  letter-spacing: 0.22em; text-transform: uppercase;
  margin-top: 40px;
  opacity: 0;
  transition: opacity 1.4s 1.7s ease-out;
}
.hero-punch.reveal.in .hero-punch-sub { opacity: 1; }

/* Chapter break — quiet beat between sections */
.chapter-break {
  padding: clamp(100px, 18vh, 200px) var(--pad-x);
}
.chapter-break-text {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(28px, 3.8vw, 52px);
  line-height: 1.15; letter-spacing: -0.025em;
  color: var(--text-dim);
  max-width: 900px; margin: 0;
  display: flex; align-items: center; gap: 26px;
  flex-wrap: wrap;
}
.chapter-break-text em { font-style: normal; color: var(--purple-glow); }
.chapter-break-text::before {
  content: ''; display: inline-block;
  width: 40px; height: 1px;
  background: var(--purple-glow);
  transform: scaleX(0); transform-origin: left;
  transition: transform 1.4s cubic-bezier(0.22, 1, 0.36, 1) 0.3s;
  flex-shrink: 0;
}
.chapter-break.reveal.in .chapter-break-text::before { transform: scaleX(1); }

@media (max-width: 680px) {
  .hero-punch { padding: clamp(90px, 18vh, 140px) var(--pad-x); }
  .chapter-break { padding: clamp(70px, 12vh, 120px) var(--pad-x); }
  .chapter-break-text { gap: 18px; }
  .chapter-break-text::before { width: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  .funnel-bar, .vsaas-bar-fill, .mrr-line, .mrr-area,
  .mrr-points circle, .mrr-callouts text,
  .city, .map-line, .map-line-active,
  .hero-punch::before, .hero-punch-eyebrow,
  .hero-punch-text.reveal-type, .hero-punch-sub,
  .chapter-break-text::before {
    transition: none !important; animation: none !important;
    transform: none !important; opacity: 1 !important;
    filter: none !important;
    stroke-dashoffset: 0 !important;
  }
  .city-ring { animation: none !important; opacity: 0.5; }
  .hero-punch::before { opacity: 0.4 !important; }
}
