:root {
  --accent: #8a5a00;
  --text: #1f2933;
  --muted: #5f6b7a;
  --rule: #e3e7ec;
  --bg: #ffffff;
  --code-bg: #f4f6f8;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --accent: #d9a441;
    --text: #dde3ea;
    --muted: #9aa5b1;
    --rule: #2c333b;
    --bg: #15191e;
    --code-bg: #1e242b;
  }
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Avenir Next", Avenir, "Segoe UI", "Noto Sans", Ubuntu, Cantarell, sans-serif;
  font-size: 17px;
  line-height: 1.65;
}
.wrap { max-width: 40rem; margin: 0 auto; padding: 0 1.25rem; }
a { color: var(--accent); text-underline-offset: 0.15em; }
a:hover { text-decoration-thickness: 2px; }
.masthead { border-bottom: 1px solid var(--rule); }
.masthead .wrap { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.5rem 1.5rem; padding-top: 1.1rem; padding-bottom: 1.1rem; }
.brand { color: var(--text); font-weight: 700; font-size: 1.1rem; text-decoration: none; }
.masthead nav a { color: var(--muted); text-decoration: none; margin-left: 1.25rem; }
.masthead nav a:first-child { margin-left: 0; }
.masthead nav a[aria-current="page"], .masthead nav a:hover { color: var(--accent); }
main { padding-top: 2.5rem; padding-bottom: 3rem; }
h1, h2, h3 { line-height: 1.25; font-weight: 700; }
h1 { font-size: 2rem; margin: 0 0 0.75rem; letter-spacing: -0.01em; }
h2 { font-size: 1.3rem; margin: 2.2rem 0 0.6rem; }
.lede { font-size: 1.15rem; color: var(--muted); margin-top: 0; }
.note-list { list-style: none; padding: 0; margin: 0; }
.note-list li { padding: 1.1rem 0; border-top: 1px solid var(--rule); }
.note-list li:last-child { border-bottom: 1px solid var(--rule); }
.note-list a { font-size: 1.15rem; font-weight: 600; text-decoration: none; }
.note-list a:hover { text-decoration: underline; }
.note-list time { display: block; color: var(--muted); font-size: 0.875rem; margin-top: 0.2rem; }
.note-list p { margin: 0.4rem 0 0; }
.meta { color: var(--muted); font-size: 0.9rem; margin-top: 0; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace; font-size: 0.875em; background: var(--code-bg); padding: 0.1em 0.3em; border-radius: 3px; }
pre { background: var(--code-bg); padding: 0.9rem 1rem; overflow-x: auto; border-radius: 6px; border-left: 3px solid var(--accent); line-height: 1.5; }
pre code { padding: 0; background: none; font-size: 0.85rem; }
li { margin: 0.3rem 0; }
.pager { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--rule); }
.pager a { text-decoration: none; max-width: 48%; }
.pager .older { margin-left: auto; text-align: right; }
.pager span { display: block; color: var(--muted); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; }
.colophon { border-top: 1px solid var(--rule); color: var(--muted); font-size: 0.875rem; }
.colophon .wrap { padding-top: 1.25rem; padding-bottom: 2rem; }
.colophon p { margin: 0.3rem 0; }
.colophon a { color: inherit; }
@media (max-width: 34rem) {
  h1 { font-size: 1.6rem; }
  .pager a { max-width: 100%; }
}
