:root {
  --bg: #fbfaf7;
  --fg: #1f2328;
  --muted: #6a6f76;
  --line: #e4e1da;
  --accent: #2f5d8a;
  --code-bg: #f1eee7;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #15171a;
    --fg: #e4e6e9;
    --muted: #9298a0;
    --line: #2a2e33;
    --accent: #8db4dc;
    --code-bg: #1e2125;
  }
}
* { 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", "Palatino Linotype", Georgia, serif;
}
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 2px; }
.wrap { max-width: 680px; margin: 0 auto; padding: 0 20px; }
header.site {
  border-bottom: 1px solid var(--line);
  padding: 22px 0 14px;
  margin-bottom: 36px;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 15px;
}
header.site .wrap { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
header.site .name { font-weight: 600; color: var(--fg); text-decoration: none; letter-spacing: .01em; }
header.site nav a { color: var(--muted); text-decoration: none; margin-left: 18px; }
header.site nav a:first-child { margin-left: 0; }
header.site nav a:hover, header.site nav a[aria-current] { color: var(--fg); }
h1 { font-size: 1.75rem; line-height: 1.25; margin: 0 0 .4rem; }
h2 { font-size: 1.2rem; margin: 2rem 0 .5rem; }
.meta { color: var(--muted); font: 14px/1.4 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; margin-bottom: 1.6rem; }
.lead { color: var(--muted); margin-top: 0; }
ul.posts { list-style: none; padding: 0; margin: 0; }
ul.posts li { display: flex; gap: 18px; padding: 9px 0; border-bottom: 1px solid var(--line); }
ul.posts time { flex: 0 0 92px; color: var(--muted); font: 14px/1.9 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
code, pre { font: 14px/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; background: var(--code-bg); border-radius: 4px; }
code { padding: 1px 4px; }
pre { padding: 12px 14px; overflow-x: auto; }
pre code { padding: 0; background: none; }
footer.site {
  margin: 56px 0 32px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font: 13px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
@media (max-width: 480px) {
  body { font-size: 16px; }
  ul.posts li { flex-direction: column; gap: 0; }
  ul.posts time { flex: none; line-height: 1.4; }
  header.site nav a { margin-left: 12px; }
}
