:root {
  --bg: #fbfaf7;
  --fg: #1f2328;
  --muted: #6a6f76;
  --accent: #2f6f5e;
  --rule: #e4e1da;
  --code: #f1efe9;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #15171a;
    --fg: #e6e4df;
    --muted: #9aa0a6;
    --accent: #7cc0a8;
    --rule: #2a2d31;
    --code: #1f2226;
  }
}
* { box-sizing: border-box; }
html { font-size: 17px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 1rem/1.65 Georgia, "Iowan Old Style", "Times New Roman", serif;
}
.wrap { max-width: 42rem; margin: 0 auto; padding: 2.5rem 1rem 4rem; }
header.site { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; border-bottom: 1px solid var(--rule); padding-bottom: 1rem; margin-bottom: 2rem; }
header.site a.name { font: 600 1.15rem/1 system-ui, sans-serif; color: var(--fg); text-decoration: none; letter-spacing: .02em; }
nav a { font: .9rem system-ui, sans-serif; color: var(--muted); text-decoration: none; margin-left: 1rem; }
nav a:hover, a { color: var(--accent); }
h1 { font-size: 1.9rem; line-height: 1.2; margin: 0 0 .4rem; }
h2 { font-size: 1.25rem; margin: 2rem 0 .5rem; }
.meta { font: .85rem system-ui, sans-serif; color: var(--muted); margin-bottom: 1.5rem; }
ul.posts { list-style: none; padding: 0; margin: 0; }
ul.posts li { padding: .9rem 0; border-bottom: 1px solid var(--rule); }
ul.posts li span { display: block; font: .8rem system-ui, sans-serif; color: var(--muted); }
ul.posts a { font-size: 1.1rem; text-decoration: none; }
pre, code { font: .85rem/1.5 ui-monospace, "SFMono-Regular", Menlo, monospace; background: var(--code); }
pre { padding: .8rem 1rem; overflow-x: auto; border-radius: 4px; }
code { padding: .1rem .25rem; border-radius: 3px; }
pre code { padding: 0; }
blockquote { margin: 1rem 0; padding-left: 1rem; border-left: 3px solid var(--rule); color: var(--muted); }
footer { margin-top: 3rem; padding-top: 1rem; border-top: 1px solid var(--rule); font: .8rem system-ui, sans-serif; color: var(--muted); }
