/* ============================================================
   FIRSTCALL // TACTICAL TELEMETRY
   Industrial-brutalist control-room system.
   Archivo (expanded) x Space Mono. Off-black + phosphor + hazard red.
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  /* Dark = Tactical Telemetry */
  --bg: #0A0A0A;
  --bg-2: #0E0E0E;
  --panel: #0B0B0B;
  --line: #262626;
  --line-2: #3A3A3A;
  --ink: #EAEAEA;
  --ink-dim: #8B8B8B;
  --ink-faint: #5A5A5A;
  --accent: #FF2E2E;          /* hazard red — the only accent */
  --accent-ink: #0A0A0A;
  --green: #45E06A;           /* terminal green — LIVE indicator ONLY */
  --ghost: rgba(234, 234, 234, 0.035);
  --scan: rgba(0, 0, 0, 0.5);
  --scan-op: 0.5;

  --font-display: "Archivo", system-ui, sans-serif;
  --font-body: "Archivo", system-ui, sans-serif;
  --font-mono: "Space Mono", ui-monospace, monospace;

  --container: 1320px;
  --container-narrow: 820px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --stat-h: 56px;
}

[data-theme="light"] {
  /* Light = Swiss Industrial Print */
  --bg: #F2F0EA;
  --bg-2: #E9E6DD;
  --panel: #F6F4EE;
  --line: #1B1B1B;
  --line-2: #1B1B1B;
  --ink: #111111;
  --ink-dim: #565248;
  --ink-faint: #8C887C;
  --accent: #D81E1E;
  --accent-ink: #F2F0EA;
  --green: #14782E;
  --ghost: rgba(17, 17, 17, 0.05);
  --scan-op: 0;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 120px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background 0.4s var(--ease), color 0.4s var(--ease);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
em { font-style: normal; color: var(--accent); }
strong { color: var(--ink); font-weight: 700; }
sup { font-size: 0.5em; vertical-align: super; color: var(--accent); }
::selection { background: var(--accent); color: var(--accent-ink); }

.skip-link {
  position: fixed; left: 12px; top: -60px; z-index: 300;
  background: var(--accent); color: var(--accent-ink); padding: 10px 16px;
  font-family: var(--font-mono); font-weight: 700; text-transform: uppercase; font-size: 0.8rem;
  transition: top 0.3s var(--ease);
}
.skip-link:focus { top: 12px; }

/* ---------- Atmosphere ---------- */
.grain {
  position: fixed; inset: 0; z-index: 200; pointer-events: none; opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}
.scanlines {
  position: fixed; inset: 0; z-index: 199; pointer-events: none; opacity: var(--scan-op);
  background: repeating-linear-gradient(0deg, transparent 0, transparent 2px, var(--scan) 3px, var(--scan) 3px);
  background-size: 100% 4px; mix-blend-mode: multiply;
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(18px, 4vw, 40px); position: relative; z-index: 2; }
.container-narrow { max-width: var(--container-narrow); }
.section { padding-block: clamp(72px, 10vw, 150px); position: relative; }
.section-alt { background: var(--bg-2); border-block: 1px solid var(--line); }

.ghost-num {
  position: absolute; top: clamp(20px, 4vw, 48px); right: clamp(8px, 3vw, 40px);
  font-family: var(--font-display); font-weight: 900; font-stretch: 125%;
  font-size: clamp(7rem, 22vw, 20rem); line-height: 0.7; color: var(--ghost);
  z-index: 0; pointer-events: none; user-select: none; letter-spacing: -0.04em;
}

/* ---------- Telemetry labels ---------- */
.coord, .trust-label, .footer-label, .cta-microcopy, .hero-audience, .steps-note, .console-bar, .console-foot-text, .sb-item, .nav-links a, .menu-idx, .menu-foot, .model-tag, .founding-badge, .econ-head, .econ-badge {
  font-family: var(--font-mono);
}
.coord {
  display: inline-block; font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 22px;
}

/* ---------- Headlines ---------- */
h1, h2, h3 { font-family: var(--font-display); font-weight: 900; font-stretch: 125%; text-transform: uppercase; line-height: 0.95; letter-spacing: -0.025em; color: var(--ink); }
.section-head { max-width: 980px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head h2, .split-head h2 { font-size: clamp(1.9rem, 4.6vw, 3.6rem); }

/* ---------- Status bar ---------- */
.statusbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 101;
  background: var(--bg); border-bottom: 1px solid var(--line);
}
.statusbar-row { display: flex; gap: 0; align-items: stretch; max-width: 100%; height: 30px; }
.sb-item {
  display: flex; align-items: center; gap: 7px; padding: 0 16px;
  font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-dim);
  border-right: 1px solid var(--line); white-space: nowrap;
}
.sb-item:last-child { border-right: none; }
.sb-grow { flex: 1; }
.sb-ok { color: var(--ink); }
.dot-green { width: 7px; height: 7px; background: var(--green); flex: none; box-shadow: 0 0 6px var(--green); animation: blink 1.4s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0.25; } }

/* ---------- Nav ---------- */
.nav { position: fixed; top: 30px; left: 0; right: 0; z-index: 100; background: var(--bg); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; gap: 24px; height: 60px; padding-inline: clamp(18px, 4vw, 40px); max-width: 100%; }
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-mark { width: 20px; height: 20px; border: 2px solid var(--accent); position: relative; flex: none; }
.brand-mark::after { content: ""; position: absolute; inset: 4px; background: var(--green); }
.brand-name { font-family: var(--font-display); font-weight: 900; font-stretch: 110%; font-size: 1.1rem; letter-spacing: -0.01em; text-transform: uppercase; }
.nav-links { display: flex; gap: 4px; margin-left: 14px; }
.nav-links a { font-size: 0.72rem; letter-spacing: 0.08em; color: var(--ink-dim); padding: 8px 12px; transition: color 0.2s var(--ease), background 0.2s var(--ease); }
.nav-links a:hover { color: var(--ink); background: var(--panel); }
.nav-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }

.theme-toggle { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.08em; background: transparent; border: 1px solid var(--line); color: var(--ink-dim); padding: 9px 11px; cursor: pointer; transition: color 0.2s var(--ease), border-color 0.2s var(--ease); }
.theme-toggle:hover { color: var(--ink); border-color: var(--line-2); }
.theme-toggle .tt-light { display: none; }
[data-theme="light"] .theme-toggle .tt-light { display: inline; }
[data-theme="light"] .theme-toggle .tt-dark { display: none; }

.menu-btn { display: none; width: 38px; height: 38px; border: 1px solid var(--line); background: transparent; cursor: pointer; }
.menu-btn span { display: block; width: 16px; height: 2px; background: var(--ink); margin: 3px auto; transition: transform 0.35s var(--ease), opacity 0.2s; }
body.menu-open .menu-btn span:first-child { transform: translateY(2.5px) rotate(45deg); }
body.menu-open .menu-btn span:last-child { transform: translateY(-2.5px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-mono); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 11px 18px; border: 1px solid var(--ink); background: transparent; color: var(--ink);
  cursor: pointer; transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.1s var(--ease);
  position: relative;
}
.btn:active { transform: translateY(1px); }
.btn-lg { padding: 15px 24px; font-size: 0.82rem; }
.btn-primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); font-weight: 700; }
.btn-primary:hover { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* ---------- Talk-to-AI floating button (Vapi) ---------- */
.talk-btn {
  position: fixed; bottom: 24px; right: 24px; z-index: 9999;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 18px;
  font-family: var(--font-mono); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase;
  background: var(--accent); color: var(--accent-ink);
  border: 1px solid var(--accent);
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.12s var(--ease), box-shadow 0.2s var(--ease);
}
.talk-btn:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); transform: translateY(-2px); box-shadow: 0 16px 38px rgba(0, 0, 0, 0.55); }
.talk-btn:active { transform: translateY(0); }
.talk-btn:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.talk-btn[disabled] { opacity: 0.6; cursor: progress; }
.talk-btn__icon { display: inline-flex; width: 18px; height: 18px; flex: none; }
.talk-btn__icon svg { width: 100%; height: 100%; display: block; }
.talk-btn__label { line-height: 1; }
.talk-btn__live { width: 8px; height: 8px; border-radius: 50%; background: var(--green); display: none; flex: none; }

/* In-call (LIVE) state — green is the brand's reserved "live" colour */
.talk-btn.is-live { background: var(--bg); color: var(--green); border-color: var(--green); box-shadow: 0 0 0 1px var(--green), 0 10px 30px rgba(0, 0, 0, 0.45); }
.talk-btn.is-live:hover { background: var(--green); color: var(--accent-ink); border-color: var(--green); }
.talk-btn.is-live .talk-btn__live { display: inline-block; animation: talk-pulse 1.2s ease-in-out infinite; }

@keyframes talk-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.2; } }
@media (prefers-reduced-motion: reduce) { .talk-btn { transition: none; } .talk-btn.is-live .talk-btn__live { animation: none; } }
@media (max-width: 540px) { .talk-btn { bottom: 16px; right: 16px; padding: 12px 15px; font-size: 0.74rem; } }

/* ---------- Mobile menu ---------- */
.menu-overlay { position: fixed; inset: 0; z-index: 99; display: flex; flex-direction: column; justify-content: center; padding: 40px clamp(24px, 7vw, 56px); background: var(--bg); border-top: 1px solid var(--line); }
.menu-overlay[hidden] { display: none; }
.menu-overlay-nav { display: flex; flex-direction: column; }
.menu-overlay-nav a { font-family: var(--font-display); font-weight: 900; font-stretch: 110%; text-transform: uppercase; font-size: clamp(1.8rem, 9vw, 2.6rem); color: var(--ink); display: flex; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); opacity: 0; transform: translateY(18px); }
body.menu-open .menu-overlay-nav a { animation: menuIn 0.5s var(--ease) forwards; }
body.menu-open .menu-overlay-nav a:nth-child(1) { animation-delay: 0.05s; }
body.menu-open .menu-overlay-nav a:nth-child(2) { animation-delay: 0.1s; }
body.menu-open .menu-overlay-nav a:nth-child(3) { animation-delay: 0.15s; }
body.menu-open .menu-overlay-nav a:nth-child(4) { animation-delay: 0.2s; }
body.menu-open .menu-overlay-nav a:nth-child(5) { animation-delay: 0.25s; }
@keyframes menuIn { to { opacity: 1; transform: none; } }
.menu-idx { font-family: var(--font-mono); font-size: 0.8rem; color: var(--accent); }
.menu-cta { font-family: var(--font-mono) !important; font-weight: 700; font-size: 0.9rem !important; border: 1px solid var(--accent) !important; justify-content: center; margin-top: 22px; padding: 16px !important; }
.menu-foot { font-size: 0.74rem; letter-spacing: 0.08em; color: var(--ink-dim); margin-top: 30px; display: flex; align-items: center; gap: 9px; }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(120px, 15vw, 168px); padding-bottom: clamp(48px, 7vw, 88px); position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(28px, 4vw, 60px); align-items: center; }
.hero-copy { position: relative; z-index: 2; }
.clip { overflow: hidden; }
.hero-title { font-size: clamp(1.85rem, 7.6vw, 5.4rem); font-weight: 900; font-stretch: 125%; line-height: 0.92; letter-spacing: -0.03em; overflow-wrap: break-word; }
.title-accent { color: var(--accent); }
.hero-sub { font-family: var(--font-body); font-size: clamp(1.02rem, 1.5vw, 1.2rem); text-transform: none; max-width: 54ch; margin-top: 26px; color: var(--ink-dim); line-height: 1.6; }
.hero-sub em { color: var(--ink); font-weight: 600; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-cta.center { justify-content: center; }
.cta-microcopy { font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-faint); margin-top: 18px; }
.hero-audience { font-size: 0.72rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--accent); margin-top: 10px; }

/* ---------- Console (live-call terminal) ---------- */
.console { border: 1px solid var(--line-2); background: var(--panel); position: relative; z-index: 2; }
.console::before, .console::after { content: "+"; position: absolute; font-family: var(--font-mono); font-size: 14px; color: var(--accent); line-height: 1; }
.console::before { top: -7px; left: -7px; }
.console::after { bottom: -7px; right: -7px; }
.console-bar { display: flex; align-items: center; gap: 12px; padding: 11px 16px; border-bottom: 1px solid var(--line); font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-dim); }
.console-status { display: inline-flex; align-items: center; gap: 7px; color: var(--green); }
.console-time { margin-left: auto; color: var(--ink); }
.console-body { padding: 18px 16px 8px; display: flex; flex-direction: column; gap: 12px; min-height: 280px; }
.c-line, .c-bubble { opacity: 0; transform: translateY(8px); transition: opacity 0.4s var(--ease), transform 0.4s var(--ease); }
.c-line.on, .c-bubble.on { opacity: 1; transform: none; }
.c-meta { font-family: var(--font-mono); font-size: 0.72rem; color: var(--ink-faint); letter-spacing: 0.04em; }
.c-bubble { max-width: 88%; padding: 11px 14px; border: 1px solid var(--line); font-size: 0.92rem; line-height: 1.4; }
.c-caller { align-self: flex-start; background: var(--bg); color: var(--ink); }
.c-ai { align-self: flex-end; background: var(--bg); border-color: var(--accent); color: var(--ink); }
.c-tick { font-family: var(--font-mono); font-size: 0.74rem; color: var(--ink-dim); letter-spacing: 0.04em; display: flex; align-items: center; gap: 9px; }
.c-tick .tick { color: var(--green); font-weight: 700; }
.console-foot { display: flex; align-items: center; gap: 11px; padding: 11px 16px; border-top: 1px solid var(--line); }
.console-foot-text { font-size: 0.66rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-faint); }
.eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 14px; }
.eq i { width: 2px; height: 30%; background: var(--green); animation: eq 1s var(--ease) infinite; }
.eq i:nth-child(2){animation-delay:.1s}.eq i:nth-child(3){animation-delay:.2s}.eq i:nth-child(4){animation-delay:.3s}.eq i:nth-child(5){animation-delay:.45s}.eq i:nth-child(6){animation-delay:.25s}.eq i:nth-child(7){animation-delay:.15s}
@keyframes eq { 0%,100%{height:20%} 50%{height:100%} }
.c-summary { font-family: var(--font-mono); font-size: 0.72rem; color: var(--green); min-height: 1.2em; letter-spacing: 0.04em; }
.c-cursor::after { content: "_"; animation: blink 1.05s steps(1) infinite; }

/* ---------- Trust strip / marquee ---------- */
.trust-strip { margin-top: clamp(48px, 6vw, 80px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; align-items: stretch; overflow: hidden; max-width: 100%; }
.trust-label { font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-faint); padding: 16px clamp(14px, 2vw, 22px); border-right: 1px solid var(--line); white-space: nowrap; display: flex; align-items: center; }
.marquee { overflow: hidden; flex: 1; min-width: 0; display: flex; align-items: center; }
.marquee-track { display: flex; gap: 22px; width: max-content; list-style: none; animation: marquee 30s linear infinite; padding-left: 22px; }
.marquee-track li { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-dim); }
.marquee-track li:nth-child(even) { color: var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Problem (split head) ---------- */
.split-head { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.split-head-left { position: sticky; top: 130px; }
.prob-grid { list-style: none; border-top: 1px solid var(--line); }
.prob-row { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: start; padding: 28px 0; border-bottom: 1px solid var(--line); }
.prob-num { font-family: var(--font-mono); font-weight: 700; font-size: 0.82rem; color: var(--accent); width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid var(--line-2); }
.prob-row p { font-size: clamp(1.04rem, 1.6vw, 1.26rem); color: var(--ink); }
.prob-row em { color: var(--accent); }

/* ---------- Grid-rule (1px dividers) ---------- */
.grid-rule { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.cell { background: var(--bg); padding: clamp(24px, 3vw, 36px); position: relative; transition: background 0.25s var(--ease); }
.section-alt .cell { background: var(--bg-2); }
.cell::before { content: ""; position: absolute; top: 0; left: 0; width: 12px; height: 12px; border-top: 2px solid var(--accent); border-left: 2px solid var(--accent); opacity: 0; transition: opacity 0.25s var(--ease); }
.cell:hover::before { opacity: 1; }
.cell:hover { background: var(--panel); }
[data-theme="light"] .cell:hover { background: #FFFFFF; }

/* ---------- Model ---------- */
.model-grid { grid-template-columns: 1fr 1fr; }
.model-card-we { background: var(--bg) !important; }
.model-tag { display: inline-block; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-dim); margin-bottom: 24px; }
.model-tag-we { color: var(--accent); }
.ticklist { list-style: none; display: grid; gap: 13px; }
.ticklist li { position: relative; padding-left: 26px; font-size: 1.04rem; color: var(--ink-dim); }
.ticklist li::before { content: "›"; position: absolute; left: 0; top: 0; color: var(--ink-faint); font-family: var(--font-mono); }
.ticklist-we li { color: var(--ink); }
.ticklist-we li::before { content: "▸"; color: var(--accent); }
.big-caption, .demo-caption { font-family: var(--font-display); font-weight: 800; font-stretch: 110%; text-transform: uppercase; }
.big-caption { margin-top: 40px; font-size: clamp(1.2rem, 2.2vw, 1.8rem); color: var(--ink); letter-spacing: -0.01em; line-height: 1.1; }
.big-caption em { color: var(--accent); }

/* ---------- Steps ---------- */
.steps { grid-template-columns: repeat(4, 1fr); }
.step-num { font-family: var(--font-mono); font-weight: 700; font-size: 0.86rem; color: var(--accent); }
.step h3 { font-size: 1.06rem; font-weight: 900; font-stretch: 110%; margin: 18px 0 10px; line-height: 1.05; }
.step p { font-family: var(--font-body); text-transform: none; font-size: 0.95rem; color: var(--ink-dim); }
.steps-note { margin-top: 36px; font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-faint); line-height: 1.9; }

/* ---------- Demo ---------- */
.demo-block { border: 1px solid var(--line-2); background: var(--panel); padding: clamp(40px, 6vw, 80px) clamp(20px, 4vw, 56px); text-align: center; position: relative; }
.demo-block::before, .demo-block::after { content: "+"; position: absolute; font-family: var(--font-mono); color: var(--accent); font-size: 16px; }
.demo-block::before { top: -8px; left: -8px; }
.demo-block::after { bottom: -8px; right: -8px; }
.demo-title { font-size: clamp(1.7rem, 3.6vw, 2.8rem); margin: 16px 0 26px; }
.demo-number { display: inline-flex; align-items: center; gap: 16px; font-family: var(--font-mono); font-weight: 700; font-size: clamp(1.8rem, 6vw, 3.4rem); color: var(--ink); letter-spacing: -0.02em; transition: color 0.2s var(--ease); }
.demo-number:hover { color: var(--accent); }
.demo-eq { display: inline-flex; align-items: flex-end; gap: 3px; height: 26px; margin: 24px 0 6px; }
.demo-eq i { width: 3px; height: 25%; background: var(--green); animation: eq 1.1s var(--ease) infinite; }
.demo-eq i:nth-child(3n){background:var(--accent)}
.demo-eq i:nth-child(1){animation-delay:0s}.demo-eq i:nth-child(2){animation-delay:.07s}.demo-eq i:nth-child(3){animation-delay:.14s}.demo-eq i:nth-child(4){animation-delay:.21s}.demo-eq i:nth-child(5){animation-delay:.28s}.demo-eq i:nth-child(6){animation-delay:.35s}.demo-eq i:nth-child(7){animation-delay:.42s}.demo-eq i:nth-child(8){animation-delay:.3s}.demo-eq i:nth-child(9){animation-delay:.22s}.demo-eq i:nth-child(10){animation-delay:.14s}.demo-eq i:nth-child(11){animation-delay:.2s}.demo-eq i:nth-child(12){animation-delay:.28s}.demo-eq i:nth-child(13){animation-delay:.36s}.demo-eq i:nth-child(14){animation-delay:.26s}.demo-eq i:nth-child(15){animation-delay:.18s}.demo-eq i:nth-child(16){animation-delay:.1s}.demo-eq i:nth-child(17){animation-delay:.16s}.demo-eq i:nth-child(18){animation-delay:.24s}.demo-eq i:nth-child(19){animation-delay:.16s}.demo-eq i:nth-child(20){animation-delay:.08s}
.demo-caption { font-size: clamp(0.92rem, 1.4vw, 1.05rem); color: var(--ink-dim); max-width: 50ch; margin: 14px auto 0; letter-spacing: 0; }

/* ---------- Bento ---------- */
.bento { grid-template-columns: repeat(4, 1fr); grid-auto-flow: row dense; }
.bento-lead { grid-column: 1 / 3; grid-row: 1 / 3; display: flex; flex-direction: column; justify-content: flex-end; }
.bento-wide { grid-column: 3 / 5; }
.bento-cell { display: flex; flex-direction: column; gap: 12px; }
.bento-stat { font-family: var(--font-display); font-weight: 900; font-stretch: 125%; font-size: clamp(2rem, 3.4vw, 3rem); line-height: 0.9; color: var(--ink); letter-spacing: -0.02em; }
.bento-stat.accent { color: var(--accent); }
.bento-lead .bento-stat { font-size: clamp(3.4rem, 7vw, 6rem); color: var(--accent); }
.bento-cell h3 { font-size: 1.04rem; font-weight: 900; font-stretch: 110%; line-height: 1.05; }
.bento-cell p { font-family: var(--font-body); text-transform: none; font-size: 0.96rem; color: var(--ink-dim); }

/* ---------- Economics ---------- */
.econ { border: 1px solid var(--line-2); background: var(--panel); font-variant-numeric: tabular-nums; }
.econ-row { display: grid; grid-template-columns: 1.1fr 1fr 1fr 1.3fr; align-items: center; }
.econ-row > span { padding: 20px 22px; font-family: var(--font-mono); font-size: 1rem; color: var(--ink-dim); }
.econ-row + .econ-row { border-top: 1px solid var(--line); }
.econ-head > span { font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-faint); padding-block: 15px; }
.econ-head { border-bottom: 1px solid var(--line-2); }
.econ-row span small { font-size: 0.6em; color: var(--ink-faint); }
.col-keep { color: var(--accent) !important; }
.econ-head .col-keep { color: var(--accent) !important; opacity: 0.7; }
.econ-badge { font-size: 0.56rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); border: 1px solid var(--accent); padding: 3px 7px; margin-left: 8px; white-space: nowrap; }
.econ-row-featured { background: rgba(255, 46, 46, 0.05); box-shadow: inset 3px 0 0 var(--accent); }
[data-theme="light"] .econ-row-featured { background: rgba(216, 30, 30, 0.06); }
.econ-total { display: flex; align-items: center; gap: 12px; color: var(--ink) !important; font-weight: 700; }
.econ-total .num { font-weight: 700; }
.econ-total .bar { display: inline-block; height: 6px; width: var(--w); max-width: 90px; background: var(--ink-faint); }
.econ-total-hi { color: var(--accent) !important; }
.econ-total .bar-hi { background: var(--accent); }

/* ---------- Why ---------- */
.why-grid { grid-template-columns: repeat(2, 1fr); }
.why-num { font-family: var(--font-mono); font-size: 0.78rem; color: var(--accent); }
.why-cell h3 { font-size: 1.18rem; font-weight: 900; font-stretch: 110%; margin: 14px 0 10px; line-height: 1.05; }
.why-cell p { font-family: var(--font-body); text-transform: none; font-size: 0.98rem; color: var(--ink-dim); }

/* ---------- Proof ---------- */
.proof-grid { grid-template-columns: 1.4fr 1fr 1fr; }
.proof-cell { display: flex; flex-direction: column; gap: 18px; }
.founding-badge { align-self: flex-start; font-size: 0.6rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); border: 1px solid var(--accent); padding: 4px 9px; }
.proof-cell blockquote { font-family: var(--font-display); font-weight: 800; font-stretch: 100%; text-transform: none; font-size: 1.08rem; line-height: 1.3; color: var(--ink); letter-spacing: -0.01em; }
.proof-feature blockquote { font-size: clamp(1.2rem, 2vw, 1.65rem); }
.proof-cell figcaption { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-faint); margin-top: auto; }
.quote-name { color: var(--ink-dim); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; padding: 24px 2px; display: flex; align-items: center; justify-content: space-between; gap: 18px; font-family: var(--font-display); font-weight: 900; font-stretch: 110%; text-transform: uppercase; font-size: clamp(1.02rem, 1.8vw, 1.4rem); color: var(--ink); transition: color 0.2s var(--ease); line-height: 1.1; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent); }
.faq-icon { position: relative; flex: none; width: 16px; height: 16px; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; background: var(--accent); transition: transform 0.3s var(--ease); }
.faq-icon::before { left: 0; top: 7px; width: 16px; height: 2px; }
.faq-icon::after { left: 7px; top: 0; width: 2px; height: 16px; }
.faq-item[open] .faq-icon::after { transform: scaleY(0); }
.faq-item p { font-family: var(--font-body); text-transform: none; padding: 0 36px 26px 2px; color: var(--ink-dim); font-size: 1.02rem; max-width: 70ch; }

/* ---------- Final CTA ---------- */
.final-cta { text-align: center; padding-block: 0; }
.final-cta .container { padding-block: clamp(64px, 9vw, 130px); }
.warning-stripe { height: 16px; background: repeating-linear-gradient(45deg, var(--accent) 0, var(--accent) 14px, var(--bg) 14px, var(--bg) 28px); }
.final-title { font-size: clamp(1.9rem, 5vw, 3.6rem); margin: 16px auto 30px; max-width: 22ch; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-2); position: relative; z-index: 2; }
.footer-grid { display: grid; grid-template-columns: 1.8fr 1fr 1.4fr; gap: 36px; padding-block: 56px 40px; }
.footer-brand .brand-name { font-size: 1.4rem; }
.footer-tag { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-faint); margin-top: 14px; max-width: 38ch; line-height: 1.7; }
.barcode { display: block; height: 34px; width: 180px; margin-top: 22px; background: repeating-linear-gradient(90deg, var(--ink) 0, var(--ink) 2px, transparent 2px, transparent 4px, var(--ink) 4px, var(--ink) 7px, transparent 7px, transparent 9px, var(--ink) 9px, var(--ink) 10px, transparent 10px, transparent 13px); opacity: 0.5; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-label { font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 4px; }
.footer-col a { font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.03em; text-transform: uppercase; color: var(--ink-dim); transition: color 0.2s var(--ease); width: fit-content; }
.footer-col a:hover { color: var(--accent); }
.footer-data { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-faint); margin-top: 8px; line-height: 1.7; max-width: 40ch; }
.footer-bottom { display: flex; justify-content: space-between; gap: 14px; padding-block: 20px; border-top: 1px solid var(--line); font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-faint); flex-wrap: wrap; }
.footer-legal a:hover { color: var(--accent); }

/* ---------- Scroll progress ---------- */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; transform: scaleX(0); transform-origin: 0 50%; background: var(--accent); z-index: 102; }

/* ---------- Focus ---------- */
a:focus-visible, button:focus-visible, summary:focus-visible, .btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---------- Reveal + hero choreography ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.55s var(--ease), transform 0.55s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.hero-copy > * { opacity: 0; transform: translateY(12px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.hero-copy > *:nth-child(1) { transition-delay: 0.05s; }
.hero-copy > *:nth-child(2) { transition-delay: 0.12s; }
.hero-copy > *:nth-child(3) { transition-delay: 0.2s; }
.hero-copy > *:nth-child(4) { transition-delay: 0.28s; }
.hero-copy > *:nth-child(5) { transition-delay: 0.34s; }
.hero-copy > *:nth-child(6) { transition-delay: 0.4s; }
.hero-console { opacity: 0; transform: translateY(12px); transition: opacity 0.7s var(--ease) 0.35s, transform 0.7s var(--ease) 0.35s; }
.clip .hero-title { transform: translateY(104%); transition: transform 0.85s var(--ease) 0.15s; }
body.loaded .hero-copy > *, body.loaded .hero-console { opacity: 1; transform: none; }
body.loaded .clip .hero-title { transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .hero-copy > *, .hero-console, .clip .hero-title { opacity: 1 !important; transform: none !important; transition: none !important; }
  .dot-green, .eq i, .demo-eq i, .c-cursor::after, .scroll-progress, .marquee-track { animation: none !important; }
  .c-line, .c-bubble { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1040px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-console { max-width: 540px; }
  .split-head { grid-template-columns: 1fr; gap: 30px; }
  .split-head-left { position: static; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .proof-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-actions .btn-primary { display: none; }
  .menu-btn { display: block; }
  .sb-item:nth-child(3), .sb-item:nth-child(4) { display: none; }
  .model-grid, .why-grid { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr 1fr; }
  .bento-lead { grid-column: 1 / 3; grid-row: auto; }
  .bento-wide { grid-column: 1 / 3; }
  .trust-strip { flex-direction: column; }
  .trust-label { border-right: none; border-bottom: 1px solid var(--line); }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .hero-title { font-stretch: 108%; letter-spacing: -0.02em; }
  .steps, .bento { grid-template-columns: 1fr; }
  .bento-lead, .bento-wide { grid-column: auto; }
  .statusbar-row { height: auto; }
  .sb-item { padding: 0 10px; font-size: 0.6rem; }
  .sb-item:nth-child(5), .sb-item:nth-child(6) { display: none; }
  /* Economics -> stacked */
  .econ-head { display: none; }
  .econ-row { grid-template-columns: 1fr 1fr; }
  .econ-row > span::before { content: attr(data-label); display: block; font-size: 0.58rem; letter-spacing: 0.08em; color: var(--ink-faint); margin-bottom: 4px; }
  .econ-row > span:nth-child(4) { grid-column: 1 / -1; border-top: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .nav-inner { gap: 12px; }
}
@media (max-width: 440px) {
  .hero-cta .btn { width: 100%; }
}

/* ============================================================
   MOBILE HARDENING (responsive only — desktop unchanged)
   ============================================================ */
/* Remove 300ms tap delay; keep gestures clean */
a, button, summary, .btn, .theme-toggle, .menu-btn { touch-action: manipulation; }
/* Belt-and-suspenders: nothing may push the page sideways */
html { overflow-x: clip; }

@media (max-width: 860px) {
  /* Finger-sized tap targets (>=44px) */
  .menu-btn { width: 44px; height: 44px; }
  .theme-toggle { min-height: 44px; padding: 0 12px; display: inline-flex; align-items: center; }
  .nav-inner { height: 64px; gap: 10px; padding-inline: 16px; }
  .brand { padding-block: 9px; }
  .nav-actions { gap: 8px; }
  .footer-col a { display: inline-flex; align-items: center; min-height: 44px; }
  .footer-bottom a { display: inline-block; padding: 6px 2px; }
  /* Marquee strip must never widen the layout */
  .trust-strip { flex-direction: column; }
  .marquee { width: 100%; }
}

@media (max-width: 620px) {
  /* Tame the giant ghost numerals so they never crowd content */
  .ghost-num { font-size: clamp(5rem, 26vw, 9rem); top: 10px; right: 4px; }
  .trust-label { white-space: normal; line-height: 1.4; }
  .demo-number { font-size: clamp(1.45rem, 8.6vw, 2.4rem); gap: 11px; }
  .console-body { min-height: 0; }
  .c-bubble { max-width: 100%; }
  .menu-overlay-nav a { font-size: clamp(1.7rem, 8.5vw, 2.4rem); }
}

@media (max-width: 380px) {
  .hero-title { font-size: clamp(1.55rem, 8vw, 2rem); font-stretch: 105%; }
  .coord { font-size: 0.64rem; letter-spacing: 0.08em; }
  .btn-lg { padding: 14px 14px; font-size: 0.74rem; }
  .container { padding-inline: 14px; }
  .nav-inner { padding-inline: 13px; gap: 8px; }
  .cell { padding: 22px 18px; }
  .econ-row > span { padding: 14px 14px; }
  .sb-item { padding: 0 9px; font-size: 0.58rem; }
}

/* Landscape phones: trim the fixed chrome height pressure */
@media (max-height: 480px) and (orientation: landscape) {
  .hero { padding-top: 110px; }
  .console-body { min-height: 0; }
}
