:root {
  --bg: #fbfaf7;
  --fg: #23201c;
  --muted: #6b645b;
  --rule: #e2ddd3;
  --link: #1f5f4e;
  --code-bg: #f1eee7;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #16171a;
    --fg: #dcd8d1;
    --muted: #8d8880;
    --rule: #2c2e33;
    --link: #79c3ab;
    --code-bg: #1e2024;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0 auto;
  padding: 2.5rem 1.25rem 4rem;
  max-width: 40rem;
  background: var(--bg);
  color: var(--fg);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { text-decoration-style: dotted; }
header.site {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding-bottom: 1rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--rule);
  flex-wrap: wrap;
}
header.site .brand { font-weight: 600; letter-spacing: -0.01em; color: var(--fg); text-decoration: none; }
header.site nav { margin-left: auto; display: flex; gap: 1rem; font-size: 0.9rem; }
h1 { font-size: 1.5rem; line-height: 1.3; margin: 0 0 0.35rem; letter-spacing: -0.015em; }
h2 { font-size: 1.1rem; margin: 2rem 0 0.5rem; }
p { margin: 0 0 1rem; }
time, .meta { color: var(--muted); font-size: 0.875rem; }
ul.notes { list-style: none; padding: 0; margin: 1.5rem 0 0; }
ul.notes li { padding: 0.85rem 0; border-bottom: 1px solid var(--rule); }
ul.notes li:last-child { border-bottom: 0; }
ul.notes a { display: block; font-weight: 500; }
ul.notes .meta { display: block; margin-top: 0.15rem; }
pre {
  background: var(--code-bg);
  padding: 0.85rem 1rem;
  border-radius: 4px;
  overflow-x: auto;
  font-size: 0.85rem;
  line-height: 1.5;
}
code { background: var(--code-bg); padding: 0.1em 0.35em; border-radius: 3px; font-size: 0.9em; }
pre code { background: none; padding: 0; }
blockquote { margin: 1rem 0; padding-left: 1rem; border-left: 3px solid var(--rule); color: var(--muted); }
footer.site {
  margin-top: 3.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 0.85rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
footer.site a { color: var(--muted); }
