:root {
  --bg: #fbfaf7;
  --fg: #1c1c1c;
  --muted: #6b6b6b;
  --line: #e4e1da;
  --accent: #1f3a8a;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #121212; --fg: #e9e7e2; --muted: #9a9a9a; --line: #2a2a2a; --accent: #8fa8ff; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font: 18px/1.65 Georgia, "Iowan Old Style", "Times New Roman", serif;
}
.wrap { max-width: 680px; margin: 0 auto; padding: 0 20px; }
.topline { font: 12px/1 system-ui, sans-serif; color: var(--muted); text-align: right; padding-top: 12px; }
.topline a { color: var(--muted); text-decoration: none; }
.topline a:hover { color: var(--fg); }
header { padding: 28px 0 0; }
.name { font-size: 22px; font-weight: bold; color: var(--fg); text-decoration: none; letter-spacing: .01em; }
nav { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 14px 0 0; padding-bottom: 14px; border-bottom: 1px solid var(--line);
  font: 15px/1.4 system-ui, -apple-system, sans-serif; }
nav a { color: var(--muted); text-decoration: none; }
nav a:hover, nav a[aria-current="page"] { color: var(--fg); }
nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 5px; }
main { padding: 36px 0 64px; }
h1 { font-size: 30px; line-height: 1.25; margin: 0 0 18px; }
h2 { font-size: 20px; margin: 32px 0 8px; }
a { color: var(--accent); }
ul { padding-left: 1.2em; }
li { margin: 4px 0; }
.lead { font-size: 20px; }
.muted { color: var(--muted); }
footer { border-top: 1px solid var(--line); padding: 18px 0 40px; font: 13px system-ui, sans-serif; color: var(--muted); }
