:root {
  --bg: #fdfcfa;
  --fg: #1d1d1b;
  --muted: #8a877f;
  --rule: #e6e3dc;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #161615; --fg: #e8e6e1; --muted: #8c8a84; --rule: #2c2b29; }
}

* { box-sizing: border-box; }

body {
  margin: 0 auto;
  max-width: 36rem;
  padding: 3rem 1.25rem 5rem;
  background: var(--bg);
  color: var(--fg);
  font: 18px/1.65 Georgia, "Iowan Old Style", "Times New Roman", serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--muted); }

header { margin-bottom: 3rem; }
.site { font-size: 1rem; font-weight: normal; margin: 0; text-decoration: none; }

h1 { font-size: 1.6rem; line-height: 1.25; font-weight: normal; margin: 0 0 .25rem; }
h2, h3, h4 { font-weight: normal; margin: 2.25rem 0 .5rem; }
h2 { font-size: 1.25rem; }
h3, h4 { font-size: 1.05rem; font-style: italic; }

time { color: var(--muted); font-size: .9rem; }
article > time { display: block; margin-bottom: 2rem; }

p { margin: 0 0 1.25rem; }

img { max-width: 100%; height: auto; display: block; }
figure { margin: 2rem 0; }
figcaption { color: var(--muted); font-size: .9rem; margin-top: .5rem; text-align: center; font-style: italic; }

blockquote { margin: 1.5rem 0; padding-left: 1.25rem; border-left: 2px solid var(--rule); color: var(--muted); }
hr { border: 0; text-align: center; margin: 2.5rem 0; }
hr::after { content: "· · ·"; color: var(--muted); letter-spacing: .5em; }

code { font: .85em ui-monospace, Menlo, monospace; }

.posts { list-style: none; padding: 0; margin: 0; }
.posts li { display: flex; gap: 1.25rem; margin-bottom: .6rem; }
.posts time { flex: none; font-variant-numeric: tabular-nums; padding-top: .1rem; }
