@font-face {
  font-family: 'Handbook';
  src: url('/media/type/reader-variable.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
:root {
  --paper: #f5f0e7;
  --sheet: #fffaf1;
  --ink: #302b25;
  --quiet: #62594e;
  --clay: #873e2b;
  --rule: #c6b9a6;
  --wash: #ebe0d0;
  --measure: 67ch;
  --width: 1224px;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 24px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Handbook', system-ui, sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-weight: 550; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 4.8vw, 4.5rem); line-height: 1.07; letter-spacing: -.04em; }
h2 { font-size: clamp(1.45rem, 2vw, 1.8rem); line-height: 1.25; letter-spacing: -.025em; }
h3 { font-size: 1.125rem; line-height: 1.4; }
p { max-width: var(--measure); }
p + p { margin-top: 14px; }
a { color: inherit; text-underline-offset: 5px; text-decoration-thickness: 1px; }
a:hover { color: var(--clay); }
button { font: inherit; cursor: pointer; }
button, a { -webkit-tap-highlight-color: #d7bd9f; }
:focus-visible { outline: 3px solid var(--clay); outline-offset: 4px; }
[hidden] { display: none !important; }
::selection { background: #d8c3a5; color: var(--ink); }
svg { display: block; max-width: 100%; }
img { max-width: 100%; height: auto; }
[class$='-skip'] {
  position: absolute;
  left: 18px;
  top: 12px;
  z-index: 10;
  min-height: 48px;
  display: flex;
  align-items: center;
  padding: 8px 16px;
  background: var(--ink);
  color: var(--sheet);
  transform: translateY(-200%);
}
[class$='-skip']:focus { transform: translateY(0); }
@media (max-width: 600px) {
  body { font-size: 18px; }
  h1 { font-size: 2.65rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
