:root {
  --bg: #f6f3ec;
  --text: #24231f;
  --muted: #6b675d;
  --rule: #d9d3c4;
  --accent: #3f5a3c;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1b1c1a;
    --text: #e6e2d8;
    --muted: #a19c90;
    --rule: #3a3a35;
    --accent: #9cbf93;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 19px/1.65 Georgia, "Iowan Old Style", "Times New Roman", serif;
}
.wrap { max-width: 38rem; margin: 0 auto; padding: 0 16px; }
header.site {
  border-bottom: 1px solid var(--rule);
  padding: 1.25rem 0;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 0.9rem;
}
header.site .wrap { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
header.site a { color: var(--text); text-decoration: none; }
header.site .name { font-weight: 600; letter-spacing: 0.02em; }
header.site nav a { margin-left: 1rem; color: var(--muted); }
header.site nav a:hover { color: var(--accent); }
main { padding: 2.5rem 0 4rem; }
h1 { font-size: 2rem; line-height: 1.2; margin: 0 0 0.4rem; font-weight: normal; }
.meta {
  color: var(--muted);
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 0.85rem;
  margin: 0 0 2.5rem;
}
p { margin: 0 0 1.2rem; }
a { color: var(--accent); }
ul.tales { list-style: none; padding: 0; margin: 0; }
ul.tales li { border-top: 1px solid var(--rule); padding: 1.25rem 0; }
ul.tales li:last-child { border-bottom: 1px solid var(--rule); }
ul.tales a { font-size: 1.3rem; text-decoration: none; }
ul.tales .meta { margin: 0.25rem 0 0; }
footer {
  border-top: 1px solid var(--rule);
  padding: 1.5rem 0 2.5rem;
  color: var(--muted);
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 0.8rem;
}
