:root {
  --bg: #fbfaf7; --fg: #23211d; --muted: #6f6a60; --line: #e6e1d6; --accent: #9a4f2c; --code: #f1ede4;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #1b1a18; --fg: #e9e5dc; --muted: #a19b8f; --line: #34312c; --accent: #e0915f; --code: #26241f; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font: 400 18px/1.65 Georgia, "Times New Roman", serif;
}
.wrap { max-width: 680px; margin: 0 auto; padding: 0 20px; }
header.site { padding: 36px 0 20px; display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
header.site a.logo { font: 700 22px/1 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--fg); text-decoration: none; letter-spacing: -.01em; }
header.site nav { font: 15px system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; display: flex; gap: 18px; }
header.site nav a { color: var(--muted); text-decoration: none; }
header.site nav a:hover { color: var(--fg); }
a { color: var(--accent); }
h1, h2, h3 { font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; line-height: 1.25; letter-spacing: -.01em; }
h1 { font-size: 32px; margin: 28px 0 8px; }
h2 { font-size: 22px; margin: 36px 0 8px; }
.meta { color: var(--muted); font: 14px system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
.intro { color: var(--muted); margin: 0 0 28px; }
ul.posts { list-style: none; padding: 0; margin: 0; }
ul.posts li { padding: 18px 0; border-top: 1px solid var(--line); }
ul.posts a.t { font: 600 19px/1.35 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--fg); text-decoration: none; }
ul.posts a.t:hover { color: var(--accent); }
ul.posts p { margin: 4px 0 0; color: var(--muted); font-size: 16px; }
article p, article li { margin: 0 0 1em; }
article ul, article ol { padding-left: 1.2em; }
code { background: var(--code); padding: .1em .35em; border-radius: 4px; font-size: .88em; }
pre { background: var(--code); padding: 14px 16px; border-radius: 8px; overflow-x: auto; font-size: 14px; line-height: 1.5; }
pre code { background: none; padding: 0; }
blockquote { margin: 0 0 1em; padding-left: 16px; border-left: 3px solid var(--line); color: var(--muted); }
footer.site { margin: 64px 0 40px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font: 14px system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
footer.site a { color: var(--muted); }
