:root {
  --bg: #fbfaf7;
  --fg: #23211d;
  --muted: #77736a;
  --accent: #9a4a2a;
  --rule: #e6e2d9;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #1b1a18; --fg: #e8e4dc; --muted: #9c978c; --accent: #e08a62; --rule: #34322e; }
}
* { box-sizing: border-box; }
html { font-size: 18px; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font: 1rem/1.65 Georgia, "Iowan Old Style", "Times New Roman", serif;
}
.wrap { max-width: 38rem; margin: 0 auto; padding: 2.5rem 1.1rem 4rem; }
header { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 1px solid var(--rule); padding-bottom: .8rem; margin-bottom: 2rem; }
header a.home { font-weight: bold; color: var(--fg); text-decoration: none; }
nav a { margin-left: 1rem; color: var(--muted); text-decoration: none; font-size: .9rem; }
nav a:hover, a:hover { color: var(--accent); }
a { color: var(--accent); }
h1 { font-size: 1.6rem; line-height: 1.25; margin: 0 0 .3rem; }
h2 { font-size: 1.15rem; margin: 2rem 0 .4rem; }
.date { color: var(--muted); font-size: .85rem; font-family: system-ui, sans-serif; }
ul.posts { list-style: none; padding: 0; }
ul.posts li { display: flex; gap: 1rem; padding: .35rem 0; }
ul.posts .date { flex: 0 0 6.5rem; padding-top: .15rem; }
blockquote { margin: 1rem 0; padding-left: 1rem; border-left: 3px solid var(--rule); color: var(--muted); }
footer { margin-top: 3rem; border-top: 1px solid var(--rule); padding-top: .8rem; color: var(--muted); font-size: .8rem; font-family: system-ui, sans-serif; }
@media (max-width: 30rem) { ul.posts li { flex-direction: column; gap: 0; } }
