/*
 * bookiestats landing site. Tokens follow the SPA's design tokens
 * (services/bookiestats-frontend/src/styles/tokens.css, docs/product/
 * design-reference.md): the 2026-10-27 brand, dark first on Onyx, light
 * (Paper White) through prefers-color-scheme.
 * Fonts are self-hosted (scripts/site.mjs copies them next to this file); while
 * they load, text renders in a local font scaled to the same metrics.
 * The CSP allows no inline style, so every visual state is a class here.
 */

@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/schibsted-grotesk-latin-400-normal.437cd97c80.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/schibsted-grotesk-latin-700-normal.d656a2dcc2.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Bold text takes the Regular face's word space: the Bold space (0.21 em)
 * rounds to a pixel or none at small sizes. Declared after the Bold face, so
 * it wins for these two characters (as in the SPA's styles/fonts.css). */
@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/schibsted-grotesk-latin-400-normal.437cd97c80.woff2) format('woff2');
  unicode-range: U+0020, U+00A0;
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/jetbrains-mono-latin-400-normal.14425ba9c6.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/jetbrains-mono-latin-500-normal.cb182feeed.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Size-matched local fonts (values from the fonts' own metrics; see the
 * SPA's src/styles/fonts.css). */
@font-face {
  font-family: 'Schibsted Grotesk Fallback';
  src: local('Arial'), local('ArialMT'), local('Liberation Sans'), local('Helvetica');
  size-adjust: 105.2%;
  ascent-override: 92.8%;
  descent-override: 24.5%;
  line-gap-override: 0%;
}

@font-face {
  font-family: 'JetBrains Mono Fallback';
  src: local('Courier New'), local('CourierNewPSMT'), local('Liberation Mono');
  size-adjust: 100%;
  ascent-override: 102%;
  descent-override: 30%;
  line-gap-override: 0%;
}

:root {
  color-scheme: dark;

  /* Onyx and its lighter navy steps. */
  --surface-base: #060b1a;
  --surface-raised: #0c1326;
  --surface-overlay: #141c33;
  --text-primary: #eef1f7;
  --text-secondary: #a6aaae;
  --text-tertiary: #8e9297;
  --border-subtle: #141c33;
  --border-strong: #27304d;
  /* Vivid Blue is 2.9:1 on Onyx: text and the heading's blue line use its
   * tint (40% toward white, 6.3:1); Vivid Blue itself fills the CTA. */
  --accent-primary: #668bff;
  --solid-accent: #003eff;
  --solid-accent-hover: #1f55ff;
  --on-solid: #ffffff;
  /* Fair odds vs market price: the colour-blind-safe blue/orange pair. */
  --data-fair: #668bff;
  --data-market: #fb923c;
  /* Positive edge Ice Cyan, negative edge Alert Coral: apart for every
   * colour-vision deficiency, and always with ▲ or ▼. */
  --edge-positive: #6fe3f2;
  --edge-negative: #ff633d;
  --pick-won: #6fe3f2;
  --pick-lost: #ff633d;
  --pick-void: #8e9297;
  --brand-glow: rgba(0, 62, 255, 0.35);
  --shadow-raised: 0 6px 20px rgba(0, 0, 0, 0.4);

  --font-sans: 'Schibsted Grotesk', 'Schibsted Grotesk Fallback', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'JetBrains Mono Fallback', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;

  /* Brand type styles (letter-spacing and line-height from the board). */
  --tracking-eyebrow: 0.2em;
  --tracking-heading: -0.04em;
  --tracking-subheading: -0.01em;
  --tracking-body: -0.03em;
  --tracking-data: -0.01em;
  --tracking-cta: 0;
  --leading-heading: 1.03;
  --leading-subheading: 1;
  --leading-body: 1.3;

  --text-xs: clamp(0.75rem, 0.72rem + 0.15vw, 0.8rem);
  --text-sm: clamp(0.8125rem, 0.77rem + 0.2vw, 0.875rem);
  --text-base: clamp(0.9375rem, 0.88rem + 0.3vw, 1.0625rem);
  --text-lg: clamp(1.05rem, 0.95rem + 0.5vw, 1.25rem);
  --text-xl: clamp(1.2rem, 1rem + 0.8vw, 1.6rem);
  --text-2xl: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem);
  --text-hero: clamp(2.4rem, 1.5rem + 4vw, 4.5rem);

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-8: 48px;
  --space-10: 64px;
  --radius-md: 6px;
  --radius-lg: 12px;
  --radius-xl: 18px;
  --radius-pill: 999px;
  --width-content: 1120px;
}

@media (prefers-color-scheme: light) {
  :root {
    color-scheme: light;

    /* Paper White, then Calm Lilac mixed 12% and 25% into it. */
    --surface-base: #ffffff;
    --surface-raised: #f7f7fe;
    --surface-overlay: #efeffd;
    --text-primary: #060b1a;
    /* Graphite (#5d646b) is the board's muted grey. */
    --text-secondary: #474d54;
    --text-tertiary: #5d646b;
    --border-subtle: #e3e4f2;
    --border-strong: #c9cbdd;
    --accent-primary: #003eff;
    --solid-accent-hover: #0032cc;
    --data-fair: #003eff;
    --data-market: #b23c0b;
    --edge-positive: #00708a;
    --edge-negative: #b8361a;
    --pick-won: #00708a;
    --pick-lost: #b8361a;
    --pick-void: #5d646b;
    --brand-glow: rgba(0, 62, 255, 0.2);
    --shadow-raised: 0 6px 20px rgba(6, 11, 26, 0.12);
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--surface-base);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: var(--text-base);
  /* Never fake a weight: 600 resolves to the real Bold. */
  font-synthesis-weight: none;
  letter-spacing: -0.01em;
  line-height: 1.6;
  overflow-wrap: break-word;
}

/* Heading style for h1 and the section titles; h3 takes the Subheading
 * tracking with room for a second line. */
h1,
h2,
h3 {
  margin: 0;
  font-weight: 700;
  letter-spacing: var(--tracking-heading);
  line-height: var(--leading-heading);
}

h3 {
  letter-spacing: var(--tracking-subheading);
  line-height: 1.15;
}

p {
  margin: 0;
}

a {
  color: var(--accent-primary);
  text-underline-offset: 0.18em;
}

:focus-visible {
  outline: 2px solid var(--accent-primary);
  outline-offset: 2px;
  border-radius: 2px;
}

svg {
  display: block;
  max-width: 100%;
  height: auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip {
  position: absolute;
  top: var(--space-2);
  left: var(--space-2);
  z-index: 10;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-md);
  background: var(--solid-accent);
  color: var(--on-solid);
  transform: translateY(-200%);
}

.skip:focus {
  transform: none;
}

.wrap {
  width: 100%;
  max-width: var(--width-content);
  margin-inline: auto;
  padding-inline: var(--space-4);
}

/* Data style: JetBrains Mono at −1%. */
.odds,
.num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: var(--tracking-data);
}

/* ── Header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  border-bottom: 1px solid var(--border-subtle);
  background: var(--surface-base);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  min-height: 60px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--text-primary);
  font-size: var(--text-lg);
  font-weight: 700;
  letter-spacing: var(--tracking-heading);
  text-decoration: none;
  white-space: nowrap;
}

/* The brand mark: a Vivid Blue dot. */
.brand::before {
  content: '';
  width: 12px;
  height: 12px;
  border-radius: var(--radius-pill);
  background: var(--solid-accent);
  box-shadow: 0 0 12px var(--brand-glow);
}

.site-nav {
  display: none;
  gap: var(--space-5);
  margin-inline-start: var(--space-4);
}

.site-nav a {
  color: var(--text-secondary);
  font-size: var(--text-sm);
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--text-primary);
}

.header-actions {
  display: flex;
  gap: var(--space-2);
  margin-inline-start: auto;
}

/* ── Buttons: the CTA style, JetBrains Mono at 0% ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 44px;
  padding: 0 var(--space-5);
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: var(--tracking-cta);
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 150ms, border-color 150ms;
}

.btn-primary {
  background: var(--solid-accent);
  color: var(--on-solid);
}

.btn-primary:hover {
  background: var(--solid-accent-hover);
}

.btn-ghost {
  border-color: var(--border-strong);
  color: var(--text-primary);
}

.btn-ghost:hover {
  border-color: var(--text-tertiary);
}

.header-actions .btn-primary {
  display: none;
}

/* ── Sections ── */
.section {
  padding-block: var(--space-10);
}

.section + .section {
  border-top: 1px solid var(--border-subtle);
}

/* Eyebrow style: JetBrains Mono, uppercase, +20%. */
.kicker {
  display: inline-block;
  margin-bottom: var(--space-3);
  color: var(--accent-primary);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
}

.section-title {
  max-width: 22ch;
  font-size: var(--text-2xl);
}

/* Body copy style. */
.section-lead {
  max-width: 52ch;
  margin-top: var(--space-3);
  color: var(--text-secondary);
  letter-spacing: var(--tracking-body);
  line-height: var(--leading-body);
}

/* ── Hero ── */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: var(--space-8) var(--space-10);
}

.hero .wrap {
  display: grid;
  gap: var(--space-8);
  align-items: center;
}

.hero h1 {
  font-size: var(--text-hero);
}

/* "Cut the Noise." in the text colour, "Find the Edge." in Vivid Blue (its
 * tint on dark), each on its own line. */
.hero-line {
  display: block;
}

.hero-accent {
  color: var(--accent-primary);
}

/* Subheading style. */
.hero-sub {
  max-width: 30ch;
  margin-top: var(--space-5);
  font-size: var(--text-xl);
  letter-spacing: var(--tracking-subheading);
  line-height: var(--leading-subheading);
}

/* Body copy style: muted grey. */
.hero-body {
  max-width: 46ch;
  margin-top: var(--space-4);
  color: var(--text-secondary);
  font-size: var(--text-lg);
  letter-spacing: var(--tracking-body);
  line-height: var(--leading-body);
}

/* Data lines: Bookie / Fair / Edge with ▲ or ▼. */
.edge-lines {
  margin: var(--space-5) 0 0;
  padding: 0;
}

.edge-list {
  display: grid;
  gap: var(--space-2);
  margin: 0;
  padding: 0;
  list-style: none;
}

.edge-line {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1) var(--space-3);
  font-family: var(--font-mono);
  font-size: var(--text-base);
  font-variant-numeric: tabular-nums;
  letter-spacing: var(--tracking-data);
}

.edge-line .sep {
  color: var(--text-tertiary);
}

.edge-up {
  color: var(--edge-positive);
}

.edge-down {
  color: var(--edge-negative);
}

.edge-lines figcaption {
  margin-top: var(--space-2);
}

.cta-arrow {
  font-family: var(--font-sans);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-6);
}

/* ── BookieScan sample row ── */
.scan {
  margin: 0;
  padding: var(--space-5);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  background: var(--surface-raised);
  box-shadow: var(--shadow-raised);
}

.scan-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
}

.scan-tag {
  font-size: var(--text-sm);
  font-weight: 700;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-1) var(--space-3);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  color: var(--text-secondary);
  font-size: var(--text-xs);
}

.scan-match {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-1) var(--space-3);
  margin-top: var(--space-4);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--border-strong);
}

.teams {
  font-weight: 700;
  letter-spacing: var(--tracking-subheading);
}

.vs {
  color: var(--text-tertiary);
  font-weight: 400;
}

.scan-market {
  color: var(--text-secondary);
  font-size: var(--text-sm);
}

.fair {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-3);
  margin-top: var(--space-4);
}

.fair-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--text-secondary);
  font-size: var(--text-sm);
}

.fair-value {
  color: var(--data-fair);
  font-size: var(--text-2xl);
  font-weight: 700;
}

.key {
  display: inline-block;
  flex: none;
  width: 10px;
  height: 10px;
}

.key-fair {
  background: var(--data-fair);
  transform: rotate(45deg);
}

.key-market {
  border-radius: var(--radius-pill);
  background: var(--data-market);
}

.books {
  width: 100%;
  margin-top: var(--space-3);
  border-collapse: collapse;
  font-size: var(--text-sm);
}

.books th,
.books td {
  padding: var(--space-2) 0;
  border-bottom: 1px solid var(--border-subtle);
  text-align: left;
  font-weight: 400;
}

.books thead th {
  color: var(--text-tertiary);
  font-size: var(--text-xs);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.books .odds,
.books .diff,
.books thead th + th {
  text-align: right;
}

.books .odds {
  color: var(--data-market);
  font-weight: 600;
}

.books .diff {
  color: var(--text-secondary);
}

.books .top th {
  color: var(--text-primary);
  font-weight: 600;
}

.gap-scale {
  margin-top: var(--space-4);
}

.gap-scale .axis {
  stroke: var(--border-strong);
  stroke-width: 2;
}

.gap-scale .tick {
  stroke: var(--text-tertiary);
}

.gap-scale .tick-label {
  fill: var(--text-tertiary);
  font-family: var(--font-mono);
  font-size: 11px;
}

.gap-scale .market {
  fill: var(--data-market);
}

.gap-scale .fair-mark {
  fill: var(--data-fair);
}

.gap-scale .bracket {
  fill: none;
  stroke: var(--text-secondary);
  stroke-width: 1.5;
}

.gap-scale .bracket-label {
  fill: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 12px;
}

.sample-note {
  margin-top: var(--space-3);
  color: var(--text-tertiary);
  font-size: var(--text-xs);
}

/* ── How it works ── */
.steps {
  display: grid;
  gap: var(--space-4);
  margin: var(--space-8) 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.step {
  position: relative;
  padding: var(--space-5);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  background: var(--surface-raised);
  counter-increment: step;
}

.step::before {
  content: counter(step);
  position: absolute;
  top: var(--space-5);
  right: var(--space-5);
  color: var(--text-tertiary);
  font-family: var(--font-mono);
  font-size: var(--text-sm);
}

.step-icon {
  width: 48px;
  height: 48px;
  margin-bottom: var(--space-4);
}

.step-icon .line {
  fill: none;
  stroke: var(--text-secondary);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.step-icon .fill-fair {
  fill: var(--data-fair);
}

.step-icon .fill-market {
  fill: var(--data-market);
}

.step-icon .stroke-fair {
  fill: none;
  stroke: var(--data-fair);
  stroke-linecap: round;
  stroke-width: 2.5;
}

.step h3 {
  font-size: var(--text-lg);
}

.step p {
  margin-top: var(--space-2);
  color: var(--text-secondary);
  font-size: var(--text-sm);
}

.step-final {
  border-color: var(--accent-primary);
}

/* ── Track record ── */
.track {
  display: grid;
  gap: var(--space-6);
  margin-top: var(--space-8);
}

.track-figure {
  margin: 0;
  padding: var(--space-5);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  background: var(--surface-raised);
}

.picks {
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pick {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border: 1px solid currentColor;
  border-radius: var(--radius-md);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 700;
}

.pick-w {
  color: var(--pick-won);
}

.pick-l {
  color: var(--pick-lost);
}

.pick-v {
  color: var(--pick-void);
  border-style: dashed;
}

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-4);
  margin: var(--space-4) 0 0;
  padding: 0;
  color: var(--text-secondary);
  font-size: var(--text-xs);
  list-style: none;
}

.progress {
  margin-top: var(--space-5);
}

.progress-label {
  display: flex;
  justify-content: space-between;
  gap: var(--space-3);
  color: var(--text-secondary);
  font-size: var(--text-xs);
}

.progress-bar {
  position: relative;
  height: 10px;
  margin-top: var(--space-2);
  overflow: hidden;
  border-radius: var(--radius-pill);
  background: var(--surface-overlay);
}

.progress-bar::before {
  content: '';
  position: absolute;
  inset: 0 62% 0 0;
  border-radius: inherit;
  background: var(--data-fair);
}

.facts {
  display: grid;
  gap: var(--space-4);
  margin: 0;
  padding: 0;
  list-style: none;
}

.fact {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
}

.fact svg {
  flex: none;
  width: 28px;
  height: 28px;
}

.fact .line {
  fill: none;
  stroke: var(--accent-primary);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.fact strong {
  display: block;
}

.fact span {
  color: var(--text-secondary);
  font-size: var(--text-sm);
}

/* ── Coverage ── */
.coverage {
  display: grid;
  gap: var(--space-6);
  margin-top: var(--space-8);
}

.coverage h3 {
  margin-bottom: var(--space-3);
  color: var(--text-secondary);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin: 0;
  padding: 0;
  list-style: none;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  min-height: 40px;
  padding: var(--space-2) var(--space-4);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  background: var(--surface-raised);
  font-size: var(--text-sm);
}

.badge svg {
  flex: none;
  width: 18px;
  height: 18px;
}

.badge .line {
  fill: none;
  stroke: var(--text-secondary);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.badge-more {
  border-style: dashed;
  color: var(--text-secondary);
}

.big-number {
  display: flex;
  align-items: baseline;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.big-number .num {
  font-size: var(--text-hero);
  font-weight: 700;
  line-height: 1;
}

.big-number span:last-child {
  color: var(--text-secondary);
}

/* ── Closing call to action ── */
.closing {
  text-align: center;
}

.closing .section-title,
.closing .section-lead {
  margin-inline: auto;
}

.closing .cta-row {
  justify-content: center;
}

/* ── Legal pages ── */
.legal {
  max-width: 720px;
  padding-block: var(--space-8) var(--space-10);
}

.legal h1 {
  font-size: var(--text-2xl);
}

.legal h2 {
  margin-top: var(--space-6);
  font-size: var(--text-lg);
}

.legal p,
.legal ul,
.legal dl {
  margin: var(--space-3) 0 0;
  color: var(--text-secondary);
}

.legal ul {
  padding-inline-start: var(--space-5);
}

.legal dt {
  margin-top: var(--space-3);
  color: var(--text-primary);
  font-weight: 600;
}

.legal dd {
  margin: 0;
}

.legal .updated {
  color: var(--text-tertiary);
  font-size: var(--text-sm);
}

.no-list {
  display: grid;
  gap: var(--space-2);
  margin-top: var(--space-5);
  padding: 0;
  list-style: none;
}

.no-list li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--text-primary);
}

.no-list svg {
  flex: none;
  width: 22px;
  height: 22px;
}

.no-list .line {
  fill: none;
  stroke: var(--text-secondary);
  stroke-linecap: round;
  stroke-width: 2;
}

/* ── Footer ── */
.site-footer {
  padding-block: var(--space-8);
  border-top: 1px solid var(--border-subtle);
  background: var(--surface-raised);
  color: var(--text-secondary);
  font-size: var(--text-sm);
}

.footer-grid {
  display: grid;
  gap: var(--space-5);
}

.age {
  display: inline-grid;
  flex: none;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 2px solid var(--text-primary);
  border-radius: var(--radius-pill);
  color: var(--text-primary);
  font-weight: 700;
}

.footer-notice {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.footer-notice strong {
  color: var(--text-primary);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-5);
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  display: inline-block;
  padding-block: var(--space-2);
}

.copyright {
  color: var(--text-tertiary);
  font-size: var(--text-xs);
}

/* ── Wider screens ── */
@media (min-width: 640px) {
  .header-actions .btn-primary {
    display: inline-flex;
  }

  .steps,
  .coverage {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .site-nav {
    display: flex;
  }

  .hero {
    padding-block: var(--space-10);
  }

  .hero .wrap {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  }

  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .track {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    align-items: center;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    align-items: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
