:root {
  --bg: #fbfaf7;
  --fg: #23221f;
  --muted: #6d6a63;
  --rule: #e4e1da;
  --link: #2f5d8a;
  --code: #f1efe9;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #191a1c;
    --fg: #e6e4df;
    --muted: #9b988f;
    --rule: #2e2f32;
    --link: #8fb4d9;
    --code: #232427;
  }
}
* { box-sizing: border-box; }
html { font-size: 17px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 1rem/1.6 Charter, "Bitstream Charter", "Sitka Text", Cambria, Georgia, serif;
}
.wrap { max-width: 42rem; margin: 0 auto; padding: 2.5rem 1rem 4rem; }
header.site { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
header.site a.home { color: var(--fg); text-decoration: none; font-weight: 600; letter-spacing: .01em; }
header.site nav a { color: var(--muted); margin-left: 1rem; text-decoration: none; font-size: .9rem; }
header.site nav a:hover { color: var(--link); }
h1 { font-size: 1.6rem; line-height: 1.25; margin: 0 0 .4rem; }
h2 { font-size: 1.15rem; margin: 2rem 0 .5rem; }
p, ul, ol, pre { margin: 0 0 1rem; }
a { color: var(--link); }
.meta { color: var(--muted); font-size: .85rem; margin-bottom: 1.8rem; }
ul.posts { list-style: none; padding: 0; }
ul.posts li { display: flex; gap: 1rem; padding: .55rem 0; border-bottom: 1px solid var(--rule); }
ul.posts time { color: var(--muted); font: .82rem/1.9 ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; flex: 0 0 6.2rem; }
ul.posts a { text-decoration: none; }
ul.posts a:hover { text-decoration: underline; }
code, pre { font: .85rem/1.5 ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; background: var(--code); }
code { padding: .1em .3em; border-radius: 3px; }
pre { padding: .8rem 1rem; overflow-x: auto; border-radius: 4px; }
pre code { padding: 0; background: none; }
footer { margin-top: 3.5rem; padding-top: 1rem; border-top: 1px solid var(--rule); color: var(--muted); font-size: .8rem; }
