:root {
  --bg: #fbfaf7;
  --fg: #2b2a27;
  --muted: #77736b;
  --accent: #8a4b2a;
  --rule: #e4e0d8;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1c1b19;
    --fg: #e6e2da;
    --muted: #9a958b;
    --accent: #d9956b;
    --rule: #34322e;
  }
}
* { box-sizing: border-box; }
html { font-size: 17px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: Georgia, "PT Serif", "Times New Roman", serif;
  line-height: 1.6;
}
.wrap { max-width: 40rem; margin: 0 auto; padding: 2.5rem 1rem 4rem; }
header.site { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; border-bottom: 1px solid var(--rule); padding-bottom: .8rem; margin-bottom: 2rem; }
header.site a.home { color: var(--fg); text-decoration: none; font-weight: bold; font-size: 1.15rem; }
header.site nav a { color: var(--muted); margin-left: 1rem; text-decoration: none; font-family: system-ui, sans-serif; font-size: .9rem; }
header.site nav a:hover { color: var(--accent); }
h1 { font-size: 1.6rem; line-height: 1.25; margin: 0 0 .4rem; }
h2 { font-size: 1.2rem; margin: 2rem 0 .5rem; }
a { color: var(--accent); }
.date { color: var(--muted); font-family: system-ui, sans-serif; font-size: .85rem; }
ul.notes { list-style: none; padding: 0; margin: 1.5rem 0; }
ul.notes li { display: flex; gap: 1rem; padding: .45rem 0; border-bottom: 1px dotted var(--rule); }
ul.notes li .date { flex: 0 0 6.5rem; padding-top: .15rem; }
blockquote { margin: 1.2rem 0; padding-left: 1rem; border-left: 3px solid var(--rule); color: var(--muted); }
table { border-collapse: collapse; margin: 1rem 0; font-size: .95rem; }
td, th { border-bottom: 1px solid var(--rule); padding: .3rem .8rem .3rem 0; text-align: left; }
footer { margin-top: 3rem; padding-top: .8rem; border-top: 1px solid var(--rule); color: var(--muted); font-family: system-ui, sans-serif; font-size: .8rem; }
