/* The guardian's web pages (Part 3, spec §4), in the owner's design system (2026-10-13): Space
   Grotesk, self-hosted (OFL, fonts/OFL.txt) so the CSP allows fonts from 'self' only; ink #202020,
   lime #c9f158 as a fill only, grey #f2f3f5, white. Ported from design/mockups/tokens.css and the
   screens 06 to 09; no inline style anywhere, which the CSP would refuse. */
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/space-grotesk-vietnamese-400-normal.woff2) format("woff2");
  unicode-range:
    U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/space-grotesk-latin-ext-400-normal.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/space-grotesk-latin-400-normal.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: "Space Grotesk";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/space-grotesk-vietnamese-500-normal.woff2) format("woff2");
  unicode-range:
    U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/space-grotesk-latin-ext-500-normal.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/space-grotesk-latin-500-normal.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: "Space Grotesk";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/space-grotesk-vietnamese-700-normal.woff2) format("woff2");
  unicode-range:
    U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/space-grotesk-latin-ext-700-normal.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/space-grotesk-latin-700-normal.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;
}
:root {
  --ink: #202020;
  --ink-soft: #3a3a3c;
  --muted: #76767c;
  --line: #e6e7ea;
  --surface: #ffffff;
  --surface-2: #f2f3f5;
  --lime: #c9f158;
  --lime-soft: #eef8cf;
  --danger: #8a2f2f;
  --radius-field: 18px;
  --radius-card: 24px;
  --radius-button: 999px;
  --font: "Space Grotesk", system-ui, sans-serif;
}
* {
  box-sizing: border-box;
  margin: 0;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  background: var(--surface);
  font-family: var(--font);
  color: var(--ink-soft);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.page {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.webhead {
  padding: 18px 24px 16px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 10px;
}
.mark {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--ink);
  color: var(--lime);
  display: grid;
  place-items: center;
  font: 700 13px var(--font);
}
.brand {
  font: 700 16px var(--font);
  color: var(--ink);
}
.web {
  flex: 1;
  padding: 24px 24px 40px;
  display: flex;
  flex-direction: column;
}
.step {
  font: 500 13px var(--font);
  color: var(--muted);
  letter-spacing: 0.02em;
  margin-bottom: 18px;
  overflow-wrap: anywhere;
}
h1 {
  font: 700 27px / 1.12 var(--font);
  color: var(--ink);
  letter-spacing: -0.02em;
}
h1.small {
  font-size: 25px;
}
.lede {
  margin-top: 14px;
  font-size: 15.5px;
  line-height: 1.5;
}
.spacer {
  flex: 1;
  min-height: 24px;
}
.fine {
  margin-top: 14px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted);
  text-align: center;
}
.actions {
  margin-top: 26px;
  display: grid;
  gap: 12px;
}
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 17px;
  border: 0;
  border-radius: var(--radius-button);
  font: 600 17px var(--font);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.btn:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 2px;
}
.btn-primary {
  background: var(--ink);
  color: #fff;
}
.btn-secondary {
  background: var(--surface-2);
  color: var(--ink);
}
.btn-danger {
  background: var(--danger);
  color: #fff;
}
.provider {
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--ink);
}
.provider.apple {
  background: #000;
  color: #fff;
  border-color: #000;
}
.note {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 24px;
  padding: 15px 16px;
  border-radius: var(--radius-card);
  background: var(--surface-2);
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.45;
}
.note svg {
  flex: none;
  margin-top: 1px;
  color: var(--ink);
}
.list {
  margin-top: 22px;
  display: grid;
  gap: 12px;
}
.row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15px;
  line-height: 1.45;
}
.dot {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--lime);
  color: var(--ink);
}
.done {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: var(--lime-soft);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  color: var(--ink);
}
.field {
  display: block;
  margin-top: 18px;
  background: var(--surface-2);
  border-radius: var(--radius-field);
  padding: 12px 14px 13px;
  border: 1.5px solid transparent;
}
.field:focus-within {
  border-color: var(--ink);
  background: #fff;
  box-shadow: 0 0 0 4px var(--lime-soft);
}
.field .label {
  display: block;
  font: 500 12px var(--font);
  color: var(--muted);
}
.field input {
  display: block;
  width: 100%;
  margin-top: 3px;
  border: 0;
  padding: 0;
  background: transparent;
  font: 600 18px var(--font);
  color: var(--ink);
}
.field input:focus {
  outline: none;
}
.purposes {
  margin-top: 8px;
}
.purpose {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.purpose:last-child {
  border-bottom: 0;
}
.what b {
  display: block;
  font: 600 15px var(--font);
  color: var(--ink);
}
.what small {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-top: 2px;
  line-height: 1.4;
}
.stack {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.purpose .required {
  margin-left: auto;
  flex: none;
  font: 600 13px var(--font);
  color: var(--muted);
}
.toggle {
  margin-left: auto;
  flex: none;
  appearance: none;
  -webkit-appearance: none;
  width: 46px;
  height: 28px;
  border-radius: 14px;
  background: #c9d1de;
  position: relative;
  cursor: pointer;
  transition: background-color 0.15s ease;
}
.toggle::after {
  content: "";
  position: absolute;
  width: 22px;
  height: 22px;
  border-radius: 11px;
  background: #fff;
  top: 3px;
  left: 3px;
  transition: transform 0.15s ease;
}
.toggle:checked {
  background: var(--lime);
}
.toggle:checked::after {
  background: var(--ink);
  transform: translateX(18px);
}
.toggle:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 2px;
}
.toggle:disabled {
  background: #e3e8f0;
  cursor: not-allowed;
}
.teen {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.teen form {
  margin-left: auto;
  flex: none;
}
.teen .btn {
  padding: 10px 16px;
  font-size: 14px;
}
@media (prefers-reduced-motion: reduce) {
  .toggle,
  .toggle::after {
    transition: none;
  }
}
