:root {
  --bg: #F6F1E4;
  --surface: #FFFDF7;
  --ink: #242422;
  --ink-2: #5E5A50;
  --gold: #A06A00;
  --rule: #E4DCC8;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1B1B1A;
    --surface: #242422;
    --ink: #F8F2E0;
    --ink-2: #B7B0A0;
    --gold: #F2B544;
    --rule: #3A3935;
  }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
}

main {
  max-width: 680px;
  margin: 0 auto;
  padding: 40px 20px 64px;
}

header.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 32px;
}

header.brand img {
  width: 56px;
  height: 56px;
  border-radius: 13px;
}

header.brand a {
  color: inherit;
  text-decoration: none;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.01em;
}

nav {
  margin-left: auto;
  display: flex;
  gap: 18px;
  font-size: 15px;
}

nav a { color: var(--ink-2); text-decoration: none; }
nav a[aria-current="page"], nav a:hover { color: var(--gold); }

h1 {
  font-size: 34px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}

h2 {
  font-size: 21px;
  letter-spacing: -0.01em;
  margin: 36px 0 8px;
}

h3 { font-size: 17px; margin: 24px 0 4px; }

p, li { color: var(--ink); }

.lede { font-size: 19px; color: var(--ink-2); margin-top: 0; }

.updated { color: var(--ink-2); font-size: 14px; margin-bottom: 28px; }

a { color: var(--gold); }

.card {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 16px;
  padding: 4px 20px;
  margin: 16px 0;
}

.card > :first-child { margin-top: 16px; }
.card > :last-child { margin-bottom: 16px; }

.summary li { margin: 6px 0; }

details {
  border-top: 1px solid var(--rule);
  padding: 14px 0;
}

details:first-of-type { border-top: 0; }

summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

summary::-webkit-details-marker { display: none; }

summary::after {
  content: "+";
  float: right;
  color: var(--gold);
  font-weight: 400;
}

details[open] summary::after { content: "–"; }

details p { margin: 8px 0 0; color: var(--ink-2); }

.contact {
  font-size: 19px;
  font-weight: 600;
}

footer {
  margin-top: 56px;
  color: var(--ink-2);
  font-size: 14px;
  border-top: 1px solid var(--rule);
  padding-top: 20px;
}

@media (max-width: 480px) {
  h1 { font-size: 28px; }
  nav { gap: 12px; }
}
