:root { --fg:#1a1a1a; --muted:#666; --bg:#fff; --link:#0b57d0; --code:#f4f4f4; --rule:#e5e5e5; }
@media (prefers-color-scheme: dark) {
  :root { --fg:#e6e6e6; --muted:#9a9a9a; --bg:#121212; --link:#8ab4f8; --code:#1e1e1e; --rule:#2a2a2a; }
}
* { box-sizing: border-box; }
html { font-size: 18px; }
body { margin: 0 auto; max-width: 42rem; padding: 2rem 1.25rem 4rem; color: var(--fg); background: var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; line-height: 1.6; }
a { color: var(--link); }
header.site { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 1px solid var(--rule); padding-bottom: .75rem; margin-bottom: 2rem; }
header.site .name { font-weight: 600; color: var(--fg); text-decoration: none; }
header.site nav a { margin-left: 1rem; color: var(--muted); }
footer.site { margin-top: 4rem; border-top: 1px solid var(--rule); padding-top: .75rem; color: var(--muted); font-size: .85rem; }
footer.site a { color: var(--muted); }
h1 { font-size: 1.6rem; line-height: 1.25; margin: 0 0 .5rem; }
h2 { font-size: 1.2rem; margin-top: 2.25rem; }
h3 { font-size: 1rem; }
.meta, time { color: var(--muted); font-size: .85rem; }
.intro { color: var(--muted); }
ul.posts { list-style: none; padding: 0; }
ul.posts li { margin: .6rem 0; }
ul.posts time { display: inline-block; min-width: 6.5rem; font-variant-numeric: tabular-nums; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .85em; background: var(--code); padding: .1em .3em; border-radius: 3px; }
pre { background: var(--code) !important; padding: .9rem 1rem; overflow-x: auto; border-radius: 4px; font-size: .8rem; line-height: 1.45; }
pre code { background: none; padding: 0; }
table { border-collapse: collapse; width: 100%; font-size: .85rem; margin: 1rem 0; }
th, td { border-bottom: 1px solid var(--rule); padding: .4rem .5rem; text-align: left; vertical-align: top; }
blockquote { margin: 1rem 0; padding-left: 1rem; border-left: 3px solid var(--rule); color: var(--muted); }
