/*
  Nascence landing page styles.

  DESIGN INTENT (why it looks like this)
  - Audience: UK small-business owners (joiners, cafés, accountants, shops).
    They need to trust it with ad money, so the page is calm and readable,
    with the boldness spent in one place: the hero "experiment" showing three
    ad versions with budget moving between them.
  - Palette: "new growth". Deep green ink, leaf green for actions, and one
    marigold accent reserved for the winning ad version. Marigold means "this
    one is winning" and appears nowhere else.
  - Two real themes. Light follows the visitor's system setting by default and
    dark is a designed theme, not an inversion. Declaring both (here and in the
    color-scheme meta tag) stops Chrome's "auto dark mode" from force-inverting
    the page. That inversion turned the first version's ad headlines pink and
    was the main reason it looked broken.
  - Type: one family, Schibsted Grotesk (SIL Open Font License, self-hosted in
    /fonts so no request goes to Google). The ad cards use Arial because real
    Google search ads do, which makes the illustration instantly recognisable.

  CSS STRUCTURE
  Fonts -> tokens (light, then dark) -> base -> layout -> components, in that
  order. Components use single-class selectors so specificity stays flat.
*/

/* ---------- Fonts ---------- */

/* Latin covers English copy; latin-ext covers names with accents (e.g. Ç, ğ)
   that waitlist users might type and that we may show back to them. */
@font-face {
  font-family: "Schibsted Grotesk";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("/fonts/schibsted-grotesk-latin.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: 400 900;
  font-display: swap;
  src: url("/fonts/schibsted-grotesk-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Tokens: light theme ---------- */

:root {
  color-scheme: light dark;

  --paper: #F4F6F2;        /* page background */
  --tint: #EAF0E7;         /* alternate sections */
  --surface: #FFFFFF;      /* cards and panels */
  --surface-2: #F1F5EF;    /* icon tiles, inputs on panels */
  --ink: #10231C;          /* main text: 15.6:1 on paper */
  --ink-soft: #4A5A52;     /* secondary text: 6.9:1 */
  --leaf: #2C6E47;         /* links, icons: 5.3:1 */
  --button: #2C6E47;       /* primary button background */
  --button-hover: #1E5234;
  --button-ink: #FFFFFF;
  --rule: #D5DED2;         /* borders */
  --rule-strong: #B9C8B5;
  --marigold: #E9A62B;     /* the winning ad version, and nothing else */
  --marigold-soft: #FBEFD6;
  --error: #A3261B;
  --shadow: 0 1px 2px rgba(16, 35, 28, 0.06), 0 8px 24px rgba(16, 35, 28, 0.06);

  /* Google search ad colours (light) so the illustration reads as a real ad. */
  --ad-bg: #FFFFFF;
  --ad-title: #1A0DAB;
  --ad-text: #202124;
  --ad-desc: #4D5156;
  --bar-track: rgba(16, 35, 28, 0.08);

  --font: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-ad: Arial, "Helvetica Neue", Helvetica, sans-serif;

  /* Type scale (14 / 16 / 18 / 21 / 24 / 36 / 56 px). */
  --step--1: 0.875rem;
  --step-0: 1rem;
  --step-1: 1.125rem;
  --step-2: 1.3125rem;
  --step-3: 1.5rem;
  --step-4: clamp(1.875rem, 1.3rem + 2vw, 2.5rem);
  --step-5: clamp(2.375rem, 1.5rem + 3.4vw, 3.625rem);

  --gutter: clamp(1rem, 4vw, 2.5rem);
  --section-space: clamp(4rem, 9vw, 7rem);
  --measure: 40rem;
  --radius-s: 8px;
  --radius-m: 14px;
  --radius-l: 20px;
}

/* ---------- Tokens: dark theme ---------- */

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0D1612;
    --tint: #111D18;
    --surface: #15231D;
    --surface-2: #1B2C24;
    --ink: #E7F0EA;        /* 14.9:1 on paper */
    --ink-soft: #A2B5AA;   /* 8.1:1 */
    --leaf: #63CF92;       /* 9.2:1 */
    --button: #4CC383;
    --button-hover: #6BD69B;
    --button-ink: #062014; /* dark text on a bright button: 8.9:1 */
    --rule: #22352B;
    --rule-strong: #2F4839;
    --marigold: #F2B33D;
    --marigold-soft: rgba(242, 179, 61, 0.16);
    --error: #FF8F85;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 12px 32px rgba(0, 0, 0, 0.35);

    /* Google's own dark-mode search ad colours. */
    --ad-bg: #202124;
    --ad-title: #8AB4F8;
    --ad-text: #E8EAED;
    --ad-desc: #BDC1C6;
    --bar-track: rgba(231, 240, 234, 0.1);
  }
}

/* ---------- Base ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 1.5rem;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--step-1);
  line-height: 1.6;
  font-feature-settings: "kern", "liga";
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  margin: 0;
  line-height: 1.12;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }

a { color: var(--leaf); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }

/* One visible focus style for every interactive element (keyboard users). */
:focus-visible {
  outline: 3px solid var(--leaf);
  outline-offset: 3px;
  border-radius: 4px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.sprite { display: none; }

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -4rem;
  z-index: 10;
  padding: 0.5rem 0.875rem;
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius-s);
}
.skip-link:focus { top: 0.75rem; color: var(--paper); }

/* ---------- Layout ---------- */

.wrap {
  width: 100%;
  max-width: 72rem;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-space); }
.section-tint { background: var(--tint); }

/* Every section heading block is left-aligned with the page grid (the first
   version centred some of them by accident). */
.section-head {
  max-width: var(--measure);
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.section-head h2,
.prose h2,
.closing h2 {
  font-size: var(--step-4);
  font-weight: 800;
}
.section-lead {
  margin-top: 0.875rem;
  font-size: var(--step-1);
  color: var(--ink-soft);
}

.prose { max-width: var(--measure); }
.prose > * + * { margin-top: 1.25rem; }
.prose p { color: var(--ink-soft); }

.two-col {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}
@media (min-width: 60rem) {
  .two-col { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); }
}

/* Small inline SVG icons from the sprite in index.html. */
.icon {
  width: 1.375rem;
  height: 1.375rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Buttons ---------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.75rem 1.5rem;
  font: inherit;
  font-size: var(--step-1);
  font-weight: 700;
  white-space: nowrap;
  color: var(--button-ink);
  background: var(--button);
  border: 0;
  border-radius: var(--radius-s);
  text-decoration: none;
  cursor: pointer;
  transition: background-color 120ms ease;
}
.button:hover { background: var(--button-hover); color: var(--button-ink); }
.button[aria-disabled="true"] { opacity: 0.7; cursor: progress; }

.button-small {
  min-height: 2.5rem;
  padding: 0.5rem 1rem;
  font-size: var(--step-0);
}

/* ---------- Header ---------- */

.site-header { padding-block: 1.25rem; }

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--ink);
  font-size: var(--step-2);
  font-weight: 800;
  letter-spacing: -0.03em;
  text-decoration: none;
}
.wordmark:hover { color: var(--ink); }

.wordmark-mark {
  width: 1.75rem;
  height: 1.75rem;
  fill: none;
  stroke: var(--leaf);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: var(--step-0);
}
.site-nav a:not(.button) {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 500;
}
.site-nav a:not(.button):hover { color: var(--ink); }
/* Phones: only the call to action fits next to the wordmark. */
@media (max-width: 40rem) {
  .site-nav a:not(.button) { display: none; }
}

/* ---------- Hero ---------- */

.hero { padding-block: clamp(2rem, 6vw, 4.5rem) var(--section-space); }

.hero-grid {
  display: grid;
  gap: clamp(3rem, 6vw, 4.5rem);
  align-items: center;
}
@media (min-width: 62rem) {
  .hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); }
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  padding: 0.375rem 0.875rem 0.375rem 0.75rem;
  font-size: var(--step--1);
  font-weight: 600;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 999px;
}
.status-dot {
  width: 0.5rem;
  height: 0.5rem;
  background: var(--leaf);
  border-radius: 50%;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--leaf) 22%, transparent);
}

.hero h1 {
  font-size: var(--step-5);
  font-weight: 850;
  line-height: 1.04;
  letter-spacing: -0.035em;
  max-width: 15ch;
}

.lead {
  margin-top: 1.375rem;
  max-width: 34rem;
  font-size: var(--step-2);
  line-height: 1.5;
  color: var(--ink-soft);
}

.hero-points {
  list-style: none;
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem 1.5rem;
  font-size: var(--step-0);
  color: var(--ink-soft);
}
.hero-points li { display: inline-flex; align-items: center; gap: 0.4rem; }
.tick {
  width: 1.125rem;
  height: 1.125rem;
  fill: none;
  stroke: var(--leaf);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Waitlist form ---------- */

.waitlist {
  margin-top: 2rem;
  max-width: 32rem;
  display: grid;
  gap: 0.875rem;
}

.waitlist-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
}
.field-grow { flex: 1 1 15rem; }

.field { display: grid; gap: 0.375rem; }
.field label {
  font-size: var(--step--1);
  font-weight: 600;
  color: var(--ink-soft);
}
.optional { font-weight: 400; }

.field input {
  width: 100%;
  min-height: 3.25rem;           /* matches the button height */
  padding: 0.625rem 1rem;
  font: inherit;
  font-size: var(--step-1);      /* >= 16px stops iOS zooming on focus */
  color: var(--ink);
  background: var(--surface);
  border: 1.5px solid var(--rule-strong);
  border-radius: var(--radius-s);
}
.field input::placeholder { color: var(--ink-soft); opacity: 0.75; }
.field input:focus-visible { outline-offset: 1px; border-color: var(--leaf); }
.field input[aria-invalid="true"] { border-color: var(--error); }

.field-secondary input {
  min-height: 2.75rem;
  font-size: var(--step-0);
}

.waitlist-row .button { flex: 0 0 auto; }
@media (max-width: 30rem) {
  .waitlist-row .button { flex: 1 1 100%; }
}

.field-error {
  font-size: var(--step-0);
  color: var(--error);
}

.form-note {
  font-size: var(--step--1);
  color: var(--ink-soft);
  line-height: 1.5;
}

.form-status:empty { display: none; }
.form-status {
  font-size: var(--step-0);
  font-weight: 600;
}
.form-status[data-tone="error"] { color: var(--error); }

/* Shown in place of the form after a successful join (main.js). */
.waitlist-done {
  margin-top: 2rem;
  max-width: 32rem;
  padding: 1.25rem 1.375rem;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-left: 4px solid var(--leaf);
  border-radius: var(--radius-s);
}
.waitlist-done h2 {
  font-size: var(--step-3);
  font-weight: 800;
  margin-bottom: 0.5rem;
}
.waitlist-done p { color: var(--ink-soft); }

/* ---------- The experiment (hero illustration) ---------- */

.experiment {
  margin: 0;
  padding: clamp(1.125rem, 3vw, 1.625rem);
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow);
}

.experiment-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.125rem;
}
.experiment-title { font-weight: 700; font-size: var(--step-0); }
.experiment-week {
  font-size: var(--step--1);
  color: var(--ink-soft);
  font-variant-numeric: tabular-nums;
}

.ads {
  list-style: none;
  display: grid;
  gap: 1.125rem;
}

.ad-angle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: var(--step--1);
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 0.4rem;
}

/* Only visible on the version that is currently winning. */
.leading-label {
  padding: 0.125rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--ink);
  background: var(--marigold-soft);
  border-radius: 999px;
  opacity: 0;
  transition: opacity 400ms ease;
}
.ad.is-leading .leading-label { opacity: 1; }

/* Mimics a Google search ad closely enough to be recognised at a glance. */
.ad-card {
  padding: 0.875rem 1rem;
  background: var(--ad-bg);
  border: 1.5px solid var(--rule);
  border-radius: var(--radius-m);
  font-family: var(--font-ad);
  transition: border-color 400ms ease, box-shadow 400ms ease;
}
.ad-meta {
  font-size: 0.8125rem;
  color: var(--ad-text);
  line-height: 1.4;
}
.ad-sponsored { font-weight: 700; margin-right: 0.375rem; }
.ad-title {
  margin-top: 0.25rem;
  font-size: 1.125rem;
  line-height: 1.3;
  color: var(--ad-title);
}
.ad-desc {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--ad-desc);
}

/* Budget share bar. Width comes from --share (set by main.js per week).
   The default widths below are the final illustrative state, so the figure
   is meaningful with JavaScript off or reduced motion on. */
.share {
  margin-top: 0.5rem;
  height: 0.4375rem;
  background: var(--bar-track);
  border-radius: 999px;
  overflow: hidden;
}
.share-bar {
  display: block;
  height: 100%;
  width: calc(var(--share, 33) * 1%);
  background: var(--leaf);
  border-radius: inherit;
  transition: width 900ms cubic-bezier(0.22, 1, 0.36, 1), background-color 400ms ease;
}
.ad[data-ad="a"] .share-bar { --share: 24; }
.ad[data-ad="b"] .share-bar { --share: 61; }
.ad[data-ad="c"] .share-bar { --share: 15; }

/* The winner: the only place marigold appears on the page. */
.ad.is-leading .ad-card {
  border-color: var(--marigold);
  box-shadow: 0 0 0 4px var(--marigold-soft);
}
.ad.is-leading .share-bar { background: var(--marigold); }

.experiment figcaption {
  margin-top: 1.25rem;
  font-size: var(--step--1);
  line-height: 1.5;
  color: var(--ink-soft);
}

.replay {
  margin-left: 0.25rem;
  padding: 0;
  font: inherit;
  font-weight: 600;
  color: var(--leaf);
  background: none;
  border: 0;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  cursor: pointer;
}

/* ---------- Five channels (cards with icon tiles) ---------- */

.feature-grid {
  list-style: none;
  display: grid;
  gap: 1rem;
}
@media (min-width: 40rem) {
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 64rem) {
  /* 6 columns lets 5 cards sit as 3 on the first row and 2 wider below. */
  .feature-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .feature { grid-column: span 2; }
  .feature:nth-child(4),
  .feature:nth-child(5) { grid-column: span 3; }
}

.feature {
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius-m);
}
.feature .icon {
  box-sizing: content-box;
  padding: 0.625rem;
  color: var(--leaf);
  background: var(--surface-2);
  border-radius: var(--radius-s);
}
.feature h3 {
  margin-top: 1.125rem;
  font-size: var(--step-2);
  font-weight: 750;
}
.feature p {
  margin-top: 0.5rem;
  font-size: var(--step-0);
  color: var(--ink-soft);
}

/* ---------- Differentiator ---------- */

.evidence {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.25rem 1.25rem;
  align-items: start;
  padding: 1.25rem 1.375rem;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius-m);
}
/* Scoped under .evidence so it outranks ".prose p" (which turned it grey).
   Proportional figures: tabular ones left a wide gap around the decimal point. */
.evidence .evidence-figure {
  font-size: var(--step-4);
  font-weight: 850;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--leaf);
}
.evidence p:not(.evidence-figure) {
  font-size: var(--step--1);
  line-height: 1.55;
  color: var(--ink-soft);
}
@media (max-width: 30rem) {
  .evidence { grid-template-columns: 1fr; }
}

.dimensions {
  padding: clamp(1.25rem, 3vw, 1.75rem);
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow);
}
.dimensions-title { font-weight: 700; margin-bottom: 0.5rem; }
.dimensions dl { margin: 0; }
.dimension { padding-block: 0.875rem; }
.dimension + .dimension { border-top: 1px solid var(--rule); }
.dimension dt { font-size: var(--step-0); color: var(--ink-soft); }
.dimension dd {
  margin: 0.5rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
}
.chip {
  display: inline-block;
  padding: 0.3rem 0.7rem;
  font-size: var(--step--1);
  font-weight: 600;
  background: var(--surface-2);
  border: 1px solid var(--rule);
  border-radius: 999px;
}

/* ---------- Control (icon-left list, deliberately not cards) ---------- */

.card-grid {
  list-style: none;
  display: grid;
  gap: 0;
  column-gap: clamp(2rem, 5vw, 4rem);
}
@media (min-width: 48rem) {
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.card {
  display: grid;
  grid-template-columns: auto 1fr;
  align-content: start;
  column-gap: 1rem;
  padding-block: 1.375rem;
  border-top: 1px solid var(--rule);
}
.card .icon {
  grid-row: span 2;
  margin-top: 0.15rem;
  color: var(--leaf);
}
.card h3 {
  font-size: var(--step-2);
  font-weight: 750;
}
.card p {
  margin-top: 0.375rem;
  color: var(--ink-soft);
  font-size: var(--step-0);
}

/* ---------- Steps (a real sequence, so numbered and connected) ---------- */

.steps {
  list-style: none;
  display: grid;
  gap: 2rem;
  counter-reset: step;
}
@media (min-width: 48rem) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(2rem, 5vw, 4rem); }
}
@media (min-width: 70rem) {
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.steps li {
  position: relative;
  counter-increment: step;
  display: grid;
  gap: 0.5rem;
  align-content: start;
}
.steps li::before {
  content: counter(step);
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 0.5rem;
  font-weight: 800;
  color: var(--button-ink);
  background: var(--button);
  border-radius: 50%;
}
/* Connecting line between the numbers on wide screens, so the four steps read
   as one sequence rather than four separate facts. */
@media (min-width: 70rem) {
  .steps li:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 1.25rem;
    left: 3rem;
    right: calc(-1 * clamp(2rem, 5vw, 4rem) + 0.5rem);
    height: 2px;
    background: var(--rule-strong);
  }
}
.steps h3 { font-size: var(--step-2); font-weight: 750; }
.steps p { color: var(--ink-soft); font-size: var(--step-0); }

/* ---------- Who it's for ---------- */

.sector-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
}
.sector-list li {
  padding: 0.625rem 1.125rem;
  font-weight: 600;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 999px;
}

/* ---------- Pricing ---------- */

.price-grid {
  list-style: none;
  display: grid;
  gap: 1rem;
}
@media (min-width: 40rem) {
  .price-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 64rem) {
  .price-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.price-card {
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius-m);
}
/* Highlighted because it is the tier that includes Google Ads, the product's
   headline capability, not because it is "recommended". */
.price-card-featured { border: 2px solid var(--leaf); }
.price-card h3 { font-size: var(--step-1); font-weight: 750; }
.price {
  margin-top: 0.75rem;
  color: var(--ink-soft);
  font-size: var(--step-0);
}
.price-amount {
  font-size: var(--step-4);
  font-weight: 850;
  letter-spacing: -0.03em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.price-card p:last-child {
  margin-top: 0.75rem;
  color: var(--ink-soft);
  font-size: var(--step-0);
}

/* ---------- Closing ---------- */

.closing {
  padding: clamp(2rem, 6vw, 3.5rem);
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius-l);
  text-align: center;
  box-shadow: var(--shadow);
}
.closing p {
  max-width: 34rem;
  margin: 1rem auto 0;
  color: var(--ink-soft);
}
.closing .button { margin-top: 1.75rem; }

/* ---------- Footer ---------- */

.site-footer {
  padding-block: 2rem;
  border-top: 1px solid var(--rule);
  font-size: var(--step-0);
  color: var(--ink-soft);
}
.footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 2rem;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}

/* ---------- Simple pages (privacy, 404) ---------- */

.page { padding-block: clamp(2rem, 6vw, 4.5rem) var(--section-space); }
.page h1 {
  font-size: var(--step-4);
  font-weight: 850;
  margin-bottom: 1rem;
}
.page h2 {
  font-size: var(--step-3);
  font-weight: 800;
  margin-top: 2.25rem;
}
.page ul { padding-left: 1.25rem; margin: 0.75rem 0 0; }
.page li + li { margin-top: 0.375rem; }
.page .muted { color: var(--ink-soft); font-size: var(--step-0); }

/* ---------- Motion preferences ---------- */

/* Visitors who ask for reduced motion get the final state immediately;
   main.js also skips the week-by-week sequence for them. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
