:root {
  --fg: #1c1c1c;
  --muted: #5c5c5c;
  --bg: #fdfdfb;
  --rule: #e0ded8;
  --link: #1a4f7a;
}
@media (prefers-color-scheme: dark) {
  :root { --fg:#e6e4df; --muted:#9b978e; --bg:#161614; --rule:#2e2c28; --link:#8ab4d8; }
}
* { box-sizing: border-box; }
body {
  margin: 0 auto;
  padding: 2.5rem 1rem 4rem;
  max-width: 38rem;
  font: 16px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--fg);
  background: var(--bg);
}
header { border-bottom: 1px solid var(--rule); padding-bottom: 1rem; margin-bottom: 2rem; }
header a { font-weight: 600; text-decoration: none; }
nav a { margin-right: 1rem; }
a { color: var(--link); }
h1 { font-size: 1.5rem; line-height: 1.25; margin: 0 0 .4rem; }
h2 { font-size: 1.15rem; margin: 2rem 0 .5rem; }
time, .muted { color: var(--muted); font-size: .9rem; }
ul.notes { list-style: none; padding: 0; }
ul.notes li { padding: .55rem 0; border-bottom: 1px solid var(--rule); }
pre {
  background: rgba(127,127,127,.09);
  padding: .8rem;
  overflow-x: auto;
  border-radius: 4px;
  font-size: .88rem;
}
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
footer { margin-top: 3rem; padding-top: 1rem; border-top: 1px solid var(--rule); }
