:root {
  color-scheme: light dark;
  --fg: #1a1a1a;
  --fg-muted: #666;
  --bg: #fdfdfb;
  --accent: #0b6e4f;
  --border: #e2e2dd;
}
@media (prefers-color-scheme: dark) {
  :root {
    --fg: #e8e8e4;
    --fg-muted: #aaa;
    --bg: #14161a;
    --accent: #7fd1ae;
    --border: #2c2f35;
  }
}
* { box-sizing: border-box; }
body {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.125rem;
  color: var(--fg);
  background: var(--bg);
  max-width: calc(65ch + 2.5rem);
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
  line-height: 1.65;
  overflow-wrap: anywhere;
}
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: .5rem 1.5rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}
.site-title {
  font-weight: bold;
  font-size: 1.1rem;
  text-decoration: none;
  color: var(--fg);
}
nav { font-size: .9rem; }
.site-header nav a { color: var(--fg-muted); }
a { color: var(--accent); text-underline-offset: .18em; }
a:hover { text-decoration-thickness: .12em; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
h1, h2, h3 { line-height: 1.25; text-wrap: balance; }
h1 { font-size: clamp(1.9rem, 5vw, 2.6rem); margin: 0 0 1rem; }
.prose h2 { font-size: 1.5rem; margin: 2.5rem 0 .85rem; }
.prose h3 { font-size: 1.2rem; margin: 2rem 0 .75rem; }
.prose p, .prose ul, .prose ol { margin: 0 0 1.3em; }
.prose li + li { margin-top: .4em; }
.article-header { margin-bottom: 2.25rem; }
.meta { color: var(--fg-muted); font-size: .9rem; }
.post-list { list-style: none; padding: 0; margin: 0; }
.post-list li { padding: 1.75rem 0; }
.post-list li + li { border-top: 1px solid var(--border); }
.post-list h2 { font-size: 1.4rem; margin: 0 0 .45rem; }
.post-list h2 a { color: var(--fg); text-decoration: none; }
.post-list h2 a:hover { color: var(--accent); text-decoration: underline; }
.summary { margin: .65rem 0 0; }
.empty-state { color: var(--fg-muted); }
.pagination { display: flex; flex-wrap: wrap; gap: 1rem 2rem; margin-top: 2rem; }
img, video { max-width: 100%; height: auto; }
figure { margin: 2rem 0; }
figcaption { color: var(--fg-muted); font-size: .9rem; }
code, pre { font-family: "SFMono-Regular", Consolas, monospace; font-size: .9em; }
pre {
  background: rgba(127,127,127,.08);
  padding: 1rem;
  border-radius: 4px;
  overflow-x: auto;
  line-height: 1.5;
}
pre code { font-size: inherit; overflow-wrap: normal; }
blockquote { border-left: 2px solid var(--accent); margin: 2rem 0; padding-left: 1.25rem; }
footer { margin-top: 4rem; border-top: 1px solid var(--border); color: var(--fg-muted); font-size: .85rem; }
.skip-link { position: absolute; left: -10000px; }
.skip-link:focus { position: static; display: inline-block; margin-bottom: 1rem; }
@media (max-width: 30rem) {
  body { padding-top: 1.25rem; }
  .site-header { margin-bottom: 2rem; }
}
