@font-face { font-family: "Bricolage Grotesque"; font-weight: 800; src: url("/fonts/bricolage-grotesque-800-latin.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Instrument Sans"; font-weight: 400 700; src: url("/fonts/instrument-sans-latin.woff2") format("woff2"); font-display: swap; }

:root {
  --paper: #f2f4f6;
  --sheet: #ffffff;
  --ink: #18212b;
  --muted: #5b6672;
  --line: #d8dde3;
  --accent: #e8590c;
  --link: #1c6dd0;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root { --paper: #12171d; --sheet: #1a2129; --ink: #e8edf2; --muted: #9aa6b2; --line: #2c3540; --accent: #ff7a33; --link: #6fb0ff; }
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1rem/1.6 "Instrument Sans", system-ui, sans-serif; }
main { max-width: 42rem; margin: 0 auto; padding: 1.5rem 1rem 3rem; }
header.top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 0.75rem 1rem; max-width: 42rem; margin: 0 auto; font-size: 0.9rem; }
header.top a { font-weight: 700; color: var(--ink); text-decoration: none; }
h1, h2 { font-family: "Bricolage Grotesque", system-ui, sans-serif; font-weight: 800; line-height: 1.15; }
h1 { font-size: 2rem; margin: 0.5rem 0 0.25rem; }
h2 { font-size: 1.25rem; margin: 2rem 0 0.5rem; }
a { color: var(--link); }
.sub { color: var(--muted); margin: 0 0 1.5rem; }
.card { background: var(--sheet); border: 1px solid var(--line); border-radius: 16px; padding: 1rem 1.25rem; }
ul { padding-left: 1.25rem; }
li { margin: 0.35rem 0; }
.links { list-style: none; padding: 0; display: grid; gap: 0.75rem; }
.links a { display: block; background: var(--sheet); border: 1px solid var(--line); border-radius: 12px; padding: 0.85rem 1rem; font-weight: 700; text-decoration: none; }
.links a small { display: block; color: var(--muted); font-weight: 400; }
.updated { color: var(--muted); font-size: 0.85rem; }
footer { color: var(--muted); font-size: 0.85rem; text-align: center; padding: 1rem; }
