:root{--bg:#faf8f4;--fg:#2b2a27;--muted:#7a756c;--accent:#b5562b;--line:#e7e2d9}
@media (prefers-color-scheme:dark){:root{--bg:#1c1b19;--fg:#e8e4dc;--muted:#9a948a;--accent:#e08a5c;--line:#33312d}}
*{box-sizing:border-box}
html{font-size:17px}
body{margin:0;background:var(--bg);color:var(--fg);font:1rem/1.7 Georgia,"Times New Roman",serif}
a{color:var(--accent);text-decoration:none}
a:hover{text-decoration:underline}
.wrap{max-width:680px;margin:0 auto;padding:0 20px}
header{border-bottom:1px solid var(--line);padding:28px 0 18px;margin-bottom:36px}
header .wrap{display:flex;justify-content:space-between;align-items:baseline;flex-wrap:wrap;gap:8px}
.brand{font-size:1.35rem;font-weight:bold;color:var(--fg)}
.brand span{color:var(--accent)}
nav a{margin-left:18px;color:var(--muted);font-family:system-ui,sans-serif;font-size:.9rem}
nav a:first-child{margin-left:0}
h1{font-size:1.9rem;line-height:1.25;margin:0 0 6px}
h2{font-size:1.3rem;margin:2em 0 .5em}
.meta{color:var(--muted);font-family:system-ui,sans-serif;font-size:.85rem;margin-bottom:28px}
.intro{color:var(--muted);margin-bottom:40px}
.post{padding:22px 0;border-bottom:1px solid var(--line)}
.post:last-child{border-bottom:0}
.post h2{margin:0 0 4px;font-size:1.25rem}
.post h2 a{color:var(--fg)}
.post p{margin:6px 0 0;color:var(--muted)}
article p{margin:0 0 1.2em}
blockquote{margin:1.5em 0;padding-left:16px;border-left:3px solid var(--accent);color:var(--muted);font-style:italic}
figure{margin:2em 0}
figure svg{width:100%;height:auto;display:block;border-radius:6px}
figcaption{color:var(--muted);font-size:.85rem;font-family:system-ui,sans-serif;margin-top:6px;text-align:center}
footer{border-top:1px solid var(--line);margin-top:60px;padding:24px 0 40px;color:var(--muted);font-family:system-ui,sans-serif;font-size:.8rem}
