:root { --bg: #fff; --fg: #1a1a1a; --muted: #666; --link: #0b57d0; --code: #f4f4f4; }
@media (prefers-color-scheme: dark) {
  :root { --bg: #121212; --fg: #e6e6e6; --muted: #999; --link: #8ab4f8; --code: #1e1e1e; }
}
* { box-sizing: border-box; }
body { margin: 0 auto; max-width: 42rem; padding: 2rem 1rem; background: var(--bg); color: var(--fg);
  font: 17px/1.65 system-ui, -apple-system, "Segoe UI", sans-serif; }
a { color: var(--link); }
header { margin-bottom: 2rem; }
header .site { font-weight: 700; font-size: 1.2rem; text-decoration: none; color: var(--fg); }
.posts { list-style: none; padding: 0; }
.posts li { margin: .5rem 0; }
time { color: var(--muted); font-variant-numeric: tabular-nums; margin-right: .5rem; }
article h1 { margin-bottom: .2rem; line-height: 1.2; }
pre { background: var(--code); padding: 1rem; overflow-x: auto; border-radius: 4px; }
code { font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; font-size: .9em; }
img { max-width: 100%; }
footer { margin-top: 3rem; color: var(--muted); font-size: .9rem; }
