:root{--bg:#fbfaf7;--fg:#22211f;--muted:#6e6a63;--line:#e6e2da;--accent:#b4532a;--code:#f1eee8}
@media (prefers-color-scheme:dark){:root{--bg:#171615;--fg:#e9e6e0;--muted:#9a958c;--line:#2d2b28;--accent:#e08a5f;--code:#232120}}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--fg);font:17px/1.65 Charter,"Bitstream Charter","Sitka Text",Cambria,Georgia,serif}
a{color:var(--accent);text-decoration-thickness:1px;text-underline-offset:2px}
.wrap{max-width:680px;margin:0 auto;padding:0 20px}
header.site{border-bottom:1px solid var(--line);margin-bottom:40px}
header.site .wrap{display:flex;align-items:center;justify-content:space-between;height:64px;gap:16px}
.brand{display:flex;align-items:center;gap:10px;color:var(--fg);text-decoration:none;font-weight:700;font-family:system-ui,-apple-system,"Segoe UI",sans-serif}
.brand img{width:26px;height:26px}
nav a{font:15px system-ui,-apple-system,"Segoe UI",sans-serif;color:var(--muted);text-decoration:none;margin-left:18px}
nav a:hover{color:var(--fg)}
h1,h2,h3{font-family:system-ui,-apple-system,"Segoe UI",sans-serif;line-height:1.25;letter-spacing:-.01em}
h1{font-size:2rem;margin:0 0 .4em}
h2{font-size:1.3rem;margin:2em 0 .5em}
.intro{color:var(--muted);margin:0 0 40px}
.posts{list-style:none;padding:0;margin:0}
.posts li{padding:18px 0;border-top:1px solid var(--line)}
.posts li:last-child{border-bottom:1px solid var(--line)}
.posts a.t{font:600 1.1rem system-ui,-apple-system,"Segoe UI",sans-serif;color:var(--fg);text-decoration:none}
.posts a.t:hover{color:var(--accent)}
.posts p{margin:.25em 0 0;color:var(--muted);font-size:.95rem}
time,.meta{font:14px system-ui,-apple-system,"Segoe UI",sans-serif;color:var(--muted)}
article p,article li{hyphens:auto}
pre,code{font:14px/1.5 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;background:var(--code);border-radius:4px}
code{padding:1px 5px}
pre{padding:14px 16px;overflow-x:auto}
pre code{padding:0;background:none}
blockquote{margin:1.2em 0;padding:0 0 0 16px;border-left:3px solid var(--line);color:var(--muted)}
figure{margin:28px 0}
figure svg{width:100%;height:auto;display:block;border-radius:6px}
figcaption{font:14px system-ui,-apple-system,sans-serif;color:var(--muted);margin-top:6px}
footer.site{margin-top:64px;border-top:1px solid var(--line);padding:24px 0 48px;font:14px system-ui,-apple-system,sans-serif;color:var(--muted)}
footer.site .wrap{display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px}
footer.site a{color:var(--muted)}
.center{min-height:70vh;display:flex;flex-direction:column;justify-content:center;align-items:flex-start}
