/* Kerosene — one stylesheet for every page. Plain, readable, works offline and on a phone. */
:root{--bg:#f8f4ec;--card:#fffdf8;--ink:#1d1b18;--muted:#6a645a;--line:#e4dccd;--flame:#b5611a;--flame-soft:#f6e6d4}
@media (prefers-color-scheme:dark){:root{--bg:#151310;--card:#1d1a16;--ink:#ece6da;--muted:#a59d90;--line:#332e27;--flame:#e08a3c;--flame-soft:#2b2117}}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--ink);font:18px/1.65 Charter,"Iowan Old Style",Georgia,"Times New Roman",serif}
a{color:var(--flame);text-underline-offset:3px}
.wrap{max-width:40rem;margin:0 auto;padding:28px 20px 60px}
header.site{display:flex;align-items:baseline;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line);padding-bottom:14px;margin-bottom:28px}
header.site a.name{font:700 1.35rem/1.2 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;color:var(--ink);text-decoration:none;letter-spacing:.01em}
header.site a.name::before{content:"";display:inline-block;width:.55em;height:.8em;margin-right:.35em;border-radius:50% 50% 45% 45%;background:var(--flame);vertical-align:-.05em}
header.site nav a{font:500 .95rem system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;margin-left:14px}
h1{font:700 2rem/1.2 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;margin:0 0 10px;letter-spacing:-.01em}
h2{font:700 1.3rem/1.3 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;margin:2em 0 .5em}
h3{font:700 1.05rem/1.3 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;margin:1.6em 0 .4em}
.meta,.small{font:.9rem/1.5 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;color:var(--muted)}
.lede{font-size:1.12rem}
ul.posts{list-style:none;padding:0;margin:0}
ul.posts li{padding:14px 0;border-bottom:1px solid var(--line)}
ul.posts li a{font:600 1.08rem/1.35 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;text-decoration:none}
ul.posts li p{margin:4px 0 0}
.box{background:var(--card);border:1px solid var(--line);border-left:4px solid var(--flame);border-radius:10px;padding:14px 16px;margin:1.4em 0}
.box p:first-child{margin-top:0}.box p:last-child{margin-bottom:0}
.fr{background:var(--flame-soft);border-radius:10px;padding:14px 16px;margin:2em 0}
blockquote{margin:1.2em 0;padding-left:14px;border-left:3px solid var(--line);color:var(--muted)}
table{border-collapse:collapse;width:100%;font:.92rem/1.45 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;margin:1em 0}
th,td{border-bottom:1px solid var(--line);padding:7px 6px;text-align:left;vertical-align:top}
figure{margin:1.4em 0}figure svg{width:100%;height:auto}figcaption{font:.88rem/1.45 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;color:var(--muted);margin-top:6px}
ol.sources{font:.9rem/1.5 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;padding-left:1.2em}
footer.site{margin-top:48px;padding-top:14px;border-top:1px solid var(--line)}
code{font-size:.9em;background:var(--card);border:1px solid var(--line);border-radius:5px;padding:0 4px}
