:root {
  --bg: #fbfaf7;
  --fg: #232323;
  --muted: #6b6b66;
  --line: #e4e1d8;
  --accent: #2f5d7c;
  --code-bg: #f1eee6;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #15171a;
    --fg: #e4e2dc;
    --muted: #9a9890;
    --line: #2a2d31;
    --accent: #8fb6d1;
    --code-bg: #1d2024;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.0625rem;
  line-height: 1.65;
}
.wrap { max-width: 40rem; margin: 0 auto; padding: 0 1.1rem; }
header.site { padding: 2rem 0 1rem; border-bottom: 1px solid var(--line); }
.brand { font-size: 1.35rem; font-weight: normal; margin: 0; }
.brand a { color: inherit; text-decoration: none; }
.tagline { margin: 0.2rem 0 0.9rem; color: var(--muted); font-size: 0.95rem; }
nav { display: flex; flex-wrap: wrap; gap: 0.4rem 1.1rem; font-size: 0.95rem; }
nav a { color: var(--accent); text-decoration: none; }
nav a:hover, nav a[aria-current="page"] { text-decoration: underline; }
main { padding: 1.6rem 0 2.4rem; }
h1 { font-size: 1.7rem; line-height: 1.25; font-weight: normal; margin: 0 0 0.4rem; }
h2 { font-size: 1.2rem; font-weight: normal; margin: 2rem 0 0.4rem; }
p, ul, ol, pre { margin: 0 0 1rem; }
ul, ol { padding-left: 1.4rem; }
li { margin: 0.25rem 0; }
a { color: var(--accent); }
.meta { color: var(--muted); font-size: 0.9rem; margin: 0 0 1.4rem; }
.lead { font-size: 1.1rem; margin-bottom: 1.8rem; }
code, pre { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.9rem; }
code { background: var(--code-bg); padding: 0.1rem 0.3rem; border-radius: 3px; }
pre { background: var(--code-bg); padding: 0.8rem 1rem; border-radius: 4px; overflow-x: auto; line-height: 1.5; }
pre code { background: none; padding: 0; }
ul.posts { list-style: none; padding: 0; }
ul.posts li { margin: 0 0 1.3rem; }
ul.posts .t { font-size: 1.12rem; }
ul.posts .t a { text-decoration: none; }
ul.posts .t a:hover { text-decoration: underline; }
ul.posts .s { margin: 0.1rem 0 0; }
.tag { color: var(--muted); font-size: 0.85rem; }
.back { margin-top: 2rem; }
footer.site { border-top: 1px solid var(--line); padding: 1.2rem 0 2.5rem; color: var(--muted); font-size: 0.88rem; }
