:root { --bg:#fff; --fg:#1a1a1a; --muted:#6b6b6b; --link:#0b5fff; --rule:#e5e5e5; }
@media (prefers-color-scheme: dark) {
  :root { --bg:#111; --fg:#e8e8e8; --muted:#8a8a8a; --link:#6ea2ff; --rule:#2a2a2a; }
}
* { box-sizing: border-box; }
body { margin:0; background:var(--bg); color:var(--fg);
  font:16px/1.65 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace; }
header,main,footer { max-width:42rem; margin:0 auto; padding:1rem; }
header { display:flex; justify-content:space-between; align-items:baseline; padding-top:2rem; }
.brand { font-weight:700; color:var(--fg); text-decoration:none; }
nav a { margin-left:1rem; }
a { color:var(--link); }
h1,h2,h3 { line-height:1.25; }
h1 { font-size:1.5rem; }
.meta, footer { color:var(--muted); font-size:.875rem; }
footer { border-top:1px solid var(--rule); margin-top:3rem; padding-bottom:3rem; }
ul.posts { list-style:none; padding:0; }
ul.posts li { display:flex; gap:1rem; margin:.5rem 0; }
ul.posts time { color:var(--muted); flex:none; }
pre { overflow-x:auto; padding:1rem; border:1px solid var(--rule); }
code { font-family:inherit; }
img { max-width:100%; }
blockquote { margin:1rem 0; padding-left:1rem; border-left:3px solid var(--rule); color:var(--muted); }
iframe, embed { display:block; width:100%; border:1px solid var(--rule); }
embed[type="application/pdf"] { height:32rem; }
iframe { aspect-ratio:16/9; height:auto; }
figure { margin:1.5rem 0; }
figcaption { color:var(--muted); font-size:.875rem; }
