:root {
  color-scheme: light dark;
  --paper: #f6f1e7;
  --ink: #211f1b;
  --muted: #625d53;
  --line: #b9ad98;
  --tape: #f2c230;
}

* { box-sizing: border-box; }
html { background: var(--paper); color: var(--ink); font-family: ui-sans-serif, system-ui, -apple-system, sans-serif; line-height: 1.6; }
body { margin: 0; }
a { color: inherit; font-weight: 650; text-decoration-thickness: 0.12em; text-underline-offset: 0.18em; }
a:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }
header, main, footer { margin: 0 auto; max-width: 48rem; padding: 1.5rem; }
header { align-items: center; display: flex; justify-content: space-between; }
nav { display: flex; flex-wrap: wrap; gap: 1rem; }
main { padding-bottom: 4rem; }
h1 { font-size: clamp(2.25rem, 8vw, 4.75rem); letter-spacing: -0.055em; line-height: 0.95; margin: 3.5rem 0 1.5rem; max-width: 12ch; }
h2 { border-top: 1px solid var(--line); font-size: 1.25rem; margin-top: 2.75rem; padding-top: 1rem; }
p, li { max-width: 70ch; }
.lede { color: var(--muted); font-size: 1.15rem; }
.mark { background: var(--tape); color: #17150f; display: inline-block; font-weight: 850; letter-spacing: -0.04em; padding: 0.25rem 0.55rem; transform: rotate(-1deg); }
.meta { color: var(--muted); font-size: 0.9rem; }
.callout { border-left: 0.4rem solid var(--tape); padding-left: 1rem; }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.actions a { border: 2px solid var(--ink); min-height: 48px; padding: 0.6rem 1rem; text-decoration: none; }
footer { border-top: 1px solid var(--line); color: var(--muted); }
@media (prefers-color-scheme: dark) {
  :root { --paper: #171613; --ink: #f6f1e7; --muted: #c5bcae; --line: #665f54; }
}
@media (max-width: 34rem) {
  header { align-items: flex-start; flex-direction: column; gap: 1rem; }
  h1 { margin-top: 2rem; }
  .actions { flex-direction: column; }
  .actions a { width: 100%; }
}
