:root {
  --bg: #f7f5f0;
  --text: #22252a;
  --muted: #6b6f76;
  --accent: #2f5d62;
  --line: #e2ded5;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #16181b; --text: #e6e3dc; --muted: #9a9ea6; --accent: #8fbfc4; --line: #2a2d32; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 18px/1.65 Georgia, "Times New Roman", serif;
}
.wrap { max-width: 680px; margin: 0 auto; padding: 32px 16px 64px; }
header { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  border-bottom: 1px solid var(--line); padding-bottom: 16px; margin-bottom: 32px; }
header a.logo { font-size: 22px; color: var(--text); text-decoration: none; letter-spacing: .01em; }
nav a { color: var(--muted); text-decoration: none; margin-left: 16px; font: 15px/1 system-ui, sans-serif; }
nav a:first-child { margin-left: 0; }
nav a:hover, a { color: var(--accent); }
h1 { font-size: 30px; line-height: 1.25; margin: 0 0 8px; }
h2 { font-size: 22px; margin: 0 0 4px; }
.date { color: var(--muted); font: 14px/1.4 system-ui, sans-serif; margin-bottom: 24px; }
.post-list { list-style: none; padding: 0; margin: 0; }
.post-list li { padding: 20px 0; border-bottom: 1px solid var(--line); }
.post-list a { text-decoration: none; }
.post-list p { margin: 6px 0 0; color: var(--muted); }
figure { margin: 28px 0; }
figure svg { width: 100%; height: auto; display: block; border-radius: 6px; }
figcaption { color: var(--muted); font: 14px/1.4 system-ui, sans-serif; margin-top: 8px; }
footer { margin-top: 56px; color: var(--muted); font: 14px/1.4 system-ui, sans-serif; }
