/* Odd One Media — v3 "signal from noise"
   Dark terminal sections (ink) alternate with editorial paper sections.
   Brand blue comes from the logo; lime is reserved for profit / "winning" signals,
   red for loss. Everything is mobile-first; motion is gated on prefers-reduced-motion. */

:root {
  --ink: #050c14;
  --ink-2: #0a1622;
  --panel: #0d1b29;
  --panel-2: #112333;
  --line: rgba(150, 185, 220, 0.14);
  --line-2: rgba(150, 185, 220, 0.24);
  --text: #e9eff5;
  --muted: #8b9cad;
  --brand: #007cd4;
  --blue: #2a93ff;
  --signal: #c6ff3a;
  --loss: #ff5a4e;
  --paper: #f1efe9;
  --paper-2: #e7e4db;
  --paper-ink: #0b1622;
  --paper-muted: #5b6672;
  --paper-line: rgba(11, 22, 34, 0.12);

  --f-display: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --f-body: "Geist", ui-sans-serif, system-ui, sans-serif;
  --f-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --f-serif: "Instrument Serif", Georgia, serif;

  --gutter: 16px;
  --maxw: 1240px;
  --radius: 18px;
  --nav-h: 64px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
@media (min-width: 768px) { :root { --gutter: 32px; --nav-h: 72px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font: 400 16px/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
html { overflow-x: clip; }
/* film grain over everything — subtle texture so the dark doesn't feel flat */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 700; letter-spacing: -0.025em; line-height: 1.02; margin: 0; }
h2 { font-size: clamp(2rem, 5.2vw, 3.6rem); }
h3 { font-size: 1.3rem; letter-spacing: -0.015em; line-height: 1.15; }
p { margin: 0 0 1rem; }
h1, h2 { text-wrap: balance; }
h2 + p, h2 + .answer, h2 + .lede { margin-top: 1.25rem; }
.serif { font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
.muted { color: var(--muted); }
strong { font-weight: 600; color: inherit; }
mark { background: linear-gradient(transparent 58%, rgba(198, 255, 58, 0.55) 58%); color: inherit; padding: 0 2px; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
section { position: relative; }
.kicker { font: 500 0.78rem/1 var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue); margin-bottom: 1.1rem; }
.section-head { max-width: 760px; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section-head .muted { margin-top: 1rem; font-size: 1.05rem; }
.answer { font-size: clamp(1.08rem, 1.6vw, 1.22rem); line-height: 1.55; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--signal); color: var(--ink); padding: 10px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; border-radius: 6px; }

/* ---------- Buttons ---------- */
.btn {
  --bg: transparent; --fg: var(--text);
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: 48px; padding: 0 1.3rem; border-radius: 999px; border: 1px solid transparent;
  background: var(--bg); color: var(--fg); font: 600 0.98rem/1 var(--f-body); text-decoration: none;
  cursor: pointer; transition: transform 0.25s var(--ease), background 0.25s, box-shadow 0.25s, border-color 0.25s;
  will-change: transform; -webkit-tap-highlight-color: transparent;
}
.btn span { transition: transform 0.25s var(--ease); }
.btn:hover span { transform: translateX(3px); }
.btn-primary { --bg: var(--signal); --fg: #08120a; box-shadow: 0 0 0 0 rgba(198, 255, 58, 0.4); }
.btn-primary:hover { box-shadow: 0 10px 40px -8px rgba(198, 255, 58, 0.55); }
.btn-ghost { border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--text); }
.btn-dark { --bg: var(--ink); --fg: var(--signal); }
.btn-dark:hover { box-shadow: 0 12px 34px -10px rgba(5, 12, 20, 0.7); }
.btn-sm { min-height: 40px; padding: 0 1rem; font-size: 0.9rem; }
.btn-lg { min-height: 56px; padding: 0 1.6rem; font-size: 1.04rem; }
.btn-block { width: 100%; }

/* ---------- Seasonal blocks (site.js shows them only inside their date window) ---------- */
[data-season][hidden], [data-offseason][hidden] { display: none !important; }

/* ---------- Announcement + Nav ---------- */
.announce {
  display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap;
  padding: 9px var(--gutter); background: var(--signal); color: #0a1405; font-size: 0.84rem; text-align: center; line-height: 18px;
}
.announce p { margin: 0; }
.announce a { font-weight: 600; white-space: nowrap; }
.announce-dot { width: 7px; height: 7px; border-radius: 50%; background: #0a1405; animation: blink 1.6s infinite; }
@media (max-width: 560px) { .announce .hide-sm, .announce .announce-dot { display: none; } .announce { font-size: 0.8rem; } }

.nav { position: sticky; top: 0; z-index: 101; /* above the film-grain overlay (z 100) so the logo and links render clean */ transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(5, 12, 20, 0.94); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); border-color: var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark { display: block; flex: none; width: 38px; height: 36px; color: var(--blue); } /* whole pixels: the mark is hinted for 38px */
.brand-word { font: 700 1.08rem/1 var(--f-display); letter-spacing: -0.02em; }
.brand-word em { font-style: normal; font-weight: 400; color: var(--muted); }
.nav-links { display: none; gap: 28px; font-size: 0.93rem; }
.nav-links a { text-decoration: none; color: var(--muted); transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.menu-btn { width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 50%; background: none; display: grid; place-content: center; gap: 5px; cursor: pointer; }
.menu-btn span { display: block; width: 16px; height: 1.5px; background: var(--text); transition: transform 0.3s var(--ease); }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(3.25px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-3.25px) rotate(-45deg); }
.mobile-menu { display: grid; gap: 4px; padding: 8px var(--gutter) 20px; background: rgba(5, 12, 20, 0.96); border-bottom: 1px solid var(--line); }
.mobile-menu[hidden] { display: none; }
.mobile-menu a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; font: 600 1.15rem/1 var(--f-display); }
.mobile-menu .btn { margin-top: 14px; }
@media (min-width: 980px) { .nav-links { display: flex; } .menu-btn { display: none; } .mobile-menu { display: none !important; } }

/* ---------- HERO ---------- */
.hero { position: relative; isolation: isolate; padding: clamp(28px, 6vw, 56px) var(--gutter) 0; max-width: var(--maxw); margin: 0 auto; }
.hero::before { /* atmospheric glow */
  content: ""; position: absolute; inset: -120px 0 auto; height: 760px; pointer-events: none; z-index: -1;
  background: radial-gradient(48% 50% at 70% 35%, rgba(0, 124, 212, 0.28), transparent 70%), radial-gradient(30% 30% at 20% 20%, rgba(198, 255, 58, 0.08), transparent 70%);
}
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 500 0.76rem/1.3 var(--f-mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line-2); padding: 8px 12px; border-radius: 999px; margin-bottom: 1.4rem; }
/* the hero pill lists four audiences: keep it on one line on phones */
@media (max-width: 440px) { .eyebrow { gap: 8px; font-size: 0.65rem; letter-spacing: 0.035em; padding: 7px 11px; } }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 0 rgba(198, 255, 58, 0.6); animation: pulse 2s infinite; flex: none; }
.hero h1 { font-size: clamp(2.9rem, 11vw, 5.6rem); font-weight: 800; letter-spacing: -0.04em; line-height: 0.95; margin-bottom: 1.3rem; }
.hero h1 .serif { color: var(--signal); font-size: 1.08em; padding-right: 0.04em; }
.lede { font-size: clamp(1.05rem, 1.7vw, 1.2rem); color: #c4d0dc; max-width: 34rem; }
.lede strong { color: var(--text); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.8rem 0 1.2rem; }
.micro-trust { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 0.86rem; color: var(--muted); }
.micro-trust li::before { content: "✓"; color: var(--signal); margin-right: 6px; font-weight: 700; }
.scroll-hint { display: none; align-items: center; gap: 10px; margin-top: 2.6rem; font: 500 0.72rem/1 var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.mouse { width: 18px; height: 28px; border: 1.5px solid var(--muted); border-radius: 10px; position: relative; }
.mouse::after { content: ""; position: absolute; left: 50%; top: 5px; width: 2px; height: 6px; margin-left: -1px; border-radius: 2px; background: var(--signal); animation: wheel 1.8s infinite; }

@media (max-width: 559px) { .cta-row .btn { width: 100%; } }

/* The story: a tall track with a sticky panel. Progress is read in JS. */
.story { position: relative; height: 280vh; margin-top: 36px; }
.story-sticky { position: sticky; top: calc(var(--nav-h) + 8px); height: calc(100svh - var(--nav-h) - 16px); display: flex; align-items: stretch; }
.panel { background: linear-gradient(180deg, var(--panel), var(--ink-2)); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.04); }
.story-panel { margin: 0; width: 100%; display: flex; flex-direction: column; overflow: hidden; }
.panel-bar { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); font: 500 0.74rem/1 var(--f-mono); color: var(--muted); }
.dots { display: flex; gap: 6px; } .dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); }
.panel-title { flex: 1; }
.panel-live { display: inline-flex; align-items: center; gap: 6px; }
.panel-live i { width: 6px; height: 6px; border-radius: 50%; background: var(--signal); animation: blink 1.6s infinite; }
.hud { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); }
.hud div { padding: 10px 14px; border-right: 1px solid var(--line); }
.hud div:last-child { border-right: 0; }
.hud span { display: block; font: 500 0.62rem/1.2 var(--f-mono); text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin-bottom: 4px; }
.hud b { font: 600 clamp(1rem, 2.4vw, 1.35rem)/1 var(--f-mono); font-variant-numeric: tabular-nums; }
#hud-cut { color: var(--loss); } #hud-scaled { color: var(--signal); } #hud-roas { color: var(--text); }
.canvas-wrap { flex: 1; position: relative; min-height: 0; }
.canvas-wrap canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.story-steps { list-style: none; margin: 0; padding: 12px 16px 16px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; border-top: 1px solid var(--line); }
.story-steps li { opacity: 0.4; transition: opacity 0.4s; }
.story-steps li.is-active, .story-steps li.is-done { opacity: 1; }
.story-steps .bar { display: block; height: 2px; background: var(--line-2); border-radius: 2px; margin-bottom: 10px; overflow: hidden; }
.story-steps .bar i { display: block; height: 100%; width: 0; background: var(--signal); }
.story-steps b { display: block; font: 500 0.7rem/1.2 var(--f-mono); letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 4px; }
.story-steps p { font-size: 0.86rem; line-height: 1.35; color: var(--muted); margin: 0; }
.story-steps li.is-active p { color: var(--text); }
@media (max-width: 767px) {
  .hud div { padding: 8px 10px; } .hud span { font-size: 0.56rem; }
  .story-steps { grid-template-columns: 1fr; padding: 12px 14px 14px; }
  .story-steps li { display: none; }
  .story-steps li.is-active { display: block; }
  .story-steps .bar { display: none; }
  .story-steps b { font-size: 0.72rem; color: var(--signal); }
  .story-steps p { font-size: 1rem; }
  .story-steps::before { /* compact 4-segment progress on mobile */
    content: ""; height: 3px; border-radius: 3px; margin-bottom: 8px;
    background: linear-gradient(90deg, var(--signal) var(--sp, 0%), var(--line-2) var(--sp, 0%));
  }
}

@media (min-width: 980px) {
  .hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; padding-top: 0; }
  .hero-copy { position: sticky; top: var(--nav-h); min-height: calc(100svh - var(--nav-h)); display: flex; flex-direction: column; justify-content: flex-start; justify-content: safe center; align-self: start; padding: 24px 0; }
  .hero h1 { font-size: clamp(3.4rem, 5.6vw, 5.4rem); }
  .story { margin-top: 0; height: 340vh; }
  .story-sticky { top: var(--nav-h); height: calc(100svh - var(--nav-h)); padding: 28px 0; }
  .scroll-hint { display: inline-flex; }
}

/* No-JS / reduced motion: show the story as a static, normal-height panel */
html:not(.js) .story, .reduce-motion .story { height: auto; }
html:not(.js) .story-sticky, .reduce-motion .story-sticky { position: relative; top: 0; height: 560px; }
html:not(.js) .story-steps li, .reduce-motion .story-steps li { display: block; opacity: 1; }

/* ---------- Proof strip ---------- */
.proof { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--ink-2); padding: 28px 0; }
.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: center; }
.stat b { display: block; font: 700 clamp(1.5rem, 4.4vw, 2.6rem)/1 var(--f-display); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; margin-bottom: 6px; }
.stat span { font-size: 0.82rem; color: var(--muted); line-height: 1.3; display: block; }
.platforms { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; padding-top: 18px; border-top: 1px solid var(--line); }
.platforms { gap: 7px; }
.pf { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 36px; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; cursor: pointer; -webkit-tap-highlight-color: transparent; user-select: none; transition: color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease); }
.pf svg { width: 18px; height: 18px; fill: currentColor; opacity: 0.6; transition: opacity .3s var(--ease), filter .3s var(--ease); }
.pf-name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pf.is-lit { color: var(--pf); border-color: color-mix(in srgb, var(--pf) 45%, transparent); transform: translateY(-2px); }
.pf.is-lit svg { opacity: 1; }
@media (hover: hover) {
  .pf:hover { color: var(--pf); border-color: color-mix(in srgb, var(--pf) 45%, transparent); transform: translateY(-2px); }
  .pf:hover svg { opacity: 1; }
  .pf--tiktok:hover svg { filter: drop-shadow(-1px -1px 0 #25F4EE) drop-shadow(1px 1px 0 #FE2C55); }
  .pf--snapchat:hover svg { filter: drop-shadow(0 0 0.7px #000) drop-shadow(0 0 0.7px #000) drop-shadow(0 0 0.4px #000); }
}
.pf--tiktok.is-lit svg { filter: drop-shadow(-1px -1px 0 #25F4EE) drop-shadow(1px 1px 0 #FE2C55); }
.pf--snapchat.is-lit svg { filter: drop-shadow(0 0 0.7px #000) drop-shadow(0 0 0.7px #000) drop-shadow(0 0 0.4px #000); }
@media (min-width: 980px) { .proof-grid { grid-template-columns: 1fr 1fr 1fr 1.6fr; } .platforms { grid-column: auto; border: 0; padding: 0; justify-content: flex-end; } }

/* ---------- Paper sections ---------- */
.paper { background: var(--paper); color: var(--paper-ink); }
.paper .muted, .paper .step-when { color: var(--paper-muted); }
.paper .kicker { color: var(--brand); }
.what, .process, .pricing, .faq { padding: clamp(72px, 11vw, 140px) 0; }
.what-grid { display: grid; gap: 28px; }
.what h2 { font-size: clamp(2.2rem, 6vw, 4.2rem); }
.what-body .answer { font-size: clamp(1.2rem, 2.2vw, 1.55rem); line-height: 1.45; font-family: var(--f-display); font-weight: 500; letter-spacing: -0.01em; }
.tldr { margin: 2rem 0 0; display: grid; border-top: 1px solid var(--paper-line); }
.tldr div { display: grid; grid-template-columns: 1fr; gap: 4px; padding: 14px 0; border-bottom: 1px solid var(--paper-line); }
.tldr dt { font: 500 0.74rem/1.4 var(--f-mono); text-transform: uppercase; letter-spacing: 0.06em; color: var(--brand); }
.tldr dd { margin: 0; }
@media (min-width: 768px) { .tldr div { grid-template-columns: 180px 1fr; } }
@media (min-width: 980px) { .what-grid { grid-template-columns: 5fr 7fr; gap: 64px; } }

/* ---------- Compare ---------- */
.compare { padding: clamp(72px, 11vw, 140px) 0; }
.compare h2 .serif { color: var(--signal); }
.compare-toggle { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; padding: 4px; border: 1px solid var(--line-2); border-radius: 999px; margin-bottom: 28px; }
.compare-toggle button { position: relative; z-index: 1; min-height: 44px; padding: 0 18px; border: 0; background: none; color: var(--muted); font: 600 0.92rem/1 var(--f-body); cursor: pointer; transition: color 0.3s; white-space: nowrap; }
.compare-toggle button[aria-checked="true"] { color: var(--ink); }
.toggle-pill { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 999px; background: var(--signal); transition: transform 0.45s var(--ease), background 0.3s; transform: translateX(100%); }
.compare-toggle[data-mode="typical"] .toggle-pill { transform: translateX(0); background: #c9d3dc; }
.compare-table { border-top: 1px solid var(--line); }
.compare-table .row { display: grid; grid-template-columns: 1fr; gap: 4px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.row-k { font: 500 0.74rem/1.4 var(--f-mono); text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.row-v { font: 600 clamp(1.1rem, 2.4vw, 1.6rem)/1.25 var(--f-display); letter-spacing: -0.015em; transition: opacity 0.25s, transform 0.35s var(--ease), color 0.3s; display: flex; gap: 12px; align-items: baseline; }
.row-v::before { content: "✓"; color: var(--signal); font-size: 0.8em; flex: none; }
.compare-table[data-mode="typical"] .row-v { color: var(--muted); }
.compare-table[data-mode="typical"] .row-v::before { content: "✕"; color: var(--loss); }
.row-v.swap { opacity: 0; transform: translateY(8px); }
@media (min-width: 768px) { .compare-table .row { grid-template-columns: 200px 1fr; align-items: baseline; padding: 22px 0; } }

/* ---------- Calculator ---------- */
.calc { padding: clamp(72px, 11vw, 140px) 0; background: radial-gradient(60% 50% at 80% 30%, rgba(0, 124, 212, 0.16), transparent 70%), var(--ink); border-top: 1px solid var(--line); }
.calc-grid { display: grid; gap: 32px; }
.formula { font: 500 0.9rem/1.5 var(--f-mono); color: var(--signal); border: 1px dashed rgba(198, 255, 58, 0.4); padding: 12px 14px; border-radius: 10px; display: inline-block; margin: 0.5rem 0 1.2rem; }
.calc-panel { padding: clamp(18px, 3vw, 30px); display: grid; gap: 28px; }
.calc-inputs { display: grid; gap: 18px; }
.field { display: grid; gap: 10px; }
.field > span { display: flex; justify-content: space-between; align-items: baseline; font-size: 0.92rem; color: #c4d0dc; }
.field output, .spend-picker output { font: 600 1rem/1 var(--f-mono); color: var(--text); font-variant-numeric: tabular-nums; }

input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; cursor: pointer; margin: 0; --fill: 50%; }
input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--blue) var(--fill), var(--line-2) var(--fill)); }
input[type="range"]::-moz-range-track { height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--blue) var(--fill), var(--line-2) var(--fill)); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -9px; border-radius: 50%; background: var(--text); border: 4px solid var(--blue); box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4); transition: transform 0.2s; }
input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--text); border: 4px solid var(--blue); }
input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.15); }

.gauge { position: relative; padding: 34px 0 0; }
.gauge-track { height: 12px; border-radius: 12px; background: linear-gradient(90deg, rgba(255, 90, 78, 0.25), rgba(198, 255, 58, 0.35)); overflow: hidden; position: relative; }
.gauge-loss { position: absolute; inset: 0 auto 0 0; background: repeating-linear-gradient(45deg, rgba(255, 90, 78, 0.55) 0 6px, rgba(255, 90, 78, 0.3) 6px 12px); transition: width 0.4s var(--ease); }
.gauge-mark { position: absolute; top: 0; height: 52px; width: 2px; transform: translateX(-1px); transition: left 0.4s var(--ease); }
.gauge-mark span { position: absolute; top: 0; left: 50%; transform: translateX(-50%); white-space: nowrap; font: 500 0.7rem/1 var(--f-mono); text-transform: uppercase; letter-spacing: 0.04em; }
.gauge-mark.be { background: var(--loss); top: 18px; height: 34px; } .gauge-mark.be span { top: -18px; color: var(--loss); }
.gauge-mark.you { background: var(--text); top: 28px; bottom: auto; height: 24px; } .gauge-mark.you span { top: 30px; color: var(--text); }
.gauge-mark.you::after { content: ""; position: absolute; top: 5px; left: 50%; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: var(--text); box-shadow: 0 0 0 4px rgba(233, 239, 245, 0.18); }
.gauge-scale { display: flex; justify-content: space-between; margin-top: 40px; font: 400 0.68rem/1 var(--f-mono); color: var(--muted); }
.calc-results { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.calc-results div { background: var(--panel); padding: 14px; }
.calc-results .hl { grid-column: 1 / -1; background: rgba(198, 255, 58, 0.07); }
.calc-results small { display: block; margin-top: 6px; font-size: 0.72rem; color: var(--muted); line-height: 1.3; }
.hint { font-size: 0.78rem; line-height: 1.4; color: var(--muted); margin-top: -4px; }
.switch { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; position: relative; margin-top: -6px; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch-ui { flex: none; width: 40px; height: 24px; border-radius: 24px; background: var(--line-2); position: relative; transition: background 0.25s; margin-top: 1px; }
.switch-ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--text); transition: transform 0.3s var(--ease); }
.switch input:checked + .switch-ui { background: var(--blue); }
.switch input:checked + .switch-ui::after { transform: translateX(16px); }
.switch input:focus-visible + .switch-ui { outline: 2px solid var(--signal); outline-offset: 3px; }
.switch-text { font-size: 0.92rem; color: #c4d0dc; line-height: 1.35; }
.switch-text small { display: block; font-size: 0.78rem; color: var(--muted); margin-top: 3px; }
.calc-results span { display: block; font-size: 0.8rem; color: var(--muted); margin-bottom: 6px; line-height: 1.3; }
.calc-results b { white-space: nowrap; font: 600 clamp(1.2rem, 2.4vw, 1.65rem)/1 var(--f-mono); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.calc-results .hl b { color: var(--signal); }
.calc-results b.neg { color: var(--loss); }
.calc-verdict { font: 600 1.1rem/1.35 var(--f-display); margin: 4px 0 18px; }
.calc-out { display: grid; gap: 22px; }
.calc-out .btn { justify-self: start; }
@media (max-width: 559px) { .calc-out .btn { justify-self: stretch; } }
@media (min-width: 980px) { .calc-grid { grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; } .calc-intro { position: sticky; top: calc(var(--nav-h) + 40px); } }
@media (min-width: 1240px) { .calc-panel { grid-template-columns: 1fr 1fr; } }

/* ---------- Process ---------- */
.process-grid { display: grid; gap: 40px; }
.process h2 { font-size: clamp(2.2rem, 5.6vw, 4rem); margin-bottom: 1.2rem; }
.rail { display: none; height: 3px; background: var(--paper-line); border-radius: 3px; margin-top: 2rem; overflow: hidden; }
.rail i { display: block; height: 100%; width: 0; background: var(--brand); }
.steps { list-style: none; margin: 0; padding: 0; position: relative; }
.steps::before { content: ""; position: absolute; left: 22px; top: 10px; bottom: 10px; width: 1px; background: var(--paper-line); }
.step { display: grid; grid-template-columns: 46px 1fr; gap: 18px; padding: 0 0 48px; position: relative; }
.step:last-child { padding-bottom: 0; }
.step-n { width: 46px; height: 46px; border-radius: 50%; display: grid; place-content: center; background: var(--paper); border: 1px solid var(--paper-line); font: 600 0.85rem/1 var(--f-mono); position: relative; z-index: 1; transition: background 0.4s, color 0.4s, border-color 0.4s, transform 0.4s var(--ease); }
.step.is-active .step-n { background: var(--paper-ink); color: var(--signal); border-color: var(--paper-ink); transform: scale(1.08); }
.step h3 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); margin-bottom: 0.8rem; }
.step-when { font: 500 0.74rem/1 var(--f-mono); text-transform: uppercase; letter-spacing: 0.06em; margin: 12px 0 10px; }
.step p { max-width: 36rem; }
.step > div { transition: opacity 0.4s; }
.js .step:not(.is-active) > div { opacity: 0.45; }
@media (min-width: 980px) {
  .process-grid { grid-template-columns: 5fr 7fr; gap: 64px; }
  .process-sticky { position: sticky; top: calc(var(--nav-h) + 48px); }
  .rail { display: block; }
  .step { padding-bottom: 22vh; }
}
.ticks { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: 8px; }
.ticks li { display: flex; gap: 10px; align-items: baseline; font-size: 0.95rem; }
.ticks li::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 2px; background: var(--signal); transform: translateY(-1px); }
.paper .ticks li::before { background: var(--brand); }

/* ---------- Services console ---------- */
.services { padding: clamp(72px, 11vw, 140px) 0; }
.console { border: 1px solid var(--line); border-radius: var(--radius); background: var(--ink-2); overflow: hidden; }
.tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 10px; border-bottom: 1px solid var(--line); scroll-snap-type: x mandatory; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { flex: none; scroll-snap-align: start; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: none; color: var(--muted); font: 600 0.92rem/1 var(--f-body); cursor: pointer; transition: all 0.25s; }
.tabs button:hover { color: var(--text); border-color: var(--line-2); }
.tabs button[aria-selected="true"] { background: var(--text); color: var(--ink); border-color: var(--text); }
.tabpanel { display: grid; gap: 24px; padding: clamp(20px, 4vw, 44px); animation: fadeUp 0.5s var(--ease); }
.tabpanel[hidden] { display: none; }
.tabpanel h3 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); margin-bottom: 1rem; }
.tabpanel p { color: #c4d0dc; max-width: 40rem; }
.tp-metric { align-self: start; border: 1px solid var(--line-2); border-radius: 14px; padding: 20px; background: linear-gradient(160deg, rgba(42, 147, 255, 0.12), transparent 60%); }
.tp-metric span { font: 500 0.72rem/1 var(--f-mono); text-transform: uppercase; letter-spacing: 0.06em; color: var(--blue); }
.tp-metric b { display: block; font: 700 1.5rem/1.1 var(--f-display); letter-spacing: -0.02em; margin: 12px 0 8px; }
.tp-metric small { color: var(--muted); font-size: 0.86rem; }
@media (min-width: 900px) { .tabpanel { grid-template-columns: 1fr 300px; gap: 48px; } }

/* ---------- Work cards ---------- */
.work { padding: 0 0 clamp(72px, 11vw, 140px); }
.work h2 .serif { color: var(--signal); }
.work-grid { display: grid; gap: 16px; }
.card {
  --mx: 50%; --my: 50%;
  position: relative; padding: 28px; min-height: 240px; border-radius: var(--radius); border: 1px solid var(--line);
  background: radial-gradient(400px circle at var(--mx) var(--my), rgba(42, 147, 255, 0.14), transparent 50%), var(--panel);
  display: flex; flex-direction: column; justify-content: flex-end; transition: transform 0.3s var(--ease), border-color 0.3s; transform-style: preserve-3d;
}
.card:hover { border-color: var(--line-2); }
.card .tag { font: 500 0.72rem/1 var(--f-mono); text-transform: uppercase; letter-spacing: 0.06em; color: var(--blue); margin-bottom: auto; }
.card h3 { font-size: 2rem; margin: 28px 0 10px; }
.card p:last-child { color: var(--muted); margin: 0; }
@media (min-width: 768px) { .work-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Pricing (routes to the scorecard; no public prices) ---------- */
.pricing-grid { display: grid; gap: 32px; }
.pricing h2 { max-width: 18ch; }
.route-steps { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 14px; }
.route-steps li { display: flex; gap: 14px; align-items: center; }
.route-steps b { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--paper-ink); color: var(--signal); display: grid; place-content: center; font: 600 0.85rem/1 var(--f-mono); }
.spend-picker { align-self: start; background: #fff; border: 1px solid var(--paper-line); border-radius: var(--radius); padding: clamp(18px, 3vw, 30px); box-shadow: 0 20px 50px -30px rgba(11, 22, 34, 0.3); display: grid; gap: 18px; }
.spend-picker label { display: flex; justify-content: space-between; font-weight: 600; gap: 12px; }
.spend-picker output { color: var(--paper-ink); font-size: 1.2rem; }
.spend-picker input[type="range"]::-webkit-slider-runnable-track { background: linear-gradient(90deg, var(--brand) var(--fill), var(--paper-2) var(--fill)); }
.spend-picker input[type="range"]::-moz-range-track { background: linear-gradient(90deg, var(--brand) var(--fill), var(--paper-2) var(--fill)); }
.spend-picker input[type="range"]::-webkit-slider-thumb { background: #fff; border-color: var(--brand); }
.route-card { border-radius: 14px; background: var(--paper); padding: 20px; min-height: 172px; }
.route-card.swap { animation: fadeUp 0.45s var(--ease); }
.route-kicker { font: 500 0.74rem/1 var(--f-mono); text-transform: uppercase; letter-spacing: 0.06em; color: var(--brand); margin-bottom: 12px; }
.route-card h3 { font-size: 1.45rem; margin-bottom: 10px; }
.route-card p:last-child { color: var(--paper-muted); margin: 0; }
@media (min-width: 980px) { .pricing-grid { grid-template-columns: 6fr 5fr; gap: 64px; align-items: center; } }

/* ---------- Guarantee ---------- */
.guarantee { background: var(--signal); color: #0a1405; padding: clamp(64px, 9vw, 112px) 0; overflow: hidden; }
.guarantee .kicker { color: #0a1405; opacity: 0.7; }
.guarantee h2 { font-size: clamp(1.9rem, 4.6vw, 3.4rem); margin-bottom: 1.2rem; max-width: 22ch; }
.guarantee p { max-width: 40rem; font-size: 1.05rem; margin-bottom: 1.6rem; }
.g-grid { display: grid; gap: 32px; align-items: center; }
.g-seal { position: relative; width: 170px; height: 170px; }
.g-seal svg { width: 100%; height: 100%; animation: spin 24s linear infinite; }
.g-seal text { font: 600 13.5px var(--f-mono); letter-spacing: 2.6px; fill: #0a1405; }
.g-seal span { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; font: 800 3rem/0.9 var(--f-display); letter-spacing: -0.04em; }
.g-seal small { display: block; font: 600 0.8rem/1 var(--f-mono); letter-spacing: 0.2em; margin-top: 6px; }
@media (min-width: 900px) { .g-grid { grid-template-columns: 260px 1fr; gap: 56px; } .g-seal { width: 240px; height: 240px; } .g-seal span { font-size: 4rem; } }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; gap: 32px; }
.faq-list details { border-bottom: 1px solid var(--paper-line); }
.faq-list details:first-child { border-top: 1px solid var(--paper-line); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 22px 0; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary h3 { font-size: clamp(1.1rem, 2.2vw, 1.35rem); font-weight: 600; }
.faq-list summary::after { content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--paper-line); background: linear-gradient(var(--paper-ink), var(--paper-ink)) center / 11px 1.5px no-repeat, linear-gradient(var(--paper-ink), var(--paper-ink)) center / 1.5px 11px no-repeat; transition: transform 0.35s var(--ease), background-color 0.3s; }
.faq-list details[open] summary::after { transform: rotate(45deg); background-color: var(--signal); border-color: var(--signal); }
.faq-list details p { margin: 0 0 24px; max-width: 46rem; color: #33404c; }
.faq-list a { color: var(--brand); }
@media (min-width: 980px) { .faq-grid { grid-template-columns: 4fr 8fr; gap: 64px; } .faq-head { position: sticky; top: calc(var(--nav-h) + 40px); align-self: start; } }

/* ---------- Audit form ---------- */
.audit { padding: clamp(72px, 11vw, 140px) 0; background: radial-gradient(50% 60% at 20% 30%, rgba(0, 124, 212, 0.22), transparent 70%), var(--ink); }
.audit-grid { display: grid; gap: 36px; }
.audit h2 { font-size: clamp(2.2rem, 5.6vw, 4rem); margin-bottom: 1.2rem; }
.next-steps { list-style: none; padding: 0; margin: 2rem 0; display: grid; gap: 14px; }
.next-steps li { display: flex; gap: 14px; align-items: center; }
.next-steps b { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-content: center; font: 600 0.85rem/1 var(--f-mono); color: var(--signal); }
.alt a { color: var(--text); }
.audit-form { padding: clamp(20px, 3.4vw, 34px); display: grid; gap: 18px; position: relative; }
.f-row { display: grid; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.f-row label, .f-row legend { font-size: 0.9rem; font-weight: 500; color: #c4d0dc; padding: 0; margin-bottom: 0; }
.f-row legend { margin-bottom: 8px; }
.f-row input:not([type="radio"]) { min-height: 52px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(5, 12, 20, 0.6); color: var(--text); font: 400 16px/1 var(--f-body); transition: border-color 0.2s, box-shadow 0.2s; width: 100%; }
.f-row input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(42, 147, 255, 0.2); }
.f-row input[aria-invalid="true"] { border-color: var(--loss); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chips span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 0.92rem; transition: all 0.2s; }
.chips input:checked + span { background: var(--text); color: var(--ink); border-color: var(--text); font-weight: 600; }
.chips input:focus-visible + span { outline: 2px solid var(--signal); outline-offset: 2px; }
.form-head h3 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 10px; }
.form-head .muted { margin: 0; font-size: 0.94rem; }
.step-meta { font: 500 0.72rem/1 var(--f-mono); text-transform: uppercase; letter-spacing: 0.08em; color: var(--signal); margin-bottom: 12px; }
.form-step, .form-redirect { display: grid; gap: 18px; }
.form-step[hidden], .form-redirect[hidden] { display: none; }
.form-redirect { padding: 18px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(198, 255, 58, 0.05); }
.form-redirect h4 { font: 700 1.25rem/1.15 var(--f-display); margin: 0; }
.form-redirect p { color: #c4d0dc; margin: 0; }
.form-back { justify-self: center; background: none; border: 0; color: var(--muted); font: 500 0.9rem/1 var(--f-body); cursor: pointer; padding: 10px; min-height: 44px; }
.form-back:hover { color: var(--text); }
.f-row textarea { min-height: 96px; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(5, 12, 20, 0.6); color: var(--text); font: 400 16px/1.45 var(--f-body); resize: vertical; width: 100%; }
.f-row textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(42, 147, 255, 0.2); }
.f-row textarea::placeholder, .f-row input::placeholder { color: #5f7084; }
.audit-copy > .btn { margin-top: 0.4rem; }
.start-trust { margin: 14px 0 26px; }
@media (max-width: 559px) { .audit-copy > .btn { width: 100%; } }
.form-note { font-size: 0.82rem; color: var(--muted); margin: 0; text-align: center; }
.form-error { color: var(--loss); margin: 0; font-size: 0.92rem; }
.form-done { position: absolute; inset: 0; border-radius: inherit; background: var(--panel); display: grid; place-content: center; text-align: center; padding: 30px; gap: 10px; animation: fadeUp 0.5s var(--ease); }
.form-done[hidden] { display: none; }
.form-done h3 { font-size: 2rem; }
.form-done p { color: var(--muted); max-width: 26rem; margin: 0 auto; }
.done-tick { width: 64px; height: 64px; margin: 0 auto 8px; border-radius: 50%; background: var(--signal); position: relative; }
.done-tick::after { content: ""; position: absolute; left: 22px; top: 16px; width: 14px; height: 26px; border: solid var(--ink); border-width: 0 4px 4px 0; transform: rotate(45deg); }
@media (min-width: 980px) { .audit-grid { grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; } }

/* ---------- Footer ---------- */
.foot { border-top: 1px solid var(--line); padding: 56px 0 calc(28px + env(safe-area-inset-bottom)); background: var(--ink-2); }
.foot-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.foot-brand { grid-column: 1 / -1; }
.foot-brand p { color: var(--muted); margin: 14px 0 8px; }
.foot-mail { color: var(--text); }
.foot h4 { font: 500 0.74rem/1 var(--f-mono); text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin-bottom: 14px; }
.foot nav a { display: block; padding: 6px 0; text-decoration: none; font-size: 0.94rem; color: #c4d0dc; }
.foot nav a:hover { color: var(--text); }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 0.8rem; color: var(--muted); }
.foot-base p { margin: 0; }
@media (min-width: 900px) { .foot-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } .foot-brand { grid-column: auto; } }

/* ---------- Mobile sticky CTA ---------- */
.sticky-cta {
  position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 60;
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 16px;
  background: rgba(13, 27, 41, 0.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line-2); border-radius: 16px; box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  transform: translateY(140%); transition: transform 0.45s var(--ease);
}
.sticky-cta.show { transform: none; }
.sticky-cta p { margin: 0; line-height: 1.2; min-width: 0; flex: 1; }
.sticky-cta .btn { flex: none; }
.sticky-cta b { display: block; font-size: 0.95rem; }
.sticky-cta span { font-size: 0.78rem; color: var(--muted); }
@media (min-width: 980px) { .sticky-cta { display: none; } }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.reduce-motion .reveal { opacity: 1 !important; transform: none !important; }

/* ---------- Keyframes ---------- */
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(198, 255, 58, 0.55); } 70% { box-shadow: 0 0 0 10px rgba(198, 255, 58, 0); } 100% { box-shadow: 0 0 0 0 rgba(198, 255, 58, 0); } }
@keyframes blink { 50% { opacity: 0.3; } }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(9px); opacity: 0; } 100% { opacity: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

/* Narrow phones: keep wordmark, CTA and menu button from colliding */
@media (max-width: 420px) {
  .nav-inner { gap: 10px; }
  .brand { gap: 8px; }
  .logo-mark { width: 34px; height: 32px; }
  .brand-word { font-size: 1rem; white-space: nowrap; }
  .nav-cta { gap: 8px; }
  .nav-cta .btn-sm { padding: 0 0.8rem; font-size: 0.84rem; white-space: nowrap; }
}

/* Secondary scorecard route: a quiet text link under the main CTA, never a third button */
.alt-route { font-size: 0.9rem; color: var(--muted); margin: -0.4rem 0 1.1rem; }
.alt-route a { color: var(--text); text-underline-offset: 3px; }
.mobile-menu .alt-route { margin: 6px 0 0; text-align: center; }
.start-trust + .alt-route { margin-top: -10px; }
.route-note { font-size: 0.88rem; color: var(--paper-muted); margin: 0; text-align: center; }
.route-note a { color: var(--brand); }
.nav-cta-short { display: none; }
@media (max-width: 520px) { .nav-cta-long { display: none; } .nav-cta-short { display: inline; } }

/* 8 service tabs: fit on one row on desktop; wrap rather than hide a tab if they ever don't */
@media (min-width: 900px) { .tabs { flex-wrap: wrap; overflow: visible; } .tabs button { padding: 0 13px; } }

/* privacy links in the audit form note and footer */
.form-note a, .foot-base a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
/* Companies Act trading disclosures (name, number, where registered, registered office) */
.foot-legal p { margin: 0; padding: 10px 0 0; font-size: 0.72rem; line-height: 1.5; color: var(--muted); opacity: 0.85; }
/* room for the mobile sticky bar, so it never covers the last footer line */
@media (max-width: 979px) { .foot-legal p { padding-bottom: 92px; } }
/* audit form honeypot: off-screen for people, still in the form for bots */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
