/* The Pack Marketing — site design v2. Dark-first, black and green, with warm paper sections for rhythm. */
:root {
  --night: #07080a;
  --panel: #0f1114;
  --panel-2: #16191d;
  --line: rgba(255, 255, 255, .08);
  --gline: rgba(163, 230, 53, .2);
  --text: #f3f4f1;
  --text-2: #a6a9b0;
  --text-3: #6f737a;
  --paper: #f4f3ee;
  --paper-2: #e9e8e1;
  --ink: #111214;
  --ink-2: #55575d;
  --ink-3: #8f9096;
  --lime: #a3e635;
  --mint: #4ade80;
  --lime-ink: #3f6212;
  --red: #ff6b6b;
  --brand: linear-gradient(90deg, #a3e635, #4ade80);
  --r-xl: 32px;
  --r-lg: 24px;
  --r-md: 16px;
  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; background: var(--night); }
body { margin: 0; background: var(--night); color: var(--text); font-family: var(--font); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--lime); color: #000; padding: 10px 16px; border-radius: 12px; z-index: 100; text-decoration: none; font-weight: 600; }
.skip:focus { top: 16px; }
::selection { background: rgba(163,230,53,.35); }

.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.narrow, .wrap-narrow { width: min(780px, 100% - 32px); margin-inline: auto; }
.center { text-align: center; }
.eyebrow { font-size: 14px; color: var(--lime); margin: 0 0 14px; letter-spacing: .02em; font-weight: 500; }
.h-xl, .display { font-size: clamp(46px, 7.6vw, 92px); font-weight: 300; letter-spacing: -0.048em; line-height: 1; margin: 0; }
.h-lg, .h1, .h2 { font-size: clamp(36px, 5.2vw, 62px); font-weight: 300; letter-spacing: -0.042em; line-height: 1.04; margin: 0; }
.h-md { font-size: clamp(24px, 2.6vw, 30px); font-weight: 400; letter-spacing: -0.025em; line-height: 1.15; margin: 0; }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--text-2); max-width: 640px; margin: 22px auto 0; }
.center .lead, .lead.center { margin-inline: auto; }
.ink-grad, .grad { background: var(--brand); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 400; }
.muted { color: var(--text-2); }
section { padding: clamp(64px, 11vw, 140px) 0; position: relative; }
/* A section that continues the same background as the one before it does not need a full gap. */
section:not(.paper):not(.finale-sec) + section:not(.paper):not(.finale-sec):not(.reading):not(.related), .paper + .paper { padding-top: clamp(24px, 3.5vw, 44px); }

/* Section moods */
.paper { background: var(--paper); color: var(--ink); }
.paper .eyebrow { color: var(--lime-ink); }
.paper .lead, .paper .muted { color: var(--ink-2); }
.glow { background: radial-gradient(900px 420px at 50% 0%, rgba(101,163,13,.16), transparent 70%), var(--night); }
.glow-b { background: radial-gradient(900px 480px at 50% 100%, rgba(74,222,128,.12), transparent 70%), var(--night); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; border: 0; text-decoration: none; font-size: 16px; font-weight: 500; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s, color .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-lime, .btn-primary { background: var(--lime); color: #0a0a0a; box-shadow: 0 10px 34px rgba(163,230,53,.28); }
.btn-lime:hover, .btn-primary:hover { box-shadow: 0 14px 40px rgba(163,230,53,.4); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: #0a0a0a; }
.btn-line { background: rgba(255,255,255,.06); color: var(--text); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); }
.btn-line:hover { background: rgba(255,255,255,.1); }
.btn-ghost { background: transparent; color: var(--text-2); padding: 0 12px; }
.btn-ghost:hover { color: var(--text); }
.paper .btn-ghost { color: var(--ink-2); }
.link { color: var(--lime); text-decoration: none; font-weight: 500; }
.paper .link { color: var(--lime-ink); }
.link:hover { text-decoration: underline; }

/* ---------- Wolf mark ---------- */
.wolf { display: inline-block; width: 32px; height: 16px; background: currentColor; -webkit-mask: url(/assets/v2/wolf.svg) center / contain no-repeat; mask: url(/assets/v2/wolf.svg) center / contain no-repeat; flex: none; }
.wolf.g { background: var(--brand); }

/* ---------- Floating nav (dark glass) ---------- */
.nav { position: fixed; top: 14px; left: 50%; transform: translateX(-50%); z-index: 50; width: min(1080px, calc(100% - 24px)); display: flex; align-items: center; gap: 8px; padding: 8px 8px 8px 18px; border-radius: 22px; background: rgba(12,13,16,.62); backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px); border: 1px solid rgba(255,255,255,.08); box-shadow: 0 10px 30px rgba(0,0,0,.35); transition: background .3s; }
.nav.scrolled { background: rgba(12,13,16,.86); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 16px; letter-spacing: -0.01em; white-space: nowrap; margin-right: 10px; }
.brand b { font-weight: 700; }
.brand .wolf { background: var(--brand); }
.nav-links { display: flex; gap: 2px; margin: 0; padding: 0; list-style: none; flex: 1; }
.nav-links a { display: block; padding: 8px 11px; border-radius: 12px; text-decoration: none; color: var(--text-2); font-size: 15px; white-space: nowrap; }
.nav-links a:hover, .nav-links a[aria-current] { color: var(--text); background: rgba(255,255,255,.06); }
.lang { display: inline-flex; padding: 3px; border-radius: 12px; background: rgba(255,255,255,.06); }
.lang button, .lang a { border: 0; background: transparent; padding: 5px 9px; border-radius: 9px; font-size: 13px; font-weight: 600; color: var(--text-3); cursor: pointer; text-decoration: none; }
.lang [aria-pressed="true"], .lang [aria-current] { background: rgba(255,255,255,.14); color: #fff; }
.nav .btn { min-height: 42px; padding: 0 18px; font-size: 15px; }
.menu-btn { display: none; border: 0; background: rgba(255,255,255,.07); width: 42px; height: 42px; border-radius: 13px; cursor: pointer; place-items: center; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 18px; height: 2px; background: #fff; border-radius: 2px; position: relative; content: ""; }
.menu-btn span::before { position: absolute; top: -6px; }
.menu-btn span::after { position: absolute; top: 6px; }
.mobile-menu { display: none; }

/* ---------- Hero with film ---------- */
.hero { position: relative; min-height: min(940px, 100svh); padding: 150px 0 70px; display: flex; flex-direction: column; justify-content: center; overflow: hidden; background: var(--night); }
.hero-film { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .95; }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 160px; background: linear-gradient(transparent, var(--night)); pointer-events: none; }
.hero-in { position: relative; z-index: 2; text-align: center; }
.pill-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 8px; border-radius: 999px; background: rgba(12,13,16,.6); border: 1px solid var(--gline); font-size: 14px; color: var(--text-2); backdrop-filter: blur(10px); }
.pill-badge .dot { width: 22px; height: 22px; border-radius: 7px; background: rgba(163,230,53,.14); display: grid; place-items: center; }
.pill-badge .dot .wolf { width: 15px; height: 8px; background: var(--lime); }
.hero h1 { margin-top: 26px; text-shadow: 0 4px 40px rgba(0,0,0,.6); }
.hero .lead { color: #c9ccd1; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 34px; }
.roas-chip { display: inline-flex; align-items: center; gap: 12px; padding: 6px 6px 6px 20px; border-radius: 999px; background: rgba(12,13,16,.66); border: 1px solid var(--gline); backdrop-filter: blur(10px); text-decoration: none; font-weight: 500; min-height: 52px; }
.roas-chip small { font-weight: 400; color: var(--text-3); }
.roas-chip .val { background: var(--brand); color: #0a0a0a; padding: 9px 14px; border-radius: 999px; font-weight: 600; font-variant-numeric: tabular-nums; }
.hero-note { font-size: 14px; color: var(--text-3); margin-top: 14px; }
.paper .hero-note { color: var(--ink-3); }
.sound { position: absolute; right: 22px; bottom: 22px; z-index: 3; border: 0; background: rgba(12,13,16,.6); border: 1px solid var(--line); color: var(--text-2); width: 40px; height: 40px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; backdrop-filter: blur(8px); }

/* Hero: account leak scanner */
.scan { position: relative; margin: 56px auto 0; width: min(920px, 100%); text-align: left; padding: 22px 24px 20px; border-radius: 28px;
  background: linear-gradient(180deg, rgba(14,16,12,.92), rgba(8,9,8,.94)); border: 1px solid var(--gline);
  box-shadow: 0 30px 80px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.05); backdrop-filter: blur(18px); overflow: hidden; }
.scan-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.scan-id { margin: 0; display: flex; align-items: center; gap: 10px; font-size: 13px; letter-spacing: .02em; color: var(--text-2); font-family: ui-monospace, "SF Mono", Menlo, monospace; }
.rec { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(255,107,107,.15); animation: rec 1.6s infinite; }
.scan[data-mode="pack"] .rec { background: var(--lime); box-shadow: 0 0 0 4px rgba(163,230,53,.18); }
@keyframes rec { 50% { opacity: .35; } }
.scan-sw { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 999px; background: rgba(255,255,255,.05); border: 1px solid var(--line); }
.scan-sw button { position: relative; z-index: 1; border: 0; background: none; color: var(--text-2); font: inherit; font-size: 14px; font-weight: 500; padding: 8px 16px; border-radius: 999px; cursor: pointer; white-space: nowrap; transition: color .3s; }
.scan-sw button[aria-checked="true"] { color: #0a0a0a; }
.scan-sw .knob { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 999px; background: #3a3d44; transition: transform .45s cubic-bezier(.3,1.3,.5,1), background .3s; }
.scan[data-mode="hoy"] .scan-sw button[aria-checked="true"] { color: #fff; }
.scan[data-mode="pack"] .scan-sw .knob { transform: translateX(100%); background: var(--brand); }
.funnel { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 22px; min-height: 150px; border-radius: 18px; background: rgba(255,255,255,.025); border: 1px solid var(--line); overflow: hidden; }
.f-band { position: absolute; inset: 0; width: 100%; height: 100%; }
.f-band path { transition: d .8s cubic-bezier(.4,1.2,.4,1); }
.f-st { position: relative; z-index: 1; padding: 16px 18px; border-left: 1px dashed rgba(255,255,255,.1); display: flex; flex-direction: column; justify-content: center; }
.f-st:first-of-type { border-left: 0; }
.f-st small { font-size: 12px; color: var(--text-2); text-transform: uppercase; letter-spacing: .08em; }
.f-st b { font-size: clamp(20px, 3vw, 30px); font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.sweep { position: absolute; z-index: 2; top: 0; bottom: 0; width: 90px; left: -100px; background: linear-gradient(90deg, transparent, rgba(163,230,53,.28), transparent); pointer-events: none; }
.scan.scanning .sweep { animation: sweep 1s ease-in-out; }
@keyframes sweep { to { left: 100%; } }
.leaks { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.leaks li { display: flex; gap: 10px; align-items: baseline; padding: 11px 14px; border-radius: 14px; font-size: 14px; line-height: 1.35; color: var(--text-2);
  background: rgba(255,107,107,.07); border: 1px solid rgba(255,107,107,.22); opacity: 0; transform: translateY(6px); transition: opacity .4s, transform .4s, background .4s, border-color .4s; }
.leaks li.on { opacity: 1; transform: none; }
.leaks .lk-v { flex: none; color: var(--red); font-weight: 600; font-variant-numeric: tabular-nums; }
.scan[data-mode="pack"] .leaks li { background: rgba(163,230,53,.07); border-color: rgba(163,230,53,.25); }
.scan[data-mode="pack"] .leaks .lk-v { color: var(--lime); }
.scan-out { display: flex; align-items: flex-end; gap: 28px; flex-wrap: wrap; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.scan-out small { display: block; font-size: 12px; color: var(--text-3); }
.scan-out b { font-size: clamp(28px, 4.2vw, 44px); font-weight: 600; letter-spacing: -.03em; line-height: 1.05; font-variant-numeric: tabular-nums; transition: color .4s; }
.scan[data-mode="pack"] .scan-out b { background: var(--brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.scan-note { margin: 0 0 4px auto; font-size: 12px; color: var(--text-3); }
@media (prefers-reduced-motion: reduce) { .rec, .scan.scanning .sweep { animation: none; } .f-band path, .scan-sw .knob, .leaks li { transition: none; } }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; margin-top: 54px; }
.tile { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; overflow: hidden; }
.tile h3 { font-size: 20px; font-weight: 500; letter-spacing: -0.02em; margin: 0; }
.tile p { color: var(--text-2); margin: 6px 0 0; font-size: 16px; }
.span-6 { grid-column: span 6; } .span-4 { grid-column: span 4; } .span-3 { grid-column: span 3; } .span-2 { grid-column: span 2; }
.bigstat { min-height: 360px; display: grid; place-items: center; text-align: center; background: radial-gradient(600px 300px at 50% 60%, rgba(101,163,13,.22), transparent 70%), var(--panel); border-color: var(--gline); }
.ghosts { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(8, 1fr); gap: 10px; padding: 24px; opacity: .5; pointer-events: none; mask-image: radial-gradient(ellipse 60% 70% at 50% 50%, transparent 25%, #000 75%); -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 50%, transparent 25%, #000 75%); }
.ghost { border-radius: 14px; background: var(--panel-2); border: 1px solid var(--line); padding: 8px 10px; font-size: 11px; color: var(--text-3); display: flex; flex-direction: column; justify-content: center; }
.ghost b { font-size: 17px; color: #8b8f96; font-weight: 600; font-variant-numeric: tabular-nums; }
.ghost.w2 { grid-column: span 2; }
.bigstat .num { position: relative; font-size: clamp(100px, 16vw, 190px); font-weight: 300; letter-spacing: -0.06em; line-height: .9; font-variant-numeric: tabular-nums; }
.bigstat .num span { background: var(--brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bigstat .cap { position: relative; color: var(--text-2); margin-top: 12px; font-size: 18px; }
.stat-tile .num { font-size: clamp(48px, 6vw, 66px); font-weight: 300; letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat-tile:hover { border-color: var(--gline); }

/* Why us (paper) */
.statement { font-size: clamp(28px, 3.8vw, 46px); font-weight: 300; letter-spacing: -0.035em; line-height: 1.2; margin: 0 auto; max-width: 1000px; text-align: center; }
.statement em { font-style: normal; color: var(--ink-3); text-decoration: line-through; text-decoration-thickness: 2px; }
.statement strong { font-weight: 500; color: var(--ink); box-shadow: inset 0 -0.38em 0 rgba(163,230,53,.55); }
.versus { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 56px; }
.vs { border-radius: var(--r-lg); padding: 30px; }
.vs.old { background: var(--paper-2); color: var(--ink-2); }
.vs.new { background: var(--night); color: #fff; box-shadow: 0 30px 70px rgba(11,11,13,.25), inset 0 0 0 1px rgba(163,230,53,.25); }
.vs h3 { margin: 0 0 18px; font-size: 18px; font-weight: 500; display: flex; align-items: center; gap: 10px; }
.vs ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.vs li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; }
.vs li i { flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 12px; margin-top: 1px; }
.vs.old li i { background: rgba(229,72,77,.12); color: #d13b40; }
.vs.new li i { background: var(--lime); color: #111; }
.vs.new .wolf { width: 30px; height: 15px; background: var(--brand); }

/* Services */
.svc { display: flex; flex-direction: column; min-height: 470px; }
.svc .ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: rgba(163,230,53,.12); color: var(--lime); margin-bottom: 18px; }
.svc .ic svg { width: 22px; height: 22px; }
.svc ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; }
.svc li { font-size: 15px; color: var(--text-2); padding-left: 22px; position: relative; }
.svc li::before { content: ""; position: absolute; left: 0; top: 8px; width: 12px; height: 7px; border-left: 2px solid var(--lime); border-bottom: 2px solid var(--lime); transform: rotate(-45deg); }
.svc .mini { margin-top: auto; padding-top: 24px; }
.mini-card { background: var(--panel-2); border-radius: 18px; padding: 14px; border: 1px solid var(--line); }
.ab { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ab .v { border-radius: 12px; background: #1c2025; padding: 10px; position: relative; }
.ab .v .img { height: 70px; border-radius: 8px; background: linear-gradient(135deg, #3f6212, #14532d); }
.ab .v:nth-child(2) .img { background: linear-gradient(135deg, #2a2d33, #3a3d44); }
.ab .v small { display: block; margin-top: 8px; font-size: 12px; color: var(--text-3); }
.ab .v b { font-size: 15px; font-variant-numeric: tabular-nums; }
.ab .v:first-child b { color: var(--lime); }
.ab .win { position: absolute; top: 8px; right: 8px; background: var(--lime); color: #111; font-size: 10px; font-weight: 700; padding: 3px 7px; border-radius: 999px; }
.serp .q { display: flex; gap: 8px; align-items: center; background: #1c2025; border-radius: 999px; padding: 8px 12px; font-size: 13px; color: var(--text-2); }
.serp .q i { width: 12px; height: 12px; border: 2px solid var(--text-3); border-radius: 50%; }
.serp .res { margin-top: 10px; background: #1c2025; border-radius: 12px; padding: 10px 12px; font-size: 12px; color: var(--text-2); }
.serp .res .ad { font-weight: 700; color: var(--text); margin-right: 6px; }
.serp .res .t { color: #8ab4f8; font-size: 14px; display: block; margin: 2px 0; }
.serp .res .u { color: var(--mint); }
.rank { display: grid; gap: 8px; }
.rank .row { display: flex; align-items: center; gap: 10px; background: #1c2025; border-radius: 12px; padding: 9px 12px; font-size: 13px; }
.rank .pos { width: 30px; height: 26px; border-radius: 8px; display: grid; place-items: center; font-weight: 700; font-variant-numeric: tabular-nums; background: #2a2d33; }
.rank .row.top .pos { background: var(--lime); color: #111; }
.rank .kw { flex: 1; color: var(--text-2); }
.rank .delta { color: var(--lime); font-weight: 600; font-size: 12px; }

/* Calculator (green panel) */
.calc { margin-top: 48px; border-radius: var(--r-xl); padding: clamp(22px, 4vw, 46px); background: radial-gradient(700px 400px at 0% 0%, rgba(163,230,53,.18), transparent 70%), radial-gradient(600px 400px at 100% 100%, rgba(74,222,128,.14), transparent 70%), var(--panel); border: 1px solid var(--gline); display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: center; }
.calc .ctrl { display: grid; gap: 22px; }
.calc label, .calc .lbl { font-size: 14px; font-weight: 600; color: var(--text-2); display: block; margin-bottom: 10px; }
.calc .spend { display: flex; justify-content: space-between; align-items: baseline; }
.calc .spend output { font-size: 28px; font-weight: 400; letter-spacing: -0.03em; color: #fff; font-variant-numeric: tabular-nums; }
input[type=range] { width: 100%; accent-color: var(--lime); height: 28px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.04); border-radius: 999px; padding: 8px 14px; font-size: 14px; cursor: pointer; display: inline-flex; gap: 6px; align-items: baseline; color: var(--text); }
.chip small { color: var(--text-3); font-size: 12px; }
.chip[aria-pressed="true"] { background: var(--lime); color: #0a0a0a; border-color: var(--lime); }
.chip[aria-pressed="true"] small { color: #3f6212; }
.calc .out { background: rgba(0,0,0,.35); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; }
.calc .out .big { font-size: clamp(46px, 5vw, 62px); font-weight: 300; letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; background: var(--brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.calc .out .kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 20px; }
.calc .out .kpis div { background: rgba(255,255,255,.05); border-radius: 14px; padding: 12px 14px; }
.calc .out .kpis small { display: block; font-size: 12px; color: var(--text-3); }
.calc .out .kpis b { font-size: 22px; font-weight: 500; font-variant-numeric: tabular-nums; }
.calc .fine { font-size: 13px; color: var(--text-3); margin: 14px 0 0; }

/* Method tabs (paper) */
.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 34px; }
.tab { display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(17,18,20,.1); background: #fff; border-radius: 999px; padding: 8px 16px 8px 8px; cursor: pointer; font-size: 15px; color: var(--ink); }
.tab kbd { font-family: inherit; font-size: 12px; background: var(--paper-2); color: var(--ink-3); border-radius: 999px; padding: 3px 8px; font-variant-numeric: tabular-nums; }
.tab[aria-selected="true"] { background: var(--night); color: #fff; border-color: var(--night); }
.tab[aria-selected="true"] kbd { background: var(--lime); color: #111; }
.phase { margin-top: 22px; border-radius: var(--r-xl); padding: clamp(28px, 5vw, 56px); text-align: center; min-height: 340px; display: flex; flex-direction: column; justify-content: center; align-items: center; background: var(--night); color: #fff; overflow: hidden; position: relative; transition: background .5s; }
.phase::before { content: ""; position: absolute; inset: 0; opacity: .9; transition: background .5s; pointer-events: none; }
.phase[data-p="1"]::before { background: radial-gradient(500px 260px at 20% 0%, rgba(163,230,53,.22), transparent 70%); }
.phase[data-p="2"]::before { background: radial-gradient(500px 260px at 80% 0%, rgba(74,222,128,.22), transparent 70%); }
.phase[data-p="3"]::before { background: radial-gradient(500px 260px at 50% 100%, rgba(163,230,53,.24), transparent 70%); }
.phase[data-p="4"]::before { background: radial-gradient(700px 300px at 50% 0%, rgba(74,222,128,.28), transparent 70%); }
.phase > * { position: relative; }
.phase h3 { font-size: clamp(24px, 3vw, 34px); font-weight: 300; letter-spacing: -0.03em; margin: 0; }
.phase p { color: var(--text-2); max-width: 560px; margin: 12px auto 0; }
.phase .pdock { margin-top: 30px; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pdock .pw { padding: 14px 16px; text-align: left; border-left: 1px solid var(--line); }
.pdock .pw:first-child { border-left: 0; }
.pdock .pw small { display: block; font-size: 11px; color: var(--text-3); }
.pdock .pw b { font-size: 18px; font-weight: 600; font-variant-numeric: tabular-nums; }
.pdock .pw b.ok { color: var(--lime); }
.pdock .pw b.bad { color: var(--red); }
.phase-note { font-size: 13px; color: var(--text-3); margin-top: 12px; }

/* PackScore teaser */
.ps { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.ps-icon { width: 84px; height: 84px; border-radius: 22px; box-shadow: 0 0 0 1px rgba(163,230,53,.25), 0 0 60px rgba(163,230,53,.35); }
.ps h2 { margin-top: 8px; }
.slogan { font-size: 22px; letter-spacing: -0.02em; margin: 8px 0 0; color: var(--lime); }
.ps .lead { margin-left: 0; }
.film { position: relative; border-radius: 34px; overflow: hidden; background: #000; box-shadow: 0 0 0 1px var(--gline), 0 30px 90px rgba(0,0,0,.6), 0 0 120px rgba(101,163,13,.18); aspect-ratio: 9 / 16; margin-inline: auto; width: min(360px, 100%); }
.film.wide { aspect-ratio: 16 / 9; width: 100%; max-width: 980px; }
.film video { width: 100%; height: 100%; object-fit: cover; }
.play { position: absolute; inset: 0; margin: auto; width: 82px; height: 82px; border-radius: 50%; border: 0; background: var(--lime); cursor: pointer; display: grid; place-items: center; box-shadow: 0 0 0 10px rgba(163,230,53,.18), 0 12px 40px rgba(0,0,0,.5); transition: transform .2s; }
.play:hover { transform: scale(1.06); }
.play::after { content: ""; border-left: 22px solid #0a0a0a; border-top: 13px solid transparent; border-bottom: 13px solid transparent; margin-left: 6px; }
.film.playing .play { display: none; }

/* Cases */
.cases { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 54px; }
.case { margin: 0; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px; display: flex; flex-direction: column; transition: border-color .3s; }
.case:hover { border-color: var(--gline); }
.case .m { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.case .m b { font-size: 58px; font-weight: 300; letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; background: var(--brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.case .m span { color: var(--text-2); }
.case blockquote { margin: 18px 0 22px; font-size: 18px; line-height: 1.55; letter-spacing: -0.01em; color: #e3e5e1; }
.case footer { margin-top: auto; display: flex; flex-direction: column; font-size: 14px; color: var(--text-3); border-top: 1px solid var(--line); padding-top: 14px; }
.case footer strong { color: var(--text); font-weight: 500; font-size: 15px; }

/* Founder — quiet, editorial */
.founder { display: grid; grid-template-columns: minmax(220px, 340px) 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.founder figure { margin: 0; position: relative; }
.founder figure img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 28px; filter: grayscale(1) contrast(1.05); }
.founder figure::after { content: ""; position: absolute; inset: 0; border-radius: 28px; background: linear-gradient(180deg, transparent 55%, rgba(7,8,10,.75)), linear-gradient(135deg, rgba(163,230,53,.18), transparent 50%); pointer-events: none; }
.founder figcaption { position: absolute; left: 22px; bottom: 18px; z-index: 1; font-size: 14px; color: #d4d7d2; }
.founder figcaption b { display: block; color: #fff; font-weight: 500; font-size: 16px; }
.founder h2 { margin: 0 0 22px; }
.founder p { color: var(--text-2); margin: 0 0 16px; font-size: 18px; max-width: 580px; }
.founder p strong { color: var(--text); font-weight: 500; }
.founder .aside { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); color: #d8dbd6; font-size: 18px; font-style: italic; font-weight: 300; max-width: 560px; }
.founder .creds { margin-top: 14px; color: var(--text-3); font-size: 14px; }

/* Guides */
.guides, .cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 44px; }
.guide, .card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; text-decoration: none; display: flex; flex-direction: column; min-height: 230px; transition: transform .2s, border-color .2s; }
.guide:hover, .card:hover { transform: translateY(-3px); border-color: var(--gline); }
.guide .k, .card .kicker { font-size: 13px; color: var(--lime); font-weight: 600; margin: 0; }
.guide h3, .card h3 { font-size: 20px; font-weight: 500; letter-spacing: -0.02em; margin: 12px 0 8px; line-height: 1.25; }
.guide p, .card p { color: var(--text-2); margin: 0; font-size: 15px; }
.guide .rd, .card .meta { margin-top: auto; padding-top: 18px; font-size: 14px; color: var(--text-3); display: flex; justify-content: space-between; gap: 10px; }
.card .meta .link { color: var(--lime); }
.paper .card, .paper .guide { background: #fff; border-color: rgba(17,18,20,.06); color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 12px 40px rgba(17,18,20,.06); }
.paper .card .kicker { color: var(--lime-ink); }
.paper .card p { color: var(--ink-2); }
.paper .card .meta .link { color: var(--lime-ink); }

/* Dark finale */
.finale-sec { position: relative; background: radial-gradient(900px 520px at 50% 55%, #1a250e 0%, var(--night) 65%); overflow: hidden; padding: clamp(110px, 16vw, 200px) 0; }
.cloud { position: absolute; inset: 0; pointer-events: none; }
.fw { position: absolute; transform: translate(-50%, -50%); border-radius: 14px; background: rgba(22,25,29,.92); border: 1px solid rgba(255,255,255,.06); padding: 9px 13px; font-size: 12px; color: #8e9299; white-space: nowrap; box-shadow: 0 10px 30px rgba(0,0,0,.4); animation: drift 14s ease-in-out infinite alternate; }
.fw b { display: block; font-size: 18px; color: #fff; font-weight: 600; font-variant-numeric: tabular-nums; }
.fw b.ok { color: var(--lime); }
.fw b.warn { color: #ffb86b; }
@keyframes drift { from { transform: translate(-50%, -50%) rotate(var(--r, 0deg)); } to { transform: translate(calc(-50% + var(--dx, 10px)), calc(-50% + var(--dy, -14px))) rotate(var(--r, 0deg)); } }
.finale { position: relative; text-align: center; }
.glow-icon { width: 124px; height: 124px; border-radius: 32px; margin: 0 auto; box-shadow: 0 0 0 1px rgba(163,230,53,.3), 0 0 100px rgba(163,230,53,.5), 0 30px 60px rgba(0,0,0,.5); }
.finale h2 { margin-top: 34px; }
.finale .btn { margin-top: 32px; }

/* Contact (paper) */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: start; }
.contact .lead { margin-left: 0; }
.slots { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; padding: 10px 14px; background: var(--night); color: #fff; border-radius: 999px; font-size: 15px; }
.slots .dots { display: inline-flex; gap: 4px; }
.slots .dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--lime); }
form.lead-form { background: #fff; border-radius: var(--r-xl); padding: clamp(22px, 3.5vw, 36px); box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 20px 60px rgba(17,18,20,.08); display: grid; gap: 14px; color: var(--ink); }
.field { display: grid; gap: 6px; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.field label small { font-weight: 400; color: var(--ink-3); }
.input { width: 100%; font: inherit; font-size: 16px; border: 1px solid #e3e2dd; background: #fafaf8; border-radius: 14px; padding: 13px 14px; color: var(--ink); }
.input:focus { outline: none; border-color: #65a30d; box-shadow: 0 0 0 4px rgba(163,230,53,.28); background: #fff; }
textarea.input { min-height: 96px; resize: vertical; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { font-size: 13px; color: var(--text-3); margin: 0; }
.paper .consent, form.lead-form .consent { color: var(--ink-3); }
.consent a { color: inherit; }
.form-status { font-size: 15px; min-height: 22px; margin: 0; }
.form-status.err { color: #d13b40; }
.dark-form .form-status.err { color: var(--red); }
.form-status.ok { color: var(--lime); }
.form-done { text-align: center; padding: 40px 10px; }
.form-done .ok { width: 64px; height: 64px; border-radius: 50%; background: var(--lime); color: #111; margin: 0 auto 16px; display: grid; place-items: center; font-size: 28px; }
.form-done p { color: var(--ink-2); }
/* one-line email forms (waitlist, newsletter) */
.inline-form { display: flex; gap: 10px; max-width: 520px; margin: 0 auto; }
.inline-form .input { flex: 1; }
.dark-form .input, .inline-form.dark .input { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); color: #fff; }
.dark-form .input::placeholder { color: #7d8188; }
.dark-form .input:focus { background: rgba(255,255,255,.08); }

/* FAQ */
.faq { margin-top: 40px; display: grid; gap: 10px; }
.faq details { background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 0 22px; transition: border-color .25s; }
.faq details[open] { border-color: var(--gline); }
.faq summary { list-style: none; cursor: pointer; padding: 19px 0; font-size: 17px; font-weight: 500; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.07); font-size: 18px; color: var(--text-2); }
.faq details[open] summary::after { content: "−"; background: var(--lime); color: #111; }
.faq details p { margin: -4px 0 20px; color: var(--text-2); }

/* Footer */
.foot { padding: 76px 0 40px; border-top: 1px solid var(--line); background: #050607; }
.foot-cta { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: center; padding: 30px; border-radius: var(--r-lg); background: radial-gradient(500px 200px at 0% 0%, rgba(163,230,53,.18), transparent 70%), var(--panel); border: 1px solid var(--gline); margin-bottom: 60px; }
.foot-cta p { margin: 0; font-size: clamp(20px, 2.4vw, 26px); font-weight: 300; letter-spacing: -0.02em; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 28px; }
.foot h4 { font-size: 14px; font-weight: 600; margin: 0 0 12px; color: var(--text); }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot a { color: var(--text-2); text-decoration: none; font-size: 15px; }
.foot a:hover { color: var(--lime); }
.foot .fine { margin-top: 48px; display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; font-size: 13px; color: var(--text-3); }
.foot .about { color: var(--text-2); font-size: 15px; margin: 14px 0 0; max-width: 300px; }

/* ---------- PackScore page ---------- */
.ps-hero { padding: 150px 0 60px; text-align: center; background: radial-gradient(900px 500px at 50% 10%, rgba(101,163,13,.22), transparent 70%), var(--night); overflow: hidden; }
.ps-hero .ps-icon { margin: 0 auto; width: 104px; height: 104px; border-radius: 26px; }
.ps-hero h1 { margin-top: 26px; }
.badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 26px; }
.badges span { font-size: 14px; padding: 7px 14px; border-radius: 999px; background: rgba(255,255,255,.05); border: 1px solid var(--line); color: var(--text-2); }
.badges span::before { content: "✓ "; color: var(--lime); }
.phones { display: flex; justify-content: center; align-items: flex-end; margin-top: 70px; }
/* Realistic iPhone: titanium rim, thin black bezel, Dynamic Island, side buttons. Sizes in cqw so it scales cleanly. */
.phone { position: relative; container-type: inline-size; width: min(300px, 70vw); flex: none; aspect-ratio: 900 / 1955; box-sizing: content-box;
  padding: 6px; border-radius: 15.1% / 7%;
  background: #050505;
  box-shadow: 0 0 0 1.5px #3a3d42, 0 0 0 3px #1a1b1e, inset 0 0 0 1px rgba(255,255,255,.06), 0 50px 100px -20px rgba(0,0,0,.75), 0 0 140px rgba(101,163,13,.16); }
.phone::before { content: ""; position: absolute; z-index: 2; top: calc(6px + 3.1cqw); left: 50%; transform: translateX(-50%); width: 30cqw; height: 8.6cqw; border-radius: 99px; background: #000; box-shadow: inset 0 0 0 1px rgba(255,255,255,.04); }
.phone::after { content: ""; position: absolute; right: -4px; top: 27%; width: 3px; height: 15%; border-radius: 0 3px 3px 0; background: linear-gradient(90deg, #2a2c30, #4a4d52); }
.phone img { display: block; width: 100%; height: 100%; border-radius: 13.6cqw; object-fit: cover; object-position: top; }
.phones .phone { margin: 0 -2.5%; }
.phones .phone:nth-child(2) { z-index: 2; width: min(320px, 74vw); }
.phones .phone.tilt-l, .phones .phone.tilt-r { width: min(270px, 64vw); opacity: .92; filter: saturate(.9) brightness(.85); }
.phones .phone.tilt-l, .phones .phone.tilt-l.rv.in { transform: perspective(1400px) rotateY(18deg) rotate(-2deg) translateY(30px); }
.phones .phone.tilt-r, .phones .phone.tilt-r.rv.in { transform: perspective(1400px) rotateY(-18deg) rotate(2deg) translateY(30px); }
.feat { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 54px; }
.feat .tile .ic { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: rgba(163,230,53,.12); color: var(--lime); margin-bottom: 16px; font-size: 20px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.split + .split { margin-top: clamp(70px, 10vw, 120px); }
.split.rev > :first-child { order: 2; }
.split ul { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.split li { display: flex; gap: 12px; color: var(--ink-2); font-size: 17px; }
.split li::before { content: "✓"; flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--lime); color: #111; display: grid; place-items: center; font-size: 13px; font-weight: 700; margin-top: 1px; }
.split .phone { margin: 0 auto; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 50px; counter-reset: s; }
.steps .tile { padding-top: 70px; }
.steps .tile::before { counter-increment: s; content: "0" counter(s); position: absolute; top: 22px; left: 26px; font-size: 14px; font-weight: 600; color: #111; background: var(--lime); border-radius: 999px; padding: 4px 10px; }

/* ---------- Articles and simple pages ---------- */
.page-hero { padding: 150px 0 60px; background: radial-gradient(900px 420px at 50% 0%, rgba(101,163,13,.2), transparent 70%), var(--night); }
.page-hero .lead { margin-left: 0; }
.page-hero.center .lead { margin-left: auto; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--text-3); margin-bottom: 26px; }
.crumbs a { color: var(--text-2); text-decoration: none; }
.crumbs a:hover { color: var(--lime); }
.byline { display: flex; align-items: center; gap: 12px; margin-top: 26px; font-size: 14px; color: var(--text-3); }
.byline img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; filter: grayscale(1); }
.byline b { display: block; color: var(--text); font-weight: 500; font-size: 15px; }
.lang-alt { margin: 18px 0 0; font-size: 15px; }
.lang-alt a { color: var(--lime); text-decoration: none; }
.reading { background: var(--paper); color: var(--ink); padding: 70px 0 100px; }
.prose { font-size: 18px; line-height: 1.75; color: #2a2c30; }
.prose > * + * { margin-top: 1.1em; }
.prose p { margin: 0; }
.prose h2 { font-size: clamp(26px, 3vw, 34px); font-weight: 400; letter-spacing: -0.03em; line-height: 1.2; color: var(--ink); margin-top: 2em; }
.prose h3 { font-size: 21px; font-weight: 600; letter-spacing: -0.015em; color: var(--ink); margin-top: 1.6em; }
.prose a { color: var(--lime-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose strong { color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li + li { margin-top: .4em; }
.prose .intro { font-size: 21px; color: var(--ink); }
.prose ul.checks, .prose ul.crosses { list-style: none; padding: 0; }
.prose ul.checks li, .prose ul.crosses li { position: relative; padding-left: 34px; }
.prose ul.checks li::before, .prose ul.crosses li::before { position: absolute; left: 0; top: .35em; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; }
.prose ul.checks li::before { content: "✓"; background: var(--lime); color: #111; }
.prose ul.crosses li::before { content: "✕"; background: rgba(229,72,77,.14); color: #d13b40; }
.prose blockquote { margin: 1.6em 0; padding: 20px 24px; border-left: 3px solid var(--lime); background: #fff; border-radius: 0 16px 16px 0; font-size: 19px; color: var(--ink); }
.prose table { width: 100%; border-collapse: collapse; font-size: 16px; background: #fff; border-radius: 16px; overflow: hidden; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--paper-2); }
.prose th { background: var(--night); color: #fff; font-weight: 600; }
.prose code { background: #fff; padding: 2px 6px; border-radius: 6px; font-size: .9em; }
.prose pre { background: var(--night); color: #e6e8e3; padding: 18px; border-radius: 16px; overflow-x: auto; font-size: 15px; }
.prose pre code { background: none; padding: 0; }
.toc { background: #fff; border-radius: 20px; padding: 22px 24px; box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 12px 40px rgba(17,18,20,.05); font-size: 16px; }
.toc p { margin: 0 0 10px; font-weight: 600; color: var(--ink); }
.toc ol { margin: 0; padding-left: 1.2em; }
.toc a { color: var(--ink-2); text-decoration: none; }
.toc a:hover { color: var(--lime-ink); }
.callout, .note, .box { background: #fff; border-radius: 18px; padding: 20px 22px; border: 1px solid rgba(17,18,20,.06); }
.related { margin-top: 70px; padding-top: 40px; border-top: 1px solid rgba(17,18,20,.1); }
.related h2 { font-size: 26px; font-weight: 400; letter-spacing: -0.02em; color: var(--ink); margin: 0; }
.related .cards { grid-template-columns: 1fr 1fr; margin-top: 22px; }
.related .card { background: #fff; border-color: rgba(17,18,20,.06); color: var(--ink); }
.related .card p { color: var(--ink-2); }
.related .card .kicker, .related .card .meta .link { color: var(--lime-ink); }
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--brand); z-index: 60; }
.nl { padding: 90px 0; }

/* Preview ribbon */
.preview { position: fixed; bottom: 14px; left: 50%; transform: translateX(-50%); z-index: 60; background: var(--lime); color: #0a0a0a; font-size: 13px; padding: 8px 14px; border-radius: 999px; box-shadow: 0 10px 30px rgba(0,0,0,.35); white-space: nowrap; font-weight: 500; }

/* Reveal on scroll */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.rv.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1040px) {
  .nav-links { display: none; }
  .menu-btn { display: grid; }
  .nav .spacer { flex: 1; }
  .mobile-menu { position: fixed; top: 78px; left: 12px; right: 12px; z-index: 49; background: rgba(12,13,16,.96); backdrop-filter: blur(18px); border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 20px 50px rgba(0,0,0,.5); padding: 10px; display: none; }
  .mobile-menu.open { display: grid; }
  .mobile-menu a { padding: 14px 16px; border-radius: 14px; text-decoration: none; font-size: 17px; color: var(--text); }
  .mobile-menu a:hover { background: rgba(255,255,255,.06); }
  .mobile-menu .btn { margin-top: 6px; }
  .span-4, .span-3, .span-2 { grid-column: span 6; }
  .calc, .ps, .contact, .founder, .split { grid-template-columns: 1fr; }
  .split.rev > :first-child { order: 0; }
  .founder figure { max-width: 340px; margin-inline: auto; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .guides, .cards, .feat, .steps { grid-template-columns: 1fr; }
  .svc { min-height: 0; }
}
@media (min-width: 1041px) { .nav .spacer { display: none; } }
@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav .btn-lime { display: none; }
  .versus, .cases, .grid2, .related .cards { grid-template-columns: 1fr; }
  .bigstat { min-height: 300px; }
  .ghosts { grid-template-columns: repeat(4, 1fr); }
  .scan { padding: 18px 16px 16px; border-radius: 24px; }
  .scan-top { flex-direction: column; align-items: stretch; }
  .funnel { grid-template-columns: repeat(2, 1fr); min-height: 0; }
  .f-st:nth-of-type(3) { border-left: 0; }
  .f-st { padding: 12px 14px; }
  .leaks { grid-template-columns: 1fr; }
  .f-band { display: none; }
  .f-st::after { content: ""; display: block; height: 4px; margin-top: 8px; border-radius: 4px; width: var(--w, 50%); background: var(--brand); transition: width .8s; }
  .scan[data-mode="hoy"] .f-st::after { background: linear-gradient(90deg, #a3e635, #ff6b6b); }
  .scan-note { margin-left: 0; width: 100%; }
  .phase .pdock { grid-template-columns: repeat(2, 1fr); }
  .pdock .pw:nth-child(3) { border-left: 0; }
  .foot-grid { grid-template-columns: 1fr; }
  .hero-cta .btn, .hero-cta .roas-chip { width: 100%; justify-content: center; }
  .calc .out .kpis { grid-template-columns: 1fr; }
  .cloud { display: none; }
  .inline-form { flex-direction: column; }
  .phones .phone.tilt-l, .phones .phone.tilt-r { display: none; }
  .phones .phone:nth-child(2), .phone { width: min(290px, 72vw); }
  .prose { font-size: 17px; }
  .hero { min-height: 0; padding-top: 130px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv { opacity: 1; transform: none; transition: none; }
  .fw { animation: none; }
  .btn, .d-app, .guide, .card, .play { transition: none; }
}

/* ==========================================================================
   Light / dark toggle
   ========================================================================== */
.theme-btn { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border: 0; border-radius: 12px; background: rgba(255,255,255,.06); color: var(--text-2); cursor: pointer; transition: background .2s, color .2s; }
.theme-btn:hover { color: var(--text); background: rgba(255,255,255,.1); }
.theme-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.theme-btn .i-moon { display: none; }
html[data-theme="light"] .theme-btn .i-sun { display: none; }
html[data-theme="light"] .theme-btn .i-moon { display: block; fill: currentColor; stroke: none; }

/* ==========================================================================
   Light theme. The hero film, the scanner and the Method card stay dark "stages".
   ========================================================================== */
html[data-theme="light"] {
  color-scheme: light;
  --day: #fafaf7;
  --panel: #ffffff;
  --panel-2: #f1f0ea;
  --line: rgba(17,18,20,.09);
  --gline: rgba(77,124,15,.28);
  --text: #111214;
  --text-2: #55575d;
  --text-3: #85878d;
  --lime-text: #4d7c0f;
  --brand-text: linear-gradient(90deg, #4d7c0f, #15803d);
}
/* Dark stages keep the dark tokens */
html[data-theme="light"] .hero, html[data-theme="light"] .phase, html[data-theme="light"] .vs.new {
  --panel: #0f1114; --panel-2: #16191d; --line: rgba(255,255,255,.08); --gline: rgba(163,230,53,.2);
  --text: #f3f4f1; --text-2: #a6a9b0; --text-3: #6f737a; color: var(--text);
}
html[data-theme="light"] body { background: var(--day); }
html[data-theme="light"] .glow { background: radial-gradient(900px 420px at 50% 0%, rgba(163,230,53,.16), transparent 70%), var(--day); }
html[data-theme="light"] .glow-b { background: radial-gradient(900px 480px at 50% 100%, rgba(74,222,128,.14), transparent 70%), var(--day); }
html[data-theme="light"] .page-hero { background: radial-gradient(900px 420px at 50% 0%, rgba(163,230,53,.2), transparent 70%), var(--day); }
html[data-theme="light"] .finale-sec { background: radial-gradient(900px 520px at 50% 55%, rgba(163,230,53,.22) 0%, var(--day) 65%); }
html[data-theme="light"] .hero::after { background: linear-gradient(transparent, var(--day)); }
html[data-theme="light"] .foot { background: #f1f0ea; }

/* Green text needs to be darker on light backgrounds */
html[data-theme="light"] .eyebrow, html[data-theme="light"] .guide .k, html[data-theme="light"] .card .kicker,
html[data-theme="light"] .card .meta .link, html[data-theme="light"] .foot a:hover, html[data-theme="light"] .link { color: var(--lime-text); }
html[data-theme="light"] .hero .eyebrow, html[data-theme="light"] .phase .eyebrow { color: var(--lime); }
html[data-theme="light"] .ink-grad, html[data-theme="light"] .grad, html[data-theme="light"] .bigstat .num span, html[data-theme="light"] .case .m b { background: var(--brand-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
html[data-theme="light"] .hero .ink-grad, html[data-theme="light"] .phase .ink-grad { background: var(--brand); -webkit-background-clip: text; background-clip: text; }
html[data-theme="light"] .svc .ic { background: rgba(163,230,53,.2); color: var(--lime-text); }
html[data-theme="light"] .svc li::before { border-color: var(--lime-text); }

/* Nav and menus: white glass */
html[data-theme="light"] .nav { background: rgba(255,255,255,.72); border-color: rgba(17,18,20,.08); box-shadow: 0 10px 30px rgba(17,18,20,.08); }
html[data-theme="light"] .nav.scrolled { background: rgba(255,255,255,.9); }
html[data-theme="light"] .nav-links a:hover, html[data-theme="light"] .nav-links a[aria-current] { background: rgba(17,18,20,.05); }
html[data-theme="light"] .lang, html[data-theme="light"] .theme-btn, html[data-theme="light"] .menu-btn { background: rgba(17,18,20,.05); }
html[data-theme="light"] .lang [aria-pressed="true"], html[data-theme="light"] .lang [aria-current] { background: #fff; color: var(--text); box-shadow: 0 1px 3px rgba(17,18,20,.12); }
html[data-theme="light"] .theme-btn:hover { background: rgba(17,18,20,.09); }
html[data-theme="light"] .menu-btn span, html[data-theme="light"] .menu-btn span::before, html[data-theme="light"] .menu-btn span::after { background: var(--text); }
html[data-theme="light"] .mobile-menu { background: rgba(255,255,255,.97); box-shadow: 0 20px 50px rgba(17,18,20,.15); }
html[data-theme="light"] .mobile-menu a:hover { background: rgba(17,18,20,.05); }

/* Cards and tiles */
html[data-theme="light"] .tile, html[data-theme="light"] .case, html[data-theme="light"] .guide, html[data-theme="light"] .card { box-shadow: 0 1px 2px rgba(17,18,20,.04), 0 12px 40px rgba(17,18,20,.06); }
html[data-theme="light"] .bigstat { background: radial-gradient(600px 300px at 50% 60%, rgba(163,230,53,.22), transparent 70%), #fff; }
html[data-theme="light"] .ghost b { color: #a0a3a8; }
html[data-theme="light"] .case blockquote, html[data-theme="light"] .founder .aside { color: var(--text); }
html[data-theme="light"] .ab .v, html[data-theme="light"] .serp .q, html[data-theme="light"] .serp .res, html[data-theme="light"] .rank .row { background: var(--panel-2); }
html[data-theme="light"] .rank .pos { background: #e3e2dc; }
html[data-theme="light"] .serp .res .t { color: #1a0dab; }
html[data-theme="light"] .badges span, html[data-theme="light"] .faq summary::after { background: rgba(17,18,20,.05); }
html[data-theme="light"] .btn-line { background: #fff; box-shadow: inset 0 0 0 1px rgba(17,18,20,.14); }
html[data-theme="light"] .btn-line:hover { background: var(--panel-2); }

/* Calculator */
html[data-theme="light"] .calc .spend output { color: var(--text); }
html[data-theme="light"] .chip { border-color: rgba(17,18,20,.12); background: #fff; }
html[data-theme="light"] .chip[aria-pressed="true"] { background: var(--lime); border-color: var(--lime); }
html[data-theme="light"] .calc .out { background: #fff; box-shadow: 0 12px 40px rgba(17,18,20,.06); }
html[data-theme="light"] .calc .out .kpis div { background: var(--panel-2); }

/* Floating metrics in the finale */
html[data-theme="light"] .fw { background: rgba(255,255,255,.95); border-color: rgba(17,18,20,.07); color: var(--text-3); box-shadow: 0 10px 30px rgba(17,18,20,.1); }
html[data-theme="light"] .fw b { color: var(--text); }
html[data-theme="light"] .fw b.warn { color: #c2410c; }

/* Forms placed on dark sections in dark mode */
html[data-theme="light"] .dark-form .input, html[data-theme="light"] .inline-form.dark .input { background: #fff; border-color: rgba(17,18,20,.14); color: var(--text); }
html[data-theme="light"] .dark-form .input::placeholder { color: var(--text-3); }

/* Phones get a softer shadow on light */
html[data-theme="light"] .phone { box-shadow: 0 0 0 1.5px #3a3d42, 0 0 0 3px #c9cacd, 0 50px 100px -20px rgba(17,18,20,.35), 0 0 120px rgba(163,230,53,.18); }
html[data-theme="light"] .film { box-shadow: 0 0 0 1px rgba(17,18,20,.08), 0 30px 90px rgba(17,18,20,.25); }

/* Narrow phones: room for the theme button next to ES/EN */
@media (max-width: 420px) {
  .brand span { font-size: 0; }
  .brand span b { font-size: 16px; }
  .brand { margin-right: 0; }
  .nav { gap: 6px; padding-left: 14px; }
}
html[data-theme="light"] .ps-hero { background: radial-gradient(900px 500px at 50% 10%, rgba(163,230,53,.24), transparent 70%), var(--day); }
html[data-theme="light"] { background: var(--day); }

/* "Coming soon" status (Apple only allows its official badge once the app is live) */
.soon { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--gline); background: rgba(163,230,53,.06); color: var(--text); font-weight: 500; font-size: 16px; }
.soon i { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 0 rgba(163,230,53,.6); animation: soon 2s infinite; }
@keyframes soon { 70% { box-shadow: 0 0 0 9px rgba(163,230,53,0); } 100% { box-shadow: 0 0 0 0 rgba(163,230,53,0); } }
html[data-theme="light"] .soon { background: #fff; }
html[data-theme="light"] .soon i { background: #65a30d; }
@media (prefers-reduced-motion: reduce) { .soon i { animation: none; } }
@media (max-width: 720px) { .hero-cta .soon { width: 100%; justify-content: center; } }
html[data-theme="light"] .badges span { background: #fff; }
html[data-theme="light"] .badges span::before { color: var(--lime-text); }

/* Scanner: same type and surfaces as the rest of the site */
.scan-id { font-family: inherit; font-size: 14px; letter-spacing: 0; color: var(--text-2); }
.rec { width: 7px; height: 7px; }
.scan-sw { padding: 3px; border: 0; border-radius: 14px; background: rgba(255,255,255,.06); }
.scan-sw button { font-size: 14px; padding: 8px 16px; border-radius: 11px; }
.scan-sw .knob { top: 3px; bottom: 3px; left: 3px; width: calc(50% - 3px); border-radius: 11px; background: rgba(255,255,255,.14); }
.funnel { background: transparent; }
.f-st small { font-size: 13px; text-transform: none; letter-spacing: 0; color: var(--text-3); }
.f-st b { font-size: clamp(30px, 4vw, 42px); font-weight: 300; letter-spacing: -0.045em; line-height: 1.1; }
.leaks { gap: 0; margin-top: 18px; }
.leaks li, .scan[data-mode="pack"] .leaks li { background: none; border: 0; border-radius: 0; border-top: 1px solid var(--line); padding: 12px 2px; font-size: 15px; }
.leaks .lk-v { font-weight: 500; min-width: 58px; }
.scan-out { gap: 40px; }
.scan-out small { font-size: 13px; }
.scan-out b { font-size: clamp(40px, 5.4vw, 60px); font-weight: 300; letter-spacing: -0.05em; }
@media (min-width: 721px) { .leaks { grid-template-columns: 1fr; } .leaks li:last-child { border-bottom: 1px solid var(--line); } }
@media (max-width: 720px) {
  .scan-out { gap: 32px; }
  .f-st::after, .scan[data-mode="hoy"] .f-st::after { height: 3px; border-radius: 3px; width: 100%; background: linear-gradient(var(--bar), var(--bar)) no-repeat 0 0 / var(--w, 50%) 100%, rgba(255,255,255,.08); transition: background-size .8s; }
  .scan { --bar: #ff8a7a; }
  .scan[data-mode="pack"] { --bar: #a3e635; }
}
@media (min-width: 721px) { .f-st small { color: var(--text-2); text-shadow: 0 1px 8px rgba(0,0,0,.5); } }

/* Scanner status: the wolf logo blinks instead of a dot (coral while scanning problems, green once fixed) */
.rec-wolf { width: 24px; height: 12px; background: #ff8a7a; animation: rec 1.6s ease-in-out infinite; }
.scan[data-mode="pack"] .rec-wolf { background: var(--brand); }
@media (prefers-reduced-motion: reduce) { .rec-wolf { animation: none; } }
