/* Atom site styles. Plain CSS, no build step, no remote fonts.
   Layout: a drawing sheet. Figures sit inside the mark's two tolerance-bracket corners, and
   colour carries status only: green means VERIFIED (and the nucleus of the mark), as in the app.
   Status colours are the app's (docs/studio.md 6.6); neutrals are the brand's graphite. */

:root {
  --bg: #F4F5F7;
  --surface: #FFFFFF;
  --inset: #EDEFF2;
  --ink: #1B1F24;
  --muted: #525A66;
  --line: #D5D9DF;
  --line-input: #80878F;
  --nucleus: #22A374;
  --btn-bg: #1B1F24;
  --btn-fg: #FFFFFF;
  --verified: #18794E;
  --verified-tint: #E2F3EA;
  --checked: #1F5FBF;
  --checked-tint: #E3EDFB;
  --refused: #C42F38;
  --refused-tint: #FBE6E7;
  --disputed: #8A5A00;
  --disputed-tint: #FAEFD9;
  --error: #5B626D;
  --error-tint: #ECEEF1;

  --font-sans: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "Cascadia Mono", "Cascadia Code", "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;

  --measure: 65ch;
  --page: 1160px;
  --gutter: 16px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0E1013;
    --surface: #161A20;
    --inset: #12151A;
    --ink: #E6E9ED;
    --muted: #9BA3AF;
    --line: #2A2F37;
    --line-input: #6A727E;
    --btn-bg: #E6E9ED;
    --btn-fg: #0E1013;
    --verified: #52C78E;
    --verified-tint: #15301F;
    --checked: #6A9EF0;
    --checked-tint: #172840;
    --refused: #F26B70;
    --refused-tint: #3B1C20;
    --disputed: #E9B34E;
    --disputed-tint: #382B12;
    --error: #A0A7B2;
    --error-tint: #2A2E35;
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --bg: #0E1013;
  --surface: #161A20;
  --inset: #12151A;
  --ink: #E6E9ED;
  --muted: #9BA3AF;
  --line: #2A2F37;
  --line-input: #6A727E;
  --btn-bg: #E6E9ED;
  --btn-fg: #0E1013;
  --verified: #52C78E;
  --verified-tint: #15301F;
  --checked: #6A9EF0;
  --checked-tint: #172840;
  --refused: #F26B70;
  --refused-tint: #3B1C20;
  --disputed: #E9B34E;
  --disputed-tint: #382B12;
  --error: #A0A7B2;
  --error-tint: #2A2E35;
  color-scheme: dark;
}

@media (min-width: 720px) {
  :root { --gutter: 32px; }
}

/* Base */

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1rem/1.6 var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

img, svg, video { max-width: 100%; }

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover { text-decoration-thickness: 2px; }

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 2px;
}

h1, h2, h3 { text-wrap: balance; }

p { text-wrap: pretty; }

.wrap {
  max-width: var(--page);
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip {
  position: absolute;
  left: max(16px, env(safe-area-inset-left, 0px));
  top: -120px;
  z-index: 20;
  padding: 8px 14px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border-radius: 4px;
}

.skip:focus { top: calc(12px + env(safe-area-inset-top, 0px)); }

.num { font-variant-numeric: tabular-nums; }

/* The brand mark and wordmark, inlined so the ink follows the theme */

.logo {
  display: inline-flex;
  color: var(--ink);
  text-decoration: none;
}

.logo svg { display: block; height: auto; }

.nucleus { fill: var(--nucleus); }

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  font: 600 0.9375rem/1.2 var(--font-sans);
  text-decoration: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--btn-bg);
  color: var(--btn-fg);
}

.btn-primary:hover { opacity: 0.88; }

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-input);
}

.btn-secondary:hover { background: var(--inset); }

.btn-sm {
  min-height: 36px;
  padding: 6px 14px;
  font-size: 0.875rem;
}

/* Header */

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 18px;
}

.site-header .logo svg { width: 132px; }

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.9375rem;
}

.nav a:not(.btn) {
  color: var(--muted);
  text-decoration: none;
}

.nav a:not(.btn):hover { color: var(--ink); }

@media (max-width: 820px) {
  .nav a:not(.btn) { display: none; }
}

/* Labels and headings */

.kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  font: 500 0.8125rem/1.4 var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.kicker::before {
  content: "";
  flex: none;
  width: 10px;
  height: 10px;
  border-top: 2px solid var(--ink);
  border-left: 2px solid var(--ink);
}

h1 {
  margin: 0;
  max-width: 19em;
  font: 600 clamp(2rem, 4.1vw, 3.15rem)/1.1 var(--font-display);
  letter-spacing: -0.022em;
}

h2 {
  margin: 0;
  font: 600 clamp(1.625rem, 3vw, 2.25rem)/1.18 var(--font-display);
  letter-spacing: -0.016em;
}

h3 {
  margin: 0;
  font: 600 1.1875rem/1.3 var(--font-display);
  letter-spacing: -0.006em;
}

.lead {
  margin: 0;
  max-width: 36em;
  font-size: clamp(1.0625rem, 1.5vw, 1.1875rem);
  color: var(--muted);
}

/* Tolerance-bracket frame: the two opposite corners of the mark */

.bracketed { position: relative; }

.bracketed::before,
.bracketed::after {
  content: "";
  position: absolute;
  width: 28px;
  height: 28px;
  border: 0 solid var(--ink);
  pointer-events: none;
}

.bracketed::before {
  top: 10px;
  left: 10px;
  border-top-width: 3px;
  border-left-width: 3px;
}

.bracketed::after {
  right: 10px;
  bottom: 10px;
  border-right-width: 3px;
  border-bottom-width: 3px;
}

/* Hero */

.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  align-items: center;
  gap: clamp(36px, 5vw, 72px);
  padding-block: clamp(36px, 6vw, 88px) clamp(56px, 8vw, 104px);
}

.hero-text {
  display: grid;
  gap: 24px;
  min-width: 0;
}

.hero-text .kicker { margin: 0; }

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  font: 0.8125rem/1.4 var(--font-mono);
  color: var(--muted);
}

.facts li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.facts li::before {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--line-input);
}

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); }
}

/* A recorded verification */

.record {
  margin: 0;
  min-width: 0;
  padding: clamp(36px, 3.6vw, 44px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 4px;
}

.record-kicker {
  margin: 0 0 18px;
  font: 500 0.75rem/1.4 var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.record-rows {
  display: grid;
  margin: 0;
}

.record-rows > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 4px 16px;
  padding-block: 11px;
  border-top: 1px solid var(--line);
}

.record-rows > div.stack { grid-template-columns: minmax(0, 1fr); }

.record-rows dt {
  font-size: 0.875rem;
  color: var(--muted);
}

.record-rows dd {
  margin: 0;
  font-size: 0.9375rem;
}

.record-rows dd.value {
  font: 600 1.0625rem/1.3 var(--font-mono);
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.record-rows .delta {
  display: block;
  font: 400 0.75rem/1.4 var(--font-mono);
  color: var(--muted);
}

.record-verdict {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 0.875rem;
  color: var(--muted);
}

.record figcaption {
  margin-top: 18px;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--muted);
}

/* Badges, as the app draws them: icon and word, never colour alone */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 28px;
  padding: 3px 10px;
  border: 1px solid currentColor;
  border-radius: 6px;
  font: 600 0.75rem/1.2 var(--font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  justify-self: start;
}

.badge svg {
  flex: none;
  width: 15px;
  height: 15px;
}

.badge .badge-value {
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  font-variant-numeric: tabular-nums;
}

.badge.verified {
  color: var(--verified);
  background: var(--verified-tint);
  border-color: color-mix(in srgb, var(--verified) 45%, transparent);
}

.badge.checked {
  color: var(--checked);
  background: var(--checked-tint);
  border-color: color-mix(in srgb, var(--checked) 45%, transparent);
}

.badge.refused {
  color: var(--refused);
  background: var(--refused-tint);
  border-color: color-mix(in srgb, var(--refused) 45%, transparent);
}

.badge.disputed {
  color: var(--disputed);
  background: var(--disputed-tint);
  border-color: color-mix(in srgb, var(--disputed) 45%, transparent);
}

.badge.error {
  color: var(--error);
  background: var(--error-tint);
  border-color: color-mix(in srgb, var(--error) 45%, transparent);
}

.badge.unverified {
  color: var(--muted);
  background: var(--inset);
  border-color: var(--line-input);
}

/* Sections */

.section { scroll-margin-top: 8px; }

.section > .wrap { padding-block: clamp(64px, 9vw, 112px); }

.band { background: var(--surface); }

.band .badge.unverified,
.band .placeholder { background: var(--bg); }

.section-head {
  display: grid;
  gap: 16px;
  max-width: 46rem;
  margin-bottom: clamp(36px, 5vw, 56px);
}

.section-head .kicker { margin: 0; }

.section-head p {
  margin: 0;
  max-width: var(--measure);
  font-size: 1.0625rem;
  color: var(--muted);
}

.subhead {
  display: grid;
  gap: 10px;
  max-width: var(--measure);
  margin: clamp(56px, 7vw, 88px) 0 28px;
}

.subhead p {
  margin: 0;
  color: var(--muted);
}

/* How it works: the three steps */

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 48px);
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  display: grid;
  align-content: start;
  gap: 10px;
  min-width: 0;
  padding-top: 18px;
  border-top: 2px solid var(--ink);
  counter-increment: step;
}

.steps li::before {
  content: "Step " counter(step);
  font: 500 0.75rem/1.4 var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.steps p {
  margin: 0;
  color: var(--muted);
}

@media (max-width: 860px) {
  .steps { grid-template-columns: minmax(0, 1fr); }
}

/* The 12 checks */

.checks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(6, auto);
  grid-auto-flow: column;
  column-gap: clamp(32px, 5vw, 64px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.checks li {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  gap: 2px 12px;
  padding-block: 14px;
  border-top: 1px solid var(--line);
}

.checks .id {
  grid-row: span 2;
  font: 600 0.875rem/1.55 var(--font-mono);
  color: var(--muted);
}

.checks .name {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  font-weight: 600;
}

.checks .desc {
  font-size: 0.9375rem;
  color: var(--muted);
}

.tag {
  padding: 1px 7px;
  border: 1px solid var(--line-input);
  border-radius: 4px;
  font: 500 0.6875rem/1.5 var(--font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

@media (max-width: 760px) {
  .checks {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
    grid-auto-flow: row;
  }
}

/* Verdicts */

.verdicts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.verdict {
  display: grid;
  align-content: start;
  gap: 14px;
  min-width: 0;
  padding: 22px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.verdict p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--muted);
}

.verdict-more {
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.9375rem;
  color: var(--muted);
}

.verdict-more li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
}

@media (max-width: 860px) {
  .verdicts { grid-template-columns: minmax(0, 1fr); }
}

/* Badges in an answer (illustration) */

.answer {
  display: grid;
  gap: 16px;
  max-width: 44rem;
  margin: 0;
  padding: 22px 24px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.answer-who {
  font: 500 0.75rem/1.4 var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.answer p { margin: 0; }

.answer-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.verify-this {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 3px 10px;
  border: 1px solid var(--line-input);
  border-radius: 6px;
  font-size: 0.8125rem;
  font-weight: 600;
}

.answer + .caption,
.caption {
  margin: 12px 0 0;
  font-size: 0.8125rem;
  color: var(--muted);
}

/* Demo video and screenshot placeholders */

.media {
  display: grid;
  gap: 20px;
}

.video-frame {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 4px;
}

.placeholder {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 6px;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  padding: 24px;
  background: var(--inset);
  border: 1px dashed var(--line-input);
  border-radius: 2px;
  text-align: center;
  color: var(--muted);
}

.placeholder strong {
  font-weight: 600;
  color: var(--ink);
}

.placeholder small {
  font: 500 0.6875rem/1.4 var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.shots {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 20px;
}

.shots figure {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: start;
  gap: 10px;
  min-width: 0;
  margin: 0;
}

.shots .placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
}

.shots figcaption {
  font-size: 0.875rem;
  color: var(--muted);
}

.video-frame::before { top: 6px; left: 6px; }

.video-frame::after { right: 6px; bottom: 6px; }

@media (max-width: 760px) {
  .shots { grid-template-columns: minmax(0, 1fr); }
  .shots .placeholder { aspect-ratio: 16 / 10; }
  .video-frame { padding: 16px; }
  .video-frame::before,
  .video-frame::after { width: 22px; height: 22px; }
  .video-frame::before { top: 4px; left: 4px; }
  .video-frame::after { right: 4px; bottom: 4px; }
}

/* Who it is for */

.audiences {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(32px, 5vw, 64px);
}

.audience {
  display: grid;
  align-content: start;
  gap: 10px;
  min-width: 0;
  padding-block: 26px 30px;
  border-top: 1px solid var(--line);
}

.audience p {
  margin: 0;
  color: var(--muted);
}

.audience .aside {
  font-size: 0.875rem;
}

.note {
  display: grid;
  gap: 8px;
  margin-top: 28px;
  padding: 22px 24px;
  background: var(--inset);
  border-radius: 6px;
}

.note p {
  margin: 0;
  max-width: 72ch;
  color: var(--muted);
}

.note strong { color: var(--ink); }

@media (max-width: 760px) {
  .audiences { grid-template-columns: minmax(0, 1fr); }
}

/* Local-first */

.pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 48px);
}

.pillar {
  display: grid;
  align-content: start;
  gap: 10px;
  min-width: 0;
}

.pillar p {
  margin: 0;
  color: var(--muted);
}

@media (max-width: 860px) {
  .pillars { grid-template-columns: minmax(0, 1fr); }
}

.flows {
  margin-top: clamp(40px, 5vw, 56px);
}

.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--bg);
}

.flows table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.flows caption {
  padding: 16px 20px 0;
  text-align: left;
  font: 500 0.75rem/1.4 var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.flows th,
.flows td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.flows thead th {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--muted);
}

.flows tbody tr:last-child th,
.flows tbody tr:last-child td { border-bottom: 0; }

.flows tbody th { font-weight: 600; }

.flows td { color: var(--muted); }

.flows .nothing { color: var(--ink); font-weight: 600; }

.flows + .caption { max-width: 72ch; }

@media (max-width: 600px) {
  .flows table { min-width: 0; }
  .flows thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }
  .flows tr {
    display: grid;
    gap: 4px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--line);
  }
  .flows tbody tr:last-child { border-bottom: 0; }
  .flows caption { padding: 16px 18px 0; }
  .flows th,
  .flows td {
    display: block;
    padding: 0;
    border: 0;
  }
  .flows td[data-label]::before {
    content: attr(data-label) ": ";
    font-weight: 600;
  }
}

/* Early access */

.access-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: clamp(36px, 5vw, 72px);
}

.access-text {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.access-text .section-head { margin-bottom: 8px; }

.access-text p {
  margin: 0;
  color: var(--muted);
}

.access-text .contact { color: var(--ink); }

.access-text .contact a { font-family: var(--font-mono); font-size: 0.9375rem; overflow-wrap: anywhere; }

@media (max-width: 900px) {
  .access-grid { grid-template-columns: minmax(0, 1fr); }
}

.form {
  display: grid;
  gap: 20px;
  min-width: 0;
  padding: clamp(22px, 3vw, 34px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.field {
  display: grid;
  gap: 6px;
}

.field label,
.form legend {
  font-size: 0.9375rem;
  font-weight: 600;
}

.field .hint {
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--muted);
}

.form input[type="text"],
.form input[type="email"],
.form textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  background: var(--inset);
  color: var(--ink);
  border: 1px solid var(--line-input);
  border-radius: 4px;
  font: inherit;
}

.form textarea {
  min-height: 112px;
  resize: vertical;
}

.form input:focus-visible,
.form textarea:focus-visible {
  outline-offset: 1px;
}

.form fieldset {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

.form legend {
  padding: 0;
  margin-bottom: 4px;
}

.choice {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 32px;
}

.choice input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--ink);
}

.form .btn { justify-self: start; }

.form-note {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--muted);
}

/* A trap field for bots: off screen, out of the tab order, hidden from screen readers. */
.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  margin: 0;
  padding: 12px 14px;
  background: var(--inset);
  border-radius: 4px;
  font-size: 0.875rem;
}

/* Footer */

.site-footer { border-top: 1px solid var(--line); }

.site-footer .wrap {
  display: grid;
  gap: 22px;
  padding-block: 40px 48px;
  font-size: 0.875rem;
  color: var(--muted);
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
}

.site-footer .logo svg { width: 240px; }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a { color: var(--ink); }

.site-footer p {
  margin: 0;
  max-width: 72ch;
}

/* License and privacy pages */

.doc > .wrap {
  max-width: calc(var(--measure) + 2 * var(--gutter) + 80px);
  padding-block: clamp(32px, 5vw, 64px) clamp(64px, 8vw, 96px);
}

.doc-head {
  display: grid;
  gap: 18px;
  margin-bottom: 32px;
}

.doc-head .kicker { margin: 0; }

.doc h1 { font-size: clamp(1.75rem, 3.6vw, 2.5rem); }

.doc h2 {
  margin: 48px 0 16px;
  font-size: clamp(1.25rem, 2.2vw, 1.5rem);
}

.doc p {
  margin: 0 0 16px;
  max-width: var(--measure);
}

.doc .legal-text p:first-child { color: var(--muted); }

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