:root {
  color-scheme: light dark;
  --bg: #f6f4ef;
  --panel: #fffdf8;
  --text: #1f2428;
  --muted: #687076;
  --accent: #0a7f77;
  --border: rgba(31, 36, 40, 0.12);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #171917;
    --panel: #20231f;
    --text: #f2f0e8;
    --muted: #b7b2a8;
    --accent: #7dd5c7;
    --border: rgba(242, 240, 232, 0.16);
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

.page {
  width: min(760px, calc(100% - 32px));
  margin: 0 auto;
  padding: 40px 0 56px;
}

.hero,
section {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px;
  margin: 18px 0;
}

h1,
h2 {
  line-height: 1.15;
  margin: 0 0 12px;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
}

h2 {
  font-size: 1.25rem;
}

p {
  margin: 0 0 12px;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--accent);
  font-weight: 650;
}

.eyebrow {
  color: var(--accent);
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.summary {
  color: var(--muted);
  font-size: 1.08rem;
}

.muted {
  color: var(--muted);
}

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

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

summary {
  cursor: pointer;
  font-weight: 750;
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.links a {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 10px 14px;
  text-decoration: none;
}

ul {
  padding-left: 1.2rem;
}

.site-footer {
  color: var(--muted);
  font-size: 0.92rem;
  margin-top: 28px;
  text-align: center;
}
