@font-face { font-family: "Product Sans"; src: url("brand/ProductSans-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Product Sans"; src: url("brand/ProductSans-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }

:root {
  --canvas: #0d1220;
  --panel: #151c2e;
  --panel-2: #1b2438;
  --line: rgba(255,255,255,0.08);
  --line-strong: rgba(255,255,255,0.16);
  --text: #eef1f8;
  --muted: #a7b0c6;
  --dim: #6f7890;
  --blue: #8390fe;
  --orange: #ffa065;
  --ok: #2ecc71;
  --warn: #f1c40f;
  --action: #4f8ef7;
  --grad: linear-gradient(90deg, var(--blue) 0%, #c58bd0 50%, var(--orange) 100%);
  --radius: 16px;
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Product Sans", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--canvas);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; letter-spacing: -0.01em; }
p { margin: 0; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.92em; color: var(--blue); }
.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--orange); margin-bottom: 14px; }
.lead { color: var(--muted); font-size: 18px; max-width: 640px; }
.sr { position: absolute; left: -9999px; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 999px; font-weight: 700; font-size: 15px; border: 1px solid transparent; cursor: pointer; transition: transform .15s ease, background .15s ease, border-color .15s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: #fff; color: #0d1220; }
.btn-primary:hover { background: #f1f3fa; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: rgba(255,255,255,0.35); background: rgba(255,255,255,0.04); }
.btn-grad { background: var(--grad); color: #0d1220; }
.btn-lg { padding: 15px 28px; font-size: 16px; }

/* nav */
.nav { position: sticky; top: 0; z-index: 20; backdrop-filter: blur(14px); background: rgba(13,18,32,0.72); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }
.nav .logo img { height: 34px; width: auto; }
.nav-links { display: flex; gap: 28px; font-size: 15px; color: var(--muted); }
.nav-links a:hover { color: var(--text); }
.nav-cta { display: flex; gap: 10px; align-items: center; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line-strong); color: var(--text); border-radius: 10px; width: 42px; height: 42px; font-size: 20px; }
.nav-links-login { display: none; }
.nav-scrim { display: none; }

/* hero */
.hero { position: relative; overflow: hidden; padding: 96px 0 72px; }
.hero::before { content: ""; position: absolute; inset: 0; background: url("brand/honeycomb.png") center top / cover no-repeat; opacity: 0.08; pointer-events: none; }
.hero::after { content: ""; position: absolute; width: 900px; height: 900px; left: 50%; top: -520px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(131,144,254,0.28), rgba(255,160,101,0.10) 60%, transparent 75%); pointer-events: none; }
.hero .wrap { position: relative; text-align: center; }
.hero h1 { font-size: clamp(40px, 7vw, 82px); font-weight: 700; margin: 0 auto 22px; max-width: 980px; }
.hero .lead { margin: 0 auto 34px; font-size: clamp(17px, 2vw, 21px); max-width: 720px; }
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-note { margin-top: 18px; font-size: 13px; color: var(--dim); }

/* stats */
.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,0.02); }
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 28px 18px; text-align: center; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat b { display: block; font-size: 30px; font-weight: 700; }
.stat span { font-size: 13px; color: var(--muted); }

/* sections */
section.block { padding: 96px 0; }
section.block.alt { background: rgba(255,255,255,0.02); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(30px, 4.6vw, 48px); margin-bottom: 16px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .lead { margin: 0 auto; }

.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card h3 { font-size: 20px; margin: 14px 0 10px; }
.card p { color: var(--muted); font-size: 15px; }
.icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(131,144,254,0.22), rgba(255,160,101,0.18)); border: 1px solid var(--line-strong); font-size: 20px; }

/* split */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.split h2 { font-size: clamp(28px, 4vw, 42px); margin-bottom: 16px; }
.split .lead { font-size: 17px; margin-bottom: 22px; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); font-size: 15px; }
.checks li::before { content: "✓"; color: var(--ok); font-weight: 700; flex: 0 0 auto; }

/* console mock */
.console { background: #0a0f1b; border: 1px solid var(--line-strong); border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,0.45); }
.console-bar { display: flex; align-items: center; gap: 8px; padding: 12px 14px; border-bottom: 1px solid var(--line); background: var(--panel); font-size: 12px; color: var(--dim); }
.console-bar i { width: 10px; height: 10px; border-radius: 50%; background: #2a3247; display: inline-block; }
.console-bar i:nth-child(1) { background: #e74c3c; } .console-bar i:nth-child(2) { background: #f1c40f; } .console-bar i:nth-child(3) { background: #2ecc71; }
.console-bar span { margin-left: 8px; }
.console pre { margin: 0; padding: 18px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12.5px; line-height: 1.7; color: #c9d1e3; white-space: pre; overflow-x: auto; }
.console .k { color: var(--blue); } .console .ok { color: var(--ok); } .console .w { color: var(--warn); } .console .o { color: var(--orange); } .console .d { color: var(--dim); }

/* pipeline */
.pipeline { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; counter-reset: step; }
.step { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 20px 18px; position: relative; }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); font-size: 12px; font-weight: 700; color: var(--orange); letter-spacing: 0.1em; }
.step h4 { font-size: 16px; margin: 8px 0 6px; }
.step p { font-size: 13px; color: var(--muted); }
.gate { border-color: rgba(255,160,101,0.45); background: linear-gradient(180deg, rgba(255,160,101,0.10), var(--panel)); }
.gate::after { content: "human gate"; position: absolute; top: 14px; right: 14px; font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--orange); }

/* control plane */
.panel-mock { background: var(--panel); border: 1px solid var(--line-strong); border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,0.45); display: grid; grid-template-columns: 180px 1fr; min-height: 380px; }
.panel-side { border-right: 1px solid var(--line); padding: 18px 14px; font-size: 13px; color: var(--muted); }
.panel-side b { display: block; color: var(--text); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 14px; }
.panel-side div { padding: 7px 10px; border-radius: 8px; }
.panel-side div.on { background: rgba(79,142,247,0.16); color: var(--text); }
.panel-main { padding: 18px; display: grid; gap: 12px; align-content: start; }
.row { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; background: var(--panel-2); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; font-size: 13px; }
.row small { display: block; color: var(--dim); font-size: 12px; }
.pill { font-size: 11px; font-weight: 700; padding: 4px 9px; border-radius: 999px; letter-spacing: 0.04em; }
.pill.ok { background: rgba(46,204,113,0.16); color: var(--ok); }
.pill.warn { background: rgba(241,196,15,0.16); color: var(--warn); }
.pill.act { background: rgba(79,142,247,0.18); color: #9dc2ff; }

/* logos row */
.logos { display: flex; flex-wrap: wrap; gap: 10px; }
.logos span { border: 1px solid var(--line-strong); border-radius: 999px; padding: 8px 16px; font-size: 14px; color: var(--muted); }

/* labs */
.labs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.labs .card h3 { margin-top: 0; }
.labs .tag { display: inline-block; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue); margin-bottom: 10px; }

/* cta */
.cta { padding: 96px 0; }
.cta .box { position: relative; overflow: hidden; border-radius: 24px; border: 1px solid var(--line-strong); background: var(--panel); padding: 64px 32px; text-align: center; }
.cta .box::before { content: ""; position: absolute; inset: -40%; background: radial-gradient(circle at 30% 20%, rgba(131,144,254,0.25), transparent 40%), radial-gradient(circle at 75% 80%, rgba(255,160,101,0.22), transparent 40%); pointer-events: none; }
.cta h2 { position: relative; font-size: clamp(30px, 4.6vw, 48px); margin-bottom: 14px; }
.cta p { position: relative; color: var(--muted); margin: 0 auto 28px; max-width: 560px; }
.cta .hero-cta { position: relative; }

/* footer */
footer { border-top: 1px solid var(--line); padding: 40px 0; font-size: 14px; color: var(--dim); }
footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
footer img { height: 26px; width: auto; opacity: 0.9; }
footer nav { display: flex; gap: 22px; }
footer nav a:hover { color: var(--text); }

/* login page */
.auth { min-height: calc(100vh - 72px); display: grid; place-items: center; padding: 60px 0; position: relative; overflow: hidden; }
.auth::before { content: ""; position: absolute; inset: 0; background: url("brand/honeycomb.png") center / cover no-repeat; opacity: 0.06; pointer-events: none; }
.auth-card { position: relative; width: min(520px, 100%); background: var(--panel); border: 1px solid var(--line-strong); border-radius: 22px; padding: 40px; box-shadow: 0 30px 80px rgba(0,0,0,0.45); }
.auth-card h1 { font-size: 30px; margin-bottom: 8px; }
.auth-card .lead { font-size: 15px; margin-bottom: 26px; }
.auth-card .btn { width: 100%; justify-content: center; }
.auth-card .stack { display: grid; gap: 10px; }
.auth-note { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13px; color: var(--dim); }
.auth-note code { color: var(--muted); }
.status { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); margin-bottom: 18px; }
.status i { width: 8px; height: 8px; border-radius: 50%; background: var(--warn); box-shadow: 0 0 0 4px rgba(241,196,15,0.15); }

/* responsive */
@media (max-width: 980px) {
  .grid-3, .labs { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .pipeline { grid-template-columns: repeat(3, 1fr); }
  .stats .wrap { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; }
  .stat { border-top: 1px solid var(--line); }
  .stat:nth-child(-n+2) { border-top: 0; }
}
@media (max-width: 720px) {
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .nav-toggle { display: grid; place-items: center; }
  .nav.open .nav-links { display: flex; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--canvas); border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px rgba(0,0,0,0.4); }
  .nav.open .nav-links a { padding: 16px 20px; border-top: 1px solid var(--line); }
  /* The desktop "Log in" (.nav-cta .btn-ghost) is hidden above -- give the
     mobile dropdown its own login row instead of leaving no way in. */
  .nav-links-login { display: block; color: var(--orange); font-weight: 700; }
  .nav.open ~ .nav-scrim { display: block; position: fixed; inset: 72px 0 0 0; background: rgba(5,7,14,0.55); z-index: 19; }
  .grid-3, .grid-2, .labs { grid-template-columns: 1fr; }
  .pipeline { grid-template-columns: 1fr 1fr; }
  .panel-mock { grid-template-columns: 1fr; }
  .panel-side { display: none; }
  section.block { padding: 64px 0; }
  .hero { padding: 64px 0 48px; }
  .auth-card { padding: 28px 22px; }
}

/* ---- v3: simplified page, forms, FAQ ------------------------------------ */
body { font-size: 17px; }
.lead { font-size: 19px; }
.wrap.narrow { width: min(820px, calc(100% - 40px)); }
.benefits .card { padding: 34px 30px; }
.benefits .card h3 { font-size: 24px; }
.benefits .card p { font-size: 16px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step-big { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 30px; }
.step-big .num { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 18px; color: #0d1220; background: var(--grad); margin-bottom: 18px; }
.step-big h3 { font-size: 24px; margin-bottom: 10px; }
.step-big p { color: var(--muted); font-size: 16px; }

.stats-simple { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stats-simple div { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 22px; text-align: center; }
.stats-simple b { display: block; font-size: 40px; font-weight: 700; margin-bottom: 6px; }
.stats-simple span { font-size: 15px; color: var(--muted); }

details.faq { border: 1px solid var(--line); border-radius: 14px; background: var(--panel); margin-bottom: 12px; padding: 0 22px; }
details.faq summary { cursor: pointer; list-style: none; padding: 20px 0; font-size: 18px; font-weight: 700; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; font-size: 22px; color: var(--orange); flex: 0 0 auto; }
details.faq[open] summary::after { content: "–"; }
details.faq p { color: var(--muted); font-size: 16px; padding: 0 0 20px; }

details.eng { border: 1px solid var(--line); border-radius: 14px; background: var(--panel); padding: 0 24px; }
details.eng summary { cursor: pointer; list-style: none; padding: 22px 0; display: flex; flex-direction: column; gap: 6px; font-size: 18px; font-weight: 700; }
details.eng summary::-webkit-details-marker { display: none; }
details.eng .eng-body { padding: 0 0 22px; display: grid; gap: 14px; }
details.eng .eng-body p { color: var(--muted); font-size: 15px; }
details.eng .eng-body strong, details.eng .eng-body em { color: var(--text); }

.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 13px; color: var(--muted); }
.field input, .field select { width: 100%; background: var(--panel-2); border: 1px solid var(--line-strong); color: var(--text); border-radius: 12px; padding: 13px 14px; font: inherit; font-size: 15px; outline: none; }
.field input:focus, .field select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(131,144,254,0.18); }
.msg { display: none; margin: 0 0 14px; padding: 10px 12px; border-radius: 10px; font-size: 14px; }
.msg.err { display: block; background: rgba(231,76,60,0.12); border: 1px solid rgba(231,76,60,0.35); color: #ff9b91; }
.msg.ok { display: block; background: rgba(46,204,113,0.12); border: 1px solid rgba(46,204,113,0.35); color: #7ee2a8; }
.btn[disabled] { opacity: 0.6; cursor: wait; transform: none; }
.auth-card .btn { width: 100%; justify-content: center; }

@media (max-width: 980px) { .steps, .stats-simple { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px) { .steps, .stats-simple { grid-template-columns: 1fr; } body { font-size: 16px; } .lead { font-size: 17px; } }

/* ---- v4: video slot, living flow, intake form ---------------------------- */

/* 16:9 video slot, reserved space (no CLS) even before a real video exists */
.video-slot { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--panel); border: 1px solid var(--line-strong); margin-bottom: 56px; box-shadow: 0 30px 80px rgba(0,0,0,0.35); }
.video-slot video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: var(--panel); }
.video-slot video[data-loaded="false"] { display: none; }
.video-slot-empty { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: var(--dim); font-size: 14px; background: linear-gradient(160deg, rgba(131,144,254,0.10), rgba(255,160,101,0.06)); }
.video-slot-icon { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #0d1220; font-size: 18px; }

/* living flow — "How it works" centerpiece */
.flow { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; padding-top: 8px; }
.flow-line { position: absolute; top: 22px; left: calc(10% - 1px); right: calc(10% - 1px); height: 2px; background: var(--line-strong); z-index: 0; }
.flow-line-fill { position: absolute; inset: 0; width: 0%; background: var(--grad); transform-origin: left center; }
.flow-token { position: absolute; top: 50%; left: 0; width: 10px; height: 10px; margin-top: -5px; margin-left: -5px; border-radius: 50%; background: var(--text); box-shadow: 0 0 12px 3px rgba(131,144,254,0.7); opacity: 0; }
.flow-token::before { content: ""; position: absolute; top: 50%; right: 100%; width: 46px; height: 6px; margin-top: -3px; background: linear-gradient(90deg, transparent, rgba(131,144,254,0.55)); filter: blur(1.5px); }

/* Idle life: a faint data-stream drifting the full line even at rest,
   independent of scroll -- pure CSS, no JS needed. */
.flow-idle-dot { position: absolute; top: 50%; left: 0; width: 3px; height: 3px; margin-top: -1.5px; border-radius: 50%; background: rgba(131,144,254,0.55); opacity: 0; animation: flow-idle-drift 4.5s linear infinite; }
.flow-idle-dot:nth-child(3) { animation-delay: -1.1s; }
.flow-idle-dot:nth-child(4) { animation-delay: -2.3s; }
.flow-idle-dot:nth-child(5) { animation-delay: -3.4s; }
.flow-idle-dot:nth-child(6) { animation-delay: -0.5s; }
@keyframes flow-idle-drift {
  0% { left: 0%; opacity: 0; }
  8% { opacity: 0.8; }
  92% { opacity: 0.8; }
  100% { left: 100%; opacity: 0; }
}

.flow-node { position: relative; z-index: 1; text-align: left; }
.flow-dot { position: relative; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 17px; color: var(--dim); background: var(--panel); border: 2px solid var(--line-strong); margin-bottom: 16px; transition: color .3s ease, border-color .3s ease, background .3s ease, box-shadow .3s ease; }
.flow-node.lit .flow-dot { color: #0d1220; background: var(--grad); border-color: transparent; box-shadow: 0 0 0 6px rgba(131,144,254,0.14); }
/* Ring-pulse: fires once each time a node crosses into "lit" -- re-triggers
   naturally since the class itself is added/removed by the scroll driver. */
.flow-node.lit .flow-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(131,144,254,0.65); animation: flow-ring-pulse 900ms ease-out; }
@keyframes flow-ring-pulse { from { transform: scale(1); opacity: 0.9; } to { transform: scale(2.1); opacity: 0; } }
/* A faint glow the lit dot casts on the "floor" beneath it -- optional depth cue. */
.flow-node.lit .flow-dot::before { content: ""; position: absolute; left: 50%; top: 100%; width: 34px; height: 10px; margin-left: -17px; margin-top: 2px; background: radial-gradient(ellipse, rgba(131,144,254,0.35), transparent 70%); }
/* The finishing node gets an extra celebratory bloom -- the "done" moment. */
.flow-node[data-flow-step="5"].lit .flow-dot { position: relative; }
.flow-node[data-flow-step="5"].lit::before { content: ""; position: absolute; left: 22px; top: 22px; width: 1px; height: 1px; border-radius: 50%; box-shadow: 0 0 0 0 rgba(151,255,214,0.5); animation: flow-bloom 1100ms ease-out; pointer-events: none; }
@keyframes flow-bloom { from { box-shadow: 0 0 0 0 rgba(151,255,214,0.5); } to { box-shadow: 0 0 0 46px rgba(151,255,214,0); } }
.flow-node h3 { font-size: 17px; margin-bottom: 8px; }
.flow-node p { color: var(--muted); font-size: 14px; }
@media (max-width: 980px) {
  .flow { grid-template-columns: 1fr 1fr; }
  .flow-line { display: none; }
}
@media (max-width: 720px) { .flow { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .flow-idle-dot { animation: none; opacity: 0; } }

/* intake section */
.intake-box { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; text-align: left; padding: 56px 48px; }
.intake-copy h2 { font-size: clamp(26px, 3.6vw, 36px); margin: 6px 0 14px; }
.intake-copy p { position: relative; color: var(--muted); margin: 0 0 20px; max-width: 420px; }
.intake-form { position: relative; display: grid; }
.intake-form textarea { width: 100%; background: var(--panel-2); border: 1px solid var(--line-strong); color: var(--text); border-radius: 12px; padding: 13px 14px; font: inherit; font-size: 15px; outline: none; resize: vertical; }
.intake-form textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(131,144,254,0.18); }
.intake-honeypot { position: absolute; left: -9999px; top: -9999px; }
@media (max-width: 860px) {
  .intake-box { grid-template-columns: 1fr; padding: 40px 26px; }
}

/* ---- v5: hero motion (4.1) ------------------------------------------------ */

/* Nav mark: idle slow pulse, "alive not static" */
.logo img { animation: mark-pulse 4.5s ease-in-out infinite; will-change: opacity; }

/* Particle field: a handful of soft glow dots drifting behind the hero.
   transform + opacity only. Lazy-added by JS after first paint; absent
   entirely under reduced-motion. */
.hero-particles { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.hero-particle { position: absolute; border-radius: 50%; filter: blur(1px); opacity: 0; will-change: transform, opacity; animation: particle-drift linear infinite; }

/* Content layer sits above the particle field */
.hero .wrap { z-index: 1; }

/* Word-by-word headline reveal + staged rise-in for the rest of the hero.
   Every animated element starts from a JS-added .js-anim state (so with JS
   disabled or before it runs, everything is simply visible -- see the note
   in motion.js). */
.hero-word { display: inline-block; }
/* .grad's gradient-text effect (background-clip:text) only clips to an
   element's OWN text, not descendants' -- once words split into child
   spans for the stagger, each span needs its own clipped background. */
.grad .hero-word { background: inherit; -webkit-background-clip: text; background-clip: text; color: transparent; }
.js-anim .hero-word { opacity: 0; transform: translateY(0.4em); animation: word-rise 0.7s cubic-bezier(.22,1,.36,1) forwards; }
.js-anim .hero .eyebrow { opacity: 0; animation: fade-up 0.6s ease-out 0.05s forwards; }
.js-anim .hero .lead { opacity: 0; animation: fade-up 0.6s ease-out forwards; animation-delay: calc(var(--hero-word-count, 6) * 45ms + 250ms); }
.js-anim .hero .hero-cta { opacity: 0; animation: fade-up 0.6s ease-out forwards; animation-delay: calc(var(--hero-word-count, 6) * 45ms + 380ms); }
.js-anim .logo { opacity: 0; animation: fade-up 0.5s ease-out forwards; }

@keyframes mark-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.72; } }
@keyframes word-rise { to { opacity: 1; transform: translateY(0); } }
@keyframes fade-up { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes particle-drift {
  0%   { transform: translate(0, 0); opacity: 0; }
  10%  { opacity: 0.55; }
  90%  { opacity: 0.55; }
  100% { transform: translate(var(--px, 40px), var(--py, -60px)); opacity: 0; }
}

/* Reduced motion: everything visible instantly, nothing drifts or staggers */
@media (prefers-reduced-motion: reduce) {
  .logo img { animation: none; }
  .hero-particles { display: none; }
  .js-anim .hero-word,
  .js-anim .hero .eyebrow,
  .js-anim .hero .lead,
  .js-anim .hero .hero-cta,
  .js-anim .logo { animation: none; opacity: 1; transform: none; }
}

/* ---- REVAMP-02 §2: hero power-on ------------------------------------------ */

/* Light-sweep: one diagonal band of light crosses the hero on load, like a
   screen waking. transform-only (translateX), single run. */
.hero-sweep { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.hero-sweep::before {
  content: ""; position: absolute; top: -20%; bottom: -20%; left: -30%; width: 22%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.10) 45%, rgba(197,213,255,0.16) 50%, rgba(255,255,255,0.10) 55%, transparent);
  transform: translateX(-40%) skewX(-12deg);
  animation: sweep-pass 1.4s cubic-bezier(.22,1,.36,1) 0.15s 1 both;
}
@keyframes sweep-pass { to { transform: translateX(520%) skewX(-12deg); } }

/* HUD grid/reticle: faint, fades in then dims to near-nothing -- present,
   never loud. Pure CSS gradient grid, no image asset needed. */
.hero-hud { position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0; background-image: linear-gradient(rgba(131,144,254,0.10) 1px, transparent 1px), linear-gradient(90deg, rgba(131,144,254,0.10) 1px, transparent 1px); background-size: 46px 46px; -webkit-mask-image: radial-gradient(60% 55% at 50% 40%, black, transparent 75%); mask-image: radial-gradient(60% 55% at 50% 40%, black, transparent 75%); }
.js-anim .hero-hud { animation: hud-breathe 2.6s ease-out 0.1s 1 both; }
@keyframes hud-breathe { 0% { opacity: 0; } 35% { opacity: 1; } 100% { opacity: 0.35; } }

/* Logo ignite: a brief bright flare on load before settling into the
   steady pulse already defined above. */
.js-anim .logo img { animation: logo-ignite 0.9s ease-out both, mark-pulse 4.5s ease-in-out 0.9s infinite; }
@keyframes logo-ignite { 0% { opacity: 0; filter: drop-shadow(0 0 0 rgba(131,144,254,0)); } 55% { opacity: 1; filter: drop-shadow(0 0 14px rgba(131,144,254,0.9)); } 100% { opacity: 1; filter: drop-shadow(0 0 0 rgba(131,144,254,0)); } }

/* Orbiting particles around the nav mark -- tiny, slow, magnetic */
.logo { position: relative; }
.logo-orbit { position: absolute; inset: -10px; pointer-events: none; }
.logo-orbit span { position: absolute; top: 50%; left: 50%; width: 3px; height: 3px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 6px 1px rgba(255,160,101,0.7); animation: orbit 5s linear infinite; }
.logo-orbit span:nth-child(2) { background: var(--blue); box-shadow: 0 0 6px 1px rgba(131,144,254,0.7); animation-duration: 7s; animation-direction: reverse; }
@keyframes orbit { from { transform: rotate(0deg) translateX(22px) rotate(0deg); } to { transform: rotate(360deg) translateX(22px) rotate(-360deg); } }

/* Word-rise gains a faint motion-blur trail as it settles */
.js-anim .hero-word { animation-name: word-rise-blur; filter: blur(0); }
@keyframes word-rise-blur { 0% { opacity: 0; transform: translateY(0.4em); filter: blur(3px); } 70% { filter: blur(0); } 100% { opacity: 1; transform: translateY(0); filter: blur(0); } }

/* Cursor-glow weight: the lag itself is done in JS (lerping toward the
   cursor each frame -- CSS can't smoothly transition the custom properties
   the radial-gradient reads without @property, and a JS lerp gives real
   control over how "heavy" it feels). This transition is just for opacity. */
.hero-glow { transition: opacity 0.4s ease; }

@media (prefers-reduced-motion: reduce) {
  .hero-sweep, .hero-hud, .logo-orbit { display: none; }
  .js-anim .logo img { animation: none; }
  .js-anim .hero-word { animation: none; filter: none; }
}
@media (max-width: 720px) { .logo-orbit { display: none; } }

/* ---- REVAMP-02 §3: THE MONEY SECTION -------------------------------------- */

.money-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 12px; }
.money-col { position: relative; overflow: hidden; border-radius: 22px; padding: 40px 30px 34px; text-align: center; border: 1px solid var(--line-strong); }
.money-label { font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.money-label span { display: block; font-size: 11px; font-weight: 500; text-transform: none; letter-spacing: 0; color: var(--dim); margin-top: 3px; }
.money-figure { font-size: clamp(40px, 6vw, 64px); font-weight: 800; font-variant-numeric: tabular-nums; margin-bottom: 10px; letter-spacing: -0.02em; }
.money-stream { position: relative; height: 64px; margin: 6px 0 14px; }
.money-caption { color: var(--muted); font-size: 14px; margin: 0; }
.money-fine { text-align: center; color: var(--dim); font-size: 12px; max-width: 640px; margin: 26px auto 0; line-height: 1.5; }

.money-bad { background: radial-gradient(120% 100% at 50% 0%, rgba(231,76,60,0.14), rgba(21,28,46,0.4) 60%); box-shadow: inset 0 0 0 1px rgba(231,76,60,0.18); }
.money-bad .money-figure { color: #ff7a68; text-shadow: 0 0 18px rgba(231,76,60,0.35); }
.money-good { background: radial-gradient(120% 100% at 50% 0%, rgba(46,204,113,0.13), rgba(21,28,46,0.4) 60%); box-shadow: inset 0 0 0 1px rgba(46,204,113,0.18); }
.money-good .money-figure { color: #4be08a; text-shadow: 0 0 18px rgba(46,204,113,0.3); }

/* Token particles: small dots that travel across the stream track. transform
   (translateX) + opacity only. "Bad" side accelerates toward a meter icon on
   the right and vanishes (consumed); "good" side loops calmly left-to-right
   and back, never consumed. Spawned/removed by JS, capped in count. */
.money-token { position: absolute; top: 50%; width: 7px; height: 7px; border-radius: 50%; margin-top: -3.5px; will-change: transform, opacity; }
.money-bad .money-token { background: #ff8a76; box-shadow: 0 0 6px 1px rgba(255,122,104,0.6); animation: token-drain linear forwards; }
.money-good .money-token { background: #5be89a; box-shadow: 0 0 6px 1px rgba(91,232,154,0.55); animation: token-flow linear infinite; }
@keyframes token-drain { 0% { left: -2%; opacity: 0; transform: scale(0.6); } 12% { opacity: 1; transform: scale(1); } 88% { opacity: 1; } 100% { left: 96%; opacity: 0; transform: scale(0.3); } }
@keyframes token-flow { 0% { left: -2%; opacity: 0; } 15% { opacity: 0.9; } 50% { opacity: 0.9; } 85% { opacity: 0.9; } 100% { left: 100%; opacity: 0; } }

.money-meter { position: absolute; right: 2%; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 50%; background: radial-gradient(circle, rgba(231,76,60,0.5), transparent 70%); }
.money-plug { position: absolute; right: 4%; top: 50%; transform: translateY(-50%); font-size: 20px; opacity: 0.7; }

@media (max-width: 860px) { .money-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .money-token { animation: none; opacity: 0; } }

/* ---- v6: scroll-reveal (4.2) ---------------------------------------------- */

/* Default state: fully visible. .reveal only takes effect once JS marks an
   element .reveal-armed (about to animate) -- so no-JS / JS-failure always
   shows real content, never a stuck-invisible section. */
.reveal-armed { opacity: 0; transform: translateY(28px); }
.reveal-in { opacity: 1; transform: translateY(0); transition: opacity 0.6s cubic-bezier(.22,1,.36,1), transform 0.6s cubic-bezier(.22,1,.36,1); }

@media (prefers-reduced-motion: reduce) {
  .reveal-armed { opacity: 1; transform: none; }
}

/* ---- v7: tactile cards, momentum, micro-interactions (4.4-4.6) ----------- */

/* Scroll-progress bar */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0%; background: var(--grad); z-index: 30; transition: width 0.1s linear; }

/* Tactile cards: lift + cursor-tilt + accent border trace, transform/opacity
   only, spring-ish easing. Card must have position:relative for the ::after
   border-trace glow to place correctly. */
.card, .step-big, .stats-simple > div, details.faq, .panel-mock {
  position: relative;
  overflow: hidden;
  transition: transform 0.2s cubic-bezier(.22,1,.36,1), box-shadow 0.2s cubic-bezier(.22,1,.36,1), border-color 0.2s ease;
  transform: perspective(800px) rotateX(0deg) rotateY(0deg) translateZ(0);
}
.card:hover, .step-big:hover, .stats-simple > div:hover, details.faq:hover, .panel-mock:hover {
  box-shadow: 0 20px 48px rgba(0,0,0,0.35);
  border-color: rgba(131,144,254,0.4);
}
/* Sheen sweep: a diagonal band of light crosses the face on hover, like
   light moving on car paint. transform-only (translateX), GPU-cheap. */
.card::before, .step-big::before, .stats-simple > div::before, details.faq::before, .panel-mock::before {
  content: ""; position: absolute; inset: -20% -60%; z-index: 2; pointer-events: none;
  background: linear-gradient(115deg, transparent 44%, rgba(255,255,255,0.14) 50%, transparent 56%);
  transform: translateX(-70%);
  transition: transform 0.85s cubic-bezier(.22,1,.36,1);
}
.card:hover::before, .step-big:hover::before, .stats-simple > div:hover::before, details.faq:hover::before, .panel-mock:hover::before {
  transform: translateX(70%);
}
/* Border trace: a gradient ring fades in on hover -- the Maybach stitching. */
.card::after, .step-big::after, .stats-simple > div::after, details.faq::after, .panel-mock::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; border-radius: inherit;
  padding: 1px;
  background: linear-gradient(120deg, rgba(131,144,254,0.85), rgba(197,139,208,0.7), rgba(255,160,101,0.85));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.card:hover::after, .step-big:hover::after, .stats-simple > div:hover::after, details.faq:hover::after, .panel-mock:hover::after {
  opacity: 1;
}

/* Buttons: press in, spring back, and a tiny ripple on click */
.btn { position: relative; overflow: hidden; transition: transform .15s cubic-bezier(.34,1.56,.64,1), background .15s ease, border-color .15s ease, box-shadow .15s ease; }
.btn:active { transform: translateY(0) scale(0.96); }
.btn-ripple { position: absolute; width: 10px; height: 10px; margin-left: -5px; margin-top: -5px; border-radius: 50%; background: rgba(255,255,255,0.55); pointer-events: none; transform: scale(0); opacity: 0.6; animation: btn-ripple-out 550ms ease-out forwards; }
.btn-grad .btn-ripple, .btn-primary .btn-ripple { background: rgba(13,18,32,0.35); }
@keyframes btn-ripple-out { to { transform: scale(11); opacity: 0; } }

/* Nav: compacts + glass-blurs on scroll (JS toggles .nav-compact) */
.nav { transition: height 0.25s cubic-bezier(.22,1,.36,1), background 0.25s ease, box-shadow 0.25s ease; }
.nav.nav-compact { box-shadow: 0 8px 30px rgba(0,0,0,0.35); background: rgba(13,18,32,0.92); }
.nav.nav-compact .wrap { height: 60px; }
.nav.nav-compact .logo img { height: 28px; }

/* Active-section indicator: a small traveling underline, not a hard swap */
.nav-links { position: relative; }
.nav-links a { position: relative; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--grad); transform: scaleX(0); transform-origin: left center; transition: transform 0.3s cubic-bezier(.22,1,.36,1); }
.nav-links a.active::after { transform: scaleX(1); }

/* Scroll-progress bar: a moving gradient, not a flat fill */
.scroll-progress { background: linear-gradient(90deg, var(--blue), #c58bd0, var(--orange), var(--blue)); background-size: 300% 100%; animation: scroll-grad-shift 6s linear infinite; }
@keyframes scroll-grad-shift { to { background-position: 300% 0; } }

/* Custom cursor glow-dot: desktop only, JS-injected, lags slightly and
   grows over interactive elements. Inert (no element created) without JS
   or on touch/reduced-motion. */
.cursor-dot { position: fixed; top: 0; left: 0; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: radial-gradient(circle, rgba(197,213,255,0.55), transparent 70%); pointer-events: none; z-index: 999; opacity: 0; transition: opacity 0.25s ease, width 0.25s cubic-bezier(.22,1,.36,1), height 0.25s cubic-bezier(.22,1,.36,1), margin 0.25s cubic-bezier(.22,1,.36,1); will-change: transform; }
.cursor-dot.active { opacity: 1; }
.cursor-dot.grown { width: 34px; height: 34px; margin: -17px 0 0 -17px; background: radial-gradient(circle, rgba(197,213,255,0.28), transparent 70%); }

/* Cursor-follow glow on the hero, desktop pointer-fine only (JS sets the
   custom properties; the layer itself is inert without JS) */
.hero-glow { position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0; transition: opacity 0.4s ease; background: radial-gradient(360px circle at var(--gx, 50%) var(--gy, 50%), rgba(131,144,254,0.16), transparent 60%); }
.hero-glow.active { opacity: 1; }

/* FAQ: smooth open/close instead of an instant details toggle, "+" rotates
   to "x". JS drives the height animation (native <details> can't transition
   height); CSS just handles the icon rotation + resting states. */
details.faq summary::after { transition: transform 0.25s cubic-bezier(.22,1,.36,1); }
details.faq[open] summary::after { transform: rotate(135deg); }
details.faq .faq-body { overflow: hidden; height: 0; }
details.faq[open] .faq-body { height: auto; }

/* Section background hue drift down the page -- subtle, large, cheap
   (single gradient-position shift per section, not per-pixel work) */
section.block { position: relative; }
section.block.alt { background: linear-gradient(180deg, rgba(131,144,254,0.03), rgba(255,160,101,0.02)); }

@media (max-width: 720px) {
  .card, .step-big, .stats-simple > div, details.faq, .panel-mock { transform: none !important; }
}
@media (hover: none) {
  .card:hover, .step-big:hover, .stats-simple > div:hover, details.faq:hover, .panel-mock:hover { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .scroll-progress { transition: none; animation: none; background-position: 0 0; }
  .nav-links a::after { transition: none; }
  .cursor-dot { display: none; }
  .card, .step-big, .stats-simple > div, details.faq, .panel-mock { transition: none; transform: none !important; }
  .card::before, .step-big::before, .stats-simple > div::before, details.faq::before, .panel-mock::before { display: none; }
  .card::after, .step-big::after, .stats-simple > div::after, details.faq::after, .panel-mock::after { transition: none; }
  .btn { transition: background .1s ease; }
  .btn:active { transform: none; }
  .hero-glow { display: none; }
}

/* ---- v8 (REVAMP-02): the starfield -- signature site-wide ambient layer -- */

/* Fixed full-viewport, behind everything, one draw loop drawn by JS. If
   canvas/JS never runs, this element is simply an empty transparent
   rectangle and body's own solid --canvas color (unchanged) is exactly
   what every earlier chunk already renders against -- so absence of the
   starfield is a silent, harmless no-op, never a broken/blank page. */
#starfield { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -2; pointer-events: none; }

/* Nebula glow: pure CSS (cheap, GPU-composited background-position drift),
   sits between html's solid fallback and the canvas so the canvas's stars
   render over it. Two large soft gradients, very slow drift. */
.nebula { position: fixed; inset: -10% -10%; z-index: -3; pointer-events: none; opacity: 0.7; }
.nebula::before, .nebula::after {
  content: ""; position: absolute; inset: 0;
  background-repeat: no-repeat;
  will-change: transform;
  animation: nebula-drift 90s ease-in-out infinite alternate;
}
.nebula::before { background: radial-gradient(48% 38% at 22% 28%, rgba(131,144,254,0.16), transparent 70%); }
.nebula::after { background: radial-gradient(42% 34% at 78% 68%, rgba(255,160,101,0.13), transparent 70%); animation-duration: 110s; animation-direction: alternate-reverse; }
@keyframes nebula-drift { from { transform: translate3d(0,0,0) scale(1); } to { transform: translate3d(2%, -3%, 0) scale(1.06); } }
@media (prefers-reduced-motion: reduce) { .nebula::before, .nebula::after { animation: none; } }

/* Every section that used to paint its own opaque/near-opaque background
   now needs to let the fixed starfield show through behind it. .card and
   other genuinely solid surfaces (panels, form fields) are deliberately
   NOT touched here -- those stay fully opaque, by design, same as any
   physical card sitting above a starlit headliner. */
body { background: transparent; }
html { background: var(--canvas); } /* true fallback layer, below the fixed canvas */
section.block.alt { background: linear-gradient(180deg, rgba(131,144,254,0.05), rgba(255,160,101,0.03)); border-top-color: var(--line); border-bottom-color: var(--line); }
.nav:not(.nav-compact) { background: rgba(13,18,32,0.55); }
.nav.nav-compact { background: rgba(13,18,32,0.82); }
footer { background: transparent; }
