@font-face { font-family: "Instrument Sans"; src: url("fonts/instrument-sans-latin.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap }
@font-face { font-family: "Source Serif 4"; src: url("fonts/source-serif-4-latin.woff2") format("woff2"); font-weight: 200 900; font-style: normal; font-display: swap }
:root {
  --bg: #f5efe3; --text: #1e2a30; --muted: #5b625f; --accent: #1d5c63;
  --accent-text: #ffffff; --focus: #a8432c; --surface: #ebe1cc; --rule: #a8432c;
  --max: 46rem; color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #10191c; --text: #ece5d6; --muted: #a6ada8; --accent: #7cc3bf; --accent-text: #10191c;
    --surface: #18252a; --rule: #e58e70; --focus: #e58e70; color-scheme: dark; }
}
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 100%; }
body { margin: 0; background: var(--bg); color: var(--text);
  font: 17px/1.55 "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif; }
a { color: var(--accent); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: var(--bg); padding: 8px 12px; }
header, main, footer { max-width: var(--max); margin: 0 auto; padding-inline: 16px; }
header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 24px; }
header img { display: block; height: 40px; width: auto; }
header nav a { display: inline-flex; align-items: center; min-height: 44px; }
h1, h2 { font-family: "Source Serif 4", Georgia, serif; line-height: 1.2; text-wrap: balance; }
h1 { font-size: clamp(30px, 6vw, 44px); font-weight: 400; margin: 40px 0 16px; }
h1::before { content: ""; display: block; width: 48px; height: 3px; background: var(--rule); margin-bottom: 20px; }
h2 { font-size: 22px; margin: 40px 0 8px; }
h3 { font-size: 17px; margin: 24px 0 4px; }
p, li { max-width: 62ch; }
.lead { font-size: 20px; color: var(--muted); }
.cards { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); padding: 0; list-style: none; }
.cards li { background: var(--surface); border-radius: 8px; padding: 16px; }
.cards h3 { margin-top: 0; }
.draft { border-left: 4px solid var(--rule); background: var(--surface); padding: 12px 16px; }
mark { background: var(--surface); color: var(--text); outline: 2px dashed var(--rule); }
footer { padding-block: 40px; color: var(--muted); font-size: 14px; }
footer a { display: inline-flex; align-items: center; min-height: 44px; }
.terms h2 { font-size: 19px; }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
