:root {
  --bg: #fbfaf7;
  --ink: #1c2430;
  --muted: #5a6472;
  --line: #e2ded6;
  --accent: #b9772a;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #12161c;
    --ink: #e9e6df;
    --muted: #9aa3af;
    --line: #2a313b;
    --accent: #e0a257;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.65 Georgia, "Times New Roman", serif;
}
header, main, footer {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 20px;
}
header {
  padding-top: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 24px;
}
.brand {
  font-size: 22px;
  letter-spacing: 0.04em;
  color: var(--ink);
  text-decoration: none;
}
.brand span { color: var(--accent); }
nav a {
  font: 14px/1.4 system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--muted);
  text-decoration: none;
  margin-right: 16px;
}
nav a:last-child { margin-right: 0; }
nav a:hover, nav a[aria-current="page"] { color: var(--ink); }
main { padding-top: 32px; padding-bottom: 56px; }
h1 { font-size: 32px; line-height: 1.2; font-weight: normal; margin: 0 0 8px; }
h2 { font-size: 21px; font-weight: normal; margin: 36px 0 8px; }
p, ul { margin: 0 0 16px; }
ul { padding-left: 22px; }
a { color: var(--accent); }
.meta {
  font: 14px/1.4 system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--muted);
  margin-bottom: 28px;
}
.lead { font-size: 20px; color: var(--muted); }
footer {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  padding-bottom: 40px;
  font: 14px/1.5 system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--muted);
}
