/* ==========================================================================
   Clinched — shared stylesheet (one file for every page)

   System: THE BOARD. A tactics board in navy. Chalk-line pitch markings,
   paper sheets pinned to it, jersey-number circles, one orange hoarding.
   Accent (orange → magenta) is reserved for: the vacancy, the reveal,
   the primary CTA and the ticker. Everything else is navy, white and chalk.

   Tokens and reusable classes are documented in /DESIGN.md.
   ========================================================================== */

/* ---------- 1. tokens ---------- */
:root {
  /* colour */
  --navy: #091F3B;
  --navy-2: #0d2a4d;
  --navy-3: #050f1e;
  --blue: #1D67CD;
  --orange: #ff4800;
  --magenta: #ff0068;
  --orange-ink: #d63c00;            /* orange for small text on paper */
  --grad: linear-gradient(120deg, var(--orange), var(--magenta));
  --muted: rgba(255,255,255,.72);
  --dim: rgba(255,255,255,.5);
  --hair: rgba(255,255,255,.13);
  --chalk: rgba(255,255,255,.4);    /* pitch lines */
  --chalk-2: rgba(255,255,255,.6);  /* markers, goals, rings */
  --paper: #F4F1E8;
  --ink: #091F3B;
  --ink-2: rgba(9,31,59,.66);
  --ink-3: rgba(9,31,59,.2);

  /* type */
  --font: 'Urbanist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --fs-h1: clamp(38px, 5.2vw, 66px);
  --fs-h1-page: clamp(32px, 4.3vw, 54px);
  --fs-h2: clamp(30px, 3.7vw, 48px);
  --fs-h2-sm: clamp(26px, 2.9vw, 36px);
  --fs-h3: 19px;
  --fs-lead: clamp(16.5px, 1.4vw, 18.5px);
  --fs-body: 15px;
  --fs-label: 11.5px;

  /* space + shape */
  --max: 1200px;
  --gutter: 32px;
  --section: clamp(44px, 5.5vw, 72px);
  --radius: 14px;
  --radius-paper: 5px;
  --ease: cubic-bezier(.2,.7,.2,1);
}

/* ---------- 2. base ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { overflow-x: clip; }
@supports not (overflow: clip) { html { overflow-x: hidden; } }   /* iOS < 16 */
body {
  /* mown-grass stripes, in navy */
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.02) 0 150px, transparent 150px 300px), var(--navy);
  color: #fff; font-family: var(--font); font-size: var(--fs-body); line-height: 1.5; -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
ul { list-style: none; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 3px; }
::selection { background: var(--orange); color: #fff; }
[id] { scroll-margin-top: 92px; }

h1, h2, h3 { font-weight: 800; text-wrap: balance; }
h1 { font-size: var(--fs-h1); line-height: 1.02; letter-spacing: -.03em; }
h2 { font-size: var(--fs-h2); line-height: 1.07; letter-spacing: -.027em; }
h2.sm { font-size: var(--fs-h2-sm); line-height: 1.12; }
h3 { font-size: var(--fs-h3); line-height: 1.25; letter-spacing: -.01em; }
h1 em, h2 em, .accent { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* small print: wide-tracked caps. Used for nav, section labels, captions. */
.label, .eyebrow { font-size: var(--fs-label); font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.lead { font-size: var(--fs-lead); color: var(--muted); line-height: 1.6; max-width: 56ch; }
.link { display: inline-flex; align-items: center; gap: 8px; color: var(--orange); font-weight: 800; transition: gap .2s var(--ease); }
.link:hover { gap: 13px; }

/* ---------- 3. layout ---------- */
.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); position: relative; }
.section { padding: clamp(28px,3.6vw,44px) 0 var(--section); }
.ticker + .section { padding-top: 0; }
.section-head { display: flex; align-items: center; gap: 14px; margin-bottom: clamp(24px,3.4vw,40px); }
.section-head .rule { flex: 1; max-width: 120px; border-top: 1.5px dashed var(--chalk); }
.section h2 { margin-bottom: 20px; max-width: 22ch; }
.section .lead + .btn, .section .lead + .link { margin-top: 30px; }
.split { display: grid; grid-template-columns: minmax(0,1.08fr) minmax(0,.92fr); gap: clamp(32px,5vw,76px); align-items: center; }
.split--top { align-items: start; }
.stack-lg { margin-top: clamp(44px,5.6vw,76px); }
.narrow { max-width: 760px; }

/* ---------- 4. buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 28px; border-radius: 999px; background: var(--grad); color: #fff; font-weight: 800; font-size: 15px; letter-spacing: .01em; transition: transform .2s var(--ease), box-shadow .2s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -8px rgba(255,72,0,.6); }
.btn:active { transform: none; }
.btn-ghost { background: none; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.32); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px #fff; }
.btn-sm { padding: 10px 20px; font-size: 13px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: default; transform: none; box-shadow: none; }

/* ---------- 5. nav ---------- */
nav.top { position: sticky; top: 0; z-index: 30; background: rgba(9,31,59,.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--hair); }
nav.top .container { display: flex; align-items: center; gap: 28px; height: 72px; }
.logo img { height: 30px; width: auto; }
.nav-links { display: flex; gap: 30px; margin-left: auto; }
.nav-links a { position: relative; font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); transition: color .2s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: #fff; }
.nav-links a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: .16em; bottom: -8px; height: 2px; background: var(--grad); }
.nav-toggle { display: none; }

/* ---------- 6. home hero + pitch ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(40px,5.5vw,76px) 0 clamp(44px,6vw,80px); }
.pitch { position: absolute; top: 50%; right: -5%; width: min(1240px, 88vw); height: auto; transform: translateY(-50%); pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 3%, rgba(0,0,0,.3) 36%, #000 62%); mask-image: linear-gradient(90deg, transparent 3%, rgba(0,0,0,.3) 36%, #000 62%); }
.pitch * { fill: none; stroke: var(--chalk); stroke-width: 1.7; vector-effect: non-scaling-stroke; }
.pitch .ln { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.1s var(--ease) forwards; animation-delay: calc(var(--i) * 45ms); }
.pitch .dash { stroke-dasharray: 7 7; opacity: 0; animation: fade .6s ease forwards; animation-delay: calc(var(--i) * 45ms + .2s); }
.pitch .goal { stroke: var(--chalk-2); stroke-width: 2.4; }
.pitch .spot { fill: var(--chalk); stroke: none; opacity: 0; animation: fade .5s ease .6s forwards; }
.pitch .mk { stroke: var(--chalk-2); stroke-width: 1.6; fill: var(--navy); opacity: 0; animation: fade .5s ease forwards; animation-delay: calc(var(--i) * 30ms + .7s); }
.pitch .mn { fill: rgba(255,255,255,.88); stroke: none; font: 800 10.5px var(--font); opacity: 0; animation: fade .5s ease forwards; animation-delay: calc(var(--i) * 30ms + .8s); }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }

.hero-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,520px); gap: clamp(28px,4vw,64px); align-items: center; }
.sport-tabs { display: inline-flex; gap: 6px; margin-bottom: 26px; }
.sport-tabs button { padding: 8px 18px; border-radius: 999px; font-size: 13px; font-weight: 700; color: var(--muted); box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); transition: background .25s, color .25s, box-shadow .25s; }
.sport-tabs button:hover { color: #fff; }
.sport-tabs button[aria-selected="true"] { background: #fff; color: var(--navy); box-shadow: none; }
.hero h1 { margin-bottom: 24px; }
.hero .sub { font-size: clamp(16px,1.4vw,19px); color: var(--muted); line-height: 1.55; max-width: 54ch; margin-bottom: 32px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-stage { position: relative; min-height: 548px; display: flex; align-items: center; justify-content: flex-end; }
.phone { filter: drop-shadow(0 30px 44px rgba(0,0,0,.6)); }
.hero-stage .phone { width: 262px; position: relative; z-index: 2; }
/* the vacancy: an empty technical area, with coaches ready beneath it */
.callout { position: absolute; left: 0; top: 50%; transform: translateY(-58%); width: 226px; z-index: 3; padding: 12px 12px 16px; border-radius: 16px; background: var(--navy-3); box-shadow: 0 0 0 1px var(--hair), 0 24px 44px -18px rgba(0,0,0,.7); }
.tech { position: relative; padding: 15px 18px 16px; border: 1.5px dashed var(--orange); border-radius: 10px; background: rgba(255,72,0,.09); }
.tech .k { display: block; color: var(--dim); font-size: 10.5px; margin-bottom: 6px; }
.tech strong { display: block; font-size: 23px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.tech .v { display: inline-flex; align-items: center; gap: 8px; margin-top: 9px; font-size: 11.5px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--orange); }
.tech .v i { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .3; transform: scale(1.5); } }
.tech::after { content: ""; position: absolute; left: 100%; top: 34%; width: 50px; border-top: 1.5px dashed var(--chalk-2); }
.tech::before { content: ""; position: absolute; left: calc(100% + 48px); top: 34%; transform: translateY(-50%); border: 5px solid transparent; border-left-color: var(--chalk-2); }
.bench { display: flex; justify-content: space-between; align-items: flex-end; height: 68px; padding: 0 34px; }
.bench .o { position: relative; width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--chalk-2); background: var(--navy-3); }
.bench .o::before { content: ""; position: absolute; left: 50%; bottom: 100%; height: 36px; margin-left: -1px; border-left: 1.5px dashed var(--chalk); }
.bench .o::after { content: ""; position: absolute; left: 50%; bottom: calc(100% + 32px); transform: translateX(-50%); border: 4.5px solid transparent; border-bottom-color: var(--chalk-2); }
.bench .o.on { background: var(--grad); box-shadow: none; }
.bench .o.on::before { border-left: 1.5px solid var(--orange); }
.bench .o.on::after { border-bottom-color: var(--orange); }
.bench-k { margin-top: 12px; text-align: center; color: var(--muted); font-size: 10.5px; line-height: 1.5; }

/* ---------- 7. page hero (inner pages) ---------- */
.page-hero { --hx: 15%; position: relative; overflow: hidden; padding: clamp(48px,6.5vw,92px) 0 clamp(40px,5vw,64px); }
.page-hero::before { content: ""; position: absolute; top: 0; bottom: 0; right: var(--hx); border-left: 1.5px solid var(--chalk); opacity: .6; }
.page-hero::after { content: ""; position: absolute; top: 50%; right: var(--hx); width: 300px; height: 300px; margin: -150px -150px 0 0; border: 1.5px solid var(--chalk); border-radius: 50%; opacity: .6; }
.page-hero .container { z-index: 1; }
.page-hero .label { display: block; color: var(--orange); margin-bottom: 16px; }
.page-hero h1 { font-size: var(--fs-h1-page); line-height: 1.06; max-width: 21ch; }
.page-hero .sub { margin-top: 18px; font-size: var(--fs-lead); color: var(--muted); line-height: 1.6; max-width: 56ch; }
.page-hero--tight { padding-bottom: clamp(20px,3vw,36px); }

/* ---------- 8. stats ---------- */
.dr { height: 7px; border-top: 3px solid currentColor; border-bottom: 1px solid currentColor; }   /* double rule */
.dr.w { color: rgba(255,255,255,.82); }
.stats { display: grid; grid-template-columns: repeat(3,1fr); }
.stats--2 { grid-template-columns: repeat(2,1fr); }
.stat { padding: 26px 28px; border-left: 1px solid var(--hair); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat .num { display: block; font-size: clamp(32px,3.8vw,46px); font-weight: 800; letter-spacing: -.025em; line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.stat .label { display: block; margin-top: 10px; color: var(--muted); letter-spacing: .16em; }
.tag { display: inline-block; margin-left: 6px; padding: 2px 7px; border: 1px solid rgba(255,255,255,.3); border-radius: 3px; font-size: 9.5px; letter-spacing: .1em; color: var(--dim); vertical-align: 1px; white-space: nowrap; }

/* ---------- 9. dividers ---------- */
/* major break: the pitch-side hoarding. Once per page, after the hero block. */
.ticker { overflow: hidden; padding: clamp(40px,5.4vw,76px) 0; }
.marquee { margin: 0 -3vw; background: var(--grad); overflow: hidden; transform: rotate(-1.4deg); }
.track { display: flex; width: max-content; padding: 14px 0 13px; animation: slide 30s linear infinite; }
.track span { display: inline-flex; align-items: center; gap: 28px; padding-left: 28px; font-size: 15px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; white-space: nowrap; }
.track span::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #fff; }
@keyframes slide { to { transform: translateX(-50%); } }
/* section divider: the halfway line */
.halfway { position: relative; height: 96px; }
.halfway::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 1.5px solid var(--chalk); opacity: .7; }
.halfway span { position: absolute; left: 50%; top: 50%; width: 96px; height: 96px; transform: translate(-50%,-50%); border: 1.5px solid var(--chalk); border-radius: 50%; opacity: .7; }
.halfway span::after { content: ""; position: absolute; left: 50%; top: 50%; width: 6px; height: 6px; margin: -3px; border-radius: 50%; background: var(--chalk-2); }

/* ---------- 10. jersey numbers ---------- */
.jn { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 38px; height: 38px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--chalk-2); font-size: 15px; font-weight: 800; font-variant-numeric: tabular-nums; }
.jn--sm { width: 30px; height: 30px; font-size: 13px; }
.jn--on { background: var(--grad); box-shadow: none; }

/* ---------- 11. cards (dark, on the board) ---------- */
.card { border: 1px solid var(--hair); border-radius: var(--radius); background: rgba(5,15,30,.45); padding: 22px 24px 26px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); line-height: 1.6; }
.plays { display: grid; grid-template-columns: repeat(3,1fr); gap: 30px; }
.play { position: relative; }
.play:not(:last-child)::after { content: ""; position: absolute; left: 100%; top: 78px; width: 30px; border-top: 1.5px dashed var(--chalk); }
.play svg { width: 100%; height: auto; margin-bottom: 16px; }
.play .jn { margin-bottom: 14px; }
.play:last-child .jn { background: var(--grad); box-shadow: none; }
.plays--plain .play:not(:last-child)::after { display: none; }
.plays--plain .play svg { width: 96px; margin-bottom: 18px; }
/* play-diagram ink */
.diagram .c { fill: none; stroke: var(--chalk-2); stroke-width: 1.6; }
.diagram .d { stroke-dasharray: 4 4; }
.diagram .dimmed { opacity: .32; }
.diagram .hot { stroke: var(--orange); stroke-width: 2; }
.diagram .hotfill { fill: rgba(255,72,0,.16); }
.diagram text { fill: var(--dim); font: 800 20px var(--font); }

/* ---------- 12. paper (pinned to the board) ---------- */
.paper { position: relative; background: var(--paper); color: var(--ink); border-radius: var(--radius-paper); padding: 24px 24px 20px; box-shadow: 0 34px 70px -24px rgba(0,0,0,.7); }
.paper--pin::before { content: ""; position: absolute; left: 50%; top: -11px; width: 24px; height: 24px; margin-left: -12px; border-radius: 50%; background: radial-gradient(circle at 34% 30%, #ff8a55, var(--orange) 46%, var(--magenta)); box-shadow: 0 5px 9px rgba(0,0,0,.5); }
.paper--l { transform: rotate(-1.1deg); }
.paper--r { transform: rotate(1.1deg); }
.paper-top { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding-bottom: 9px; }
.paper-top .label + .label { color: var(--ink-2); font-size: 11px; letter-spacing: .16em; text-align: right; }
.paper p { color: var(--ink-2); }
.paper strong { color: var(--ink); font-weight: 800; }
.row { display: flex; align-items: baseline; gap: 8px; padding: 10px 0 0; font-size: 15px; }
.row .k { font-weight: 700; }
.row .dots { flex: 1; min-width: 20px; border-bottom: 2px dotted var(--ink-3); transform: translateY(-4px); }
.row .v { font-weight: 700; color: var(--ink-2); text-align: right; }
.row .v.ink { color: var(--ink); font-weight: 800; }
.paper-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--ink-3); font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.stamp { display: inline-block; flex: none; padding: 4px 8px 3px; border: 2px solid var(--orange-ink); border-radius: 4px; color: var(--orange-ink); font-size: 10.5px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; transform: rotate(-5deg); }
/* shortlist entry: who sees what */
.who { margin: 14px 0 6px; }
.who-k { display: block; font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 8px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.seg button { padding: 9px 8px; font-size: 13px; font-weight: 800; line-height: 1.2; color: var(--ink-2); border: 1px solid var(--ink-3); border-radius: 3px; transition: background .25s, color .25s, border-color .25s; }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.redact { position: relative; display: inline-block; font-weight: 800; color: var(--ink); white-space: nowrap; }
.redact::after { content: ""; position: absolute; inset: 1px -4px; background: var(--ink); border-radius: 2px; transform-origin: right center; transition: transform .7s var(--ease); }
.slip.buyer .redact::after { transform: scaleX(0); }
.redact .tick { display: inline-block; width: 15px; height: 15px; margin-left: 6px; border-radius: 50%; background: var(--grad); vertical-align: -2px; position: relative; }
.redact .tick::after { content: ""; position: absolute; left: 5px; top: 3px; width: 4px; height: 7px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(40deg); }
.slip-foot { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--ink-3); font-size: 13.5px; font-weight: 600; min-height: 54px; }
/* big figure on paper */
.figure .num { display: block; font-size: clamp(48px,6vw,76px); font-weight: 800; letter-spacing: -.035em; line-height: 1; margin: 16px 0 10px; }
.figure p { font-size: 15px; font-weight: 600; line-height: 1.5; }

/* ---------- 13. testimonials: club reports ---------- */
.reports { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(26px,3.6vw,48px); align-items: start; }
.report .result { display: block; margin: 16px 0 12px; font-size: clamp(21px,2.1vw,26px); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; color: var(--ink); }
.report blockquote p { font-size: 15.5px; line-height: 1.62; }
.report figcaption { margin-top: 18px; padding-top: 12px; border-top: 1px solid var(--ink-3); font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.report figcaption strong { display: block; font-size: 15px; }

/* ---------- 14. pricing: the price list ---------- */
.price-cols { display: grid; grid-template-columns: repeat(3,1fr); }
.price { position: relative; padding: 20px 26px 8px; border-left: 1px solid var(--ink-3); }
.price:first-child { border-left: 0; padding-left: 0; }
.price:last-child { padding-right: 0; }
.price .who-for { display: block; min-height: 2.9em; color: var(--ink-2); font-size: 11px; letter-spacing: .16em; line-height: 1.45; }
.price .amount { font-size: clamp(34px,3.6vw,46px); font-weight: 800; letter-spacing: -.03em; line-height: 1; margin: 8px 0 6px; }
.price--on .amount { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.price .per { font-size: 14px; font-weight: 600; color: var(--ink-2); margin-bottom: 16px; min-height: 2.9em; }
.price li { position: relative; padding: 9px 0 9px 22px; font-size: 14.5px; font-weight: 700; border-top: 2px dotted var(--ink-3); }
.price li::before { content: ""; position: absolute; left: 3px; top: 13px; width: 5px; height: 9px; border: solid var(--ink); border-width: 0 2px 2px 0; transform: rotate(40deg); }
.price .stamp { position: absolute; right: 18px; top: 12px; }

/* ---------- 15. people ---------- */
.people { display: grid; grid-template-columns: repeat(6,1fr); gap: 20px; }
.person { grid-column: span 2; text-align: center; padding: 30px 24px 28px; }
.person--legend { grid-column: span 3; }
.people--duo { grid-template-columns: 1fr 1fr; gap: 18px; }
.people--duo .person { grid-column: auto; }
.person img { width: 128px; height: 128px; margin: 0 auto 20px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 5px var(--navy-3), 0 0 0 6.5px var(--chalk-2); }
.person--legend img { width: 148px; height: 148px; }
.person .name { display: block; font-size: 20px; font-weight: 800; letter-spacing: -.01em; }
.person .role { display: block; margin-top: 6px; color: var(--dim); }
.person--legend .role { color: var(--orange); }
.person .bio { margin-top: 14px; font-size: 14.5px; color: var(--muted); line-height: 1.6; text-wrap: pretty; }

/* ---------- 16. faq ---------- */
.faq-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(28px,4vw,60px); }
.faq-item { padding: 22px 0 24px; border-top: 1px solid var(--hair); }
.faq-item h3 { display: flex; gap: 12px; align-items: flex-start; font-size: 17px; margin-bottom: 8px; }
.faq-item h3::before { content: "?"; display: inline-flex; align-items: center; justify-content: center; flex: none; width: 24px; height: 24px; margin-top: -1px; border: 1.5px dashed var(--chalk-2); border-radius: 50%; font-size: 12px; color: var(--muted); }
.faq-item p { padding-left: 36px; color: var(--muted); line-height: 1.6; }

/* ---------- 17. final CTA: in front of goal ---------- */
.final-cta { padding: clamp(36px,5vw,60px) 0 0; text-align: center; overflow: hidden; }
.final-cta h2 { max-width: 16ch; margin: 0 auto 16px; font-size: clamp(32px,4.4vw,56px); }
.final-cta p { color: var(--muted); font-size: 18px; max-width: 46ch; margin: 0 auto 30px; text-wrap: balance; }
.store-row { display: flex; gap: 14px; flex-wrap: wrap; }
.final-cta .store-row { justify-content: center; }
.store-row img { height: 54px; width: auto; transition: transform .2s var(--ease); }
.store-row a:hover img { transform: translateY(-3px); }
.goal-end { width: min(860px, 96vw); height: auto; margin: clamp(36px,5vw,60px) auto 0; -webkit-mask-image: linear-gradient(180deg, transparent, #000 60%); mask-image: linear-gradient(180deg, transparent, #000 60%); }
.goal-end * { fill: none; stroke: var(--chalk); stroke-width: 1.7; vector-effect: non-scaling-stroke; }
.goal-end .goal { stroke: var(--chalk-2); stroke-width: 2.4; }

/* ---------- 18. contact ---------- */
.email-note { max-width: 620px; padding-bottom: 22px; }
.email-note .email { display: inline-block; margin: 24px 0 6px; padding-bottom: 3px; font-size: clamp(28px,5vw,48px); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; color: var(--ink); border-bottom: 3px solid var(--orange); transition: color .2s; }
.email-note .email:hover { color: var(--orange-ink); }
.aside-note { margin-top: 32px; color: var(--muted); line-height: 1.6; }
.aside-note a { color: #fff; font-weight: 700; border-bottom: 1.5px solid var(--orange); }

/* ---------- 19. get the app ---------- */
.app-hero { position: relative; overflow: hidden; padding: clamp(44px,6vw,84px) 0 clamp(36px,5vw,64px); }
.app-hero h1 { font-size: var(--fs-h1-page); line-height: 1.06; max-width: 18ch; margin-bottom: 20px; }
.app-hero .sub { font-size: var(--fs-lead); color: var(--muted); line-height: 1.6; max-width: 46ch; margin-bottom: 30px; }
.app-stage { position: relative; display: flex; justify-content: flex-end; padding: 0 12px 34px 0; }
.app-stage .phone { width: 248px; }
.qr { position: absolute; left: 4%; bottom: 0; width: 190px; padding: 14px 14px 12px; text-align: center; }
.qr img { width: 100%; border-radius: 3px; }
.qr .label { display: block; margin-top: 10px; font-size: 10.5px; color: var(--ink); }

/* ---------- 20. legal ---------- */
.legal { max-width: 760px; }
.legal .legal-updated { font-size: 13px; color: var(--dim); margin-bottom: 36px; }
.legal h2 { font-size: 22px; letter-spacing: -.01em; line-height: 1.25; margin: 44px 0 14px; max-width: none; }
.legal h3 { font-size: 16px; margin: 26px 0 10px; }
.legal p, .legal li { font-size: 15px; line-height: 1.7; color: var(--muted); }
.legal p { margin-bottom: 14px; }
.legal ul { list-style: disc; margin: 0 0 14px; padding-left: 22px; }
.legal li { margin-bottom: 8px; }
.legal strong { color: #fff; }
.legal a { color: var(--orange); }

/* ---------- 21. footer ---------- */
.site-footer { margin-top: clamp(20px,3vw,40px); background: var(--navy-3); border-top: 1.5px solid var(--chalk); padding: 56px 0 30px; color: var(--dim); font-size: 14px; }
/* when the page ends in front of goal, the end line is the boundary */
main:has(> .final-cta:last-child) + .site-footer { margin-top: 0; border-top: 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; align-items: start; }
.footer-brand img { height: 28px; width: auto; margin-bottom: 14px; }
.footer-brand p { max-width: 280px; font-size: 13.5px; line-height: 1.55; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--chalk); transition: transform .2s, box-shadow .2s, color .2s; }
.socials a:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1.5px var(--orange); color: var(--orange); }
.socials svg { width: 16px; height: 16px; }
.footer-col h2 { font-size: var(--fs-label); letter-spacing: .2em; text-transform: uppercase; color: #fff; margin-bottom: 14px; line-height: 1.5; }
.footer-col a { display: block; padding: 5px 0; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { margin-top: 36px; text-align: center; font-size: 12px; }

/* ---------- 22. motion ---------- */
/* .reveal only hides content once site.js has confirmed JS is running (html.js) */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- 23. responsive ---------- */
@media (max-width: 960px) {
  .hero-grid, .split { grid-template-columns: minmax(0,1fr); }
  .hero-stage { max-width: 520px; }
  .pitch { top: auto; bottom: -30px; right: -60vw; width: 210vw; transform: none;
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 40%); mask-image: linear-gradient(180deg, transparent, #000 40%); }
  .pitch .mn { display: none; }
  .plays { grid-template-columns: 1fr; gap: 18px; }
  .play:not(:last-child)::after { display: none; }
  .play svg { max-width: 300px; }
  .reports { grid-template-columns: 1fr; gap: 34px; }
  .price-cols { grid-template-columns: 1fr; }
  .price, .price:first-child, .price:last-child { border-left: 0; padding: 20px 0 14px; }
  .price + .price { border-top: 3px solid var(--ink); }
  .price .who-for, .price .per { min-height: 0; }
  .price .stamp { right: 0; top: 16px; }
  .people { grid-template-columns: 1fr 1fr; }
  .person, .person--legend { grid-column: auto; }
  .people > .person:nth-child(5) { grid-column: 1 / -1; }
  .faq-list { grid-template-columns: 1fr; }
  .page-hero { --hx: 0px; }
  .page-hero::before { display: none; }
  .page-hero::after { opacity: .32; }
  .app-stage { justify-content: center; max-width: 420px; margin: 8px auto 0; padding-right: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px 24px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  :root { --gutter: 20px; }
  nav.top .container { height: 62px; gap: 12px; }
  .logo img { height: 26px; }
  nav.top .btn { margin-left: auto; }
  /* iOS Safari: no backdrop-filter on the bar (it breaks the dropdown and is costly), solid background, fixed panel */
  nav.top { background: var(--navy); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .nav-links { display: none; }
  nav.top.open .nav-links { display: flex; flex-direction: column; gap: 0; position: fixed; top: 62px; left: 0; right: 0; max-height: calc(100vh - 62px); overflow-y: auto; z-index: 40; margin-left: 0; padding: 8px 20px 16px; background: var(--navy); border-bottom: 1px solid var(--hair); }
  nav.top.open .nav-links a { padding: 14px 0; font-size: 13px; border-bottom: 1px solid var(--hair); }
  nav.top.open .nav-links a:last-child { border-bottom: 0; }
  .nav-links a[aria-current="page"]::after { display: none; }
  .nav-toggle { -webkit-appearance: none; appearance: none; touch-action: manipulation; -webkit-tap-highlight-color: transparent; position: relative; z-index: 41; flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0; width: 46px; height: 46px; padding: 0; border: 1px solid rgba(255,255,255,.4); border-radius: 10px; background: rgba(255,255,255,.08); color: #fff; }
  .nav-toggle .bars { display: block; position: relative; width: 22px; height: 16px; flex: 0 0 16px; pointer-events: none; }
  .nav-toggle .bars i { position: absolute; left: 0; display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: transform .25s var(--ease), opacity .2s; }
  .nav-toggle .bars i:nth-child(1) { top: 0; }
  .nav-toggle .bars i:nth-child(2) { top: 7px; }
  .nav-toggle .bars i:nth-child(3) { top: 14px; }
  nav.top.open .nav-toggle .bars i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  nav.top.open .nav-toggle .bars i:nth-child(2) { opacity: 0; }
  nav.top.open .nav-toggle .bars i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero-stage { min-height: 0; margin-top: 12px; display: grid; grid-template-columns: minmax(0,172px) minmax(0,1fr); gap: 14px; align-items: center; justify-items: end; }
  .callout { position: static; transform: none; width: 100%; padding: 9px 9px 14px; }
  .tech { padding: 11px 11px 12px; }
  .tech .k { font-size: 9.5px; letter-spacing: .14em; }
  .tech strong { font-size: 19px; }
  .tech::after { width: 10px; }
  .tech::before { display: none; }
  .bench { padding: 0 22px; }
  .bench-k { font-size: 9.5px; letter-spacing: .14em; }
  .hero-stage .phone { width: 100%; max-width: 150px; }

  .stats, .stats--2 { grid-template-columns: 1fr; }
  .stat { border-left: 0; border-top: 1px solid var(--hair); padding: 18px 0; display: flex; align-items: baseline; gap: 16px; }
  .stat:first-child { border-top: 0; }
  .stat .num { min-width: 128px; }
  .stat .label { margin-top: 0; }
  .track span { font-size: 13px; gap: 20px; padding-left: 20px; }
  .halfway { height: 80px; }
  .halfway span { width: 80px; height: 80px; }
  .paper--l { transform: rotate(-.6deg); }
  .paper--r { transform: rotate(.6deg); }
  .people { grid-template-columns: 1fr; }
  .people > .person:nth-child(5) { grid-column: auto; }
  .people--duo { grid-template-columns: 1fr 1fr; gap: 12px; }
  .people--duo .person { padding: 22px 12px 20px; }
  .people--duo .person img { width: 104px; height: 104px; }
  .people--duo .person .name { font-size: 17px; }
  .faq-item p { padding-left: 0; }
  .store-row img { height: 46px; }
  .final-cta p { font-size: 17px; }
  .app-stage .phone { width: 210px; }
  .qr { left: 2%; width: 118px; padding: 8px 8px 7px; }
  .qr .label { font-size: 8.5px; letter-spacing: .14em; margin-top: 7px; }
  .site-footer { padding-top: 44px; }
}
/* ---------- 23b. county pages (/county, /county/[slug]) ---------- */
.county-hero .sub { max-width: 52ch; }
.county-price { margin: 22px 0 22px; font-size: 17px; color: var(--muted); }
.county-price strong { color: #fff; font-weight: 800; }
.county-how { margin-top: 18px; }
.price-cols--2 { grid-template-columns: repeat(2,1fr); }
.price-cols--2 .price:first-child { padding-right: 26px; }
.county-qr { display: block; width: 190px; margin: 40px auto 0; padding: 14px 14px 12px; text-align: center; }
.county-qr img { width: 100%; border-radius: 3px; }
.county-qr .label { display: block; margin-top: 10px; font-size: 10.5px; color: var(--ink); line-height: 1.4; }
.final-cta .county-other { margin: 30px auto 0; max-width: 40ch; font-size: 15px; color: var(--dim); }
.final-cta .county-contact { margin: 10px auto 0; font-size: 16px; color: var(--muted); }
.county-contact a { display: inline-block; padding: 12px 0; color: #fff; font-weight: 700; text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 1.5px; text-underline-offset: 5px; }
.county-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.county-list li { border-top: 1px solid var(--hair); }
.county-list a { display: flex; align-items: center; justify-content: space-between; min-height: 48px; font-weight: 700; font-size: 16px; }
.county-list a:hover { color: var(--orange); }
@media (max-width: 960px) {
  .price-cols--2 { grid-template-columns: 1fr; }
  .price-cols--2 .price:first-child { padding-right: 0; }
}
@media (max-width: 760px) {
  .county-qr { display: none; }   /* you cannot scan a QR code shown on the phone you are holding */
  .county-hero .store-row { margin-top: 4px; }
  .county-list { columns: 2; column-gap: 18px; }
  .county-list li { break-inside: avoid; }
}

/* ---------- 24. phones (<= 760px): thumb-sized targets and a calmer hero ---------- */
@media (max-width: 760px) {
  /* every tap target is at least 44px */
  .logo { display: flex; align-items: center; min-height: 44px; }
  nav.top .btn { min-height: 44px; }
  .sport-tabs button { min-height: 44px; padding: 0 18px; }
  .link { min-height: 44px; }
  .socials { gap: 6px; }
  .socials a { width: 44px; height: 44px; }
  .footer-col a { padding: 12px 0; }
  .footer-col h2 { margin-bottom: 6px; }
  .email-note .email { padding: 8px 0 4px; }
  .cta-row .btn { flex: 1 1 100%; min-height: 50px; }

  /* hero: no stray half-circles or connector stubs at the edge */
  .pitch .mk { display: none; }
  .tech::after { display: none; }

  /* step cards: smaller diagrams so three steps are not three screens */
  .play { padding: 18px 20px 22px; }
  .play svg { max-width: 190px; margin-bottom: 10px; }
  .plays--plain .play svg { margin-bottom: 14px; }

  /* store badges: always side by side */
  .store-row { flex-wrap: nowrap; gap: 10px; }
  .store-row a { flex: 1 1 0; min-width: 0; max-width: 190px; }
  .store-row img { width: 100%; height: auto; }

  /* you cannot scan a QR code shown on the phone you are holding */
  .qr { display: none; }
  .app-stage { padding-bottom: 0; }
}
/* ---------- 24b. phones: the hero pitch is a still picture, not an animation ---------- */
@media (max-width: 960px) {
  .pitch { -webkit-mask-image: none; mask-image: none; opacity: .32; }
  .pitch * { vector-effect: none; stroke-width: 2.2; }
  .pitch .ln, .pitch .dash, .pitch .spot, .pitch .mk, .pitch .mn { animation: none !important; }
  .pitch .ln { stroke-dashoffset: 0; }
  .pitch .dash, .pitch .spot { opacity: 1; }
  .track { animation-duration: 45s; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .pitch .ln { stroke-dashoffset: 0; }
  .pitch .dash, .pitch .spot, .pitch .mk, .pitch .mn { opacity: 1; }
  .js .reveal { opacity: 1; transform: none; }
}
