/* ─── Typography ─────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Space+Mono:wght@400;700&family=General+Sans:wght@300;400;500;600&display=swap');

:root {
  --bg:       #faf9f7;
  --bg-deep:  #f2ede7;
  --text:     #1a1a1a;
  --muted:    #6b6560;
  --accent:   #b84010;
  --accent-h: #943507;
  --border:   #ded8d0;
  --radius:   4px;
}

/* ─── Reset & Base ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'General Sans', sans-serif;
  font-weight: 400;
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ─── Scrollbar ──────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }

/* ─── Container ─────────────────────────────────────────────── */
.container {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── Header ────────────────────────────────────────────────── */
.site-header {
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: 'Instrument Serif', serif;
  font-size: 1.2rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.logo span { color: var(--muted); font-family: 'General Sans', sans-serif; font-size: 0.85rem; font-weight: 400; display: block; margin-top: 1px; }

.nav-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-links a:hover { color: var(--text); }

/* ─── Hero ───────────────────────────────────────────────────── */
.hero {
  padding: 96px 0 80px;
}

.hero-eyebrow {
  font-family: 'Space Mono', monospace;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.hero h1 {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(2.8rem, 6vw, 4.2rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--text);
  margin-bottom: 28px;
}

.hero h1 em {
  font-style: italic;
  color: var(--accent);
}

.hero-sub {
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 540px;
  line-height: 1.7;
  margin-bottom: 0;
}

.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0;
}

/* ─── Mission Section ────────────────────────────────────────── */
.mission {
  padding: 72px 0;
}

.section-label {
  font-family: 'Space Mono', monospace;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}

.mission h2 {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--text);
  margin-bottom: 24px;
  max-width: 600px;
}

.mission p {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.75;
  max-width: 560px;
}

.mission p + p { margin-top: 16px; }

.stats {
  display: flex;
  gap: 40px;
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.stat-item {}

.stat-number {
  font-family: 'Space Mono', monospace;
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 6px;
}

/* ─── Constitution Section ───────────────────────────────────── */
.constitution {
  background: var(--bg-deep);
  padding: 72px 0;
}

.constitution .container { max-width: 860px; }

.constitution h2 {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  letter-spacing: -0.015em;
  color: var(--text);
  margin-bottom: 40px;
}

.constitution-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.constitution-item {
  padding: 28px 32px;
  border: 1px solid var(--border);
  margin: -1px 0 0 -1px;
}

.constitution-item h3 {
  font-family: 'Space Mono', monospace;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.constitution-item p {
  font-size: 0.925rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ─── Roadmap Section ─────────────────────────────────────────── */
.roadmap {
  padding: 72px 0;
}

.roadmap h2 {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  letter-spacing: -0.015em;
  color: var(--text);
  margin-bottom: 48px;
}

.phase {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  padding: 32px 0;
  border-top: 1px solid var(--border);
}

.phase:last-child { border-bottom: 1px solid var(--border); }

.phase-meta {}

.phase-num {
  font-family: 'Space Mono', monospace;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}

.phase-title {
  font-size: 0.8rem;
  color: var(--muted);
}

.phase-body {}

.phase-body h3 {
  font-family: 'Instrument Serif', serif;
  font-size: 1.35rem;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 10px;
}

.phase-body p {
  font-size: 0.925rem;
  color: var(--muted);
  line-height: 1.65;
  max-width: 540px;
}

/* ─── Donation Section ───────────────────────────────────────── */
.donate {
  background: var(--text);
  color: var(--bg);
  padding: 80px 0;
}

.donate .container { max-width: 660px; }

.donate-eyebrow {
  font-family: 'Space Mono', monospace;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8a6d5a;
  margin-bottom: 20px;
}

.donate h2 {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--bg);
  margin-bottom: 20px;
}

.donate-pitch {
  font-size: 1.05rem;
  color: #c4b9ad;
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 520px;
}

.donate-pitch strong {
  color: #e8ddd3;
  font-weight: 500;
}

.donate-pitch em {
  font-style: italic;
  color: #f2ece4;
}

.platform-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 40px;
}

.platform-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  color: var(--bg);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.975rem;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.platform-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateY(-1px);
}

.platform-btn:active {
  transform: translateY(0);
}

.platform-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  font-family: 'Space Mono', monospace;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.1);
}

.platform-icon.gofundme { background: rgba(0, 190, 100, 0.2); color: #00be64; }
.platform-icon.kickstarter { background: rgba(0, 200, 100, 0.2); color: #05ce78; }
.platform-icon.patreon { background: rgba(255, 100, 50, 0.2); color: #ff6432; }

.platform-info { flex: 1; }

.platform-name {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1px;
}

.platform-desc {
  font-size: 0.8rem;
  color: #8a7d75;
  font-weight: 400;
}

.platform-arrow {
  color: #6b5f56;
  font-size: 0.8rem;
  transition: transform 0.2s ease, color 0.2s ease;
}

.platform-btn:hover .platform-arrow {
  transform: translateX(4px);
  color: #c4b9ad;
}

.supporter-note {
  font-size: 0.8rem;
  color: #6b5f56;
  font-family: 'Space Mono', monospace;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 20px;
  margin-top: 0;
}

.coming-soon-badge {
  display: inline-block;
  font-family: 'Space Mono', monospace;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b5f56;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 4px 10px;
  border-radius: 2px;
  vertical-align: middle;
  margin-left: 8px;
}

/* ─── Footer ──────────────────────────────────────────────────── */
.site-footer {
  padding: 40px 0;
  border-top: 1px solid var(--border);
}

.site-footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 20px;
  list-style: none;
}

.footer-links a {
  font-size: 0.8rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--text); }

/* ─── Mobile ─────────────────────────────────────────────────── */
@media (max-width: 600px) {
  .nav-links { display: none; }
  .stats { gap: 24px; }
  .constitution-grid { grid-template-columns: 1fr; }
  .phase { grid-template-columns: 1fr; gap: 8px; }
  .platform-buttons { gap: 10px; }
  .site-footer .container { flex-direction: column; align-items: flex-start; }
}