/* W/HACK.ai v0.3 — v0.1 look. Tokens and rules: spec §5. */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  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: "Archivo";
  src: url("../fonts/archivo-latin-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/ibm-plex-mono-latin-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
  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: "IBM Plex Mono";
  src: url("../fonts/ibm-plex-mono-latin-ext-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/ibm-plex-mono-latin-600.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
  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: "IBM Plex Mono";
  src: url("../fonts/ibm-plex-mono-latin-ext-600.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --cream: #EFE8D8;
  --cream-2: #F6F0E2;
  --ink: #1B1A17;
  --red: #E4572E;
  --amber: #E6A93A;
  --teal: #2E9C95;

  --sans: "Archivo", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;

  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 48px);
}

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

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { background: var(--cream); color: var(--ink); scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 500;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
@media (min-width: 768px) { body { font-size: 19px; } }

/* Paper grain, as v0.1. */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: .2;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .1 0 0 0 0 .1 0 0 0 0 .09 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--red); }
strong { font-weight: 800; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; }
input, select, textarea, button { font: inherit; color: inherit; }
::selection { background: var(--red); color: var(--ink); }

:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
.btn:focus-visible, .score-btn[aria-pressed="true"]:focus-visible { outline-color: var(--ink); }
.on-ink .btn:focus-visible { outline-color: var(--cream-2); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

.skip {
  position: absolute; left: 8px; top: -100px; z-index: 10000;
  padding: 12px 18px; background: var(--ink); color: var(--cream-2);
  font-family: var(--mono); font-weight: 600; font-size: 13px; letter-spacing: .1em; text-transform: uppercase;
}
.skip:focus { top: 8px; }

.on-ink { background: var(--ink); color: var(--cream-2); }

/* ---------- Type ---------- */

.label {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-weight: 600; font-size: 13px; line-height: 1.4;
  letter-spacing: .1em; text-transform: uppercase;
}
.label--sq::before { content: ""; width: 10px; height: 10px; background: var(--red); flex: none; }

/* Section numbers: ink with a red square on cream, red on ink (spec v0.3 change 7). */
.num { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-weight: 600; font-size: 15px; }
.num::before { content: ""; width: 10px; height: 10px; background: var(--red); flex: none; }
.on-ink .num { color: var(--red); }
.on-ink .num::before { display: none; }

.display {
  font-weight: 900;
  font-stretch: 87.5%;
  text-transform: uppercase;
  line-height: .88;
  letter-spacing: -.02em;
  text-wrap: balance;
}

.title { font-weight: 800; font-size: clamp(32px, 3.6vw, 46px); line-height: 1.02; letter-spacing: -.01em; }
.body-l { max-width: 62ch; text-wrap: pretty; }
.big-line { font-weight: 800; font-size: clamp(24px, 2.8vw, 36px); line-height: 1.12; letter-spacing: -.01em; text-wrap: balance; }

.red { color: var(--red); }
.mark { background: var(--red); color: var(--ink); padding: 0 .12em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
/* Below 900px the accent headline is under 64px, so the accent becomes a red fill. */
@media (max-width: 899px) {
  .accent { color: inherit; background: var(--red); padding: 0 .06em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
}

/* ---------- Components ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 58px; padding: 0 24px;
  background: var(--red); color: var(--ink);
  border: 0; border-radius: 0;
  font-weight: 800; font-size: 20px; line-height: 1.1;
  text-decoration: none; cursor: pointer; text-align: center;
}
.btn:hover { background: var(--ink); color: var(--cream-2); }
.on-ink .btn:hover { background: var(--cream-2); color: var(--ink); }
.btn[disabled] { opacity: .7; cursor: progress; }

.panel-ink { background: var(--ink); color: var(--cream-2); padding: clamp(22px, 3vw, 36px); }
.card { background: var(--cream-2); border: 2px solid var(--ink); padding: 24px; }

.sec { padding-top: clamp(56px, 8vw, 104px); padding-bottom: clamp(56px, 8vw, 104px); }
.rule-top { border-top: 2px solid var(--ink); }
.stack { display: flex; flex-direction: column; gap: clamp(22px, 3vw, 34px); }
.stack-s { display: flex; flex-direction: column; gap: 16px; }
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 40px clamp(32px, 6vw, 80px); align-items: start; }

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

.topbar {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 6px 24px;
  padding: clamp(16px, 2.4vw, 28px) 0 12px;
  border-bottom: 2px solid var(--ink);
}
.topbar .label { grid-column: 1 / -1; }
@media (min-width: 900px) {
  .topbar { grid-template-columns: 1fr auto auto; }
  .topbar .label { grid-column: auto; }
}
.by {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none;
  font-family: var(--mono); font-weight: 600; font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
}
.by img { height: 24px; width: auto; }
.by:hover { color: var(--ink); text-decoration: underline; text-decoration-color: var(--red); }
.to-signup { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; font-family: var(--mono); font-weight: 600; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.to-signup:hover { color: var(--ink); text-decoration: underline; text-decoration-color: var(--red); }

.kicker { display: block; margin-top: clamp(28px, 4.5vw, 56px); font-weight: 800; font-size: clamp(18px, 2.2vw, 30px); letter-spacing: .01em; text-transform: uppercase; }
.hero-bottom { padding-bottom: clamp(56px, 8vw, 104px); }

.fit-line { display: block; }
.fit { display: inline-block; white-space: nowrap; }
.wordmark { margin-top: clamp(2px, .6vw, 8px); font-size: 0; font-weight: 900; font-stretch: 87.5%; letter-spacing: -.025em; }
.wordmark .fit { line-height: .8; font-size: clamp(72px, 16.5vw, 250px); }

.facts { margin-top: clamp(18px, 2.4vw, 30px); display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 40px; }
.facts .big { font-weight: 800; font-size: clamp(30px, 3.6vw, 48px); line-height: 1; }
.facts .small { display: flex; flex-direction: column; gap: 2px; font-weight: 600; font-size: clamp(18px, 1.9vw, 24px); line-height: 1.3; }

/* Retro computer on the three-colour band (v0.1). */
.illus { position: relative; margin-top: clamp(24px, 4vw, 56px); height: clamp(330px, 44.5vw, 760px); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.band { position: absolute; left: -25%; right: -25%; top: 50%; height: clamp(72px, 8.6vw, 150px); transform: translateY(-50%) rotate(-24deg); display: flex; flex-direction: column; }
.band span { flex: 1; }
.band span:nth-child(1) { background: var(--red); }
.band span:nth-child(2) { background: var(--amber); }
.band span:nth-child(3) { background: var(--teal); }
.computer { position: relative; width: clamp(230px, 29vw, 440px); }
.computer svg { width: 100%; height: auto; }

.save { margin: clamp(8px, 1.5vw, 20px) 0 0; font-size: 0; }
.save .fit { line-height: .86; font-size: clamp(58px, 14vw, 200px); }
/* Without JS there is no fit-to-width: use sizes that always fit. */
html:not(.js) .wordmark .fit { font-size: min(15.5vw, 200px); }
html:not(.js) .save .fit { font-size: min(11.5vw, 140px); }
/* "5PM" drops under 64px on small screens: red fill instead of red text. */
@media (max-width: 479px) {
  .save .red { color: inherit; background: var(--red); }
}
@media (max-width: 899px) {
  html:not(.js) .save .red { color: inherit; background: var(--red); }
}

.hero-grid {
  margin-top: clamp(28px, 4vw, 48px); padding-top: 4px; border-top: 2px solid var(--ink);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
  gap: 28px clamp(28px, 5vw, 64px); align-items: center;
}
.hero-facts { list-style: none; margin: 0; padding: 0; }
.hero-facts li { padding: 20px 0; border-bottom: 1px solid var(--ink); font-weight: 800; font-size: clamp(22px, 2.3vw, 28px); line-height: 1.15; }
.hero-facts li:last-child { border-bottom: 0; padding-bottom: 0; font-weight: 500; font-size: clamp(18px, 1.8vw, 21px); }
.spots { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; }
.boxes { display: flex; gap: 7px; }
.boxes span { width: 26px; height: 26px; border: 2.5px solid var(--ink); }

.countdown { display: flex; flex-direction: column; gap: 18px; }
.countdown .label { font-size: 12px; letter-spacing: .12em; }
.cd-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.cd-cell { display: flex; flex-direction: column; gap: 6px; border-left: 1px solid var(--cream-2); padding-left: 10px; }
.cd-v { font-family: var(--mono); font-weight: 600; font-size: clamp(32px, 3.6vw, 48px); line-height: 1; color: var(--red); font-variant-numeric: tabular-nums; }
.cd-l { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.cd-static { font-weight: 900; font-stretch: 87.5%; font-size: clamp(34px, 4vw, 52px); line-height: .9; text-transform: uppercase; color: var(--red); }
.cd-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; font-family: var(--mono); font-weight: 600; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.cd-foot span + span { text-transform: none; letter-spacing: .02em; font-size: 14px; }
.js-only { display: none; }
.js .js-only { display: revert; }
.js .cd-grid.js-only { display: grid; }
.js .no-js-only { display: none; }

/* ---------- At a glance ---------- */

.glance { border-top: 2px solid var(--ink); }
.glance-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 14px; }
.tile {
  height: 100%; display: flex; flex-direction: column; gap: 12px;
  padding: 22px 24px 24px; background: var(--cream-2); border: 2px solid var(--ink);
  text-decoration: none;
}
.tile p { font-size: 18px; line-height: 1.45; text-wrap: pretty; }
.tile:hover { color: var(--ink); background: var(--cream); }
.tile:hover .label { text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 4px; }
.tile--ink, .tile--ink:hover { background: var(--ink); color: var(--cream-2); }

/* ---------- 01 What: challenge ---------- */

.challenge { border: 3px solid var(--ink); background: var(--cream-2); }
.challenge-in { padding: clamp(22px, 3vw, 40px); display: flex; flex-direction: column; gap: clamp(28px, 3.6vw, 44px); }
.qlist { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.qlist li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--ink); font-size: 18px; line-height: 1.4; }
.qlist .n, .reasons .n { font-family: var(--mono); font-weight: 600; font-size: 14px; padding-top: 3px; }
.score-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 20px; }
.score-head .label { display: block; font-size: 12px; }
.scores { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); column-gap: 28px; }
.score-btn {
  display: flex; align-items: center; gap: 14px; min-width: 0; min-height: 56px; padding: 0;
  background: transparent; border: 0; border-bottom: 1px solid var(--ink); cursor: pointer; text-align: left;
}
.score-btn .box { width: 24px; height: 24px; flex: none; border: 2.5px solid var(--ink); }
.score-btn[aria-pressed="true"] .box { background: var(--red); }
.score-btn .t { font-weight: 900; font-stretch: 87.5%; font-size: clamp(20px, 1.9vw, 24px); line-height: 1; text-transform: uppercase; overflow-wrap: anywhere; }
.score-note { display: flex; align-items: center; gap: 14px; padding-top: 4px; font-size: 17px; line-height: 1.4; }
.score-note .pair { display: flex; gap: 4px; flex: none; }
.score-note .pair span { width: 16px; height: 16px; background: var(--red); border: 2px solid var(--ink); }
.rule-panel h3 { font-size: clamp(40px, 6.4vw, 96px); }
.rule-panel p { margin-top: 18px; color: var(--red); font-weight: 800; font-size: clamp(24px, 3.2vw, 44px); line-height: 1.08; letter-spacing: -.01em; max-width: 900px; text-wrap: balance; }

/* ---------- 02 Who ---------- */

.who-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 14px; }
.who-cards h3 { font-weight: 900; font-stretch: 87.5%; font-size: clamp(28px, 2.8vw, 36px); line-height: 1; text-transform: uppercase; margin-bottom: 10px; }
.who-cards p { font-size: 17px; line-height: 1.5; }
.rows { margin: 0; border-top: 2px solid var(--ink); }
.rows > div { display: grid; grid-template-columns: minmax(0, 170px) minmax(0, 1fr); gap: 6px 20px; padding: 14px 0; border-bottom: 1px solid var(--ink); }
.rows dt { font-family: var(--mono); font-weight: 600; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; padding-top: 4px; }
.rows dd { margin: 0; font-size: 18px; line-height: 1.45; }
@media (max-width: 479px) { .rows > div { grid-template-columns: 1fr; } }

/* ---------- 03 Why ---------- */

.why h3.display { font-size: clamp(48px, 7.4vw, 104px); }
.reasons { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 0 clamp(28px, 5vw, 64px); }
.reasons li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; padding: 18px 0; border-top: 2px solid var(--ink); }
.reasons strong { display: block; font-size: 21px; line-height: 1.2; margin-bottom: 4px; }
.reasons p { font-size: 17px; line-height: 1.5; }
.prizes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); gap: 32px 28px; }
.prize { border-left: 3px solid var(--ink); padding: 0 0 4px 18px; display: flex; flex-direction: column; gap: 10px; }
.prize .place { font-weight: 900; font-stretch: 75%; font-size: clamp(76px, 8vw, 112px); line-height: .8; }
.prize h4 { font-weight: 800; font-size: 23px; line-height: 1.1; }
.prize p { font-size: 16px; line-height: 1.5; }
.prize--all { border-left-width: 1px; padding-top: 6px; justify-content: flex-end; }
.bonus h3 { font-size: clamp(40px, 6vw, 88px); line-height: .9; max-width: 14ch; }

/* ---------- 04 When ---------- */

.clockface { margin-top: 8px; font-family: var(--mono); font-weight: 600; font-size: clamp(64px, 9vw, 120px); line-height: 1; color: var(--red); letter-spacing: -.02em; }
.deadline { margin-top: 20px; padding: 14px 18px; border: 2px solid var(--cream-2); font-weight: 800; font-size: 20px; line-height: 1.3; align-self: flex-start; }
.programme { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--cream-2); }
.programme li { display: grid; grid-template-columns: 68px minmax(0, 1fr); gap: 14px; padding: 13px 10px; border-bottom: 1px solid rgba(246, 240, 226, .28); font-size: 18px; line-height: 1.35; }
.programme time { font-family: var(--mono); font-weight: 600; font-size: 15px; padding-top: 2px; }
.programme .hi { background: var(--red); color: var(--ink); font-weight: 800; }

/* ---------- 05 Where ---------- */

.address { font-style: normal; font-weight: 900; font-stretch: 87.5%; font-size: clamp(36px, 4.4vw, 60px); line-height: .95; letter-spacing: -.02em; text-transform: uppercase; }
.maps { display: inline-flex; align-items: center; min-height: 44px; font-weight: 800; font-size: 20px; text-underline-offset: 5px; align-self: flex-start; }

/* ---------- 06 How ---------- */

.narrow { max-width: 500px; }
.whack-line { margin-top: 8px; font-weight: 900; font-stretch: 87.5%; font-size: clamp(40px, 5vw, 64px); line-height: 1; letter-spacing: -.01em; }
.assoc { margin-top: 20px; max-width: 500px; padding: 24px 26px; }
.assoc h3 { font-weight: 800; font-size: 28px; line-height: 1.1; margin-bottom: 10px; }
.assoc p { font-size: 17px; line-height: 1.5; }

.form-panel { background: var(--cream-2); border: 3px solid var(--ink); padding: clamp(22px, 3vw, 36px); }
.form { display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field-label, .form legend { font-family: var(--mono); font-weight: 600; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.teams-hint { text-transform: none; letter-spacing: .02em; }
.js .teams-hint { display: none; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 0 14px;
  background: var(--cream); border: 2px solid var(--ink); border-radius: 0; font-size: 17px;
}
.field textarea { padding: 12px 14px; line-height: 1.5; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9'%3E%3Cpath d='M0 0h14L7 9z' fill='%231B1A17'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.row2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 16px; }
.form fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.form legend { padding: 0; margin-bottom: 8px; }
.radios { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 8px; }
.radio { position: relative; display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 14px; border: 2px solid var(--ink); background: var(--cream); cursor: pointer; font-weight: 700; font-size: 17px; line-height: 1.2; }
.radio input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.radio .dot { width: 20px; height: 20px; flex: none; border: 2.5px solid var(--ink); }
.radio input:checked + .dot { background: var(--red); }
.radio:has(input:checked) { background: var(--cream-2); box-shadow: inset 0 0 0 1px var(--ink); }
.radio:has(input:focus-visible) { outline: 3px solid var(--red); outline-offset: 2px; }
.note { margin-top: 10px; font-family: var(--mono); font-weight: 600; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.team-fields { display: flex; flex-direction: column; gap: 16px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { padding: 12px 14px; border: 2px solid var(--red); border-left-width: 10px; font-size: 16px; line-height: 1.45; }
.form .btn { margin-top: 4px; width: 100%; min-height: 60px; }
.form-privacy { font-size: 15px; line-height: 1.45; }
.form-privacy a { display: inline-block; padding: 12px 0; margin: -12px 0; font-weight: 700; }
.done { display: flex; flex-direction: column; gap: 14px; }
.done:focus { outline: none; }
.done h3 { font-size: clamp(40px, 4.4vw, 56px); line-height: .95; }

/* ---------- Sponsors + footer ---------- */

.sponsors { border-top: 2px solid var(--ink); padding: 22px 0 32px; display: flex; flex-direction: column; gap: 24px; }
.sponsors .label { font-size: 12px; letter-spacing: .12em; }
.logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 36px; list-style: none; margin: 0; padding: 0; }
.logos img { width: auto; }

.foot { border-top: 2px solid var(--ink); padding: 20px 0 36px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 32px; }
/* The wordmark is a logo; logotypes are exempt from the contrast rule. */
.foot .mark-w { font-weight: 900; font-stretch: 87.5%; font-size: 30px; line-height: 1; text-decoration: none; }
.foot .mark-w:hover { color: var(--ink); }
.foot .where { font-family: var(--mono); font-size: 13px; letter-spacing: .04em; }
.foot-links { display: flex; flex-wrap: wrap; align-items: center; gap: 0 24px; font-family: var(--mono); font-size: 13px; letter-spacing: .04em; }
.foot-links a { display: inline-flex; align-items: center; min-height: 44px; }

/* Simple pages (thanks, 404), as the v0.1 404. */
.simple { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; gap: 20px; padding: 40px clamp(20px, 6vw, 80px); }
.simple h1 { font-size: clamp(56px, 12vw, 160px); line-height: .9; }
.simple .body-l { max-width: 40ch; }
.simple .back { font-weight: 800; font-size: 22px; text-underline-offset: 4px; align-self: flex-start; }

/* Text page (privacy): same look as .simple, but top-aligned for longer copy. */
.simple--text { justify-content: flex-start; max-width: 960px; padding-top: clamp(40px, 8vw, 96px); padding-bottom: clamp(40px, 8vw, 96px); }
.simple--text .rows { margin-top: 12px; }
.simple--text .rows dd { max-width: 62ch; }
.nowrap { white-space: nowrap; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
