:root {
  --bg: #fdfaf3;
  --fg: #222;
  --muted: #6b6559;
  --link: #8a3b12;
  --rule: #d9d2c3;
  --code: #f1ebdd;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1d1c1a;
    --fg: #e4e0d6;
    --muted: #9b9486;
    --link: #e8c07d;
    --rule: #3a3833;
    --code: #2b2a28;
  }
}
* { box-sizing: border-box; }
html { font-size: 18px; }
body {
  max-width: 44rem;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3rem;
  background: var(--bg);
  color: var(--fg);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.6;
}
a { color: var(--link); }
a:hover { text-decoration-thickness: 2px; }
header { text-align: center; margin-bottom: 2rem; border-bottom: 1px solid var(--rule); padding-bottom: 1rem; }
.site-title { margin: 0 0 .5rem; font-size: 2.2rem; letter-spacing: .02em; }
.site-title a { color: var(--fg); text-decoration: none; }
nav a { margin: 0 .5rem; font-family: system-ui, sans-serif; font-size: .9rem; text-transform: uppercase; letter-spacing: .06em; text-decoration: none; }
nav a.current { text-decoration: underline; }
h1, h2, h3 { line-height: 1.25; }
h2 { border-bottom: 1px solid var(--rule); padding-bottom: .2rem; margin-top: 2.2rem; }
img { max-width: 100%; height: auto; }
hr { border: 0; border-top: 1px solid var(--rule); }
blockquote { margin: 1rem 0; padding-left: 1rem; border-left: 3px solid var(--link); color: var(--muted); }
code { background: var(--code); padding: .1em .3em; border-radius: 3px; font-size: .85em; }
pre { background: var(--code); padding: .8rem 1rem; overflow-x: auto; border-radius: 4px; }
pre code { padding: 0; background: none; }
.post-list { list-style: none; padding: 0; }
.post-list li { margin: .35rem 0; }
.post-list time, .meta { color: var(--muted); font-family: ui-monospace, monospace; font-size: .85rem; }
.post-nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 3rem; font-size: .9rem; }
footer { margin-top: 3rem; text-align: center; color: var(--muted); font-size: .9rem; }
.small { font-size: .8rem; }
