*,*::before,*::after{box-sizing:border-box}
:root{--fg:#171717;--muted:#525252;--faint:#737373;--line:#e5e5e5;--bg:#fff;--soft:#f5f5f5;--link:#171717;color-scheme:light dark}
@media (prefers-color-scheme:dark){:root{--fg:#f5f5f5;--muted:#a3a3a3;--faint:#8a8a8a;--line:#262626;--bg:#0a0a0a;--soft:#171717;--link:#f5f5f5}}
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;text-rendering:optimizeLegibility}
a{color:var(--link);text-decoration-thickness:1px;text-underline-offset:3px}
a:hover{text-decoration-thickness:2px}
img{max-width:100%;height:auto;display:block}
.site-header,.site-main,.site-footer{width:100%;max-width:44rem;margin:0 auto;padding:0 1.25rem}
.site-header{padding-top:1.5rem;padding-bottom:1.5rem;border-bottom:1px solid var(--line)}
.brand{display:inline-flex;align-items:center;gap:.75rem;text-decoration:none;font-weight:650;font-size:1.05rem}
.brand-logo{width:2.25rem;height:2.25rem;object-fit:contain;border-radius:6px}
.site-main{padding-top:2.5rem;padding-bottom:3rem;min-height:60vh}
.site-footer{border-top:1px solid var(--line);padding-top:1.5rem;padding-bottom:2.5rem;color:var(--faint);font-size:.875rem}
.intro{margin-bottom:2.5rem}
.intro h1{font-size:2.25rem;line-height:1.2;margin:0 0 .5rem;letter-spacing:-.02em}
.intro p{margin:0;color:var(--muted);font-size:1.1rem}
.post-list{list-style:none;margin:0;padding:0}
.post-item{padding:1.75rem 0;border-top:1px solid var(--line)}
.post-item:first-child{border-top:0;padding-top:0}
.post-link{text-decoration:none;display:block}
.post-link:hover h2{text-decoration:underline;text-underline-offset:4px}
.post-thumb{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:8px;margin-bottom:1rem;background:var(--soft)}
.post-item h2{font-size:1.45rem;line-height:1.3;margin:0 0 .4rem;letter-spacing:-.01em}
.post-excerpt{margin:0 0 .4rem;color:var(--muted)}
.post-meta{margin:0;color:var(--faint);font-size:.875rem}
.empty{color:var(--muted)}
.pagination{display:flex;justify-content:space-between;flex-direction:row-reverse;gap:1rem;margin-top:2.5rem;padding-top:1.5rem;border-top:1px solid var(--line)}
.post-header h1{font-size:2.4rem;line-height:1.15;margin:0 0 .75rem;letter-spacing:-.025em}
.post-header{margin-bottom:2rem}
.post-cover{margin:0 0 2rem}
.post-cover img{width:100%;border-radius:8px}
.post-body h2{font-size:1.6rem;line-height:1.3;margin:2.25rem 0 .75rem;letter-spacing:-.015em}
.post-body h3{font-size:1.3rem;line-height:1.35;margin:2rem 0 .5rem}
.post-body h4{font-size:1.1rem;margin:1.75rem 0 .5rem}
.post-body p,.post-body ul,.post-body ol,.post-body pre,.post-body blockquote,.post-body figure{margin:0 0 1.25rem}
.post-body ul,.post-body ol{padding-left:1.5rem}
.post-body li>p{margin:0 0 .35rem}
.post-body blockquote{border-left:3px solid var(--line);padding-left:1rem;color:var(--muted)}
.post-body code{font:.9em/1.5 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;background:var(--soft);padding:.1em .3em;border-radius:4px}
.post-body pre{background:var(--soft);padding:1rem;border-radius:8px;overflow-x:auto}
.post-body pre code{background:none;padding:0;font-size:.875rem}
.post-body figure img{border-radius:8px}
.not-found h1{font-size:2rem;margin:0 0 .5rem}
@media (max-width:600px){body{font-size:16px}.intro h1{font-size:1.8rem}.post-header h1{font-size:1.85rem}}
