:root { --bg: #faf8f4; --fg: #2b2a28; --muted: #77736b; --accent: #a4502f; --line: #e6e1d8; }
@media (prefers-color-scheme: dark) {
  :root { --bg: #1c1b19; --fg: #e9e5dd; --muted: #a39e94; --accent: #e08a62; --line: #34322e; }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 17px/1.65 Georgia, "Times New Roman", serif; }
header, main, footer { max-width: 720px; margin: 0 auto; padding: 0 20px; }
header { display: flex; justify-content: space-between; align-items: baseline; padding-top: 28px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
header a.brand { font-size: 22px; color: var(--fg); text-decoration: none; letter-spacing: .02em; }
nav a { margin-left: 18px; color: var(--muted); text-decoration: none; font-family: system-ui, sans-serif; font-size: 15px; }
nav a:hover, a { color: var(--accent); }
main { padding-top: 24px; padding-bottom: 40px; }
h1 { font-weight: normal; font-size: 30px; margin: 8px 0 4px; }
h2 { font-weight: normal; font-size: 22px; margin: 32px 0 4px; }
.meta { color: var(--muted); font: 14px system-ui, sans-serif; margin: 0 0 10px; }
article { border-bottom: 1px solid var(--line); padding-bottom: 18px; }
table { border-collapse: collapse; font: 15px system-ui, sans-serif; margin: 12px 0; }
td, th { border-bottom: 1px solid var(--line); padding: 6px 14px 6px 0; text-align: left; }
footer { color: var(--muted); font: 13px system-ui, sans-serif; padding-bottom: 32px; }
