:root {
  --bg: #faf7f3;
  --paper: #fffdf9;
  --fg: #2b2a28;
  --muted: #6a6560;
  --soft: #8b857d;
  --accent: #f2a065;
  --accent-deep: #d97f44;
  --line: #e8e3db;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1a1816;
    --paper: #221f1c;
    --fg: #ece7df;
    --muted: #a59f96;
    --soft: #7d776e;
    --accent: #f2a065;
    --accent-deep: #f7b889;
    --line: #332f2a;
  }
  .btn { background: var(--fg); color: var(--bg); }
  .btn:hover { background: #fff; }
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.serif {
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
}

.wrap {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── nav ── */
.topnav {
  padding: 28px 0 0;
}
.topnav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 20px;
}
.brand {
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  color: var(--fg);
}
.topnav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 0; padding: 0;
  font-size: 14px;
}
.topnav a {
  color: var(--muted);
  text-decoration: none;
}
.topnav a:hover { color: var(--fg); }

/* ── hero ── */
.hero {
  padding: 80px 0 56px;
}
.eyebrow {
  font-size: 13px;
  color: var(--soft);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 20px;
}
.hero h1 {
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-weight: 500;
  font-size: clamp(34px, 5.4vw, 52px);
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 24px;
  max-width: 18ch;
}
.hero h1 em {
  font-style: italic;
  color: var(--accent-deep);
}
.hero .lede {
  font-size: 19px;
  color: var(--muted);
  max-width: 36ch;
  margin: 0 0 36px;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
}
.btn {
  display: inline-block;
  background: var(--fg);
  color: var(--paper);
  padding: 12px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: background 0.15s ease;
}
.btn:hover { background: #000; }
.btn-ghost {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
}
.btn-ghost:hover {
  color: var(--fg);
  border-bottom-color: var(--accent);
}

/* ── divider ── */
.rule {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 0;
}

/* ── mission ── */
.mission {
  padding: 72px 0 56px;
}
.mission .pull {
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-size: clamp(22px, 2.6vw, 28px);
  line-height: 1.4;
  letter-spacing: -0.005em;
  color: var(--fg);
  margin: 0 0 24px;
  max-width: 28ch;
}
.mission p {
  color: var(--muted);
  max-width: 56ch;
  margin: 0 0 16px;
}

/* ── what's here / what's coming ── */
.now {
  padding: 56px 0;
}
.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
@media (max-width: 640px) {
  .grid { grid-template-columns: 1fr; gap: 36px; }
}
.card h3 {
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-weight: 500;
  font-size: 22px;
  margin: 0 0 4px;
  letter-spacing: -0.005em;
}
.card .label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--soft);
  margin: 0 0 14px;
  display: block;
}
.card .label.live { color: var(--accent-deep); }
.card p {
  color: var(--muted);
  font-size: 16px;
  margin: 0 0 16px;
}
.card a {
  color: var(--fg);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

/* ── doc pages (privacy / support) ── */
.doc {
  padding: 56px 0 32px;
}
.doc h1 {
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-weight: 500;
  font-size: clamp(30px, 4.4vw, 42px);
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0 0 12px;
}
.doc h2 {
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-weight: 500;
  font-size: 22px;
  margin: 36px 0 10px;
  letter-spacing: -0.005em;
}
.doc h3 {
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-weight: 500;
  font-size: 18px;
  margin: 24px 0 6px;
}
.doc p,
.doc li {
  color: var(--muted);
  max-width: 60ch;
}
.doc ul {
  padding-left: 20px;
  margin: 8px 0 16px;
}
.doc li { margin-bottom: 6px; }
.doc a {
  color: var(--fg);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.doc .tagline {
  color: var(--soft);
  font-size: 15px;
  margin: 0 0 24px;
}

/* ── footer ── */
footer {
  padding: 56px 0 64px;
  border-top: 1px solid var(--line);
  margin-top: 32px;
}
footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
  font-size: 14px;
  color: var(--soft);
}
footer a {
  color: var(--muted);
  text-decoration: none;
  margin-right: 20px;
}
footer a:hover { color: var(--fg); }
footer .copyright { color: var(--soft); }
