:root {
  --ink: #1d2327;
  --muted: #5d6970;
  --paper: #fbfaf7;
  --rule: #dcd8cf;
  --accent: #2f6f8f;
}
@media (prefers-color-scheme: dark) {
  :root { --ink: #e4e2dc; --muted: #9aa3a8; --paper: #171a1c; --rule: #2e3336; --accent: #7fb8d4; }
}
* { box-sizing: border-box; }
body {
  margin: 0 auto;
  max-width: 42rem;
  padding: 2rem 1rem 4rem;
  background: var(--paper);
  color: var(--ink);
  font: 1.05rem/1.6 Georgia, "Times New Roman", serif;
}
header { border-bottom: 1px solid var(--rule); margin-bottom: 2rem; padding-bottom: 1rem; }
header a.home { color: var(--ink); font-size: 1.3rem; font-weight: bold; text-decoration: none; }
nav { margin-top: .4rem; font: .9rem/1.4 system-ui, sans-serif; }
nav a { margin-right: 1rem; }
a { color: var(--accent); }
h1 { font-size: 1.7rem; line-height: 1.25; margin: 0 0 .5rem; }
h2 { font-size: 1.2rem; margin: 2rem 0 .5rem; }
.date, footer { color: var(--muted); font: .85rem/1.4 system-ui, sans-serif; }
ul.notes { list-style: none; padding: 0; }
ul.notes li { margin: 0 0 1.2rem; }
ul.notes a { font-size: 1.1rem; }
table { border-collapse: collapse; font: .9rem/1.4 system-ui, sans-serif; margin: 1rem 0; width: 100%; }
th, td { border-bottom: 1px solid var(--rule); padding: .35rem .5rem; text-align: left; }
td.n, th.n { text-align: right; font-variant-numeric: tabular-nums; }
code, pre { font: .88rem/1.5 ui-monospace, Consolas, monospace; }
pre { background: rgba(127, 127, 127, .12); overflow-x: auto; padding: .8rem; }
footer { border-top: 1px solid var(--rule); margin-top: 3rem; padding-top: 1rem; }
