:root{--bg:#fbfaf8;--fg:#1d1d1f;--muted:#6b6b70;--line:#e8e6e1;--card:#fff;--accent:#2f6fde;--accent-soft:#e8f0fd;--code:#f3f1ed}
@media (prefers-color-scheme:dark){:root{--bg:#141416;--fg:#ececef;--muted:#9a9aa3;--line:#2a2a2f;--card:#1b1b1f;--accent:#7aa5ff;--accent-soft:#1f2940;--code:#222227}}
*{box-sizing:border-box}html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--fg);font:17px/1.7 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif}
a{color:var(--accent);text-decoration:none}a:hover{text-decoration:underline}
.wrap{max-width:760px;margin:0 auto;padding:0 20px}
header.site{border-bottom:1px solid var(--line);background:var(--bg);position:sticky;top:0;z-index:5;backdrop-filter:saturate(1.2) blur(6px)}
header.site .wrap{display:flex;align-items:center;justify-content:space-between;height:60px}
.logo{font-weight:700;font-size:18px;color:var(--fg);letter-spacing:-.01em}.logo span{color:var(--accent)}
nav a{color:var(--muted);margin-left:22px;font-size:15px}nav a:hover{color:var(--fg);text-decoration:none}
.hero{padding:64px 0 40px}.hero h1{font-size:40px;line-height:1.15;margin:0 0 14px;letter-spacing:-.02em}
.hero p{color:var(--muted);font-size:19px;margin:0;max-width:560px}
.avatar{width:64px;height:64px;border-radius:50%;background:linear-gradient(135deg,#2f6fde,#8b5cf6);display:grid;place-items:center;color:#fff;font-weight:700;font-size:24px;margin-bottom:22px}
.tags{display:flex;flex-wrap:wrap;gap:8px;margin:22px 0 0}.tag{font-size:13px;padding:3px 10px;border-radius:999px;background:var(--accent-soft);color:var(--accent)}
h2.section{font-size:14px;text-transform:uppercase;letter-spacing:.08em;color:var(--muted);margin:40px 0 8px;font-weight:600}
.post-item{display:block;padding:22px 0;border-bottom:1px solid var(--line);color:inherit}.post-item:hover{text-decoration:none}
.post-item h3{margin:0 0 6px;font-size:21px;letter-spacing:-.01em}.post-item:hover h3{color:var(--accent)}
.post-item p{margin:0;color:var(--muted);font-size:16px}.meta{font-size:14px;color:var(--muted);margin-bottom:6px}
article{padding:48px 0 24px}article h1{font-size:34px;line-height:1.2;margin:8px 0 10px;letter-spacing:-.02em}
article h2{font-size:24px;margin:36px 0 10px}article p,article li{font-size:17px}
pre{background:var(--code);padding:16px 18px;border-radius:10px;overflow-x:auto;font-size:14px;line-height:1.55;border:1px solid var(--line)}
code{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.9em}p code,li code{background:var(--code);padding:2px 6px;border-radius:5px}
blockquote{margin:20px 0;padding:4px 18px;border-left:3px solid var(--accent);color:var(--muted)}
.back{display:inline-block;margin-top:28px;font-size:15px}
footer{border-top:1px solid var(--line);margin-top:56px;padding:28px 0 40px;color:var(--muted);font-size:14px}
footer .wrap{display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px}
@media (max-width:560px){.hero h1{font-size:30px}.hero{padding:40px 0 24px}nav a{margin-left:14px}article h1{font-size:27px}}
