/* Ink & Screentone, from design/tokens.md. System fonts fall back; no third-party requests. */
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/fonts/plus_jakarta_sans.ttf") format("truetype");
  font-weight: 200 800;
  font-display: swap;
}
:root {
  --ground: #f3f4f6;
  --surface: #ffffff;
  --ink: #15161a;
  --muted: #5b5f69;
  --border: #d5d8de;
  --accent: #d9472b;
  --danger-soft: #fcedea;
  --danger-body: #5b2a24;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ground: #0e0f12;
    --surface: #1b1c21;
    --ink: #f3f4f6;
    --muted: #b8bbc4;
    --border: #2f3138;
    --accent: #f06a4d;
    --danger-soft: #3a1d19;
    --danger-body: #f5c9c2;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font: 400 16px/1.6 "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}
a { color: var(--ink); text-decoration-color: var(--accent); text-underline-offset: 3px; text-decoration-thickness: 2px; }
a:hover { color: var(--accent); }
.wrap { max-width: 680px; margin: 0 auto; padding: 0 16px; }
header.top { padding: 24px 0 8px; }
header.top a { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -0.01em; text-decoration: none; font-size: 18px; }
header.top img { width: 28px; height: 28px; }
main { padding: 24px 0 48px; }
h1 { font-size: clamp(30px, 6vw, 38px); line-height: 1.1; letter-spacing: -0.035em; font-weight: 800; margin: 16px 0 12px; }
h2 { font-size: 20px; line-height: 1.25; letter-spacing: -0.01em; font-weight: 800; margin: 40px 0 8px; }
h3 { font-size: 16px; font-weight: 800; margin: 24px 0 4px; }
p, li { color: var(--ink); }
li { margin: 6px 0; }
.lede { font-size: 19px; color: var(--muted); max-width: 34em; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 4px 20px; margin: 28px 0; }
.card a.row { display: flex; justify-content: space-between; gap: 12px; padding: 16px 0; text-decoration: none; font-weight: 700; border-top: 1px solid var(--border); }
.card a.row:first-child { border-top: 0; }
.card a.row span { color: var(--muted); font-weight: 400; }
.draft { background: var(--danger-soft); color: var(--danger-body); border-radius: 12px; padding: 12px 16px; font-weight: 600; }
footer { border-top: 1px solid var(--border); padding: 20px 0 40px; color: var(--muted); font-size: 13px; }
