
:root { --max: 760px; --fg: #111; --muted: #666; --border: #e5e5e5; --accent: #0b62ff; }
* { box-sizing: border-box; }
body { margin: 0; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; line-height: 1.65; color: var(--fg); }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.site-header, .site-footer { display: flex; justify-content: space-between; align-items: baseline; padding: 1rem clamp(1rem,5vw,2rem); border-bottom: 1px solid var(--border); flex-wrap: wrap; gap: .5rem; }
.site-footer { border-top: 1px solid var(--border); border-bottom: none; justify-content: center; color: var(--muted); font-size: .85rem; }
.brand { font-weight: 700; color: var(--fg); }
.brand:hover { text-decoration: none; }
main { width: 100%; max-width: var(--max); margin: 0 auto; padding: clamp(1.5rem,5vw,3rem) 1.5rem; }
.hero h1 { line-height: 1.2; }
.cta { display: inline-block; background: var(--accent); color: #fff; padding: .6rem 1.1rem; border-radius: 6px; }
.cta:hover { text-decoration: none; opacity: .9; }
.post-list, .recent { margin-top: 2rem; display: flex; flex-direction: column; gap: 2rem; }
.post-card, .post { border-bottom: 1px solid var(--border); padding-bottom: 1.5rem; }
.post-card:last-child, .post:last-child { border-bottom: none; }
.meta { color: var(--muted); font-size: .9rem; margin-bottom: 1rem; }
.tags { margin: 1rem 0; display: flex; gap: .5rem; flex-wrap: wrap; }
.tag { background: #f2f2f2; padding: .2rem .6rem; border-radius: 4px; font-size: .8rem; }
.prose img { max-width: 100%; height: auto; }
.prose pre { background: #f6f6f6; padding: 1rem; border-radius: 6px; overflow-x: auto; }
.prose code { background: #f6f6f6; padding: .15rem .35rem; border-radius: 3px; }
.prose pre code { background: none; padding: 0; }
.prose h2, .prose h3 { scroll-margin-top: 2rem; }
.prose ul, .prose ol { padding-left: 1.4rem; }
