:root {
  --bg: #fbfaf7;
  --text: #1f1d1a;
  --muted: #6b665e;
  --accent: #b4441f;
  --line: #e6e1d8;
  --code-bg: #f1ede5;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #171614;
    --text: #ebe7df;
    --muted: #a19b90;
    --accent: #f08a5d;
    --line: #2e2b27;
    --code-bg: #24221f;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.65 Georgia, "Times New Roman", serif;
}
.wrap { max-width: 42rem; margin: 0 auto; padding: 2.5rem 1rem 4rem; }
header.site { border-bottom: 1px solid var(--line); padding-bottom: 1rem; margin-bottom: 2rem; }
header.site a.title { color: var(--text); text-decoration: none; font-size: 1.6rem; font-weight: bold; }
header.site p { margin: .25rem 0 0; color: var(--muted); font-family: system-ui, sans-serif; font-size: .95rem; }
a { color: var(--accent); }
h1, h2, h3 { line-height: 1.25; }
h1 { font-size: 2rem; margin: 0 0 .5rem; }
.meta { color: var(--muted); font-family: system-ui, sans-serif; font-size: .9rem; margin-bottom: 2rem; }
ul.posts { list-style: none; padding: 0; }
ul.posts li { padding: 1rem 0; border-bottom: 1px solid var(--line); }
ul.posts a { font-size: 1.2rem; text-decoration: none; }
ul.posts .meta { margin: .25rem 0 0; }
code, pre { font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; font-size: .88em; background: var(--code-bg); }
code { padding: .1em .3em; border-radius: 3px; }
pre { padding: 1rem; overflow-x: auto; border-radius: 6px; line-height: 1.45; }
pre code { padding: 0; background: none; }
footer { margin-top: 3rem; padding-top: 1rem; border-top: 1px solid var(--line); color: var(--muted); font-family: system-ui, sans-serif; font-size: .85rem; }
