:root {
  --bg: #faf7f2;
  --fg: #2b2622;
  --muted: #7a6f66;
  --accent: #9a5b2e;
  --line: #e6ded3;
  --card: #fffdf9;
  --max: 720px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1c1916;
    --fg: #ece5dc;
    --muted: #a3978b;
    --accent: #d9935c;
    --line: #342e29;
    --card: #232019;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 17px/1.65 Georgia, "Times New Roman", serif;
}
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
header.site {
  border-bottom: 1px solid var(--line);
  padding: 28px 0 18px;
}
header.site .wrap { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.logo { font-size: 26px; font-weight: bold; color: var(--fg); text-decoration: none; letter-spacing: .5px; }
.logo span { color: var(--accent); }
nav a { margin-left: 18px; color: var(--muted); text-decoration: none; font-family: system-ui, sans-serif; font-size: 15px; }
nav a:first-child { margin-left: 0; }
nav a:hover, nav a.on { color: var(--fg); }
.tagline { color: var(--muted); font-style: italic; margin: 6px 0 0; width: 100%; }
main { padding: 36px 0 48px; }
h1 { font-size: 32px; line-height: 1.25; margin: 0 0 8px; }
h2 { font-size: 23px; line-height: 1.3; margin: 34px 0 10px; }
.meta { color: var(--muted); font: 14px/1.4 system-ui, sans-serif; margin: 0 0 22px; }
.post-list { list-style: none; margin: 0; padding: 0; }
.post-list li { padding: 22px 0; border-bottom: 1px solid var(--line); }
.post-list li:last-child { border-bottom: 0; }
.post-list h2 { margin: 0 0 4px; font-size: 22px; }
.post-list h2 a { color: var(--fg); text-decoration: none; }
.post-list h2 a:hover { color: var(--accent); }
.post-list p { margin: 6px 0 0; }
blockquote {
  margin: 22px 0; padding: 4px 18px;
  border-left: 3px solid var(--accent);
  color: var(--muted); font-style: italic;
}
.note {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 6px; padding: 14px 18px; margin: 22px 0;
  font-size: 16px;
}
ul.plain li, ol.plain li { margin: 4px 0; }
footer.site {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font: 14px/1.5 system-ui, sans-serif;
  padding: 20px 0 36px;
}
.center { text-align: center; }
.big404 { font-size: 72px; margin: 20px 0 0; color: var(--accent); }
