:root { --bg: #ffffff; --fg: #1b1b1f; --muted: #5d5e66; --line: #e1e2ec; --accent: #3654c8; --note: #fff4e5; }
@media (prefers-color-scheme: dark) {
  :root { --bg: #121316; --fg: #e4e2e6; --muted: #a9a9b2; --line: #2e3036; --accent: #b8c4ff; --note: #2b2418; }
}
* { box-sizing: border-box; }
body { background: var(--bg); color: var(--fg); font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
       margin: 0 auto; max-width: 720px; padding: 0 16px; }
a { color: var(--accent); }
header.site { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0;
              border-bottom: 1px solid var(--line); }
header.site .brand { font-weight: 700; font-size: 1.15rem; color: var(--fg); text-decoration: none; }
header.site nav a { margin-left: 18px; text-decoration: none; }
header.site nav a[aria-current="page"] { color: var(--fg); font-weight: 600; }
main { padding: 8px 0 32px; }
h1 { font-size: 1.6rem; line-height: 1.25; } h2 { font-size: 1.15rem; margin-top: 1.8em; }
.muted { color: var(--muted); }
.lead { font-size: 1.15rem; }
.note { background: var(--note); border-radius: 8px; padding: 12px 16px; }
footer.site { border-top: 1px solid var(--line); color: var(--muted); font-size: 0.9rem; padding: 16px 0 32px; }
