:root{--bg:#fbfaf7;--fg:#22252a;--muted:#6b7280;--line:#e4e1d9;--accent:#0b6e5f;--code:#f1efe9}
@media (prefers-color-scheme:dark){:root{--bg:#16181c;--fg:#e3e1dc;--muted:#9aa0aa;--line:#2c3038;--accent:#5fc9b5;--code:#1f2228}}
*{box-sizing:border-box}
body{margin:0;background:var(--bg);color:var(--fg);font:17px/1.65 Georgia,'Times New Roman',serif}
.wrap{max-width:720px;margin:0 auto;padding:0 20px}
header{border-bottom:1px solid var(--line);padding:28px 0 18px;margin-bottom:36px}
header .wrap{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:8px 24px}
.brand{font:700 22px/1.2 ui-monospace,Menlo,Consolas,monospace;color:var(--fg);text-decoration:none}
.brand span{color:var(--accent)}
nav a{font:14px ui-monospace,Menlo,Consolas,monospace;color:var(--muted);text-decoration:none;margin-left:18px}
nav a:first-child{margin-left:0}
nav a:hover,a:hover{color:var(--accent)}
a{color:var(--accent)}
h1{font-size:30px;line-height:1.25;margin:0 0 6px}
h2{font-size:21px;margin:34px 0 10px}
.meta{font:13px ui-monospace,Menlo,Consolas,monospace;color:var(--muted);margin:0 0 26px}
.lead{color:var(--muted);margin:0 0 34px}
ul.posts{list-style:none;padding:0;margin:0}
ul.posts li{padding:16px 0;border-top:1px solid var(--line)}
ul.posts a{font-size:20px;text-decoration:none;color:var(--fg)}
ul.posts a:hover{color:var(--accent)}
ul.posts p{margin:4px 0 0;color:var(--muted);font-size:15px}
ul.posts time,.tag{font:13px ui-monospace,Menlo,Consolas,monospace;color:var(--muted)}
.tag{margin-left:10px;color:var(--accent)}
code{font:14px ui-monospace,Menlo,Consolas,monospace;background:var(--code);padding:2px 5px;border-radius:3px}
pre{background:var(--code);padding:14px 16px;border-radius:5px;overflow-x:auto;line-height:1.5;border:1px solid var(--line)}
pre code{background:none;padding:0}
footer{border-top:1px solid var(--line);margin-top:56px;padding:22px 0 40px;color:var(--muted);font:13px ui-monospace,Menlo,Consolas,monospace}
.back{display:inline-block;margin-top:34px;font:14px ui-monospace,Menlo,Consolas,monospace}
