/* plain: one column, readable, follows the system's light or dark. */
:root {
  --bg: #fafaf9; --fg: #1f1f1f; --muted: #6b6b6b; --line: #e4e2de;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #1b1b1d; --fg: #ececec; --muted: #9a9a9a; --line: #333336; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font: 18px/1.65 ui-serif, Georgia, "Iowan Old Style", serif;
}
.site-header, main, .site-footer { max-width: 42rem; margin: 0 auto; padding: 0 1.25rem; }
.site-header {
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; align-items: baseline; justify-content: space-between;
  padding-top: 2rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line);
  font-family: system-ui, sans-serif; font-size: 15px;
}
.site-name { font-weight: 700; font-size: 1.1rem; color: var(--fg); text-decoration: none; }
.site-header nav { display: flex; gap: 1.1rem; flex-wrap: wrap; }
.site-header nav a { color: var(--muted); text-decoration: none; }
.site-header nav a:hover, .site-header nav a[aria-current] { color: var(--accent); }
main { padding-top: 2rem; padding-bottom: 3rem; }
h1, h2, h3 { font-family: system-ui, sans-serif; line-height: 1.25; letter-spacing: -.01em; }
h1 { font-size: 2.1rem; margin: .2em 0 .6em; }
h2 { font-size: 1.4rem; margin-top: 2em; }
a { color: var(--accent); text-underline-offset: 3px; }
img { max-width: 100%; height: auto; border-radius: 6px; }
blockquote { margin: 1.5em 0; padding: .2em 1.2em; border-left: 3px solid var(--accent); color: var(--muted); }
code { font: .88em ui-monospace, monospace; background: color-mix(in srgb, var(--fg) 7%, transparent); padding: .1em .35em; border-radius: 4px; }
pre { overflow-x: auto; padding: 1rem; border-radius: 8px; background: color-mix(in srgb, var(--fg) 6%, transparent); }
pre code { background: none; padding: 0; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5em 0; }
.post-date { font: 14px system-ui, sans-serif; color: var(--muted); margin: 0; }
.post-list ul { list-style: none; padding: 0; }
.post-list li { display: flex; gap: 1rem; padding: .35rem 0; border-bottom: 1px solid var(--line); }
.post-list time { font: 14px/1.9 ui-monospace, monospace; color: var(--muted); flex: none; }
.site-footer { padding-bottom: 2.5rem; color: var(--muted); font: 14px system-ui, sans-serif; border-top: 1px solid var(--line); }
.post-list .summary { display: block; color: var(--muted); font-size: .9em; }
.post-list .lang { font: 12px ui-monospace, monospace; color: var(--muted); border: 1px solid var(--line); border-radius: 4px; padding: 0 .3em; }
