:root {
  --bg: #f6f3ee;
  --ink: #1c1b19;
  --muted: #6b665f;
  --line: #ddd7cc;
  --card: #fbfaf7;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #161514;
    --ink: #f1ede6;
    --muted: #a39d93;
    --line: #33302c;
    --card: #1e1d1b;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
a { color: inherit; text-underline-offset: 3px; }
.wrap { width: 100%; max-width: 720px; margin: 0 auto; padding: 0 24px; }
header.site {
  border-bottom: 1px solid var(--line);
}
header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 20px;
  padding-top: 18px;
  padding-bottom: 18px;
}
.brand {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  text-decoration: none;
}
nav { display: flex; gap: 18px; }
nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 16px;
}
nav a[aria-current="page"], nav a:hover { color: var(--ink); }
main { flex: 1; padding: 56px 0 64px; }
h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(36px, 7vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0 0 20px;
}
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: 28px;
  line-height: 1.2;
  margin: 48px 0 12px;
}
h3 { font-size: 20px; margin: 24px 0 6px; }
p { margin: 0 0 16px; max-width: 36em; }
ul { padding-left: 22px; }
li { margin-bottom: 8px; }
.lead { font-size: 21px; max-width: 30em; }
.muted { color: var(--muted); }
.small { font-size: 15px; }
.cards { display: grid; gap: 16px; margin: 20px 0 8px; }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px 22px;
}
.card h3 { margin: 0 0 6px; }
.tag {
  display: inline-block;
  font-size: 13px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 2px 10px;
  margin-left: 8px;
  vertical-align: middle;
}
footer.site {
  border-top: 1px solid var(--line);
  font-size: 15px;
  color: var(--muted);
}
footer.site .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 20px;
  padding-top: 22px;
  padding-bottom: 28px;
}
footer.site a { margin-right: 16px; }
