/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:         #fafaf8;
  --text:       #1a1a18;
  --muted:      #6b6b65;
  --border:     #e2e2dc;
  --west:       #c05a1f;
  --central:    #2255bb;
  --accent:     #c05a1f;
  --font-serif: 'DM Serif Display', Georgia, serif;
  --font-sans:  'DM Sans', system-ui, sans-serif;
  --max:        680px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 1rem;
}

a { color: inherit; text-decoration: none; }

/* ===== NAV ===== */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--text);
  letter-spacing: -0.01em;
}
.nav-cta {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.15s;
}
.nav-cta:hover { color: var(--text); }

/* ===== SHARED ===== */
.btn {
  display: inline-block;
  padding: 0.65rem 1.4rem;
  background: var(--text);
  color: var(--bg);
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  border: none;
  font-family: var(--font-sans);
  transition: opacity 0.15s;
}
.btn:hover { opacity: 0.8; }

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 5rem 2rem;
}

.section-label {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2.5rem;
}

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

/* ===== HERO ===== */
.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 6rem 2rem 5rem;
}
.eyebrow {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.5rem;
}
.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 8vw, 5rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 1.5rem;
}
.hero-sub {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 520px;
  margin-bottom: 2.5rem;
  line-height: 1.65;
}

/* ===== STATS ROW ===== */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stat {
  padding: 2rem 1.5rem;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.stat:last-child { border-right: none; }
.stat-n {
  font-family: var(--font-serif);
  font-size: 2rem;
  line-height: 1;
  color: var(--text);
}
.stat-l {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.4;
}

/* ===== PROSE ===== */
.prose h2 {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
}
.prose p {
  color: var(--muted);
  margin-bottom: 1.25rem;
  font-size: 1rem;
}
.prose p strong { color: var(--text); font-weight: 600; }
.prose .source {
  font-size: 0.8rem;
  color: var(--border);
  border-top: 1px solid var(--border);
  padding-top: 1rem;
  margin-top: 2rem;
  color: var(--muted);
}

/* ===== WHY LIST ===== */
.why-list {
  margin: 1.5rem 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.why-item {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
}
.why-item:first-child { border-top: 1px solid var(--border); }
.why-item dt {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
  margin-bottom: 0.4rem;
}
.why-item dd {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.65;
  margin-left: 0;
}

/* ===== FACTIONS ===== */
.factions {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem;
  align-items: start;
}
.faction h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}
.faction-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  margin-bottom: 1rem;
}
.west-tag    { background: #fdf0e8; color: var(--west); }
.central-tag { background: #eaf0fd; color: var(--central); }

.faction-desc {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
  line-height: 1.65;
}
.faction-facts {
  list-style: none;
  border-top: 1px solid var(--border);
}
.faction-facts li {
  display: flex;
  justify-content: space-between;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.85rem;
}
.faction-facts li span:first-child { color: var(--muted); }
.faction-facts li span:last-child  { font-weight: 500; }
.green { color: #2a7a2a; }
.red   { color: var(--west); }

.faction-vs {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--border);
  padding-top: 3rem;
  text-align: center;
}

/* ===== PICK ===== */
.pick-section { text-align: left; }
.pick-intro {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 2rem;
  max-width: 480px;
}
.pick-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.pick-btn {
  flex: 1;
  min-width: 180px;
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg);
  cursor: pointer;
  text-align: left;
  transition: border-color 0.15s, background 0.15s;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-family: var(--font-sans);
}
.pick-btn:hover { border-color: var(--text); }
.pick-btn.selected { border-color: var(--text); background: #f4f4f0; }
.pick-btn-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
}
.pick-btn-odds {
  font-size: 0.8rem;
  color: var(--muted);
}

/* split bar */
.pick-split-wrap { margin-bottom: 2.5rem; }
.split-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 0.4rem;
}
.split-track {
  height: 4px;
  background: #e8e8e4;
  border-radius: 99px;
  overflow: hidden;
  margin-bottom: 0.4rem;
}
.split-fill {
  height: 100%;
  background: var(--west);
  border-radius: 99px;
  transition: width 0.6s ease;
}
.split-note { font-size: 0.72rem; color: var(--border); color: #bbb; }

/* after-pick confirm */
.pick-confirm {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2rem;
  max-width: 420px;
}
.pick-confirm h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}
.pick-confirm p {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.inline-form {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.inline-form input {
  flex: 1;
  min-width: 180px;
  padding: 0.65rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--bg);
  color: var(--text);
  font-size: 0.875rem;
  font-family: var(--font-sans);
}
.inline-form input:focus { outline: none; border-color: var(--text); }
.inline-form input::placeholder { color: #bbb; }

.link-btn {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 0.82rem;
  cursor: pointer;
  padding: 0.75rem 0 0;
  display: block;
  font-family: var(--font-sans);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.link-btn:hover { color: var(--text); }

/* ===== EVENTS TABLE ===== */
.events-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}
.events-table th {
  text-align: left;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-weight: 600;
  padding: 0 0 0.75rem;
  border-bottom: 1px solid var(--border);
}
.events-table td {
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
}
.events-table td:first-child { color: var(--text); font-weight: 500; }
.events-table td:last-child  { text-align: right; font-weight: 500; color: var(--text); }

.tag {
  display: inline-block;
  padding: 0.15rem 0.55rem;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}
.tag-live { background: #eafaf0; color: #1a7a3c; }
.tag-open { background: #fdf0e8; color: var(--west); }
.tag-soon { background: #f5f5f2; color: var(--muted); }

/* ===== SIGNUP ===== */
.signup-section {
  text-align: left;
}
.signup-inner h2 {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
}
.signup-inner > p {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

/* ===== FOOTER ===== */
.footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 2rem;
  max-width: var(--max);
  margin: 0 auto;
  font-size: 0.8rem;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.footer-note { color: #bbb; }
.footer-links { display: flex; gap: 1.25rem; }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--text); }

/* ===== RESPONSIVE ===== */
@media (max-width: 640px) {
  .stats-row { grid-template-columns: 1fr 1fr; }
  .stat { border-right: none; border-bottom: 1px solid var(--border); }
  .stat:nth-child(odd) { border-right: 1px solid var(--border); }
  .stat:last-child { border-bottom: none; }
  .factions { grid-template-columns: 1fr; }
  .faction-vs { padding-top: 0; }
  .events-table th:nth-child(2),
  .events-table td:nth-child(2) { display: none; }
}
