@font-face { font-family: "Overpass"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/overpass-600.97f9f03e1c.woff2") format("woff2"); }
@font-face { font-family: "Overpass"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/overpass-700.47a46e9900.woff2") format("woff2"); }
@font-face { font-family: "Overpass"; font-style: normal; font-weight: 800; font-display: swap; src: url("/assets/fonts/overpass-800.509d89a487.woff2") format("woff2"); }
@font-face { font-family: "Overpass"; font-style: normal; font-weight: 900; font-display: swap; src: url("/assets/fonts/overpass-900.32ff413579.woff2") format("woff2"); }
@font-face { font-family: "Public Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/public-sans-400.15ab0a1fe9.woff2") format("woff2"); }
@font-face { font-family: "Public Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/public-sans-500.308082cb41.woff2") format("woff2"); }
@font-face { font-family: "Public Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/public-sans-700.c3f13493a8.woff2") format("woff2"); }
/* bigrigpass.com. Ported from design/index.html (#site-home, #site-test):
   same tokens as the app (design/TOKENS.md), Day by default, Night from
   prefers-color-scheme. Body face Public Sans (D7). The mock's container
   queries are @media (max-width: 700px) here, as design/NOTES.md says.
   url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%272%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3Eundefined%3C%2Fsvg%3E") placeholders become data: URIs at build (build.mjs), which
   also puts the self-hosted @font-face rules in front of this file (D24). */

:root {
  --font-display: "Overpass", "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
  --font-body: "Public Sans", "Segoe UI", Roboto, Arial, sans-serif;
  --bg: #F3F5F2;
  --surface: #FFFFFF;
  --surface2: #E9EDEA;
  --ink: #141A17;
  --ink2: #4A5650;
  --line: #CBD3CE;
  --lineStrong: #8C988F;
  --sign: #0B6A41;
  --onSign: #FFFFFF;
  --green: #0B6A41;
  --greenTint: #DDF0E5;
  --red: #C8102E;
  --redFill: #C8102E;
  --redTint: #FBE1E5;
  --link: #0B4FA3;
  --tapeRed: #C8102E;
  --tapeWhite: #FFFFFF;
  --regBorder: #141A17;
  --footer: #141A17;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0F1412;
    --surface: #1A211D;
    --surface2: #242D28;
    --ink: #EEF2EF;
    --ink2: #A7B3AC;
    --line: #2F3A34;
    --lineStrong: #55635B;
    --green: #4FC387;
    --greenTint: #16362A;
    --red: #FF6B7A;
    --redTint: #3A1B20;
    --link: #7FB2FF;
    --regBorder: #EEF2EF;
    --footer: #0A0E0C;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 18px/28px var(--font-body);
  overflow-wrap: break-word;
}
a { color: var(--link); }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--link); outline-offset: 2px; }
[tabindex="-1"]:focus { outline: none; } /* headings the player moves focus to */
img { max-width: 100%; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 10; background: var(--surface); color: var(--link); padding: 10px 14px; border-radius: 8px; font: 700 17px/1 var(--font-display); }
.skip:focus { top: 12px; }

/* ---------- Type ---------- */
h1 { font: 800 52px/56px var(--font-display); letter-spacing: -0.02em; margin: 0 0 18px; text-wrap: balance; }
h2 { font: 800 32px/38px var(--font-display); letter-spacing: -0.01em; margin: 0 0 14px; text-wrap: balance; }
h3 { font: 700 22px/28px var(--font-display); margin: 0 0 6px; }
p { margin: 0 0 16px; max-width: 62ch; }
.lede { font-size: 21px; line-height: 32px; color: var(--ink2); max-width: 54ch; }
.fine { font-size: 16px; line-height: 24px; color: var(--ink2); }
.eyebrow { font: 700 15px/18px var(--font-display); letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink2); margin: 0; }
.eyebrow.green { color: var(--green); }
.hero-eyebrow { margin-bottom: 12px; }

/* ---------- Brand ---------- */
.lockup {
  display: inline-flex; flex-direction: column; gap: 5px;
  background: var(--sign); color: var(--onSign); text-decoration: none;
  padding: 7px 12px 8px; border-radius: 8px;
  box-shadow: inset 0 0 0 3px var(--sign), inset 0 0 0 5px var(--onSign);
  font: 900 20px/20px var(--font-display); letter-spacing: 0.04em; text-transform: uppercase;
  white-space: nowrap; flex: none;
}
.tape { display: block; height: 5px; width: 100%; border-radius: 1px; background: repeating-linear-gradient(90deg, var(--tapeRed) 0 11px, var(--tapeWhite) 11px 18px); }

/* ---------- Buttons ---------- */
.btn {
  height: 56px; padding: 0 20px; border-radius: 10px; border: 0;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 700 19px/1 var(--font-display); letter-spacing: 0.01em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
}
.btn.primary { background: var(--sign); color: var(--onSign); }
.btn.secondary { background: transparent; color: var(--ink); border: 2px solid var(--lineStrong); }
.btn.sm { height: 48px; font-size: 17px; padding: 0 16px; }
.btn.block { display: flex; width: 100%; }
.btn .chev { width: 22px; height: 22px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%272%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%22M9%205l7%207-7%207%22%2F%3E%3C%2Fsvg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%272%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%22M9%205l7%207-7%207%22%2F%3E%3C%2Fsvg%3E") center / contain no-repeat; }

/* ---------- Header ---------- */
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 28px; height: 72px; }
.site-header nav { display: flex; gap: 22px; margin-left: 8px; }
.site-header nav a { color: var(--ink); text-decoration: none; font: 600 17px/1 var(--font-display); padding: 8px 0; }
.site-header nav a:hover { color: var(--green); }
.site-header nav a[aria-current] { color: var(--green); }
.site-header .cta { margin-left: auto; }

/* ---------- Store badges (the stores' own artwork, D15) ---------- */
.stores { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin: 24px 0 12px; }
.stores .badge { display: block; line-height: 0; border-radius: 9px; }
.stores img { display: block; height: 60px; width: auto; }
.stores .soon-note { flex-basis: 100%; margin: 0; }
.aside-box .stores { margin: 8px 0 0; }

/* ---------- Home ---------- */
.site-hero { padding: 56px 0 40px; }
.site-hero .wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: start; }
.site-tests { padding: 24px 0 40px; }
.testlist { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testcard { background: var(--surface); border: 1px solid var(--line); border-top: 6px solid var(--sign); padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; }
.testcard h3 { font: 800 24px/28px var(--font-display); margin: 0; }
.testcard span { color: var(--ink2); font-size: 17px; line-height: 24px; }
.testcard a { font: 700 17px/22px var(--font-display); color: var(--link); text-decoration: none; margin-top: 8px; }
.testcard a:hover { text-decoration: underline; }
.site-how { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 44px 0; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.steps .n { width: 44px; height: 44px; border-radius: 8px; background: var(--sign); color: #fff; display: grid; place-items: center; font: 800 20px/1 var(--font-display); margin-bottom: 12px; box-shadow: inset 0 0 0 2px var(--sign), inset 0 0 0 3px #fff; }
.site-sources { padding: 44px 0; }
.site-sources .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.site-sources ul { margin: 0; padding-left: 22px; }
.site-sources li { margin-bottom: 8px; }

/* ---------- Question (sample on home, player on test pages) ---------- */
.sample, .player { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 24px; }
.qtop { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
.player .qtop { margin-bottom: 14px; }
.strip { display: flex; gap: 4px; height: 8px; margin-bottom: 18px; }
.strip i { flex: 1; border-radius: 2px; background: var(--surface2); }
.strip i.right { background: var(--green); }
.strip i.wrong { background: var(--red); }
.strip i.now { background: var(--surface); outline: 2px solid var(--ink); outline-offset: 1px; }
.qlist { list-style: none; margin: 0; padding: 0; }
.qhead { margin-bottom: 8px; }
.stem { font: 500 21px/30px var(--font-body); margin: 0 0 16px; max-width: none; }
.options { display: flex; flex-direction: column; gap: 12px; }
.sample .options { gap: 10px; }
.option {
  width: 100%; min-height: 64px; display: flex; align-items: center; gap: 14px; text-align: left;
  padding: 12px 16px 12px 12px; border: 2px solid var(--line); border-radius: 10px;
  background: var(--surface); color: var(--ink); font: 400 18px/26px var(--font-body); cursor: pointer;
  transition: background-color 120ms, border-color 120ms, opacity 120ms;
}
.option:hover { border-color: var(--lineStrong); }
.option .key {
  width: 36px; height: 36px; border-radius: 8px; flex: none; display: grid; place-items: center;
  border: 2px solid var(--lineStrong); font: 700 17px/1 var(--font-display); color: var(--ink2);
}
.option .txt { flex: 1; min-width: 0; }
.option .mark { width: 28px; height: 28px; flex: none; display: none; background: currentColor; }
.option.correct { border-color: var(--green); background: var(--greenTint); }
.option.correct .key { background: var(--sign); border-color: var(--sign); color: #fff; }
.option.correct .mark { display: block; color: var(--green); -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%272%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%22M5%2012.5l4.5%204.5L19%207%22%2F%3E%3C%2Fsvg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%272%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%22M5%2012.5l4.5%204.5L19%207%22%2F%3E%3C%2Fsvg%3E") center / contain no-repeat; }
.option.wrong { border-color: var(--red); background: var(--redTint); }
.option.wrong .key { background: var(--redFill); border-color: var(--redFill); color: #fff; }
.option.wrong .mark { display: block; color: var(--red); -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%272%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%22M7%207l10%2010M17%207L7%2017%22%2F%3E%3C%2Fsvg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%272%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%22M7%207l10%2010M17%207L7%2017%22%2F%3E%3C%2Fsvg%3E") center / contain no-repeat; }
.option.dim { opacity: 0.55; }
.q.done .option { cursor: default; }
.q.done .option:hover { border-color: inherit; }
.q.done .option.correct:hover { border-color: var(--green); }
.q.done .option.wrong:hover { border-color: var(--red); }
.q.done .option.dim:hover { border-color: var(--line); }

.explain {
  margin: 14px 0 0; padding: 12px 14px 14px; border-radius: 10px;
  background: var(--surface); border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 6px;
}
.explain p { margin: 0; max-width: none; }
.explain .body { font-size: 17px; line-height: 25px; }
.verdict { font: 800 19px/24px var(--font-display); display: flex; align-items: center; gap: 8px; }
.verdict::before { content: ""; width: 22px; height: 22px; flex: none; background: currentColor; }
.verdict.ok { color: var(--green); }
.verdict.ok::before { -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%272%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%229%22%2F%3E%3Cpath%20d%3D%22M8%2012.5l2.5%202.5L16%209.5%22%2F%3E%3C%2Fsvg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%272%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%229%22%2F%3E%3Cpath%20d%3D%22M8%2012.5l2.5%202.5L16%209.5%22%2F%3E%3C%2Fsvg%3E") center / contain no-repeat; }
.verdict.bad { color: var(--red); }
.verdict.bad::before { -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%272%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%229%22%2F%3E%3Cpath%20d%3D%22M9%209l6%206M15%209l-6%206%22%2F%3E%3C%2Fsvg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%272%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%229%22%2F%3E%3Cpath%20d%3D%22M9%209l6%206M15%209l-6%206%22%2F%3E%3C%2Fsvg%3E") center / contain no-repeat; }
.verdict:empty { display: none; }
.answer-line { font: 800 19px/24px var(--font-display); color: var(--green); }
.source { display: flex; align-items: flex-start; gap: 8px; font: 600 16px/22px var(--font-display); color: var(--ink2); letter-spacing: 0.01em; }
.source::before { content: ""; width: 18px; height: 18px; flex: none; margin-top: 1px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%272%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%22M4%2019.5V4.5A1.5%201.5%200%200%201%205.5%203H19v15H6a2%202%200%200%200-2%202zM4%2019.5A1.5%201.5%200%200%200%205.5%2021H19%22%2F%3E%3C%2Fsvg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%272%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%22M4%2019.5V4.5A1.5%201.5%200%200%201%205.5%203H19v15H6a2%202%200%200%200-2%202zM4%2019.5A1.5%201.5%200%200%200%205.5%2021H19%22%2F%3E%3C%2Fsvg%3E") center / contain no-repeat; }
.after { margin-top: 16px; }

/* Without JavaScript every question shows with its answer (a study list).
   With it (html.js, set in <head>), one question at a time, as in the app. */
.qtop, .strip, .next-row, .endcard, .after { display: none; }
.q + .q { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.js .qtop { display: flex; }
.js .strip { display: flex; }
.js .qhead { display: none; }
.js .answer-line { display: none; }
.js .q { display: none; }
.js .q.on { display: block; margin: 0; padding: 0; border: 0; }
.js .q .explain { display: none; }
.js .q.done .explain { display: flex; animation: rise 160ms ease-out; }
.js .player.answered .next-row { display: block; }
.js .next-row { margin-top: 16px; }
.js .sample.answered .after { display: block; }
.js .player.ended .qview { display: none; }
.js .player.ended .endcard { display: block; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .js .q.done .explain { animation: none; } .option { transition: none; } }

.endcard .big { font: 800 40px/44px var(--font-display); letter-spacing: -0.02em; margin: 4px 0 8px; }
.endcard h3 { margin-top: 20px; }
.endcard .again { margin-top: 20px; }

/* ---------- Test page and guide ---------- */
.site-testpage { padding: 40px 0 48px; }
.site-testpage .wrap { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; }
.facts { display: flex; border: 2px solid var(--regBorder); border-radius: 8px; overflow: hidden; margin: 0 0 24px; background: var(--surface); }
.facts div { flex: 1; padding: 12px 16px; border-left: 2px solid var(--regBorder); }
.facts div:first-child { border-left: 0; }
.facts b { display: block; font: 800 28px/30px var(--font-display); font-variant-numeric: tabular-nums; }
.facts span { display: block; font: 600 15px/18px var(--font-display); letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink2); }
.covers { margin-top: 44px; }
.sectionrow { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); min-height: 72px; }
.sectionrow:first-of-type { border-top: 0; }
.sectionrow .ref { width: 56px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 6px; background: var(--sign); color: #fff; font: 800 17px/1 var(--font-display); box-shadow: inset 0 0 0 2px var(--sign), inset 0 0 0 3px #fff; }
.sectionrow .lbl { flex: 1; min-width: 0; }
.sectionrow .lbl b { display: block; font: 700 18px/23px var(--font-display); }
.sectionrow .lbl span { display: block; font: 400 16px/22px var(--font-body); color: var(--ink2); }
.aside-box { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 22px; margin-bottom: 20px; }
.aside-box p { font-size: 17px; line-height: 26px; }
.aside-box ul { padding-left: 20px; margin: 0; font-size: 17px; line-height: 26px; }
.aside-box li + li { margin-top: 6px; }
.aside-box .stores img { height: 52px; }

.prose h2 { margin-top: 40px; }
.prose h2:first-of-type { margin-top: 32px; }
.prose ul, .prose ol { padding-left: 24px; margin: 0 0 16px; max-width: 62ch; }
.prose li { margin-bottom: 8px; }
.prose .cite { color: var(--ink2); }
.prose table { border-collapse: collapse; width: 100%; margin: 4px 0 20px; font-size: 17px; line-height: 25px; background: var(--surface); border: 1px solid var(--line); }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.prose th { font: 700 15px/18px var(--font-display); letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink2); }
.notice { margin: 24px 0; padding: 12px 14px; border-radius: 8px; background: var(--surface); border: 2px solid var(--regBorder); font: 700 17px/24px var(--font-display); max-width: 62ch; }
.legal-page { padding: 40px 0 56px; }
.legal-page .wrap { max-width: 800px; }
.updated { color: var(--ink2); font-size: 16px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--footer); color: #C9D3CC; padding: 36px 0 28px; font-size: 16px; line-height: 24px; }
.site-footer .wrap { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 32px; }
.site-footer p { margin: 14px 0 0; max-width: 36ch; }
.site-footer a { color: #fff; text-decoration: none; display: block; margin-bottom: 6px; }
.site-footer a:hover { text-decoration: underline; }
.site-footer a.lockup { display: inline-flex; margin: 0; }
.site-footer a.lockup:hover { text-decoration: none; }
.site-footer .legal { grid-column: 1 / -1; border-top: 1px solid #2F3A34; padding-top: 16px; margin-top: 8px; color: #A7B3AC; }
.site-footer .legal p { margin: 0 0 8px; max-width: none; }
.site-footer .legal b { color: #fff; font-family: var(--font-display); }

/* ---------- Phone (the mock's 700px container query) ---------- */
@media (max-width: 700px) {
  body { font-size: 17px; line-height: 26px; }
  .wrap { padding: 0 20px; }
  .site-header .wrap { height: 64px; gap: 12px; }
  .site-header nav { display: none; }
  .site-header .cta .btn { height: 44px; font-size: 16px; padding: 0 14px; }
  .site-hero { padding: 28px 0 24px; }
  .site-hero .wrap { grid-template-columns: 1fr; gap: 28px; }
  h1 { font-size: 36px; line-height: 40px; }
  h2 { font-size: 26px; line-height: 32px; }
  .lede { font-size: 18px; line-height: 27px; }
  .stores { gap: 12px; }
  .stores img, .aside-box .stores img { height: 50px; }
  .testlist, .steps { grid-template-columns: 1fr; }
  .steps { gap: 24px; }
  .site-sources .wrap { grid-template-columns: 1fr; gap: 24px; }
  .site-footer .wrap { grid-template-columns: 1fr; gap: 20px; }
  .site-testpage { padding: 28px 0 40px; }
  .site-testpage .wrap { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .facts { flex-wrap: wrap; }
  .facts div { flex: 1 1 33%; padding: 10px 12px; }
  .facts b { font-size: 24px; }
  .sample, .player { padding: 18px 16px; }
  .stem { font-size: 20px; line-height: 29px; }
  .prose table { font-size: 16px; line-height: 23px; }
  .prose th, .prose td { padding: 8px; }
}
