/* Korea Care Journal — the one stylesheet.
 *
 * Ported from docs/design/*.dc.html, which carry no class attributes: every rule below
 * replaces an inline style="..." string in the mockups. Two things are load-bearing:
 *
 *   1. No layout breakpoints. Type scales with clamp(), grids reflow with auto-fit/minmax.
 *      A breakpoint would be a second layout to keep in sync. The single @media below is
 *      the prefers-reduced-motion guard the house rules require, not a layout rule.
 *   2. Exactly two shadow recipes. The deep one is reserved for the review record —
 *      it is the signature element and nothing else may borrow its weight.
 */

:root {
  /* colour — six tokens plus the focus ring. Blue is the only saturated colour and is
   * reserved for links, numerals and the review seal. Orange appears in red flags only. */
  --paper:      #ffffff;
  --ledger:     #f6f5f4;
  --ink:        rgba(0, 0, 0, 0.95);
  --annotation: #615d59;
  --blue:       #0075de;
  --focus:      #097fe8;
  --caution:    #dd5b00;
  --record:     #31302e;
  --faint:      #a39e98;

  --hair:       rgba(0, 0, 0, 0.1);
  --hair-soft:  rgba(0, 0, 0, 0.08);
  --hair-faint: rgba(0, 0, 0, 0.06);
  --rule-sign:  rgba(0, 0, 0, 0.35);

  /* two families, one webfont file. The mono stack is never downloaded. */
  --sans: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, 'Apple SD Gothic Neo',
          'Malgun Gothic', 'Noto Sans KR', sans-serif;
  --mono: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, 'Liberation Mono', monospace;

  --frame:   1080px;   /* page frame */
  --measure: 692px;    /* reading column ≈ 70ch */
  --gutter:  24px;

  --r-btn:   4px;
  --r-panel: 8px;
  --r-card:  12px;

  --shadow-card: rgba(0, 0, 0, 0.04) 0 4px 18px, rgba(0, 0, 0, 0.027) 0 2.025px 7.84688px,
                 rgba(0, 0, 0, 0.02) 0 0.8px 2.925px, rgba(0, 0, 0, 0.01) 0 0.175px 1.04062px;
  --shadow-record: rgba(0, 0, 0, 0.01) 0 1px 3px, rgba(0, 0, 0, 0.02) 0 3px 7px,
                   rgba(0, 0, 0, 0.02) 0 7px 15px, rgba(0, 0, 0, 0.04) 0 14px 28px,
                   rgba(0, 0, 0, 0.05) 0 23px 52px;
}

@font-face {
  font-family: 'Pretendard';
  src: url('/assets/fonts/pretendard-var-ko.woff2') format('woff2');
  font-weight: 400 700;   /* matches the instanced axis — outside it the browser fakes weights */
  font-style: normal;
  font-display: swap;
}

/* ---------- reset ---------- */

html, body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17.5px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
* { box-sizing: border-box; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
table { border-collapse: collapse; }
img, svg { max-width: 100%; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
summary::-webkit-details-marker { display: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ---------- utilities (three, and no more) ---------- */

.mono { font-family: var(--mono); letter-spacing: 0.06em; }

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* ---------- frame ---------- */

.frame  { max-width: var(--frame); margin: 0 auto; padding: 0 var(--gutter); }
.column { max-width: var(--measure); margin: 0 auto; }

/* ---------- masthead ---------- */

.masthead { border-bottom: 1px solid var(--hair); background: var(--paper); }
.masthead__inner {
  max-width: var(--frame); margin: 0 auto; padding: 14px var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--gutter); flex-wrap: wrap;
}
.masthead__brand { display: flex; align-items: baseline; gap: 9px; color: var(--ink); }
.masthead__brand:hover { text-decoration: none; }
.masthead__name { font-size: 16px; font-weight: 700; letter-spacing: -0.4px; }
.masthead__est  { font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; color: var(--faint); }
.masthead__nav  { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.masthead__link {
  font-size: 14px; font-weight: 500; color: var(--annotation);
  padding: 12px 0;                /* 44px touch target without a visible box */
  display: inline-block; line-height: 20px;
}
.masthead__link--current { color: var(--ink); }

/* ---------- independence strip ---------- */

.strip { border-bottom: 1px solid var(--hair); background: var(--ledger); }
.strip__text {
  max-width: var(--frame); margin: 0 auto; padding: 8px var(--gutter);
  font-family: var(--mono); font-size: 11px; line-height: 1.5; color: var(--annotation);
}

/* ---------- breadcrumb (block 01) ---------- */

.breadcrumb { margin-bottom: 28px; }
.breadcrumb__list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; gap: 8px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase;
}
.breadcrumb__link { color: var(--faint); }
.breadcrumb__sep { color: var(--faint); }
.breadcrumb__current { color: var(--annotation); }

/* ---------- article shell (block 02) ---------- */

.article { padding: 40px 0 0; }
.article__title {
  font-size: clamp(32px, 5.2vw, 46px);
  font-weight: 700; line-height: 1.06; letter-spacing: -1.6px;
  text-wrap: pretty; margin-bottom: 20px;
}
.article__meta {
  display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center;
  padding-bottom: var(--gutter); border-bottom: 1px solid var(--hair);
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--annotation);
}
.article__sep { color: var(--faint); }
.article__rule { height: 1px; background: var(--hair); margin: 36px 0 0; }

/* ---------- short answer (block 03) ---------- */

.answer { padding: 26px 0 4px; }
.answer__kicker {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 12px;
}
.answer__lead {
  font-size: clamp(19px, 2.4vw, 21px); line-height: 1.55;
  letter-spacing: -0.2px; text-wrap: pretty;
}
.answer__lead strong { font-weight: 700; }
.answer__note { margin-top: 14px; font-size: 17px; line-height: 1.6; color: var(--annotation); }

/* ---------- sections (block 04) ---------- */

.section { padding-top: 44px; }
.section__index {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--faint); margin-bottom: 10px;
}
.section__title {
  font-size: clamp(23px, 3vw, 27px); font-weight: 700; line-height: 1.2;
  letter-spacing: -0.65px; margin-bottom: 16px; text-wrap: pretty;
}

/* prose — the only place raw markdown output lands.
 * Wrapped in :where() so these rules carry no specificity: a component that lands inside
 * prose (a checklist, a step body, a red-flag list) keeps its own styling without needing
 * to out-specify a descendant selector. */
.prose :where(p)      { font-size: 17.5px; line-height: 1.68; margin-bottom: 18px; }
.prose :where(h3)     { font-size: 19px; font-weight: 700; letter-spacing: -0.3px; line-height: 1.35; margin: 26px 0 12px; }
.prose :where(ul, ol) { margin: 0 0 18px; padding-left: 22px; }
.prose :where(li)     { font-size: 17.5px; line-height: 1.68; margin-bottom: 8px; }
.prose :where(strong) { font-weight: 600; }
/* A caveat about the passage above it — how far a figure or a cited number may be carried.
 * Set off by a rule rather than a colour so it reads as a qualification, not a warning:
 * the red-flag block is what claims the reader's alarm, and only one thing may. */
.prose :where(blockquote) {
  margin: 0 0 18px; padding: 2px 0 2px 20px; border-left: 2px solid var(--blue);
}
.prose :where(blockquote p) { font-size: 16px; color: var(--annotation); margin-bottom: 12px; }
.prose :where(blockquote) > :last-child { margin-bottom: 0; }
.prose > :last-child  { margin-bottom: 0; }

/* Shared annotation line: table notes, red-flag caveats, anything set off from the body. */
.note { font-size: 14px; line-height: 1.6; color: var(--annotation); margin-bottom: 18px; }

/* ---------- figure ---------- */

.figure { margin: 0 0 22px; }
.figure svg { width: 100%; height: auto; display: block; }
.figure__caption {
  margin-top: 8px; font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.06em; color: var(--faint);
}

/* ---------- tables ---------- */

/* One overflow rule instead of per-column-count classes plus a breakpoint. */
.table-wrap {
  border: 1px solid var(--hair); border-radius: var(--r-panel);
  overflow: hidden auto; margin-bottom: 14px;
}
.table { width: 100%; font-size: 15.5px; text-align: left; }
.table__caption {
  caption-side: top; padding: 12px 16px; background: var(--ledger);
  border-bottom: 1px solid var(--hair); font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--annotation); text-align: left;
}
.table thead tr { border-bottom: 1px solid var(--hair); }
.table th[scope='col'] {
  padding: 11px 16px; font-weight: 600; font-size: 13px; color: var(--annotation);
}
.table tbody tr { border-bottom: 1px solid var(--hair); }
.table tbody tr:last-child { border-bottom: 0; }
.table th[scope='row'] { padding: 13px 16px; font-weight: 600; vertical-align: top; }
.table td { padding: 13px 16px; vertical-align: top; line-height: 1.55; }

/* ---------- checklist (block 05) ---------- */

.checklist {
  border: 1px solid var(--hair); border-radius: var(--r-card);
  background: var(--paper); box-shadow: var(--shadow-card);
  overflow: hidden; margin-bottom: 18px;
}
.checklist__head {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 12px; flex-wrap: wrap; padding: 14px 24px;
  background: var(--ledger); border-bottom: 1px solid var(--hair);
}
.checklist__id  { font-size: 15px; font-weight: 600; letter-spacing: -0.2px; }
.checklist__rev { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em;
                  text-transform: uppercase; color: var(--faint); }
.checklist__body { padding: 22px 24px 24px; }
.checklist__group {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--blue); margin: 20px 0 8px;
}
.checklist__group:first-child { margin-top: 0; }
.checklist__list { list-style: none; padding: 0; margin: 0; }
.checklist__item {
  display: grid; grid-template-columns: 22px 1fr; gap: 12px;
  padding: 10px 0; border-top: 1px solid var(--hair-faint);
  font-size: 16px; line-height: 1.55;
}
.checklist__list > .checklist__item:first-child { border-top: 0; }
.checklist__box {
  width: 15px; height: 15px; margin-top: 5px;
  border: 1px solid var(--faint); border-radius: 3px;
}

/* ---------- numbered procedure (block 06) ---------- */

.steps { list-style: none; padding: 0; margin: 0 0 18px; }
.steps__item {
  display: grid; grid-template-columns: 56px 1fr; gap: 18px;
  padding: 22px 0; border-top: 1px solid var(--hair);
}
.steps__num {
  font-family: var(--mono); font-size: 26px; font-weight: 600;
  line-height: 1.1; color: var(--blue);
}
.steps__title { font-size: 19px; font-weight: 700; letter-spacing: -0.3px; margin-bottom: 8px; }
.steps__body p { font-size: 16.5px; line-height: 1.62; margin-bottom: 10px; }
.steps__body > :last-child { margin-bottom: 0; }
.steps__result {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.05em;
  color: var(--annotation); margin-top: 10px;
}

/* ---------- red flags (block 07) ---------- */

/* No fill, no icons — a 2px caution rule is the whole signal. */
.redflag {
  border: 1px solid var(--hair); border-top: 2px solid var(--caution);
  border-radius: 0 0 var(--r-panel) var(--r-panel);
  background: var(--paper); margin-bottom: 14px;
}
.redflag__list { list-style: none; padding: 4px 0; margin: 0; }
.redflag__item {
  display: grid; grid-template-columns: auto 1fr; gap: 16px;
  padding: 16px 22px; border-bottom: 1px solid var(--hair-soft);
}
.redflag__list > .redflag__item:last-child { border-bottom: 0; }
.redflag__index {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em;
  color: var(--caution); padding-top: 3px;
}
.redflag__text { font-size: 16.5px; line-height: 1.6; }
.redflag__text strong { font-weight: 600; }

/* ---------- FAQ (block 08) ---------- */

.faq { display: flex; flex-direction: column; }
.faq__item { border-top: 1px solid var(--hair); padding: 18px 0; }
.faq__item:last-child { border-bottom: 1px solid var(--hair); }
.faq__q {
  font-size: 18px; font-weight: 600; letter-spacing: -0.2px; line-height: 1.4;
  cursor: pointer; list-style: none; display: flex; gap: 12px; align-items: baseline;
}
.faq__index { font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; color: var(--faint); }
.faq__a { font-size: 16.5px; line-height: 1.62; margin-top: 12px; padding-left: 34px; }

/* ---------- review record (block 09) — the signature element ---------- */

.record {
  border: 1px solid var(--hair); border-radius: var(--r-card);
  background: var(--paper); overflow: hidden; box-shadow: var(--shadow-record);
}
.record__bar {
  display: flex; justify-content: space-between; align-items: center;
  gap: 12px; flex-wrap: wrap; padding: 12px 24px;
  background: var(--record); color: var(--paper);
}
.record__label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; }
.record__id    { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; color: var(--faint); }
.record__body  { padding: 28px 24px 24px; }
.record__identity { display: grid; grid-template-columns: 96px 1fr; gap: 20px; align-items: start; }
.record__portrait {
  width: 96px; height: 96px; border-radius: 100%; background: var(--ledger);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  font-family: var(--mono); font-size: 9px; line-height: 1.4; text-align: center;
  color: var(--faint); padding: 8px;
}
.record__portrait img { width: 100%; height: 100%; object-fit: cover; }
.record__name { font-size: 21px; font-weight: 700; letter-spacing: -0.4px; line-height: 1.3; margin-bottom: 8px; }
.record__bio  { font-size: 16px; line-height: 1.6; color: var(--annotation); margin-bottom: 12px; }
.record__link { font-size: 15px; font-weight: 600; }

.record__dl {
  margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--hair);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 18px;
}
.record__dt {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--faint); margin-bottom: 4px;
}
.record__dd { font-size: 15.5px; font-weight: 600; line-height: 1.45; }
.record__note {
  display: block; margin-top: 4px;
  font-size: 12px; font-weight: 400; line-height: 1.5; color: var(--faint);
}

.record__foot {
  margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--hair);
  display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap;
}
.record__interests { font-size: 13.5px; line-height: 1.6; color: var(--annotation); max-width: 56ch; }
.record__sign { display: flex; align-items: center; gap: 18px; }
.record__signature {
  font-size: 26px; font-style: italic; line-height: 1;
  padding: 0 8px 6px; border-bottom: 1px solid var(--rule-sign);
}
.record__seal {
  width: 62px; height: 62px; flex: none; border: 1.5px solid var(--blue); border-radius: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-family: var(--mono); color: var(--blue); text-align: center;
}
.record__seal-line { font-size: 7.5px; letter-spacing: 0.14em; text-transform: uppercase; }
.record__seal-mark { font-size: 14px; font-weight: 700; letter-spacing: 0.08em; }
.record__disclaimer { margin-top: 18px; font-size: 13.5px; line-height: 1.6; color: var(--annotation); }

/* reviewers page — same card, two levels of prominence */
.record--profile .record__identity { grid-template-columns: 112px 1fr; }
.record--profile .record__portrait { width: 112px; height: 112px; }
.record--profile .record__name { font-size: 26px; letter-spacing: -0.7px; }
.record__credential { font-size: 17px; font-weight: 600; color: var(--blue); margin-bottom: 12px; }

.record--compact { box-shadow: none; }
.record--compact .record__bar { background: var(--ledger); color: var(--annotation); border-bottom: 1px solid var(--hair); }
.record--compact .record__id { color: var(--faint); }
.record--compact .record__identity { grid-template-columns: 84px 1fr; }
.record--compact .record__portrait { width: 84px; height: 84px; }
.record--compact .record__name { font-size: 22px; letter-spacing: -0.5px; }

/* ---------- references ---------- */

/* Numbered by a counter rather than a list marker, so the numeral is set in the same mono
 * face as every other index in the page (§, Q, S-01) and lines up with the citation
 * markers in the prose. */
.refs { list-style: none; padding: 0; margin: 0; font-size: 14.5px; line-height: 1.7; color: var(--annotation); counter-reset: ref; }
.refs__item { position: relative; padding: 8px 0 8px 30px; border-top: 1px solid var(--hair-soft); counter-increment: ref; }
.refs__item::before {
  content: counter(ref); position: absolute; left: 0; top: 10px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; color: var(--faint);
}
.refs__item:last-child { border-bottom: 1px solid var(--hair-soft); }

/* Citation markers in the body — same mono/faint vocabulary, and a fixed line-height so a
 * superscript never pushes its line apart from the rest of the paragraph. */
.prose :where(sup) { font-family: var(--mono); font-size: 10px; line-height: 0; color: var(--faint); margin-left: 1px; }

/* ---------- next in cluster ---------- */

.next { padding: 48px 0 8px; }
.next__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.next__item { border-top: 1px solid var(--hair); padding: 14px 0; }
.next__item:last-child { border-bottom: 1px solid var(--hair); }
.next__link { font-size: 17px; font-weight: 600; color: var(--ink); }

/* ---------- home ---------- */

.hero { padding: 64px 0 44px; border-bottom: 1px solid var(--hair); }
.hero__inner { max-width: 820px; }
.hero__kicker {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 16px;
}
.hero__title {
  font-size: clamp(36px, 6.4vw, 60px); font-weight: 700;
  line-height: 1.02; letter-spacing: -2px; text-wrap: pretty;
}
.hero__lead {
  margin-top: 20px; font-size: clamp(18px, 2.4vw, 21px); line-height: 1.55;
  color: var(--record); max-width: 60ch;
}

.trust {
  margin-top: 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px; border-top: 1px solid var(--hair); padding-top: 22px;
}
.trust__dt {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--faint); margin-bottom: 6px;
}
.trust__dd { font-size: 16px; font-weight: 600; line-height: 1.4; }

.home__section { padding: 56px 0 0; }
.home__head {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 16px; flex-wrap: wrap; margin-bottom: 22px;
}
.home__title {
  font-size: clamp(24px, 3.2vw, 30px); font-weight: 700;
  line-height: 1.1; letter-spacing: -0.9px;
}
.home__meta {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--faint);
}

.clusters { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.cluster {
  display: flex; flex-direction: column;
  border: 1px solid var(--hair); border-radius: var(--r-card);
  background: var(--paper); box-shadow: var(--shadow-card); overflow: hidden;
}
.cluster__head {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  padding: 12px 22px; background: var(--ledger); border-bottom: 1px solid var(--hair);
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--annotation);
}
.cluster__body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.cluster__title {
  font-size: clamp(19px, 2.4vw, 23px); font-weight: 700;
  line-height: 1.25; letter-spacing: -0.5px; margin-bottom: 10px;
}
.cluster__desc { font-size: 16px; line-height: 1.6; color: var(--annotation); margin-bottom: 18px; }
.cluster__list { list-style: none; padding: 0; margin: 0 0 18px; }
.cluster__item { border-top: 1px solid var(--hair-faint); padding: 11px 0; }
.cluster__link { font-size: 15.5px; font-weight: 600; line-height: 1.45; }
.cluster__all { margin-top: auto; font-size: 15px; font-weight: 600; }

.latest { list-style: none; padding: 0; margin: 0; }
.latest__item {
  border-top: 1px solid var(--hair); padding: 20px 0;
  display: grid; grid-template-columns: 1fr; gap: 8px;
}
.latest__item:last-child { border-bottom: 1px solid var(--hair); }
.latest__meta {
  display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: center;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--faint);
}
.latest__cat { color: var(--blue); }
.latest__title { font-size: clamp(19px, 2.4vw, 22px); font-weight: 700; line-height: 1.25; letter-spacing: -0.45px; }
.latest__link { color: var(--ink); }
.latest__summary { font-size: 16px; line-height: 1.6; color: var(--annotation); max-width: 72ch; }

.panel {
  margin-top: 56px; background: var(--ledger); border-radius: var(--r-panel);
  padding: 26px; display: flex; justify-content: space-between;
  align-items: baseline; gap: 20px; flex-wrap: wrap;
}
.panel__title {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--annotation);
}
.panel__body { font-size: 16px; line-height: 1.6; max-width: 64ch; }
.panel__link { font-size: 15px; font-weight: 600; }

/* ---------- standalone pages ---------- */

.page { padding: 52px 0 0; }
.page__title {
  font-size: clamp(34px, 5.6vw, 52px); font-weight: 700;
  line-height: 1.03; letter-spacing: -1.8px; text-wrap: pretty; max-width: 24ch;
}
.page__lead {
  margin-top: 18px; font-size: clamp(17px, 2.2vw, 20px); line-height: 1.6;
  color: var(--annotation); max-width: 64ch;
}
.page__body { margin-top: 36px; }
.page__body :where(h2) {
  font-size: clamp(22px, 3vw, 28px); font-weight: 700; line-height: 1.15;
  letter-spacing: -0.8px; margin: 44px 0 16px;
}
.page__body > :where(h2):first-child { margin-top: 0; }
.page__body :where(h3) { font-size: 19px; font-weight: 700; letter-spacing: -0.3px; margin: 26px 0 10px; }
.page__body :where(p)  { font-size: 17.5px; line-height: 1.68; margin-bottom: 18px; }
.page__body :where(ul, ol) { margin: 0 0 18px; padding-left: 22px; }
.page__body :where(li) { font-size: 17.5px; line-height: 1.68; margin-bottom: 8px; }

.error__code {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--faint); margin-bottom: 12px;
}

.reviewers__list { display: grid; gap: 24px; margin: 36px 0 0; }

/* ---------- footer (block 10) ---------- */

.footer { margin-top: 64px; border-top: 1px solid var(--hair); background: var(--ledger); }
.footer__inner { max-width: var(--frame); margin: 0 auto; padding: 36px var(--gutter) 44px; }
.footer__column { max-width: var(--measure); margin: 0 auto; display: flex; flex-direction: column; gap: 18px; }
.footer__brand { font-size: 16px; font-weight: 700; letter-spacing: -0.3px; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 12px 22px; }
.footer__link { font-size: 15px; font-weight: 500; color: var(--annotation); }
.footer__statement { font-size: 13.5px; line-height: 1.65; color: var(--annotation); max-width: 66ch; }
.footer__legal { font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; color: var(--faint); }

/* ---------- draft banner ---------- */

/* Only ever present on `npm run build:draft` output, which is also noindex. */
.draft {
  background: var(--caution); color: var(--paper);
  padding: 10px var(--gutter); font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; text-align: center;
}
