:root {
  --bg: #f7f5ef;
  --surface: #ffffff;
  --surface-2: #f0ede4;
  --text: #1c1d24;
  --muted: #5c5a52;
  --border: #ddd7c8;
  --accent: #1e3a5f;
  --accent-soft: #e8eef5;
  --gold: #a5711a;
  --gold-soft: #f5ead2;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14151b;
    --surface: #1b1d26;
    --surface-2: #22242f;
    --text: #e9e7e0;
    --muted: #a19d90;
    --border: #33353f;
    --accent: #7fa8d9;
    --accent-soft: #1f2c3d;
    --gold: #d9a34a;
    --gold-soft: #2e2617;
  }
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: ui-serif, Georgia, "Iowan Old Style", "Palatino Linotype", "Times New Roman", serif;
  font-weight: 600;
  line-height: 1.15;
  text-wrap: balance;
  color: var(--text);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-top: 0; }
h3 { font-size: 1.25rem; }

p { max-width: 68ch; color: var(--text); }
p.lede { font-size: 1.15rem; color: var(--muted); max-width: 60ch; }

a { color: var(--accent); text-decoration: underline; text-decoration-color: var(--border); text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }

.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

header.site {
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
header.site .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
  flex-wrap: wrap;
  gap: 12px;
}
.brand {
  font-family: ui-serif, Georgia, serif;
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: -0.01em;
  color: var(--text);
  text-decoration: none;
}
.brand span { color: var(--gold); }
nav.main { display: flex; gap: 28px; flex-wrap: wrap; }
nav.main a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}
nav.main a:hover, nav.main a.active { color: var(--accent); }

.hero {
  padding: 88px 0 64px;
  border-bottom: 1px solid var(--border);
}
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--gold-soft);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.98rem;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { opacity: 0.92; text-decoration: none; }
.btn-ghost { border: 1px solid var(--border); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); text-decoration: none; }

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 18px;
  margin: 40px 0;
}
.stat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
}
.stat .num {
  font-family: ui-serif, Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
}
.stat .label { color: var(--muted); font-size: 0.9rem; margin-top: 4px; }

section { padding: 56px 0; }
section.alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 32px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 26px;
}
.card .tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.tag.live { background: var(--accent-soft); color: var(--accent); }
.tag.soon { background: var(--gold-soft); color: var(--gold); }

table.compare {
  width: 100%;
  border-collapse: collapse;
  margin-top: 28px;
  font-size: 0.95rem;
}
table.compare th, table.compare td {
  border: 1px solid var(--border);
  padding: 12px 16px;
  text-align: left;
  vertical-align: top;
}
table.compare th { background: var(--surface-2); font-family: ui-serif, Georgia, serif; }
table.compare td.yes { color: var(--accent); font-weight: 600; }
table.compare td.no { color: var(--muted); }

form.join {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px;
  max-width: 560px;
  margin-top: 32px;
}
form.join label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 6px;
  margin-top: 18px;
}
form.join label:first-child { margin-top: 0; }
form.join input, form.join select, form.join textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg);
  color: var(--text);
  font-family: inherit;
  font-size: 0.98rem;
}
form.join textarea { min-height: 100px; resize: vertical; }
form.join button {
  margin-top: 24px;
  border: none;
  cursor: pointer;
}

.people {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 32px;
}
.person {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 26px;
}
.person .role { color: var(--gold); font-weight: 600; font-size: 0.9rem; margin-bottom: 10px; }

footer.site {
  border-top: 1px solid var(--border);
  padding: 40px 0;
  color: var(--muted);
  font-size: 0.9rem;
}
footer.site a { color: var(--muted); }

@media (max-width: 640px) {
  section { padding: 40px 0; }
  .hero { padding: 56px 0 40px; }
}
