/* ============================================================================
   soplayhub — shadcn.css · shadcn/ui neutral theme (light) in the Beste UI
   block idiom: hairline borders, .625rem radius, near-black primary, muted
   secondary surfaces, generous section rhythm, featured card = inverted.
   Raw values ONLY in :root; components consume var(--token).
   Transitions: explicit properties, ease-out. Slop canon: projects/oss/unslop.
   ============================================================================ */

/* ---- tokens (shadcn neutral, light) --------------------------------------- */
:root {
  --background: oklch(1 0 0);
  --foreground: oklch(0.145 0 0);

  --card: oklch(1 0 0);
  --card-foreground: oklch(0.145 0 0);

  --popover: oklch(1 0 0);
  --popover-foreground: oklch(0.145 0 0);

  --primary: oklch(0.205 0 0);
  --primary-foreground: oklch(0.985 0 0);

  --secondary: oklch(0.97 0 0);
  --secondary-foreground: oklch(0.205 0 0);

  --muted: oklch(0.97 0 0);
  --muted-foreground: oklch(0.556 0 0);

  --accent: oklch(0.97 0 0);
  --accent-foreground: oklch(0.205 0 0);

  --destructive: oklch(0.577 0.245 27.325);
  --destructive-foreground: oklch(0.985 0 0);

  --border: oklch(0.922 0 0);
  --input: oklch(0.922 0 0);
  --ring: oklch(0.708 0 0);

  /* the one non-neutral value in the theme: stars have to read as stars */
  --rating-star: oklch(0.795 0.162 86);

  --radius: 0.625rem;
  --radius-sm: calc(var(--radius) - 4px);
  --radius-md: calc(var(--radius) - 2px);
  --radius-lg: var(--radius);
  --radius-xl: calc(var(--radius) + 4px);

  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* type scale — h1 36/45 -0.025em matches the reference */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;

  --leading-tight: 1.25;
  --leading-normal: 1.5;
  --leading-relaxed: 1.65;
  --tracking-tight: -0.025em;

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-24: 6rem;

  --container: 72rem;
  --measure: 68ch;
  --tap-min: 44px;

  --dur-fast: 120ms;
  --dur-med: 180ms;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);

  --shadow-sm: 0 1px 2px 0 oklch(0.145 0 0 / 0.05);
  --shadow-lg: 0 10px 30px -10px oklch(0.145 0 0 / 0.2);
}

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

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

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 600;
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  text-wrap: balance;
}

h1 { font-size: var(--text-4xl); }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-xl); }
h4 { font-size: var(--text-lg); }

p { margin: 0; max-width: var(--measure); }
a { color: inherit; }
img, svg { max-width: 100%; }

:where(a, button, [tabindex]):focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* ---- layout --------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--space-6);
}

.section { padding-block: var(--space-16); }
.section-sm { padding-block: var(--space-12); }
.section-bordered { border-top: 1px solid var(--border); }

.section-head { max-width: 42rem; }
.section-head > * + * { margin-top: var(--space-3); }

.stack > * + * { margin-top: var(--space-4); }
.stack-lg > * + * { margin-top: var(--space-6); }

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

/* body of a block, sitting under its .section-head */
.block-body { margin-top: var(--space-10); }

.grid-3 { display: grid; gap: var(--space-4); }
@media (min-width: 64rem) {
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---- typography helpers --------------------------------------------------- */
.lead {
  font-size: var(--text-lg);
  color: var(--muted-foreground);
  line-height: var(--leading-relaxed);
}
.muted { color: var(--muted-foreground); }
.text-sm { font-size: var(--text-sm); }
.text-xs { font-size: var(--text-xs); }
.tabular { font-variant-numeric: tabular-nums; }

.prose > * + * { margin-top: var(--space-4); }
.prose p { color: var(--muted-foreground); line-height: var(--leading-relaxed); }
.prose h3 { margin-top: var(--space-8); color: var(--foreground); }

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

.skip-link {
  position: absolute;
  left: var(--space-4);
  top: -4rem;
  z-index: 60;
  background: var(--primary);
  color: var(--primary-foreground);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  text-decoration: none;
  transition: top var(--dur-med) var(--ease-out);
}
.skip-link:focus { top: var(--space-4); }

/* ---- Button --------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  height: 2.25rem;
  min-height: var(--tap-min);
  padding-inline: var(--space-4);
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  background: var(--primary);
  color: var(--primary-foreground);
  font-family: inherit;
  font-size: var(--text-sm);
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color var(--dur-fast) var(--ease-out),
              color var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out);
}
.btn:hover { background: color-mix(in oklab, var(--primary) 90%, var(--background)); }

.btn-secondary { background: var(--secondary); color: var(--secondary-foreground); }
.btn-secondary:hover { background: color-mix(in oklab, var(--secondary) 80%, var(--foreground) 4%); }

.btn-outline {
  background: var(--background);
  color: var(--foreground);
  border-color: var(--border);
}
.btn-outline:hover { background: var(--accent); color: var(--accent-foreground); }

.btn-ghost { background: transparent; color: var(--foreground); }
.btn-ghost:hover { background: var(--accent); }

.btn-lg { height: 2.75rem; padding-inline: var(--space-6); font-size: var(--text-base); }
.btn-block { width: 100%; }

.btn[disabled], .btn[aria-disabled="true"] {
  pointer-events: none;
  opacity: 0.5;
}

/* ---- Card ----------------------------------------------------------------- */
.card {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  padding: var(--space-6);
  background: var(--card);
  color: var(--card-foreground);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
}

.card-header { display: grid; gap: var(--space-1); }
.card-title { font-size: var(--text-lg); font-weight: 600; letter-spacing: var(--tracking-tight); }
.card-description { font-size: var(--text-sm); color: var(--muted-foreground); }
.card-content { display: grid; gap: var(--space-4); }
.card-footer { display: grid; gap: var(--space-3); }

/* Featured = inverted surface (the reference's "recommended plan" pattern).
   Tokens are re-pointed so every child component inverts with it. */
.card-featured {
  --card: var(--primary);
  --card-foreground: var(--primary-foreground);
  --foreground: var(--primary-foreground);
  --border: oklch(1 0 0 / 0.18);
  --muted: oklch(1 0 0 / 0.1);
  --muted-foreground: oklch(1 0 0 / 0.72);
  --secondary: oklch(1 0 0 / 0.12);
  --secondary-foreground: var(--primary-foreground);
  --accent: oklch(1 0 0 / 0.12);
  --accent-foreground: var(--primary-foreground);
  --ring: oklch(1 0 0 / 0.6);
  border-color: var(--primary);
}
/* .stars-track reads --border, which is near-invisible once inverted */
.card-featured .stars-track { color: oklch(1 0 0 / 0.28); }
.card-featured .btn {
  background: var(--primary-foreground);
  color: var(--primary);
}
.card-featured .btn:hover { background: color-mix(in oklab, var(--primary-foreground) 88%, var(--primary)); }
.card-featured .btn-outline {
  background: transparent;
  color: var(--primary-foreground);
  border-color: oklch(1 0 0 / 0.25);
}
.card-featured .btn-outline:hover { background: oklch(1 0 0 / 0.12); }

/* ---- Badge ---------------------------------------------------------------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: 0.125rem var(--space-2);
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: var(--primary);
  color: var(--primary-foreground);
  font-size: var(--text-xs);
  font-weight: 500;
  line-height: 1.4;
  white-space: nowrap;
}
.badge-secondary { background: var(--secondary); color: var(--secondary-foreground); }
/* inherits the surface's own colour, so it inverts with .card-featured */
.badge-outline { background: transparent; color: inherit; border-color: var(--border); }

/* ---- Separator ------------------------------------------------------------ */
.separator { height: 1px; background: var(--border); border: 0; margin: 0; }

/* ---- Alert (compliance strip) --------------------------------------------- */
.alert {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2) var(--space-4);
  padding: var(--space-2) 0;
  font-size: var(--text-xs);
  color: var(--muted-foreground);
}
.alert strong { color: var(--foreground); font-weight: 600; }
.alert a { color: var(--foreground); text-underline-offset: 3px; }

.topbar { background: var(--muted); border-bottom: 1px solid var(--border); }

/* ---- Navbar --------------------------------------------------------------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklab, var(--background) 88%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  min-height: 4rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-base);
  font-weight: 600;
  letter-spacing: var(--tracking-tight);
  text-decoration: none;
}
.brand-mark { width: 1.5rem; height: 1.5rem; flex: none; }

.nav-list {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap-min);
  padding-inline: var(--space-3);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--muted-foreground);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-out),
              background-color var(--dur-fast) var(--ease-out);
}
.nav-link:hover { color: var(--foreground); background: var(--accent); }
.nav-link[aria-current="page"] { color: var(--foreground); }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--tap-min);
  height: var(--tap-min);
  margin-right: calc(-1 * var(--space-2));
  background: transparent;
  border: 0;
  border-radius: var(--radius-md);
  color: var(--foreground);
  cursor: pointer;
}
.nav-toggle:hover { background: var(--accent); }

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  display: block;
  width: 1rem;
  height: 1.5px;
  background: currentColor;
  border-radius: 1px;
  transition: transform var(--dur-med) var(--ease-out),
              background-color var(--dur-fast) var(--ease-out);
}
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before { position: absolute; top: -5px; }
.nav-toggle-bars::after { position: absolute; top: 5px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-5px) rotate(-45deg); }

/* Sheet = the mobile nav panel */
@media (max-width: 47.99rem) {
  .nav {
    position: absolute;
    left: 0; right: 0;
    top: 100%;
    background: var(--popover);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    transform: scaleY(0.97);
    transform-origin: top center;
    opacity: 0;
    visibility: hidden;
    transition: transform var(--dur-med) var(--ease-out),
                opacity var(--dur-fast) var(--ease-out),
                visibility var(--dur-med) var(--ease-out);
  }
  .nav[data-open="true"] { transform: scaleY(1); opacity: 1; visibility: visible; }
  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-1);
    padding: var(--space-3) var(--space-6) var(--space-5);
  }
  .nav-link { font-size: var(--text-base); padding-inline: var(--space-3); }
}
@media (min-width: 48rem) {
  .nav-toggle { display: none; }
  .nav { display: block !important; }
}

/* ---- Icons ---------------------------------------------------------------- */
.icon-sprite { position: absolute; }

.icon {
  width: 1.25rem;
  height: 1.25rem;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon-lg { width: 1.5rem; height: 1.5rem; }

/* ---- Hero block ----------------------------------------------------------- */
.hero { padding-block: var(--space-16) var(--space-12); }
.hero-title { font-size: var(--text-4xl); max-width: 18ch; }
.hero-lead { margin-top: var(--space-4); max-width: 46ch; }
.hero-meta {
  margin-top: var(--space-6);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-3);
}

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

/* The hero visual is the ranking itself, not decoration — it is built from
   the same BOOKS data, so it can never drift from the table below. */
.hero-panel {
  display: grid;
  gap: var(--space-5);
  padding: var(--space-6);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
}
.hero-panel-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-4);
}
.hero-panel-title { font-size: var(--text-sm); font-weight: 600; }
.hero-panel-note { font-size: var(--text-xs); color: var(--muted-foreground); }

.hero-panel-list { display: grid; gap: var(--space-2); list-style: none; margin: 0; padding: 0; }
.hero-panel-row {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-3);
  border-radius: var(--radius-lg);
}
.hero-panel-row[data-top='true'] { background: var(--muted); }
.hero-panel-logo {
  max-width: 7.5rem;
  max-height: 1.75rem;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: left center;
}
.hero-panel-score {
  margin-left: auto;
  font-size: var(--text-xl);
  font-weight: 600;
  letter-spacing: var(--tracking-tight);
  font-variant-numeric: tabular-nums;
}
.hero-panel-foot {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding-top: var(--space-4);
  border-top: 1px solid var(--border);
  font-size: var(--text-xs);
  color: var(--muted-foreground);
}

@media (min-width: 48rem) {
  .hero { padding-block: var(--space-24) var(--space-16); }
  .hero-title { font-size: var(--text-5xl); }
}
@media (min-width: 64rem) {
  .hero-split { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: var(--space-16); }
  .hero-title { font-size: var(--text-4xl); }
}

/* ---- Compare block (ranked operator rows) --------------------------------- */
.compare { display: grid; gap: var(--space-4); margin-top: var(--space-10); }

.compare-row {
  display: grid;
  gap: var(--space-5);
  padding: var(--space-5);
}

.compare-identity { display: flex; align-items: flex-start; gap: var(--space-4); }

.compare-rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  flex: none;
  border-radius: var(--radius-sm);
  background: var(--secondary);
  color: var(--secondary-foreground);
  font-size: var(--text-sm);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.compare-name { min-width: 0; }

/* Operators supply their own brand marks in their own colours, at mixed
   aspect ratios — so the box is fixed and the art is contained inside it. */
.compare-logo {
  display: block;
  max-width: 10rem;
  max-height: 2.5rem;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: left center;
}
/* On the inverted card a dark brand mark would vanish, so it gets a tile
   rather than a filter — inverting a colour logo would wreck the brand. */
.card-featured .compare-logo {
  box-sizing: content-box;
  padding: var(--space-2) var(--space-3);
  background: oklch(1 0 0);
  border-radius: var(--radius-md);
  object-position: center;
}

.compare-badges { margin: var(--space-3) 0 0; display: flex; flex-wrap: wrap; gap: var(--space-2); }

.compare-score { margin: 0; text-align: center; }
.compare-score-value {
  display: block;
  font-size: var(--text-3xl);
  font-weight: 600;
  line-height: 1;
  letter-spacing: var(--tracking-tight);
  font-variant-numeric: tabular-nums;
}
.compare-score-label {
  display: block;
  margin-top: var(--space-1);
  font-size: var(--text-xs);
  color: var(--muted-foreground);
}

.compare-offer { display: grid; gap: var(--space-3); align-content: start; }
.compare-offer-label {
  font-size: var(--text-xs);
  color: var(--muted-foreground);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.compare-offer-value { margin: 0; font-size: var(--text-lg); font-weight: 600; letter-spacing: var(--tracking-tight); }

.compare-actions { display: grid; gap: var(--space-3); align-content: start; justify-items: stretch; }

.compare-terms {
  grid-column: 1 / -1;
  padding-top: var(--space-4);
  border-top: 1px solid var(--border);
  font-size: var(--text-xs);
  color: var(--muted-foreground);
  max-width: none;
}
.card-featured .compare-terms { border-top-color: oklch(1 0 0 / 0.16); }

@media (min-width: 64rem) {
  .compare-row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr) minmax(0, 13rem);
    align-items: center;
    gap: var(--space-8);
    padding: var(--space-6);
  }
  .compare-identity { align-items: center; }
}

/* ---- Star rating ---------------------------------------------------------- */
.rating { display: flex; align-items: center; gap: var(--space-2); margin: 0; }

/* Two stacked star rows; the filled one is clipped to --fill (score as %). */
.stars { position: relative; display: inline-block; line-height: 0; flex: none; }
.stars-track, .stars-fill { display: block; white-space: nowrap; }
.stars-track { color: var(--border); }
.stars-fill {
  position: absolute;
  inset: 0;
  width: var(--fill, 0%);
  overflow: hidden;
  color: var(--rating-star);
}
.stars svg { display: inline-block; }

.rating-count {
  font-size: var(--text-xs);
  color: var(--muted-foreground);
  font-variant-numeric: tabular-nums;
}

/* ---- Play Safely & Responsibly -------------------------------------------- */
.legal-marks {
  margin-top: var(--space-8);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  list-style: none;
  padding: 0;
}
.legal-mark {
  display: grid;
  gap: var(--space-1);
  min-height: var(--tap-min);
  padding: var(--space-3) var(--space-5);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition: border-color var(--dur-fast) var(--ease-out);
}
a.legal-mark:hover { border-color: var(--foreground); }
.legal-mark-label { font-weight: 600; letter-spacing: var(--tracking-tight); }
.legal-mark-title { font-size: var(--text-xs); color: var(--muted-foreground); }

/* ---- Feature list block --------------------------------------------------- */
.feature-list { margin-top: var(--space-10); border-top: 1px solid var(--border); }
.feature-item {
  display: grid;
  gap: var(--space-2);
  padding-block: var(--space-6);
  border-bottom: 1px solid var(--border);
}
/* icon sits inline with the term, never as a tile above a heading */
.feature-term {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin: 0;
  font-size: var(--text-base);
  font-weight: 600;
}
.feature-term .icon { color: var(--muted-foreground); }
.feature-desc { margin: 0; color: var(--muted-foreground); line-height: var(--leading-relaxed); }

@media (min-width: 48rem) {
  .feature-item {
    grid-template-columns: minmax(0, 16rem) minmax(0, 1fr);
    gap: var(--space-8);
    align-items: baseline;
  }
  .feature-term { align-items: baseline; }
  .feature-term .icon { transform: translateY(0.2em); }
}

/* ---- Two-column feature grid ---------------------------------------------- */
.features-grid {
  margin-top: var(--space-10);
  display: grid;
  gap: var(--space-8) var(--space-12);
}
.feature {
  display: grid;
  gap: var(--space-2);
  padding-top: var(--space-6);
  border-top: 1px solid var(--border);
}
/* start, not center: a title that wraps to two lines must not drag the icon
   (and with it the first line) down out of alignment with the next column */
.feature-head {
  display: flex;
  align-items: start;
  gap: var(--space-3);
}
.feature-head .icon {
  color: var(--muted-foreground);
  /* optically centre the 24px icon on the 20px first line box */
  margin-top: -0.125rem;
}
.feature-title { margin: 0; font-size: var(--text-base); font-weight: 600; }
.feature-body { margin: 0; color: var(--muted-foreground); line-height: var(--leading-relaxed); }

@media (min-width: 48rem) {
  .features-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---- Stats / recap block -------------------------------------------------- */
.stat-list { margin-top: var(--space-8); display: grid; gap: var(--space-3); }
.stat-item {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-2) var(--space-6);
  padding: var(--space-4) var(--space-5);
  background: var(--muted);
  border-radius: var(--radius-lg);
}
.stat-label { font-size: var(--text-sm); color: var(--muted-foreground); }
.stat-value { font-weight: 600; letter-spacing: var(--tracking-tight); }

/* ---- CTA block ------------------------------------------------------------ */
.cta {
  display: grid;
  gap: var(--space-6);
  padding: var(--space-10) var(--space-6);
  background: var(--primary);
  color: var(--primary-foreground);
  border-radius: var(--radius-xl);
  text-align: center;
  justify-items: center;
}
.cta h2 { max-width: 20ch; }
.cta p { color: oklch(1 0 0 / 0.72); max-width: 46ch; }
.cta .btn { background: var(--primary-foreground); color: var(--primary); }
.cta .btn:hover { background: color-mix(in oklab, var(--primary-foreground) 88%, var(--primary)); }

@media (min-width: 48rem) {
  .cta { padding: var(--space-16) var(--space-12); }
}

/* ---- Footer --------------------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--muted);
  padding-block: var(--space-12);
}
.footer-top {
  display: grid;
  gap: var(--space-8);
  padding-bottom: var(--space-8);
  border-bottom: 1px solid var(--border);
}
.footer-links { display: contents; }
.footer-heading {
  margin-bottom: var(--space-3);
  font-size: var(--text-sm);
  font-weight: 600;
}
.footer-list { list-style: none; margin: 0; padding: 0; }
.footer-list a {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap-min);
  font-size: var(--text-sm);
  color: var(--muted-foreground);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-out);
}
.footer-list a:hover { color: var(--foreground); }

.footer-blurb { margin-top: var(--space-3); max-width: 34ch; font-size: var(--text-sm); color: var(--muted-foreground); }
.footer-helpline { margin-top: var(--space-4); }

.footer-legal {
  padding-top: var(--space-8);
  display: grid;
  gap: var(--space-3);
  font-size: var(--text-xs);
  color: var(--muted-foreground);
  line-height: var(--leading-relaxed);
}
.footer-legal strong { color: var(--foreground); font-weight: 600; }
.footer-legal a { color: var(--foreground); }

@media (min-width: 48rem) {
  .footer-top { grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr)); }
}

/* ---- Motion opt-out ------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
