:root {
  --bg: #fbfaf7;
  --fg: #1f1d1a;
  --muted: #6b665e;
  --accent: #8a5a2b;
  --line: #e7e2d9;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #161514;
    --fg: #e9e5de;
    --muted: #9b958b;
    --accent: #d39a5f;
    --line: #2c2a27;
  }
}
* { box-sizing: border-box; }
html { font-size: 17px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 1rem/1.65 Georgia, "Times New Roman", serif;
}
.wrap { max-width: 42rem; margin: 0 auto; padding: 3rem 1rem 4rem; }
header { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
header a.brand { font-weight: bold; font-size: 1.15rem; color: var(--fg); text-decoration: none; }
nav a { color: var(--muted); text-decoration: none; margin-left: 1rem; font-family: system-ui, sans-serif; font-size: .9rem; }
nav a:hover, a { color: var(--accent); }
h1 { font-size: 1.9rem; line-height: 1.25; margin: 2.5rem 0 .5rem; }
h2 { font-size: 1.2rem; margin: 2rem 0 .5rem; }
.meta { color: var(--muted); font-family: system-ui, sans-serif; font-size: .85rem; }
ul.posts { list-style: none; padding: 0; margin: 2rem 0; }
ul.posts li { padding: .9rem 0; border-top: 1px solid var(--line); }
ul.posts li:last-child { border-bottom: 1px solid var(--line); }
ul.posts a { font-size: 1.1rem; text-decoration: none; }
ul.posts p { margin: .25rem 0 0; color: var(--muted); }
pre { background: var(--line); padding: .8rem 1rem; overflow-x: auto; border-radius: 4px; font-size: .85rem; }
code { font-family: ui-monospace, Menlo, Consolas, monospace; }
footer { margin-top: 4rem; color: var(--muted); font-family: system-ui, sans-serif; font-size: .8rem; }
