/* =====================================================================
   Gonfire · landing
   Aesthetic lane: Klim Type Foundry meets industrial print.
   Color strategy: Committed (orange carries ~35% of every surface).
   Single family typeface (Bricolage Grotesque) with strong weight contrast.
   No gradient text. No glassmorphism by default. No side-stripe borders.
   No big-number-small-label stat template.
   ===================================================================== */

:root {
  /* Surface · warm earth, never #000 */
  --bg:           oklch(0.18 0.018 50);
  --bg-deep:      oklch(0.14 0.022 48);
  --bg-warm:      oklch(0.22 0.024 52);
  --surface:      oklch(0.24 0.028 52);
  --surface-hi:   oklch(0.28 0.030 54);
  --line:         oklch(0.32 0.025 55);
  --line-bold:    oklch(0.46 0.030 56);

  /* Ink · warm cream, never #fff */
  --ink:          oklch(0.96 0.012 80);
  --ink-soft:     oklch(0.74 0.024 68);
  --ink-mute:     oklch(0.55 0.022 60);
  --ink-dim:      oklch(0.42 0.020 56);

  /* Brand · committed saturated burnt orange */
  --fire:         oklch(0.68 0.190 48);
  --fire-deep:    oklch(0.58 0.210 38);
  --fire-low:     oklch(0.30 0.075 48);
  --fire-bright:  oklch(0.78 0.165 56);

  /* Inverted register: cream-on-orange section */
  --inv-bg:       oklch(0.68 0.190 48);
  --inv-bg-deep:  oklch(0.58 0.210 40);
  --inv-ink:      oklch(0.18 0.020 50);
  --inv-ink-soft: oklch(0.32 0.040 50);
  --inv-line:     oklch(0.30 0.085 48);

  /* Attribution semantics */
  --human:        oklch(0.78 0.14 155);
  --ai-gen:       oklch(0.74 0.17 52);
  --ai-mod:       oklch(0.84 0.15 88);

  /* Type */
  --font:  'Bricolage Grotesque', system-ui, sans-serif;
  --mono:  'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  /* Layout */
  --reading: 68ch;
  --gutter:  clamp(20px, 4vw, 56px);
  --max:     1240px;

  /* Spacing scale · use these, not arbitrary px */
  --gap-1: 6px;
  --gap-2: 12px;
  --gap-3: 18px;
  --gap-4: 24px;
  --gap-5: 36px;
  --gap-6: 56px;

  /* Motion · ease-out-expo */
  --ease:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-quart: cubic-bezier(0.25, 1, 0.5, 1);
}

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

html {
  background: var(--bg);
  color-scheme: dark;
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-variation-settings: 'wdth' 100;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img, svg { display: block; max-width: 100%; }
::selection { background: var(--fire); color: var(--bg); }

/* Focus · keyboard-only outline, never removed without replacement */
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--fire);
  outline-offset: 3px;
  border-radius: 1px;
}
section.inverted :focus-visible { outline-color: var(--inv-ink); }

/* ─── Typography · single family, strong weight contrast ────────────── */

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font);
  letter-spacing: -0.025em;
  line-height: 1.02;
  color: var(--ink);
}

h1 {
  font-weight: 800;
  font-size: clamp(2.6rem, 6.6vw, 5.6rem);
  letter-spacing: -0.04em;
  line-height: 0.96;
  font-variation-settings: 'opsz' 84, 'wdth' 100;
}
h2 {
  font-weight: 800;
  font-size: clamp(2.4rem, 6.5vw, 5.4rem);
  letter-spacing: -0.045em;
  line-height: 0.94;
  font-variation-settings: 'opsz' 84, 'wdth' 100;
}
h3 {
  font-weight: 600;
  font-size: clamp(1.2rem, 1.8vw, 1.4rem);
}
p { margin: 0; color: var(--ink-soft); line-height: 1.55; font-weight: 400; }

/* Display class · for 70px+ moments. Used sparingly. */
.display {
  font-weight: 800;
  font-size: clamp(4rem, 16vw, 14rem);
  line-height: 0.84;
  letter-spacing: -0.06em;
  font-variation-settings: 'opsz' 96, 'wdth' 100;
}

/* Italic display cut for emphasis · the substitute for gradient text */
em.lead, .lead em {
  font-style: italic;
  font-weight: 700;
  font-variation-settings: 'wdth' 95;
  color: var(--fire);
}

/* Eyebrow · used sparingly */
.eyebrow {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fire);
  font-feature-settings: 'tnum';
}
.eyebrow::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--fire);
  vertical-align: middle;
}

/* ─── Layout primitives ────────────────────────────────────────────── */

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Vary section rhythm. Not the same value everywhere. */
section { position: relative; padding: clamp(96px, 11vw, 168px) 0; }
section.tight    { padding: clamp(64px, 7vw, 112px) 0; }
section.loose    { padding: clamp(120px, 14vw, 220px) 0; }
section.deep     { background: var(--bg-deep); }
section.inverted {
  background: var(--inv-bg);
  color: var(--inv-ink);
}
section.inverted h2,
section.inverted h3,
section.inverted .eyebrow,
section.inverted p { color: var(--inv-ink); }
section.inverted .eyebrow::before { background: var(--inv-ink); }
section.inverted p { color: var(--inv-ink-soft); }

/* Section header · left-aligned by default, not centered everything */
.section-head {
  max-width: 56ch;
  margin-bottom: var(--gap-6);
}
.section-head h2 {
  margin-top: var(--gap-3);
}
.section-head p {
  margin-top: var(--gap-3);
  font-size: 1.125rem;
}
.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.deep-dive-copy h2 { margin-top: var(--gap-3); }

/* ─── Buttons · solid, no shimmer trick, weight does the work ──────── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: -0.005em;
  border-radius: 2px;
  border: 1px solid transparent;
  transition: background 0.18s var(--ease), border-color 0.18s, transform 0.2s var(--ease), color 0.18s;
}
.btn-primary {
  background: var(--fire);
  color: var(--bg);
  border-color: var(--fire);
}
.btn-primary:hover {
  background: var(--fire-bright);
  border-color: var(--fire-bright);
}
.btn-primary:active {
  background: var(--fire-deep);
  border-color: var(--fire-deep);
  transform: translateY(1px);
}
.btn-ghost {
  color: var(--ink);
  border-color: var(--line-bold);
  background: transparent;
}
.btn-ghost:hover {
  border-color: var(--ink);
  background: var(--surface);
}
.btn-ghost:active {
  background: var(--bg-warm);
  transform: translateY(1px);
}
.btn[disabled],
.btn[aria-disabled="true"] {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}
section.inverted .btn-ghost {
  color: var(--inv-ink);
  border-color: var(--inv-ink);
}
section.inverted .btn-ghost:hover {
  background: var(--inv-ink);
  color: var(--inv-bg);
}
.btn-arrow { transition: transform 0.25s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(4px); }

/* ─── Nav · solid, hairline border, no blur, no pill ───────────────── */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, background 0.2s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 18px 0;
}
.logo {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 0.88em; height: 1.16em;
  color: var(--fire);
  flex-shrink: 0;
  transform: translateY(0.16em);  /* optical: centers flame on cap-height */
}
.logo-mark svg { width: 100%; height: 100%; display: block; }
.nav-links {
  display: flex;
  gap: 28px;
  margin-left: 40px;
}
.nav-links a {
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.15s;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.active {
  color: var(--fire);
  border-bottom-color: var(--fire);
}
.nav-cta { margin-left: auto; }
@media (max-width: 800px) {
  .nav-links { display: none; }
  .nav-cta { margin-left: auto; }
}

/* ─── Hero · asymmetric, not a centered icon-title-subtitle stack ─── */

.hero {
  padding: clamp(110px, 13vw, 168px) 0 clamp(64px, 7vw, 96px);
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: end;
}
@media (max-width: 800px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--ink-soft);
  margin-bottom: 36px;
  letter-spacing: 0;
}
.hero-tag::before {
  content: '';
  display: inline-block;
  width: 10px; height: 10px;
  background: var(--fire);
  flex-shrink: 0;
}
.hero-tag .pill {
  padding: 2px 10px;
  background: var(--fire);
  color: var(--bg);
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.hero h1 {
  max-width: 18ch;
  margin-left: -0.04em; /* optical alignment, the heavy display sits flush left */
}
.hero h1 .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(40%) rotate(2deg);
  transition: opacity 0.7s var(--ease), transform 0.85s var(--ease);
}
body.is-loaded .hero h1 .word,
.hero h1.in .word { opacity: 1; transform: none; }
.hero h1 .word:nth-child(1) { transition-delay: 80ms; }
.hero h1 .word:nth-child(2) { transition-delay: 140ms; }
.hero h1 .word:nth-child(3) { transition-delay: 200ms; }
.hero h1 .word:nth-child(4) { transition-delay: 260ms; }
.hero h1 .word:nth-child(5) { transition-delay: 320ms; }
.hero h1 .word:nth-child(6) { transition-delay: 380ms; }
.hero h1 .word:nth-child(7) { transition-delay: 440ms; }
.hero h1 .word:nth-child(8) { transition-delay: 500ms; }
.hero h1 .word:nth-child(9) { transition-delay: 560ms; }
.hero h1 .word:nth-child(10) { transition-delay: 620ms; }
.hero h1 .word:nth-child(n+11) { transition-delay: 680ms; }

.hero-sub {
  font-size: clamp(1.05rem, 1.5vw, 1.32rem);
  font-weight: 400;
  color: var(--ink-soft);
  line-height: 1.45;
  max-width: 44ch;
  margin: 0;
  letter-spacing: -0.005em;
}

/* Hero entrance · stagger tag, side, IDE, trust */
.hero-tag, .hero-side, .hero-ide-wrap > .ide, .hero-ide-wrap > .trust-strip {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.85s var(--ease);
}
body.is-loaded .hero-tag      { opacity: 1; transform: none; transition-delay: 0ms; }
body.is-loaded .hero-side     { opacity: 1; transform: none; transition-delay: 720ms; }
body.is-loaded .hero-ide-wrap > .ide  { opacity: 1; transform: none; transition-delay: 880ms; }
body.is-loaded .hero-ide-wrap > .trust-strip { opacity: 1; transform: none; transition-delay: 1040ms; }
.hero-side {
  padding-bottom: 6px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 36px;
}

/* Background mark · big saturated wash, replaces gradient mesh cliché */
.hero-mark {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}
.hero-mark::before {
  content: '';
  position: absolute;
  top: -10%; right: -8%;
  width: 60vw; height: 60vw;
  max-width: 900px; max-height: 900px;
  background: radial-gradient(circle at 60% 40%, var(--fire) 0%, transparent 55%);
  opacity: 0.28;
  filter: blur(2px);
}

/* ─── IDE · technical voice, not a fake screenshot ─────────────────── */

.hero-ide-wrap {
  margin-top: clamp(48px, 6vw, 88px);
  position: relative;
}
.ide {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  background: var(--bg-warm);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
}
@media (max-width: 800px) { .ide { grid-template-columns: 1fr; } }

.ide-chrome {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-deep);
  grid-column: 1 / -1;
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--ink-soft);
}
.ide-chrome .marker {
  display: inline-block;
  width: 10px; height: 10px;
  background: var(--fire);
  flex-shrink: 0;
}
.ide-chrome .meta { margin-left: auto; color: var(--ink-mute); font-size: 0.76rem; }

.ide-editor {
  padding: 22px 0;
  font-family: var(--mono);
  font-size: 0.86rem;
  line-height: 1.7;
  border-right: 1px solid var(--line);
  min-height: 380px;
}
@media (max-width: 800px) { .ide-editor { border-right: 0; border-bottom: 1px solid var(--line); } }

.ide-line {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  align-items: center;
  padding: 0 24px 0 0;
  position: relative;
}
.ide-line .lno {
  text-align: right;
  padding-right: 18px;
  color: var(--ink-dim);
  font-size: 0.78rem;
  user-select: none;
}
.ide-line .code { color: var(--ink); white-space: pre; overflow-x: hidden; }
/* No side stripe. AI lines use a tinted wash spanning the full row + a leading marker. */
.ide-line[data-origin="ai"] {
  background: oklch(0.30 0.075 48 / 0.55);
}
.ide-line[data-origin="ai"] .lno {
  color: var(--fire);
}
.tok-key { color: oklch(0.72 0.14 14); }
.tok-fn  { color: oklch(0.78 0.10 230); }
.tok-str { color: oklch(0.82 0.13 130); }
.tok-com { color: var(--ink-mute); font-style: italic; }
.tok-num { color: oklch(0.78 0.14 50); }
.tok-var { color: oklch(0.78 0.10 300); }

.cursor {
  display: inline-block;
  width: 8px;
  height: 1.05em;
  background: var(--fire);
  vertical-align: text-bottom;
  margin-left: 1px;
  animation: blink 1s steps(2, end) infinite;
  transform: translateY(2px);
}
@keyframes blink { 50% { opacity: 0; } }

.ide-line .origin-tag {
  font-family: var(--font);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
  padding-left: 10px;
}
.ide-line[data-origin="ai"] .origin-tag { color: var(--fire); }
.ide-line[data-origin="human"] .origin-tag { color: var(--human); }
.ide-line .origin-tag:empty { display: none; }

/* Agents panel · table rows, not card grid */
.ide-agents {
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 0;
  background: var(--bg);
}
.ide-agents-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 8px;
}
.ide-agents-head .label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
}
.ide-agents-head .count {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--ink-mute);
}
.live-dot {
  width: 8px; height: 8px;
  background: var(--fire);
  border-radius: 50%;
  box-shadow: 0 0 0 0 var(--fire);
  animation: live-pulse 1.6s ease-out infinite;
}
@keyframes live-pulse {
  0% { box-shadow: 0 0 0 0 oklch(0.68 0.19 48 / 0.6); }
  70% { box-shadow: 0 0 0 8px oklch(0.68 0.19 48 / 0); }
  100% { box-shadow: 0 0 0 0 oklch(0.68 0.19 48 / 0); }
}
.agent {
  display: grid;
  grid-template-columns: 1fr auto;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.agent:last-child { border-bottom: 0; }
.agent.visible { opacity: 1; transform: none; }
.agent .name { font-weight: 500; color: var(--ink); }
.agent .verdict {
  font-family: var(--mono);
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--ink-soft);
}
.agent .verdict.pass { color: var(--human); }
.agent .verdict.warn { color: var(--ai-mod); }
.agent .verdict.fail { color: var(--fire-deep); }

/* Trust strip · single line, mono, not "logos in a row" cliché */
.trust-strip {
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: baseline;
  gap: 16px 32px;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 0.84rem;
  color: var(--ink-mute);
}
.trust-strip strong { color: var(--ink); font-weight: 500; }
.trust-strip span { color: var(--ink-soft); }

/* ─── Problem · prose-led, single big claim, three smaller below ───── */

.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
}
.problem-card {
  padding: 36px 32px 32px;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
}
.problem-card:last-child { border-right: 0; }
@media (max-width: 800px) {
  .problem-card { border-right: 0; }
  .problem-card:last-child { border-bottom: 0; }
}
.problem-card .num {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--fire);
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 22px;
}
.problem-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.problem-card p {
  margin-top: 14px;
  font-size: 0.98rem;
}
.problem-vis {
  margin-top: 28px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--ink-mute);
  height: 110px;
  display: flex;
  align-items: center;
}
.problem-vis svg { width: 100%; height: 100%; }

/* ─── Walkthrough tabs · text-based, no pill background ────────────── */

.walkthrough-tabs-wrap {
  border-bottom: 1px solid var(--line);
  margin-bottom: 56px;
}
.walkthrough-tabs {
  display: flex;
  gap: 0;
  flex-wrap: wrap;
}
.walkthrough-tab {
  display: inline-flex;
  align-items: baseline;
  gap: 14px;
  padding: 16px 24px 18px;
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--ink-mute);
  margin-bottom: -1px;
  border-bottom: 2px solid transparent;
  transition: color 0.18s, border-color 0.18s;
}
.walkthrough-tab:hover { color: var(--ink-soft); }
.walkthrough-tab.active {
  color: var(--ink);
  border-bottom-color: var(--fire);
}
.walkthrough-tab .step-num {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--fire);
  font-weight: 500;
}

.walkthrough-panels {
  position: relative;
  min-height: 460px;
}
.walkthrough-panel {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 80px);
  padding: 8px 0;
  align-items: start;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity 0.45s var(--ease), transform 0.55s var(--ease);
}
.walkthrough-panel.active {
  opacity: 1;
  transform: none;
  pointer-events: auto;
  z-index: 2;
}
@media (max-width: 800px) {
  .walkthrough-panels { min-height: 700px; }
  .walkthrough-panel { grid-template-columns: 1fr; gap: 32px; }
}
.walkthrough-copy h3 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
}
.walkthrough-copy p {
  margin-top: 18px;
  font-size: 1.05rem;
  max-width: 42ch;
}
.walkthrough-copy ul {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
}
.walkthrough-copy li {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.walkthrough-copy li:last-child { border-bottom: 0; }
.walkthrough-copy li::before {
  content: counter(step) '.';
  counter-increment: step;
  font-family: var(--mono);
  color: var(--fire);
  font-weight: 500;
  margin-right: 12px;
}
.walkthrough-copy ul { counter-reset: step; }

.walkthrough-vis {
  background: var(--bg-deep);
  border: 1px solid var(--line);
  padding: 22px;
  font-family: var(--mono);
  font-size: 0.86rem;
}
.vis-row {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.84rem;
}
.vis-row:last-child { border-bottom: 0; }
.vis-row .check { color: var(--fire); }
.vis-row .hot { color: var(--fire); }
.vis-row.dim { opacity: 0.55; }
.vis-row.score { justify-content: space-between; }
.vis-row.score .num { font-family: var(--mono); }
.vis-row.score .dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; display: inline-block; }
.vis-row.score.pass .dot, .vis-row.score.pass .num { color: var(--human); background: var(--human); }
.vis-row.score.warn .dot, .vis-row.score.warn .num { color: var(--ai-mod); background: var(--ai-mod); }
.vis-row.score.fail .dot, .vis-row.score.fail .num { color: var(--fire-deep); background: var(--fire-deep); }
.vis-row.score.pass .num, .vis-row.score.warn .num, .vis-row.score.fail .num { background: transparent; }
.vis-row.verdict {
  background: oklch(0.30 0.075 48 / 0.45);
  border-color: var(--fire);
  color: var(--fire);
  font-weight: 500;
}

/* Stagger inner content of the active panel */
.walkthrough-panel .walkthrough-copy,
.walkthrough-panel .walkthrough-vis,
.walkthrough-panel .vis-row {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.walkthrough-panel.active .walkthrough-copy { opacity: 1; transform: none; transition-delay: 100ms; }
.walkthrough-panel.active .walkthrough-vis  { opacity: 1; transform: none; transition-delay: 220ms; }
.walkthrough-panel.active .vis-row { opacity: 1; transform: none; }
.walkthrough-panel.active .vis-row:nth-child(1) { transition-delay: 280ms; }
.walkthrough-panel.active .vis-row:nth-child(2) { transition-delay: 340ms; }
.walkthrough-panel.active .vis-row:nth-child(3) { transition-delay: 400ms; }
.walkthrough-panel.active .vis-row:nth-child(4) { transition-delay: 460ms; }
.walkthrough-panel.active .vis-row:nth-child(5) { transition-delay: 520ms; }
.walkthrough-panel.active .vis-row:nth-child(6) { transition-delay: 580ms; }

/* ─── Versus splash · the bolder moment ─────────────────────────── */

.versus-splash {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: clamp(20px, 4vw, 64px);
  align-items: baseline;
  padding: clamp(48px, 7vw, 96px) 0 clamp(64px, 8vw, 120px);
  border-bottom: 1px solid var(--line);
  margin-bottom: clamp(48px, 6vw, 80px);
}
.versus-splash .side {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.versus-splash .label {
  font-family: var(--mono);
  font-size: 0.86rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.versus-splash .num {
  font-weight: 800;
  font-size: clamp(4rem, 16vw, 13rem);
  line-height: 0.82;
  letter-spacing: -0.07em;
  font-variation-settings: 'opsz' 96, 'wdth' 100;
  color: var(--ink);
}
.versus-splash .unit {
  font-family: var(--mono);
  font-size: clamp(0.92rem, 1.4vw, 1.15rem);
  font-weight: 500;
  color: var(--ink-mute);
  margin-top: 12px;
  letter-spacing: 0;
  text-transform: uppercase;
}
.versus-splash .side.old .num { color: var(--ink-mute); }
.versus-splash .side.new .num { color: var(--fire); }
.versus-splash .side.new .label { color: var(--fire); }
.versus-splash .arrow {
  font-family: var(--mono);
  font-weight: 400;
  font-size: clamp(2rem, 6vw, 4rem);
  color: var(--fire);
  align-self: center;
  transform: translateY(-0.1em);
}
.versus-splash .side.old { text-align: right; }
@media (max-width: 700px) {
  .versus-splash { grid-template-columns: 1fr; text-align: left; gap: 16px; padding: 40px 0; }
  .versus-splash .side.old { text-align: left; }
  .versus-splash .arrow { display: none; }
}

/* ─── Versus · two-column compare, no boxed cards ─────────────────── */

.versus-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
@media (max-width: 800px) { .versus-grid { grid-template-columns: 1fr; } }
.versus-col {
  padding: 36px 36px 32px;
  border-right: 1px solid var(--line);
}
.versus-col:last-child { border-right: 0; }
.versus-col.new { background: oklch(0.20 0.034 50); }
@media (max-width: 800px) {
  .versus-col { border-right: 0; border-bottom: 1px solid var(--line); }
  .versus-col:last-child { border-bottom: 0; }
}
.versus-col .label {
  font-family: var(--mono);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 12px;
}
.versus-col.new .label { color: var(--fire); }
.versus-col h3 {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.025em;
}
.versus-step {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.96rem;
  color: var(--ink-soft);
}
.versus-step:last-of-type { border-bottom: 0; }
.versus-step .time {
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--ink-mute);
}
.versus-col.new .versus-step .time { color: var(--fire); }
.versus-col .total {
  margin-top: 20px;
  padding-top: 22px;
  border-top: 1px solid var(--line-bold);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-weight: 600;
  font-size: 1.05rem;
}
.versus-col .total .total-num {
  font-family: var(--mono);
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}
.versus-col.new .total-num { color: var(--fire); }
.versus-col .footnote {
  margin-top: 4px;
  display: flex;
  justify-content: space-between;
  font-size: 0.84rem;
  color: var(--ink-mute);
  font-family: var(--mono);
}

/* ─── Deep dives · asymmetric, prose + product surface ─────────────── */

.deep-dive { padding: clamp(96px, 10vw, 156px) 0; }
.deep-dive + .deep-dive { padding-top: 0; }
.deep-dive-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.deep-dive-grid.flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.deep-dive-grid.flip .deep-dive-copy { order: 2; }
@media (max-width: 900px) {
  .deep-dive-grid, .deep-dive-grid.flip { grid-template-columns: 1fr; gap: 40px; }
  .deep-dive-grid.flip .deep-dive-copy { order: 0; }
}
.deep-dive-copy {
  position: sticky;
  top: 96px;
}
.deep-dive-copy h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin-top: 18px;
}
.deep-dive-copy > p {
  margin-top: 22px;
  font-size: 1.08rem;
  max-width: 42ch;
}

/* Inline prose stat treatment · replaces big-number/small-label cliché */
.facts {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 18px;
}
.fact {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: baseline;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.fact:last-child { border-bottom: 0; padding-bottom: 0; }
.fact .v {
  font-family: var(--mono);
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--fire);
  white-space: nowrap;
}
.fact .k { font-size: 0.95rem; color: var(--ink-soft); }

/* Attribution · full-row tinted backgrounds + leading marker, no side stripe */
.attribution {
  background: var(--bg-deep);
  border: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.88rem;
  line-height: 1.7;
}
.attr-line {
  display: grid;
  grid-template-columns: 44px 18px 1fr auto;
  align-items: center;
  padding: 4px 16px 4px 0;
  transition: background 0.2s, transform 0.2s var(--ease);
}
.attr-line:hover { transform: translateX(3px); }
.attr-line .lno {
  text-align: right;
  padding-right: 12px;
  color: var(--ink-dim);
  font-size: 0.78rem;
  user-select: none;
}
.attr-line .marker {
  width: 8px; height: 8px;
  border-radius: 50%;
  margin-left: 6px;
}
.attr-line .code { white-space: pre; overflow-x: auto; }
.attr-tag {
  font-family: var(--font);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  padding: 3px 8px;
  white-space: nowrap;
}
.attr-line[data-origin="human"]  { background: oklch(0.78 0.14 155 / 0.04); }
.attr-line[data-origin="ai-gen"] { background: oklch(0.74 0.17 52 / 0.10); }
.attr-line[data-origin="ai-mod"] { background: oklch(0.84 0.15 88 / 0.08); }
.attr-line[data-origin="human"]  .marker { background: var(--human); }
.attr-line[data-origin="ai-gen"] .marker { background: var(--ai-gen); }
.attr-line[data-origin="ai-mod"] .marker { background: var(--ai-mod); }
.attr-tag.human  { color: var(--human); background: oklch(0.78 0.14 155 / 0.10); }
.attr-tag.ai-gen { color: var(--ai-gen); background: oklch(0.74 0.17 52 / 0.14); }
.attr-tag.ai-mod { color: var(--ai-mod); background: oklch(0.84 0.15 88 / 0.12); }

.attr-summary {
  display: flex;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
}
.attr-bucket {
  flex: 1;
  padding: 18px 22px;
  border-right: 1px solid var(--line);
}
.attr-bucket:last-child { border-right: 0; }
.attr-bucket .pct { font-size: 1.4rem; font-weight: 700; letter-spacing: -0.02em; }
.attr-bucket .lbl { font-size: 0.78rem; color: var(--ink-mute); margin-top: 4px; text-transform: uppercase; letter-spacing: 0.06em; }
.attr-bucket.human .pct  { color: var(--human); }
.attr-bucket.ai-gen .pct { color: var(--ai-gen); }
.attr-bucket.ai-mod .pct { color: var(--ai-mod); }

/* Multi-agent · table of rows, no card-grid */
.agent-grid {
  background: var(--bg-deep);
  border: 1px solid var(--line);
}
.agent-grid-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.84rem;
  color: var(--ink-mute);
}
.agent-grid-head .ttl { color: var(--ink); font-weight: 600; }
.agent-list { display: grid; }
.agent-row {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 14px 22px;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
  background: transparent;
  transition: background 0.18s;
}
.agent-row:last-child { border-bottom: 0; }
.agent-row:hover { background: oklch(0.30 0.03 50 / 0.5); }
.agent-row .icon {
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--fire);
}
.agent-row .name { color: var(--ink); font-weight: 500; }
.agent-row .name .sub {
  display: block;
  font-size: 0.8rem;
  color: var(--ink-mute);
  font-weight: 400;
  margin-top: 3px;
}
.agent-row .score {
  font-family: var(--mono);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
}
.agent-row.pass .score { color: var(--human); }
.agent-row.warn .score { color: var(--ai-mod); }
.agent-row.fail .score { color: var(--fire-deep); }
.agent-bar {
  padding: 18px 22px;
  border-top: 1px solid var(--line-bold);
  background: oklch(0.30 0.075 48 / 0.55);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.agent-bar .verdict-text {
  font-weight: 700;
  color: var(--fire);
  font-size: 0.96rem;
  letter-spacing: -0.01em;
}
.agent-bar .total {
  font-family: var(--mono);
  font-weight: 600;
  color: var(--fire);
}

/* Replay · screen + scrubber */
.replay {
  background: var(--bg-deep);
  border: 1px solid var(--line);
}
.replay-screen {
  padding: 22px;
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--ink-soft);
  white-space: pre;
  border-bottom: 1px solid var(--line);
  height: 240px;
  overflow: hidden;
}
.replay-screen .caret {
  display: inline-block;
  width: 7px; height: 1em;
  background: var(--fire);
  vertical-align: text-bottom;
  animation: blink 1s steps(2) infinite;
}
.replay-controls {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
}
.play-btn {
  width: 44px; height: 44px;
  background: var(--fire);
  color: var(--bg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s var(--ease);
}
.play-btn:hover { background: var(--fire-bright); }
.play-btn:active { background: var(--fire-deep); }
.scrubber {
  flex: 1;
  height: 4px;
  background: var(--line);
  position: relative;
  cursor: pointer;
}
.scrubber::before {
  content: '';
  position: absolute;
  inset: -20px 0;
}
.scrubber:hover { background: var(--line-bold); }
.scrubber-fill {
  position: absolute; inset: 0;
  width: 35%;
  background: var(--fire);
}
.scrubber-thumb {
  position: absolute;
  top: 50%;
  left: 35%;
  transform: translate(-50%, -50%);
  width: 12px; height: 12px;
  background: var(--ink);
  border-radius: 50%;
}
.replay-time {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--ink-mute);
  white-space: nowrap;
}
.replay-events {
  display: flex;
  gap: 0;
  font-family: var(--mono);
  font-size: 0.78rem;
}
.replay-event {
  flex: 1;
  padding: 12px 16px;
  border-right: 1px solid var(--line);
  color: var(--ink-mute);
  text-align: center;
}
.replay-event:last-child { border-right: 0; }
.replay-event.active { color: var(--fire); background: oklch(0.30 0.075 48 / 0.4); }

/* ─── Compare · large legible table, branded column ───────────────── */

.compare-wrap {
  margin-top: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  min-width: 760px;
}
.compare-table th, .compare-table td {
  padding: 20px 22px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.compare-table thead th {
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
  border-bottom: 1px solid var(--line-bold);
}
.compare-table thead th.us { color: var(--fire); font-size: 1.05rem; text-transform: none; letter-spacing: -0.02em; }
.compare-table tbody tr.row-hover td { background: oklch(0.24 0.028 52 / 0.5); }
.compare-table .feature { color: var(--ink); font-weight: 500; max-width: 32ch; }
.compare-table td.us {
  background: oklch(0.30 0.075 48 / 0.30);
  color: var(--ink);
  font-weight: 500;
  border-left: 1px solid var(--fire);
  border-right: 1px solid var(--fire);
}
.compare-table tbody tr:last-child td { border-bottom: 0; }
.compare-table tbody tr:last-child td.us { border-bottom: 1px solid var(--fire); }
.compare-table .check { color: var(--human); }
.compare-table .x { color: var(--ink-dim); }
.compare-table td.col-hover { background: oklch(0.24 0.028 52 / 0.5); }
.compare-table td.us.col-hover { background: oklch(0.30 0.075 48 / 0.45); }

/* ─── Marquee + testimonials ──────────────────────────────────────── */

.marquee {
  margin: 64px 0;
  overflow: hidden;
  position: relative;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
}
.marquee-track {
  display: flex;
  gap: 80px;
  width: max-content;
  animation: marquee 36s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  font-family: var(--font);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--ink-mute);
  white-space: nowrap;
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}

.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
}
.testimonial {
  padding: 36px 36px 32px;
  border-right: 1px solid var(--line);
}
.testimonial:last-child { border-right: 0; }
@media (max-width: 800px) {
  .testimonial { border-right: 0; border-bottom: 1px solid var(--line); }
  .testimonial:last-child { border-bottom: 0; }
}
.testimonial blockquote {
  margin: 0;
  font-size: 1.18rem;
  line-height: 1.45;
  color: var(--ink);
  font-weight: 500;
  letter-spacing: -0.012em;
}
.testimonial-meta {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 0.92rem;
}
.testimonial-meta .who { color: var(--ink); font-weight: 600; }
.testimonial-meta .role { color: var(--ink-mute); }

/* ─── Pricing · cream-on-orange inverted register for visual break ── */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0;
  border-top: 1px solid var(--inv-line);
  border-bottom: 1px solid var(--inv-line);
}
.price-card {
  padding: 36px 32px 36px;
  border-right: 1px solid var(--inv-line);
  display: flex;
  flex-direction: column;
  position: relative;
}
.price-card:last-child { border-right: 0; }
@media (max-width: 800px) {
  .price-card { border-right: 0; border-bottom: 1px solid var(--inv-line); }
  .price-card:last-child { border-bottom: 0; }
}
.price-card.popular {
  background: var(--inv-bg-deep);
}
.price-tag {
  position: absolute;
  top: 36px;
  right: 32px;
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--inv-bg);
  background: var(--inv-ink);
  padding: 2px 10px;
}
.price-card .name {
  font-family: var(--mono);
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--inv-ink-soft);
}
.price-card .amount {
  font-family: var(--font);
  font-weight: 800;
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  letter-spacing: -0.04em;
  margin-top: 16px;
  line-height: 1;
}
.price-card .amount .per {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--inv-ink-soft);
}
.price-card .desc {
  margin-top: 12px;
  font-size: 0.96rem;
  color: var(--inv-ink-soft);
  max-width: 28ch;
}
.price-card ul {
  list-style: none;
  padding: 0;
  margin: 28px 0 28px;
  flex: 1;
}
.price-card li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.95rem;
  color: var(--inv-ink);
  border-bottom: 1px solid oklch(0.30 0.085 48 / 0.5);
}
.price-card li:last-child { border-bottom: 0; }
.price-card li::before {
  content: '+';
  font-family: var(--mono);
  font-weight: 700;
  color: var(--inv-ink);
}
section.inverted .btn-primary {
  background: var(--inv-ink);
  color: var(--inv-bg);
  border-color: var(--inv-ink);
}
section.inverted .btn-primary:hover {
  background: var(--bg);
}

.calculator {
  margin-top: 56px;
  border: 1px solid var(--inv-line);
  padding: 22px 28px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) auto;
  gap: 28px;
  align-items: center;
}
@media (max-width: 800px) {
  .calculator { grid-template-columns: 1fr; gap: 16px; }
}
.calculator label {
  font-family: var(--mono);
  font-size: 0.84rem;
  color: var(--inv-ink-soft);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.calculator-slider {
  display: flex;
  align-items: center;
  gap: 16px;
}
.calculator-slider input[type="range"] {
  flex: 1;
  -webkit-appearance: none;
  appearance: none;
  background: linear-gradient(90deg, var(--inv-ink) var(--p, 30%), oklch(0.30 0.085 48 / 0.5) var(--p, 30%));
  height: 3px;
  outline: none;
}
.calculator-slider input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px; height: 18px;
  background: var(--inv-ink);
  cursor: pointer;
}
.calculator-slider .count {
  font-family: var(--mono);
  font-weight: 700;
  min-width: 36px;
  font-size: 1rem;
  color: var(--inv-ink);
}
.calculator-result { text-align: right; }
.calculator-result .price {
  font-family: var(--font);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--inv-ink);
  letter-spacing: -0.025em;
}
.calculator-result .price .per {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--inv-ink-soft);
}
.calculator-result .tier {
  font-family: var(--mono);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--inv-ink-soft);
}

/* ─── FAQ · grid-rows transition, no card boxes ───────────────────── */

.faq-list {
  margin: 0;
  border-top: 1px solid var(--line);
  max-width: 80ch;
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  text-align: left;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: color 0.15s;
}
.faq-q:hover { color: var(--fire); }
.faq-q .icon {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 1rem;
  color: var(--fire);
  transition: transform 0.3s var(--ease);
  flex-shrink: 0;
}
.faq-item.open .faq-q .icon { transform: rotate(45deg); }
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s var(--ease);
}
.faq-a > .faq-a-inner { overflow: hidden; }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-item.open .faq-a > .faq-a-inner { padding-bottom: 22px; }
.faq-a p {
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.6;
  max-width: 64ch;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.3s var(--ease) 0.1s, transform 0.3s var(--ease) 0.1s;
}
.faq-item.open .faq-a p { opacity: 1; transform: none; }

/* ─── Final CTA · drenched orange wash full bleed ─────────────────── */

.final-cta {
  background: var(--inv-bg);
  color: var(--inv-ink);
  padding: clamp(96px, 12vw, 160px) 0;
  border-top: 1px solid var(--inv-line);
}
.final-cta .eyebrow { color: var(--inv-ink); }
.final-cta .eyebrow::before { background: var(--inv-ink); }
.final-cta h2 {
  color: var(--inv-ink);
  font-size: clamp(2.4rem, 5.5vw, 4.4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.98;
  max-width: 18ch;
  margin-top: 24px;
}
.final-cta p {
  color: var(--inv-ink-soft);
  margin-top: 22px;
  font-size: 1.12rem;
  max-width: 48ch;
}
.final-cta-form {
  margin-top: 40px;
  display: flex;
  gap: 0;
  max-width: 520px;
  border-bottom: 2px solid var(--inv-ink);
}
.final-cta-form input {
  flex: 1;
  background: transparent;
  border: 0;
  color: var(--inv-ink);
  font: inherit;
  padding: 14px 4px;
  outline: none;
  font-size: 1rem;
}
.final-cta-form input::placeholder { color: var(--inv-ink-soft); }
.final-cta-form .btn-primary { padding: 12px 22px; }
.final-cta .small {
  margin-top: 16px;
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--inv-ink-soft);
}

/* ─── Footer · structured grid, hairlines ─────────────────────────── */

.footer {
  padding: 80px 0 40px;
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line);
}
@media (max-width: 800px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}
.footer-brand p {
  margin-top: 18px;
  font-size: 0.95rem;
  max-width: 30ch;
  color: var(--ink-mute);
}
.footer h4 {
  font-family: var(--mono);
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 18px;
  font-weight: 500;
}
.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer ul a {
  color: var(--ink-soft);
  font-size: 0.95rem;
  transition: color 0.15s;
}
.footer ul a:hover { color: var(--ink); }
.footer-bottom {
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--ink-mute);
  flex-wrap: wrap;
  gap: 16px;
}
.footer-social { display: flex; gap: 0; }
.footer-social a {
  width: 44px; height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid var(--line);
  color: var(--ink-mute);
  transition: color 0.15s, background 0.15s;
}
.footer-social a:first-child { border-left: 1px solid var(--line); }
.footer-social a:hover { color: var(--fire); background: var(--surface); }

/* ─── Reveal · subtle, no scattered micro-confetti ────────────────── */

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }

/* Stagger children of containers marked [data-stagger] */
[data-stagger] > * {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.reveal.in [data-stagger] > * { opacity: 1; transform: none; }
.reveal.in [data-stagger] > *:nth-child(1) { transition-delay: 60ms; }
.reveal.in [data-stagger] > *:nth-child(2) { transition-delay: 140ms; }
.reveal.in [data-stagger] > *:nth-child(3) { transition-delay: 220ms; }
.reveal.in [data-stagger] > *:nth-child(4) { transition-delay: 300ms; }
.reveal.in [data-stagger] > *:nth-child(5) { transition-delay: 380ms; }

/* Scroll-progress · single hairline at top */
.scroll-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--fire);
  transform: scaleX(0);
  transform-origin: 0 0;
  z-index: 200;
  pointer-events: none;
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, [data-stagger] > * { opacity: 1; transform: none; }
}
