:root {
  --bg: #fbfaf7;
  --fg: #22211f;
  --muted: #6d6a63;
  --line: #e4e0d6;
  --link: #1f5f8b;
  --code-bg: #f1eee6;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1b1a18;
    --fg: #e7e4dc;
    --muted: #9b968b;
    --line: #34322d;
    --link: #8cc0e6;
    --code-bg: #26241f;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 17px/1.65 Charter, "Iowan Old Style", Georgia, "Times New Roman", serif;
}
.wrap { max-width: 42rem; margin: 0 auto; padding: 2.5rem 1.25rem 4rem; }
a { color: var(--link); text-underline-offset: 2px; }
header.site { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: .5rem 1.5rem; border-bottom: 1px solid var(--line); padding-bottom: 1rem; margin-bottom: 2.5rem; }
header.site .home { font-weight: 700; color: var(--fg); text-decoration: none; font-size: 1.1rem; }
header.site nav a { margin-left: 1rem; color: var(--muted); text-decoration: none; font-size: .95rem; }
header.site nav a:first-child { margin-left: 0; }
header.site nav a:hover { color: var(--fg); }
h1 { font-size: 1.9rem; line-height: 1.25; margin: 0 0 .4rem; }
h2 { font-size: 1.3rem; margin: 2.2rem 0 .6rem; }
h3 { font-size: 1.05rem; margin: 1.6rem 0 .4rem; }
.meta { color: var(--muted); font-size: .9rem; margin-bottom: 2rem; }
.lead { font-size: 1.1rem; color: var(--muted); }
ul.posts { list-style: none; padding: 0; margin: 0; }
ul.posts li { display: grid; grid-template-columns: 9.5rem 1fr; gap: 1rem; padding: .55rem 0; border-bottom: 1px dashed var(--line); }
ul.posts time { color: var(--muted); font-size: .9rem; font-variant-numeric: tabular-nums; }
@media (max-width: 520px) { ul.posts li { grid-template-columns: 1fr; gap: 0; } }
code, pre { font: 14px/1.5 ui-monospace, "SF Mono", Menlo, Consolas, monospace; }
code { background: var(--code-bg); padding: .1em .3em; border-radius: 3px; }
pre { background: var(--code-bg); padding: .9rem 1rem; border-radius: 4px; overflow-x: auto; }
pre code { background: none; padding: 0; }
blockquote { margin: 1.2rem 0; padding-left: 1rem; border-left: 3px solid var(--line); color: var(--muted); }
table { border-collapse: collapse; width: 100%; font-size: .95rem; }
th, td { text-align: left; padding: .35rem .6rem; border-bottom: 1px solid var(--line); }
footer.site { margin-top: 4rem; padding-top: 1rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; }
footer.site a { color: var(--muted); }
.tags span { display: inline-block; font-size: .8rem; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 0 .55rem; margin-right: .3rem; }
.status-line { display: flex; justify-content: space-between; padding: .5rem 0; border-bottom: 1px solid var(--line); font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .9rem; }
.dot { display: inline-block; width: .55rem; height: .55rem; border-radius: 50%; background: #3a9b5a; margin-right: .5rem; }
