:root {
  --paper: #fbf7ef;
  --ink: #2b2118;
  --muted: #76665a;
  --amber: #b86b18;
  --rule: #e6dccb;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #1d1813;
    --ink: #efe6d8;
    --muted: #b3a595;
    --amber: #e39a4a;
    --rule: #3a3027;
  }
}
* { box-sizing: border-box; }
html { font-size: 17px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Georgia, "Iowan Old Style", "Palatino Linotype", serif;
  line-height: 1.65;
}
a { color: var(--amber); }
a:hover { text-decoration-thickness: 2px; }
.wrap { max-width: 42rem; margin: 0 auto; padding: 0 1rem; }
header.site {
  border-bottom: 1px solid var(--rule);
  padding: 1.4rem 0 1rem;
}
header.site .wrap { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem 1.5rem; }
.brand { font-size: 1.35rem; font-weight: bold; color: var(--ink); text-decoration: none; }
.brand span { color: var(--amber); }
nav a { margin-left: 1rem; color: var(--muted); text-decoration: none; font-family: system-ui, sans-serif; font-size: .9rem; }
nav a:first-child { margin-left: 0; }
nav a:hover { color: var(--ink); }
main { padding: 2rem 0 3rem; }
h1 { font-size: 1.9rem; line-height: 1.25; margin: 0 0 .4rem; }
h2 { font-size: 1.3rem; margin: 2rem 0 .5rem; }
.meta { color: var(--muted); font-family: system-ui, sans-serif; font-size: .85rem; margin-bottom: 1.5rem; }
.lede { font-size: 1.1rem; color: var(--muted); }
ul.posts { list-style: none; padding: 0; margin: 2rem 0 0; }
ul.posts li { padding: 1.1rem 0; border-top: 1px solid var(--rule); }
ul.posts li a.title { font-size: 1.15rem; font-weight: bold; text-decoration: none; color: var(--ink); }
ul.posts li a.title:hover { color: var(--amber); }
ul.posts p { margin: .3rem 0 0; color: var(--muted); }
table { border-collapse: collapse; width: 100%; font-family: system-ui, sans-serif; font-size: .9rem; margin: 1rem 0; }
th, td { text-align: left; padding: .45rem .5rem; border-bottom: 1px solid var(--rule); }
th { color: var(--muted); font-weight: 600; }
blockquote { margin: 1.2rem 0; padding: .2rem 1rem; border-left: 3px solid var(--amber); color: var(--muted); }
code { font-size: .9em; background: var(--rule); padding: .05rem .3rem; border-radius: 3px; }
footer.site { border-top: 1px solid var(--rule); padding: 1.2rem 0 2rem; color: var(--muted); font-family: system-ui, sans-serif; font-size: .8rem; }
