:root {
  --bg: #faf9f7;
  --fg: #1f1d1a;
  --muted: #6b665e;
  --line: #e6e2db;
  --accent: #5b3fc4;
  --card: #ffffff;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141316;
    --fg: #eeebe6;
    --muted: #a19b92;
    --line: #2b2930;
    --accent: #a891ff;
    --card: #1b1a1f;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 17px/1.65 Georgia, "Iowan Old Style", "Times New Roman", serif;
}
.wrap { max-width: 720px; margin: 0 auto; padding: 32px 16px 64px; }
header.site {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 16px; flex-wrap: wrap;
  padding-bottom: 20px; margin-bottom: 36px; border-bottom: 1px solid var(--line);
}
.brand {
  font: 600 20px/1 system-ui, -apple-system, "Segoe UI", sans-serif;
  letter-spacing: -0.01em; color: var(--fg); text-decoration: none;
}
.brand span { color: var(--accent); }
nav a {
  font: 15px system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--muted); text-decoration: none; margin-left: 16px;
}
nav a:first-child { margin-left: 0; }
nav a:hover, nav a[aria-current="page"] { color: var(--fg); }
h1 {
  font: 600 32px/1.2 system-ui, -apple-system, "Segoe UI", sans-serif;
  letter-spacing: -0.02em; margin: 0 0 8px;
}
h2 {
  font: 600 19px/1.3 system-ui, -apple-system, "Segoe UI", sans-serif;
  margin: 40px 0 8px;
}
h3 {
  font: 600 16px/1.4 system-ui, -apple-system, "Segoe UI", sans-serif;
  margin: 24px 0 4px;
}
p, ul { margin: 0 0 14px; }
ul { padding-left: 20px; }
li { margin-bottom: 4px; }
a { color: var(--accent); overflow-wrap: anywhere; }
.lead { color: var(--muted); font-size: 18px; margin-bottom: 28px; }
.muted { color: var(--muted); font-size: 15px; }
address { font-style: normal; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  padding: 20px 22px; margin: 0 0 16px;
}
.card h2 { margin-top: 0; }
footer.site {
  margin-top: 56px; padding-top: 20px; border-top: 1px solid var(--line);
  font: 14px system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--muted);
}
footer.site a { color: var(--muted); margin-right: 16px; }
