/* ════════════════════════════════════════════════════════════
   GUNPAI — marketing site
   Apple-clean light · near-white · ink text · ONE clay accent.
   Type:  Poppins (display + UI) · Lora (body) · Geist Mono (data).
   Motion: scroll reveals, pinned scrubbed pipeline, parallax, count-ups.
   ════════════════════════════════════════════════════════════ */

@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Lora:ital,wght@0,400;0,500;0,600;1,400&family=Geist+Mono:wght@400;500;600&display=swap");

:root {
  --bg:        #ffffff;
  --bg-2:      #f6f5f1;   /* warm near-white band */
  --bg-3:      #efece4;
  --ink:       #141413;
  --ink-2:     #44423d;
  --muted:     #7c7a72;
  --faint:     #a8a69c;
  --line:      #e7e5dc;
  --line-2:    #dedbd0;
  --clay:      #2f6fd6;   /* single accent */
  --clay-2:    #2356b3;
  --clay-ink:  #1b3e74;
  --clay-soft: #e4edfb;
  --video:     #14110d;

  /* detection palette (on dark feeds only) */
  --d-person: #34c3d6;
  --d-ok:     #93c95a;
  --d-alert:  #e3603f;
  --d-hat:    #e8b84b;
  --d-zone:   #9b7bc4;

  --font:    "Lora", Georgia, serif;
  --display: "Poppins", Arial, sans-serif;
  --mono:    "Geist Mono", ui-monospace, monospace;

  --maxw: 1180px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

html, body {
  margin: 0; padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
body.no-scroll { overflow: hidden; }

h1, h2, h3, h4, .display { font-family: var(--display); font-weight: 600; letter-spacing: -0.025em; line-height: 1.04; margin: 0; color: var(--ink); }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
::selection { background: var(--clay-soft); color: var(--clay-ink); }

::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-thumb { background: rgba(20,20,19,0.18); border-radius: 9px; border: 3px solid var(--bg); background-clip: padding-box; }

/* ─── Layout helpers ─────────────────────────────────────────── */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.section { padding: clamp(84px, 13vh, 168px) 0; position: relative; }
.section.tight { padding: clamp(56px, 8vh, 104px) 0; }
.band { background: var(--bg-2); }
.eyebrow {
  font-family: var(--mono); font-size: 12.5px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.22em; color: var(--clay);
  margin-bottom: 20px; display: inline-flex; align-items: center; gap: 9px;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--clay); opacity: 0.6; }
.lead { font-size: clamp(18px, 2vw, 21px); color: var(--ink-2); max-width: 60ch; text-wrap: pretty; }
.muted { color: var(--muted); }

.h-display { font-size: clamp(40px, 7vw, 92px); }
.h-section { font-size: clamp(32px, 5vw, 62px); }
.h-sub     { font-size: clamp(22px, 2.6vw, 32px); }

/* ─── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--display); font-weight: 500; font-size: 15px;
  padding: 13px 24px; border-radius: 999px;
  transition: transform .25s var(--ease), background .2s, color .2s, box-shadow .25s var(--ease), border-color .2s;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; }
.btn-primary { background: var(--clay); color: #fffaf6; box-shadow: 0 1px 2px rgba(20,20,19,.08); }
.btn-primary:hover { background: var(--clay-2); transform: translateY(-2px); box-shadow: 0 10px 26px rgba(47,111,214,.32); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line-2); }
.btn-ghost:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); transform: translateY(-2px); }
.btn-text { padding: 13px 6px; color: var(--ink); }
.btn-text .arr { transition: transform .25s var(--ease); }
.btn-text:hover .arr { transform: translateX(4px); }
.btn-lg { font-size: 16px; padding: 16px 30px; }

/* ─── Nav ────────────────────────────────────────────────────── */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: 64px; display: flex; align-items: center;
  transition: background .3s, border-color .3s, backdrop-filter .3s, box-shadow .3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(255,255,255,0.78);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom-color: var(--line);
}
.nav .wrap { display: flex; align-items: center; gap: 28px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 600; font-size: 18px; letter-spacing: -0.02em; }
.logo .mark {
  width: 28px; height: 28px; border-radius: 8px;
  background: linear-gradient(160deg, #5b91e6, var(--clay));
  display: grid; place-items: center; color: #fffaf6; font-size: 14px; font-weight: 600;
  box-shadow: 0 1px 2px rgba(20,20,19,.12);
}
.nav-links { display: flex; gap: 4px; margin-left: 14px; }
.nav-links a {
  font-family: var(--display); font-size: 14.5px; font-weight: 500; color: var(--ink-2);
  padding: 8px 14px; border-radius: 8px; transition: color .15s, background .15s;
}
.nav-links a:hover { color: var(--ink); background: rgba(20,20,19,.05); }
.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.nav-signin { font-family: var(--display); font-size: 14.5px; font-weight: 500; color: var(--ink); padding: 9px 14px; border-radius: 999px; }
.nav-signin:hover { background: rgba(20,20,19,.05); }
.nav-burger { display: none; }

/* ─── Reveal / motion base ───────────────────────────────────── */
[data-reveal] { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); will-change: opacity, transform; }
[data-reveal="fade"] { transform: none; }
[data-reveal="left"] { transform: translateX(-44px); }
[data-reveal="right"] { transform: translateX(44px); }
[data-reveal="scale"] { transform: scale(.94); }
[data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ═══ HERO (shared) ══════════════════════════════════════════ */
.hero { padding-top: 132px; padding-bottom: clamp(60px, 9vh, 120px); position: relative; overflow: hidden; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  font-family: var(--mono); font-size: 12.5px; letter-spacing: .04em; color: var(--ink-2);
  background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 7px 8px 7px 14px;
  margin-bottom: 28px; max-width: 100%;
}
.hero-tag .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--d-ok); box-shadow: 0 0 0 3px rgba(147,201,90,.22); }
.hero-tag .pill { font-family: var(--display); font-weight: 600; font-size: 11px; letter-spacing: .04em; background: var(--clay-soft); color: var(--clay-ink); padding: 3px 9px; border-radius: 999px; }
.hero h1 { margin-bottom: 24px; }
.hero h1 em { font-style: italic; font-family: var(--font); font-weight: 400; color: var(--clay); }
.hero-sub { font-size: clamp(18px, 2vw, 22px); color: var(--ink-2); max-width: 56ch; margin-bottom: 34px; text-wrap: pretty; }
.hero-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.hero-note { font-family: var(--mono); font-size: 12px; color: var(--faint); margin-top: 20px; letter-spacing: .02em; }

/* hero variant visibility (toggled on body) */
.hero-b { display: none; }
body.show-b .hero-a { display: none; }
body.show-b .hero-b { display: block; }

/* HERO A — centered, product-forward */
.hero-a { text-align: center; }
.hero-a .hero-inner { max-width: 940px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.hero-a .hero-sub { margin-left: auto; margin-right: auto; }
.hero-a .hero-actions { justify-content: center; }
.hero-a .feed-frame { margin-top: clamp(48px, 7vh, 84px); width: min(1080px, 100%); }

/* HERO B — editorial split */
.hero-b .hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.hero-b .feed-frame { width: 100%; }
.hero-b .hero-copy { max-width: 560px; }

/* ─── Feed frame (the “product”) ─────────────────────────────── */
.feed-frame {
  position: relative; border-radius: 18px; padding: 10px;
  background: linear-gradient(180deg, #fbfaf7, #f0eee7);
  border: 1px solid var(--line);
  box-shadow: 0 1px 1px rgba(20,20,19,.04), 0 30px 70px -28px rgba(20,20,19,.34), 0 12px 28px -18px rgba(20,20,19,.2);
}
.feed {
  position: relative; border-radius: 11px; overflow: hidden; aspect-ratio: 16/9;
  background: var(--video); box-shadow: inset 0 0 0 1px rgba(255,255,255,.04);
}
.feed svg { display: block; width: 100%; height: 100%; }
/* HUD overlay on a feed */
.feed-hud { position: absolute; inset: 0; pointer-events: none; }
.feed-hud .hud-top { position: absolute; top: 0; left: 0; right: 0; display: flex; align-items: center; gap: 9px; padding: 13px 15px; background: linear-gradient(180deg, rgba(0,0,0,.5), transparent); }
.feed-hud .hud-bot { position: absolute; bottom: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; gap: 9px; padding: 13px 15px; background: linear-gradient(0deg, rgba(0,0,0,.5), transparent); }
.hud-chip { font-family: var(--mono); font-size: 11px; letter-spacing: .03em; color: rgba(255,255,255,.85); display: inline-flex; align-items: center; gap: 6px; background: rgba(20,17,13,.5); backdrop-filter: blur(6px); border-radius: 999px; padding: 4px 10px; }
.hud-chip.live { color: #fff; background: rgba(227,96,63,.86); }
.hud-chip .rec { width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: blink 1.4s infinite; }
.hud-title { font-family: var(--display); font-weight: 600; font-size: 13px; color: #fff; }
.hud-title small { display: block; font-family: var(--mono); font-weight: 400; font-size: 10px; color: rgba(255,255,255,.6); letter-spacing: .04em; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.3} }

/* floating callouts around the hero feed */
.callout {
  position: absolute; z-index: 3; background: var(--bg); border: 1px solid var(--line);
  border-radius: 13px; padding: 11px 14px; box-shadow: 0 14px 34px -14px rgba(20,20,19,.28);
  display: flex; align-items: center; gap: 11px; opacity: 0; transform: translateY(10px) scale(.96);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.callout.in { opacity: 1; transform: none; }
.callout .ic { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; flex-shrink: 0; }
.callout .ic.clay { background: var(--clay-soft); color: var(--clay); }
.callout .ic.ok { background: #eaf2dd; color: #5f7a35; }
.callout .ic.alert { background: #fae2db; color: var(--clay-2); }
.callout b { font-family: var(--display); font-weight: 600; font-size: 13.5px; display: block; line-height: 1.2; }
.callout span { font-family: var(--mono); font-size: 11px; color: var(--muted); }

/* ─── Trust strip ────────────────────────────────────────────── */
.trust { text-align: center; }
.trust .label { font-family: var(--mono); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--faint); margin-bottom: 26px; }
.trust-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: clamp(28px, 5vw, 64px); }
.trust-row .org { font-family: var(--display); font-weight: 600; font-size: 19px; letter-spacing: -0.01em; color: var(--ink); opacity: .42; transition: opacity .25s; display: inline-flex; align-items: center; gap: 8px; }
.trust-row .org:hover { opacity: .8; }
.trust-row .org .g { width: 16px; height: 16px; border-radius: 4px; background: currentColor; opacity: .5; }

/* ═══ HOW IT WORKS — pinned scrub ════════════════════════════ */
.pin-wrap { position: relative; height: 360vh; background: var(--ink); color: #f3f1ea; }
.pin-stage { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; flex-direction: column; }
.pin-stage .pin-head { text-align: center; padding: clamp(40px,7vh,76px) 28px 0; flex-shrink: 0; }
.pin-stage .pin-head .eyebrow { color: var(--clay); }
.pin-stage .pin-head h2 { color: #fff; font-size: clamp(28px, 4.4vw, 56px); }
.pin-stage .pin-body { flex: 1; display: grid; grid-template-columns: 1fr; align-items: center; min-height: 0; }

.pipeline { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 28px; }
.pipe-track { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; align-items: start; }
.pipe-line { position: absolute; top: 46px; left: 16%; right: 16%; height: 2px; background: rgba(255,255,255,.12); border-radius: 2px; }
.pipe-line .fill { position: absolute; inset: 0 auto 0 0; width: 0%; background: var(--clay); border-radius: 2px; box-shadow: 0 0 12px rgba(47,111,214,.7); }
.pipe-line .packet { position: absolute; top: 50%; left: 0; width: 11px; height: 11px; margin: -5.5px 0 0 -5.5px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(47,111,214,.4), 0 0 16px rgba(255,255,255,.8); opacity: 0; }
.pipe-node { text-align: center; position: relative; z-index: 2; transition: transform .5s var(--ease), opacity .5s var(--ease); opacity: .4; }
.pipe-node .orb {
  width: 92px; height: 92px; border-radius: 24px; margin: 0 auto 22px; display: grid; place-items: center;
  background: #211f1b; border: 1px solid rgba(255,255,255,.12); color: #8c8980;
  transition: background .5s, color .5s, border-color .5s, box-shadow .5s, transform .5s var(--ease);
}
.pipe-node .orb svg { width: 38px; height: 38px; }
.pipe-node .step { font-family: var(--mono); font-size: 12px; letter-spacing: .18em; color: var(--clay); text-transform: uppercase; margin-bottom: 8px; }
.pipe-node h3 { color: #fff; font-size: clamp(18px, 2vw, 24px); margin-bottom: 10px; }
.pipe-node p { font-size: 15px; color: rgba(243,241,234,.6); max-width: 30ch; margin: 0 auto; }
.pipe-node.active { opacity: 1; }
.pipe-node.active .orb { background: var(--clay); color: #fffaf6; border-color: var(--clay); box-shadow: 0 0 0 6px rgba(47,111,214,.16), 0 16px 40px -10px rgba(47,111,214,.5); transform: translateY(-4px); }
.pipe-meta { margin-top: clamp(34px, 6vh, 64px); display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.pipe-meta .m { font-family: var(--mono); font-size: 12px; color: rgba(243,241,234,.55); border: 1px solid rgba(255,255,255,.12); border-radius: 999px; padding: 7px 14px; transition: color .4s, border-color .4s, background .4s; }
.pipe-meta .m.on { color: #fff; border-color: var(--clay); background: rgba(47,111,214,.16); }
.pin-progress { position: absolute; left: 0; bottom: 0; height: 3px; width: 0%; background: var(--clay); z-index: 5; }

/* ═══ FEATURES ═══════════════════════════════════════════════ */
.feat-head { max-width: 720px; margin-bottom: clamp(48px, 7vh, 88px); }
.feat-head h2 { margin-bottom: 20px; }
.feat-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 92px); align-items: center; }
.feat-row + .feat-row { margin-top: clamp(72px, 11vh, 150px); }
.feat-row.flip .feat-media { order: -1; }
.feat-copy .ix { font-family: var(--mono); font-size: 13px; color: var(--clay); letter-spacing: .12em; margin-bottom: 16px; }
.feat-copy h3 { font-size: clamp(26px, 3.2vw, 40px); margin-bottom: 18px; }
.feat-copy p { color: var(--ink-2); font-size: 18px; margin-bottom: 22px; max-width: 46ch; text-wrap: pretty; }
.feat-list { display: flex; flex-direction: column; gap: 11px; }
.feat-list .li { display: flex; align-items: flex-start; gap: 11px; font-family: var(--display); font-size: 14.5px; font-weight: 500; color: var(--ink-2); }
.feat-list .li svg { width: 18px; height: 18px; color: var(--clay); flex-shrink: 0; margin-top: 1px; }
.feat-media .feed-frame { width: 100%; }

/* ═══ LIVE-WALL showcase ═════════════════════════════════════ */
.showcase { text-align: center; }
.showcase h2 { margin-bottom: 18px; }
.showcase .lead { margin: 0 auto 0; }
.wall {
  margin-top: clamp(46px, 7vh, 82px);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
}
.wall .cell { position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 16/10; background: var(--video); border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(20,20,19,.05); opacity: 0; transform: translateY(22px) scale(.97); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
.wall .cell.in { opacity: 1; transform: none; }
.wall .cell svg { width: 100%; height: 100%; display: block; }
.wall .cell .tag { position: absolute; top: 8px; left: 8px; font-family: var(--mono); font-size: 9.5px; color: rgba(255,255,255,.8); background: rgba(20,17,13,.55); border-radius: 5px; padding: 2px 6px; backdrop-filter: blur(4px); }
.wall .cell .dotlive { position: absolute; top: 9px; right: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--d-alert); box-shadow: 0 0 0 2px rgba(20,17,13,.4); animation: blink 1.5s infinite; }

/* ═══ STATS band ═════════════════════════════════════════════ */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.stat { text-align: left; }
.stat .num { font-family: var(--display); font-weight: 600; font-size: clamp(40px, 5.4vw, 72px); letter-spacing: -0.04em; color: var(--ink); line-height: 1; }
.stat .num .u { color: var(--clay); }
.stat .cap { font-family: var(--display); font-size: 14px; font-weight: 500; color: var(--muted); margin-top: 12px; }
.stat + .stat { border-left: 1px solid var(--line); padding-left: 28px; }

/* ═══ PRICING ════════════════════════════════════════════════ */
.pricing-head { text-align: center; max-width: 680px; margin: 0 auto clamp(44px, 6vh, 72px); }
.pricing-head h2 { margin-bottom: 18px; }
.toggle {
  display: inline-flex; align-items: center; gap: 4px; padding: 4px; border-radius: 999px;
  background: var(--bg-2); border: 1px solid var(--line); margin-top: 28px; position: relative;
}
.toggle button { font-family: var(--display); font-weight: 500; font-size: 14px; padding: 9px 20px; border-radius: 999px; color: var(--muted); position: relative; z-index: 2; transition: color .25s; }
.toggle button.on { color: var(--ink); }
.toggle .knob { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 999px; background: var(--bg); box-shadow: 0 1px 3px rgba(20,20,19,.12); transition: transform .35s var(--ease); z-index: 1; }
.toggle.annual .knob { transform: translateX(100%); }
.save-pill { font-family: var(--display); font-weight: 600; font-size: 11px; color: var(--clay-ink); background: var(--clay-soft); padding: 3px 9px; border-radius: 999px; margin-left: 9px; }

.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.tier {
  background: var(--bg); border: 1px solid var(--line); border-radius: 20px; padding: 30px;
  display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .25s;
}
.tier:hover { transform: translateY(-5px); box-shadow: 0 24px 50px -24px rgba(20,20,19,.24); }
.tier.featured { border-color: var(--clay); box-shadow: 0 24px 56px -26px rgba(47,111,214,.4); position: relative; }
.tier.featured::before { content: "Most popular"; position: absolute; top: -12px; left: 50%; transform: translateX(-50%); font-family: var(--display); font-weight: 600; font-size: 11.5px; letter-spacing: .03em; color: #fffaf6; background: var(--clay); padding: 5px 14px; border-radius: 999px; box-shadow: 0 6px 16px -4px rgba(47,111,214,.5); }
.tier .t-name { font-family: var(--display); font-weight: 600; font-size: 20px; }
.tier .t-desc { font-size: 14.5px; color: var(--muted); margin-top: 6px; min-height: 42px; }
.tier .t-price { margin: 22px 0 4px; display: flex; align-items: flex-end; gap: 4px; }
.tier .t-price .amt { font-family: var(--display); font-weight: 600; font-size: 52px; letter-spacing: -0.04em; line-height: .9; }
.tier .t-price .per { font-family: var(--mono); font-size: 13px; color: var(--muted); padding-bottom: 7px; }
.tier .t-bill { font-family: var(--mono); font-size: 12px; color: var(--faint); min-height: 18px; }
.tier .btn { width: 100%; justify-content: center; margin: 24px 0 22px; }
.tier ul { list-style: none; margin: 0; padding: 18px 0 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.tier ul li { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; font-family: var(--font); color: var(--ink-2); }
.tier ul li svg { width: 17px; height: 17px; color: var(--clay); flex-shrink: 0; margin-top: 3px; }
.tier ul li.muted { color: var(--faint); }
.tier ul li.muted svg { color: var(--faint); }

/* comparison table */
.compare { margin-top: clamp(56px, 8vh, 96px); }
.compare h3 { text-align: center; font-size: clamp(22px, 3vw, 32px); margin-bottom: 34px; }
.ctable { width: 100%; border-collapse: collapse; font-size: 15px; }
.ctable th, .ctable td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.ctable thead th { font-family: var(--display); font-weight: 600; font-size: 15px; color: var(--ink); vertical-align: bottom; }
.ctable thead th.col { text-align: center; width: 17%; }
.ctable thead th.col.feat { color: var(--clay); }
.ctable td.feat-name { font-family: var(--font); color: var(--ink-2); }
.ctable td.col { text-align: center; font-family: var(--mono); font-size: 13.5px; color: var(--ink); }
.ctable td.col.feat { background: var(--clay-soft); color: var(--clay-ink); }
.ctable tr.group td { font-family: var(--mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); padding-top: 30px; border-bottom: none; }
.ctable .yes { color: var(--clay); display: inline-flex; }
.ctable .yes.feat { color: var(--clay-2); }
.ctable .no { color: var(--line-2); }
.ctable td.col.feat svg { color: var(--clay-2); }

/* ═══ CTA ════════════════════════════════════════════════════ */
.cta { background: var(--ink); color: #f3f1ea; text-align: center; border-radius: clamp(20px, 3vw, 36px); padding: clamp(56px, 9vw, 110px) 28px; position: relative; overflow: hidden; }
.cta::after { content: ""; position: absolute; top: -40%; left: 50%; transform: translateX(-50%); width: 70%; height: 120%; background: radial-gradient(ellipse at center, rgba(47,111,214,.3), transparent 62%); filter: blur(20px); pointer-events: none; }
.cta-inner { position: relative; z-index: 2; max-width: 760px; margin: 0 auto; }
.cta h2 { color: #fff; font-size: clamp(32px, 5vw, 64px); margin-bottom: 22px; }
.cta h2 em { font-style: italic; font-family: var(--font); font-weight: 400; color: var(--clay); }
.cta p { color: rgba(243,241,234,.72); font-size: 19px; margin-bottom: 36px; }
.cta .hero-actions { justify-content: center; }
.cta .btn-ghost { color: #fff; border-color: rgba(255,255,255,.28); }
.cta .btn-ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* ═══ FOOTER ═════════════════════════════════════════════════ */
.footer { background: var(--bg-2); border-top: 1px solid var(--line); padding: clamp(56px, 8vh, 88px) 0 36px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 40px; }
.foot-brand .logo { margin-bottom: 16px; }
.foot-brand p { font-size: 14.5px; color: var(--muted); max-width: 30ch; }
.foot-col h5 { font-family: var(--display); font-size: 13px; font-weight: 600; letter-spacing: .02em; margin-bottom: 16px; color: var(--ink); }
.foot-col a { display: block; font-size: 14px; color: var(--muted); padding: 5px 0; transition: color .15s; }
.foot-col a:hover { color: var(--clay); }
.foot-bot { margin-top: 48px; padding-top: 26px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.foot-bot span { font-family: var(--mono); font-size: 12.5px; color: var(--faint); }

/* ─── Hero variant switcher (floating) ──────────────────────── */
.variant-switch {
  position: fixed; z-index: 120; bottom: 22px; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 4px; padding: 5px;
  background: rgba(20,20,19,.86); backdrop-filter: blur(14px); border-radius: 999px;
  box-shadow: 0 12px 34px -10px rgba(20,20,19,.5); border: 1px solid rgba(255,255,255,.1);
}
.variant-switch .vs-label { font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.5); padding: 0 10px 0 12px; }
.variant-switch button { font-family: var(--display); font-weight: 500; font-size: 13px; color: rgba(255,255,255,.6); padding: 7px 16px; border-radius: 999px; transition: color .2s, background .2s; }
.variant-switch button.on { color: #fffaf6; background: var(--clay); }

/* ─── Responsive ─────────────────────────────────────────────── */
@media (max-width: 960px) {
  body { font-size: 17px; }
  .nav-links { display: none; }
  .hero-b .hero-grid { grid-template-columns: 1fr; }
  .hero-b .feat-media, .hero-b .feed-frame { margin-top: 32px; }
  .feat-row, .feat-row.flip { grid-template-columns: 1fr; }
  .feat-row.flip .feat-media { order: 0; }
  .feat-media { margin-top: 8px; }
  .wall { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 36px 24px; }
  .stat + .stat { border-left: none; padding-left: 0; }
  .tiers { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .compare { overflow-x: auto; }
  .ctable { min-width: 640px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 20px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
  .foot-grid { grid-template-columns: 1fr; }
  .callout { display: none; }
}

/* ─── Scene overlay animation (gated by .play on the .feed) ──── */
.feed .gp-det, .feed .gp-zone { opacity: 0; }
.feed .gp-wireline { stroke-dashoffset: 100; }
.feed .gp-track { stroke-dashoffset: 100; opacity: 0; }

.feed.play .gp-zone { animation: gpZone .7s var(--ease) both; animation-delay: calc(var(--di, 0) * .12s + .15s); }
.feed.play .gp-det { animation: gpDet .55s var(--ease) both; animation-delay: calc(var(--di, 0) * .16s + .55s); }
.feed.play .gp-wire { }
.feed.play .gp-wireline { animation: gpDraw 1s var(--ease) both; animation-delay: .25s; }
.feed.play .gp-track { animation: gpTrack 1.4s var(--ease) both; animation-delay: calc(var(--di, 0) * .22s + .2s); }

@keyframes gpDet { from { opacity: 0; transform: scale(.9); } to { opacity: 1; transform: scale(1); } }
@keyframes gpZone { from { opacity: 0; } to { opacity: 1; } }
@keyframes gpDraw { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
@keyframes gpTrack { 0% { opacity: 0; stroke-dashoffset: 100; } 25% { opacity: 1; } 100% { opacity: 1; stroke-dashoffset: 0; } }

/* transform-box so scale() animates around each detection group's own box */
.feed .gp-det { transform-box: fill-box; transform-origin: center; }

@media (prefers-reduced-motion: reduce) {
  .feed .gp-det, .feed .gp-zone, .feed .gp-track { opacity: 1 !important; animation: none !important; }
  .feed .gp-wireline, .feed .gp-track { stroke-dashoffset: 0 !important; }
}
