:root {
  --bg: #fbfaf7;
  --fg: #23211d;
  --muted: #6b665c;
  --accent: #2f5d62;
  --rule: #e4e0d6;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1b1c1e;
    --fg: #e6e3dc;
    --muted: #a39e93;
    --accent: #8cc2c7;
    --rule: #33352f;
  }
}
* { box-sizing: border-box; }
html { font-size: 112.5%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: Georgia, "Iowan Old Style", "Palatino Linotype", serif;
  line-height: 1.65;
}
.wrap { max-width: 40rem; margin: 0 auto; padding: 0 1rem; }
header.site { border-bottom: 1px solid var(--rule); padding: 1.5rem 0 1rem; }
header.site .wrap { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem; }
.brand { font-size: 1.35rem; font-weight: bold; color: var(--fg); text-decoration: none; letter-spacing: .01em; }
nav a { color: var(--muted); text-decoration: none; margin-left: 1rem; font-family: system-ui, sans-serif; font-size: .85rem; }
nav a:hover, nav a[aria-current] { color: var(--accent); }
main.wrap { padding-top: 2.25rem; padding-bottom: 3rem; }
h1 { font-size: 1.9rem; line-height: 1.25; margin: 0 0 .4rem; }
h2 { font-size: 1.3rem; margin: 2rem 0 .5rem; }
a { color: var(--accent); }
.meta { color: var(--muted); font-family: system-ui, sans-serif; font-size: .8rem; margin: 0 0 1.5rem; }
.lead { font-size: 1.08rem; color: var(--muted); }
ul.posts { list-style: none; padding: 0; margin: 0; }
ul.posts li { padding: 1.25rem 0; border-bottom: 1px solid var(--rule); }
ul.posts h2 { margin: 0 0 .25rem; font-size: 1.25rem; }
ul.posts h2 a { color: var(--fg); text-decoration: none; }
ul.posts h2 a:hover { color: var(--accent); }
ul.posts p { margin: .25rem 0 0; }
blockquote { margin: 1.5rem 0; padding-left: 1rem; border-left: 3px solid var(--rule); color: var(--muted); }
.tip { background: color-mix(in srgb, var(--accent) 8%, transparent); border-radius: 6px; padding: .75rem 1rem; font-size: .95rem; }
footer.site { border-top: 1px solid var(--rule); padding: 1.25rem 0 2rem; color: var(--muted); font-family: system-ui, sans-serif; font-size: .8rem; }
