/* =======================
   ROLLCALL — THEME CSS
   ======================= */

:root {
  --bg: #0b0c10;
  --surface: #13151a;
  --surface-2: #1a1d24;
  --border: rgba(255,255,255,0.07);
  --amber: #f5a623;
  --amber-dim: rgba(245,166,35,0.15);
  --amber-glow: rgba(245,166,35,0.08);
  --green: #22c55e;
  --text: #e8e6e1;
  --text-dim: rgba(232,230,225,0.55);
  --text-faint: rgba(232,230,225,0.28);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Jost', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ---- NAV ---- */
.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 48px;
  border-bottom: 1px solid var(--border);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  font-family: 'Instrument Serif', serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.05em;
  background: var(--amber);
  color: #000;
  padding: 5px 7px;
  border-radius: 4px;
}

.brand-name {
  font-family: 'Instrument Serif', serif;
  font-size: 18px;
  letter-spacing: 0.02em;
  color: var(--text);
}

.nav-tagline {
  font-size: 13px;
  color: var(--text-dim);
  letter-spacing: 0.04em;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-cta {
  font-size: 13px;
  font-weight: 500;
  color: var(--amber);
  text-decoration: none;
  padding: 8px 16px;
  border: 1px solid var(--amber);
  border-radius: 6px;
  transition: all 0.15s;
}

.nav-cta:hover {
  background: var(--amber);
  color: #000;
}

/* ---- HERO ---- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 80px 48px 100px;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.4;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, black 40%, transparent 100%);
}

.hero-glow {
  position: absolute;
  top: -200px;
  left: -100px;
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(245,166,35,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.hero-split {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 28px;
  font-weight: 500;
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-headline {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(40px, 5vw, 68px);
  line-height: 1.08;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

.hero-headline em {
  font-style: italic;
  color: var(--amber);
}

.hero-sub {
  font-size: 16px;
  color: var(--text-dim);
  max-width: 400px;
  line-height: 1.65;
  margin-bottom: 40px;
}

/* Split Card */
.hero-split-visual { max-width: 420px; }

.split-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.split-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
}

.split-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.split-status {
  font-size: 11px;
  font-weight: 500;
  color: var(--amber);
  background: var(--amber-dim);
  padding: 3px 9px;
  border-radius: 20px;
}

.split-tracks { padding: 18px; }

.split-track {
  display: flex;
  justify-content: space-between;
  margin-bottom: 14px;
}

.track-name {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
}

.track-writers {
  font-size: 12px;
  color: var(--text-faint);
}

.split-bars { margin-bottom: 16px; }

.split-bar {
  height: 28px;
  background: var(--amber-dim);
  border-radius: 5px;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid rgba(245,166,35,0.2);
}

.split-bar span {
  font-size: 11px;
  font-weight: 500;
  color: var(--amber);
  letter-spacing: 0.03em;
}

.split-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.invite-count { font-size: 12px; color: var(--text-dim); }
.check-icon { font-size: 14px; color: var(--green); }

/* Right stats */
.hero-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 36px;
  padding-top: 20px;
}

.stat-block { }

.stat-block.accent .stat-number { color: var(--amber); }

.stat-number {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(48px, 5vw, 72px);
  font-weight: 400;
  line-height: 1;
  color: var(--text);
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.5;
}

/* ---- PROBLEM ---- */
.problem {
  padding: 100px 48px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.problem-inner { max-width: 1100px; margin: 0 auto; }

.problem-label,
.how-label,
.features-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 20px;
}

.problem-headline {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(30px, 3.5vw, 48px);
  font-weight: 400;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 64px;
  max-width: 560px;
}

.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.problem-card {
  background: var(--bg);
  padding: 36px 32px;
  position: relative;
}

.problem-icon {
  font-size: 18px;
  color: #ef4444;
  margin-bottom: 16px;
  font-weight: 300;
}

.problem-card h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
}

.problem-card p {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.65;
}

/* ---- HOW ---- */
.how { padding: 100px 48px; }

.how-inner { max-width: 1100px; margin: 0 auto; }

.how-headline {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(28px, 3.5vw, 46px);
  font-weight: 400;
  line-height: 1.18;
  color: var(--text);
  margin-bottom: 72px;
  max-width: 500px;
}

.step-flow {
  display: flex;
  gap: 0;
  align-items: stretch;
}

.step {
  flex: 1;
  padding: 40px 36px;
  background: var(--surface);
  border: 1px solid var(--border);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.step:first-child { border-radius: 14px 0 0 14px; }
.step:last-child { border-radius: 0 14px 14px 0; }

.step-num {
  font-family: 'Instrument Serif', serif;
  font-size: 48px;
  font-weight: 400;
  color: var(--amber-dim);
  line-height: 1;
}

.step-content h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.step-content p {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.65;
}

.step-arrow {
  font-size: 18px;
  color: var(--text-faint);
  margin-top: auto;
}

/* ---- FEATURES ---- */
.features {
  padding: 100px 48px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.features-inner { max-width: 1100px; margin: 0 auto; }

.features-headline {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(28px, 3.5vw, 46px);
  font-weight: 400;
  line-height: 1.18;
  color: var(--text);
  margin-bottom: 64px;
  max-width: 480px;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.feature {
  background: var(--bg);
  padding: 36px 32px;
}

.feature-key {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 14px;
  opacity: 0.6;
}

.feature-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
}

.feature-body {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.65;
}

/* ---- MANIFESTO ---- */
.manifesto { padding: 100px 48px; }

.manifesto-inner { max-width: 780px; margin: 0 auto; }

.manifesto-rule {
  width: 48px;
  height: 2px;
  background: var(--amber);
  margin-bottom: 40px;
}

.manifesto-quote {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 400;
  font-style: italic;
  line-height: 1.35;
  color: var(--text);
  margin-bottom: 20px;
}

.manifesto-attribution {
  font-size: 13px;
  color: var(--text-faint);
  margin-bottom: 56px;
}

.manifesto-body p {
  font-size: 15px;
  color: var(--text-dim);
  line-height: 1.75;
  margin-bottom: 20px;
}

/* ---- CLOSING ---- */
.closing {
  padding: 100px 48px 120px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.closing-glow {
  position: absolute;
  bottom: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(245,166,35,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.closing-inner { position: relative; max-width: 680px; margin: 0 auto; }

.closing-headline {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 400;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 24px;
}

.closing-body {
  font-size: 16px;
  color: var(--text-dim);
  line-height: 1.65;
  margin-bottom: 48px;
}

.cta-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 14px 28px;
  font-size: 14px;
  color: var(--text-dim);
  font-weight: 500;
}

.cta-divider {
  color: var(--text-faint);
}

/* ---- WAITLIST FORM ---- */
.waitlist-form {
  margin-bottom: 20px;
}

.waitlist-row {
  display: flex;
  gap: 10px;
  max-width: 480px;
  margin: 0 auto 20px;
}

.waitlist-input {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 18px;
  font-size: 14px;
  font-family: 'Jost', sans-serif;
  color: var(--text);
  outline: none;
  transition: border-color 0.15s;
}

.waitlist-input::placeholder {
  color: var(--text-faint);
}

.waitlist-input:focus {
  border-color: var(--amber);
}

.waitlist-btn {
  background: var(--amber);
  color: #000;
  border: none;
  border-radius: 8px;
  padding: 12px 24px;
  font-size: 14px;
  font-family: 'Jost', sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.15s;
  white-space: nowrap;
}

.waitlist-btn:hover {
  opacity: 0.85;
}

.waitlist-error {
  font-size: 13px;
  color: #ef4444;
  margin-bottom: 12px;
  text-align: center;
}

.waitlist-confirm {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 14px;
  color: var(--green);
  font-weight: 500;
  margin-bottom: 20px;
  padding: 14px 20px;
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: 8px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.waitlist-check {
  font-size: 18px;
}

/* ---- FOOTER ---- */
.site-footer {
  padding: 48px;
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-mark-sm {
  font-family: 'Instrument Serif', serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.05em;
  background: var(--amber);
  color: #000;
  padding: 4px 6px;
  border-radius: 3px;
}

.footer-name {
  font-family: 'Instrument Serif', serif;
  font-size: 16px;
  color: var(--text);
}

.footer-tagline {
  font-size: 13px;
  color: var(--text-dim);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-links a {
  font-size: 13px;
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.15s;
}

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

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .site-nav { padding: 20px 24px; }
  .nav-tagline { display: none; }
  .nav-cta { display: none; }

  .hero { padding: 60px 24px 80px; }
  .hero-split {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  .hero-right { gap: 28px; }

  .problem { padding: 72px 24px; }
  .problem-headline { margin-bottom: 44px; }
  .problem-grid { grid-template-columns: 1fr; }
  .problem-card { padding: 28px 24px; }

  .how { padding: 72px 24px; }
  .step-flow {
    flex-direction: column;
    gap: 2px;
  }
  .step { border-radius: 0 !important; }
  .step:first-child { border-radius: 12px 12px 0 0 !important; }
  .step:last-child { border-radius: 0 0 12px 12px !important; }
  .step-arrow { display: none; }

  .features { padding: 72px 24px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature { padding: 28px 24px; }

  .manifesto { padding: 72px 24px; }
  .closing { padding: 72px 24px 100px; }

  .site-footer { padding: 36px 24px; }
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}
