:root {
  --bg: #ffffff;
  --fg: #16181d;
  --muted: #5b616e;
  --line: #e5e7eb;
  --accent: #111111;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #0f1115; --fg: #e8eaed; --muted: #a1a7b3; --line: #262a33; --accent: #8ab4ff; }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 17px/1.7 Georgia, "Times New Roman", serif; }
a { color: inherit; }
.wrap { max-width: 680px; margin: 0 auto; padding: 0 20px; }

header.site { border-bottom: 1px solid var(--line); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { font: 700 18px/1 system-ui, sans-serif; text-decoration: none; letter-spacing: -0.01em; }
nav a { font: 14px/1 system-ui, sans-serif; color: var(--muted); margin-left: 18px; text-decoration: none; }
nav a:hover { color: var(--fg); }

main { padding: 48px 0 64px; }
h1 { font-size: 30px; line-height: 1.25; margin: 0 0 10px; letter-spacing: -0.01em; }
h2 { font-size: 22px; margin: 0 0 8px; }
p { margin: 0 0 16px; }
.meta { font: 13px/1.4 system-ui, sans-serif; color: var(--muted); margin: 0 0 24px; }
.post { padding: 28px 0; border-bottom: 1px solid var(--line); }
.post:first-of-type { padding-top: 8px; }
.post:last-of-type { border-bottom: 0; }
.post p { margin: 0; }
.post .title { font: 700 20px/1.35 system-ui, sans-serif; }

footer.site { border-top: 1px solid var(--line); color: var(--muted); font: 13px/1.5 system-ui, sans-serif; padding: 20px 0; }

@media (max-width: 520px) {
  header.site .wrap { height: 54px; }
  nav a { margin-left: 12px; font-size: 13px; }
  h1 { font-size: 25px; }
}