:root {
  --bg: #ffffff;
  --text: #111111;
  --muted: #5b5b60;
  --border: #e2e2e5;
  --link: #1e5aa8;
  --surface: #f5f5f7;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e0e10;
    --text: #f5f5f7;
    --muted: #a0a0a5;
    --border: #2c2c2e;
    --link: #6aa3ea;
    --surface: #1c1c1e;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
.wrap { max-width: 720px; margin: 0 auto; padding: 0 16px; }
.site-header { border-bottom: 1px solid var(--border); background: var(--surface); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding-top: 12px; padding-bottom: 12px; }
.brand { font-weight: 800; font-size: 1.15rem; color: var(--text); text-decoration: none; letter-spacing: 0.02em; }
nav { display: flex; flex-wrap: wrap; gap: 4px 16px; }
nav a { color: var(--muted); text-decoration: none; font-size: 0.95rem; }
nav a[aria-current="page"] { color: var(--text); font-weight: 600; text-decoration: underline; }
nav a:hover { color: var(--link); }
main { padding-top: 24px; padding-bottom: 40px; }
h1 { font-size: 1.6rem; line-height: 1.25; margin: 0 0 16px; }
h2 { font-size: 1.15rem; margin: 32px 0 8px; line-height: 1.3; }
h3 { font-size: 1rem; margin: 20px 0 6px; }
p { margin: 0 0 12px; }
ul, ol { margin: 0 0 12px; padding-left: 1.4em; }
li { margin: 4px 0; }
li > ul, li > ol { margin-top: 6px; margin-bottom: 4px; }
a { color: var(--link); }
code { font: 0.9em ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; background: var(--surface); padding: 1px 4px; border-radius: 4px; overflow-wrap: anywhere; }
.lead, .meta { color: var(--muted); margin-bottom: 8px; }
.site-footer { border-top: 1px solid var(--border); color: var(--muted); font-size: 0.9rem; }
.site-footer .wrap { padding-top: 16px; padding-bottom: 24px; }
.site-footer p { margin: 0; }
