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

:root {
  --bg: #0E0E10;
  --bg-surface: #161619;
  --bg-card: #1C1C20;
  --fg: #F0EBE3;
  --fg-muted: #7A7A85;
  --fg-subtle: #4A4A55;
  --accent: #F5A623;
  --accent-dim: rgba(245, 166, 35, 0.12);
  --border: rgba(240, 235, 227, 0.08);
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* === TYPOGRAPHY === */
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.15; }
h1 { font-size: clamp(2.8rem, 7vw, 5.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
h3 { font-size: 1.1rem; font-family: var(--font-body); font-weight: 600; letter-spacing: -0.01em; }

p { font-size: 1rem; color: var(--fg-muted); line-height: 1.7; }

/* === NAV === */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 1.25rem 2rem;
  background: rgba(14, 14, 16, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; }
.nav-logo { font-family: var(--font-display); font-size: 1.25rem; color: var(--fg); letter-spacing: -0.02em; }

/* === HERO === */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 7rem 2rem 4rem;
}
.hero-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 4rem; align-items: start;
}
.hero-eyebrow {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 1.5rem;
}
.hero-headline {
  color: var(--fg);
  margin-bottom: 1.75rem;
  letter-spacing: -0.02em;
}
.hero-headline em { font-style: italic; color: var(--accent); }
.hero-sub {
  font-size: 1.125rem; color: var(--fg-muted);
  max-width: 480px; line-height: 1.7;
}
.hero-archive-link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  margin-top: 1.25rem; margin-bottom: 0.25rem;
  font-size: 0.875rem; font-weight: 600;
  color: var(--accent); text-decoration: none;
  letter-spacing: -0.01em;
  opacity: 0.85;
  transition: opacity 0.15s ease;
}
.hero-archive-link:hover { opacity: 1; }

/* stat block */
.hero-stat-block {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  margin-bottom: 1.5rem;
}
.stat-number {
  font-family: var(--font-display);
  font-size: 3.5rem; color: var(--accent);
  line-height: 1; margin-bottom: 0.75rem;
}
.stat-label { font-size: 0.9rem; color: var(--fg-muted); line-height: 1.5; }

/* cta quote */
.hero-cta-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
}
.cta-quote { font-size: 0.95rem; color: var(--fg); line-height: 1.6; font-style: italic; margin-bottom: 0.75rem; }
.cta-attr { font-size: 0.8rem; color: var(--fg-muted); }

/* === MANIFESTO === */
.manifesto {
  padding: 5rem 2rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.manifesto-inner { max-width: 760px; margin: 0 auto; text-align: center; }
.manifesto-text { font-size: 1.15rem; line-height: 1.8; color: var(--fg-muted); margin-bottom: 1.5rem; }
.manifesto-text:last-child { margin-bottom: 0; }
.manifesto-text strong { color: var(--fg); font-weight: 600; }

/* === FEATURES === */
.features { padding: 5rem 2rem; }
.features-grid {
  max-width: 1100px; margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.feature-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.75rem;
}
.feature-card--tall { grid-row: span 1; }
.feature-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--accent-dim);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); margin-bottom: 1.25rem;
}
.feature-title { font-size: 1rem; font-family: var(--font-body); font-weight: 600; color: var(--fg); margin-bottom: 0.75rem; }
.feature-desc { font-size: 0.875rem; color: var(--fg-muted); line-height: 1.65; }

/* === PROCESS === */
.process { padding: 5rem 2rem 6rem; }
.process-header { max-width: 760px; margin: 0 auto 3.5rem; text-align: center; }
.process-title { font-family: var(--font-display); font-size: 2.2rem; color: var(--fg); margin-bottom: 0.75rem; }
.process-sub { color: var(--fg-muted); font-size: 1rem; }
.process-steps {
  max-width: 960px; margin: 0 auto;
  display: flex; align-items: flex-start; gap: 0;
}
.process-step { flex: 1; padding: 0 2rem; text-align: center; }
.process-step:first-child { padding-left: 0; }
.process-step:last-child { padding-right: 0; }
.step-number { font-family: var(--font-display); font-size: 2.5rem; color: var(--accent); opacity: 0.5; margin-bottom: 1rem; }
.step-title { font-size: 1rem; font-weight: 600; color: var(--fg); margin-bottom: 0.6rem; }
.step-desc { font-size: 0.875rem; color: var(--fg-muted); line-height: 1.65; }
.process-divider { width: 1px; height: 100px; background: var(--border); align-self: center; flex-shrink: 0; }

/* === CLOSING === */
.closing {
  padding: 7rem 2rem;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
}
.closing-inner { max-width: 760px; margin: 0 auto; text-align: center; }
.closing-eyebrow {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 1.5rem;
}
.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--fg);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.closing-body { font-size: 1.05rem; color: var(--fg-muted); line-height: 1.8; }

/* === WAITLIST FORM === */
.waitlist-block {
  margin-top: 2.5rem;
}
.waitlist-block--centered {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.waitlist-form {
  display: flex;
  gap: 0;
  max-width: 440px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(245, 166, 35, 0.35);
  background: var(--bg-card);
}
.waitlist-form--inline {
  max-width: 480px;
  width: 100%;
}
.waitlist-input {
  flex: 1;
  padding: 0.875rem 1.1rem;
  background: transparent;
  border: none;
  outline: none;
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 0.95rem;
}
.waitlist-input::placeholder { color: var(--fg-subtle); }
.waitlist-btn {
  padding: 0.875rem 1.5rem;
  background: var(--accent);
  color: #0E0E10;
  border: none;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  letter-spacing: -0.01em;
  transition: opacity 0.15s ease;
}
.waitlist-btn:hover { opacity: 0.88; }
.waitlist-btn:disabled { opacity: 0.55; cursor: default; }
.waitlist-note {
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: var(--fg-subtle);
  line-height: 1.4;
}
.waitlist-success {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.875rem 1.1rem;
  background: rgba(245, 166, 35, 0.1);
  border: 1px solid rgba(245, 166, 35, 0.25);
  border-radius: 10px;
  max-width: 440px;
}
.waitlist-success-icon {
  font-size: 1.1rem;
  color: var(--accent);
  flex-shrink: 0;
}
.waitlist-success-text {
  font-size: 0.95rem;
  color: var(--fg);
  font-weight: 500;
}

/* === FOOTER === */
.site-footer {
  padding: 2.5rem 2rem;
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; gap: 2rem;
}
.footer-brand { font-family: var(--font-display); font-size: 1.1rem; color: var(--fg); }
.footer-tagline { color: var(--fg-subtle); font-size: 0.875rem; flex: 1; }
.footer-copy { color: var(--fg-subtle); font-size: 0.8rem; }

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
  .hero-aside { display: flex; gap: 1.5rem; }
  .hero-stat-block { flex: 1; margin-bottom: 0; }
  .hero-cta-block { flex: 1; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .process-steps { flex-direction: column; align-items: center; gap: 2.5rem; }
  .process-divider { width: 40px; height: 1px; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
}

@media (max-width: 600px) {
  .hero { padding: 6rem 1.5rem 3rem; }
  .features-grid { grid-template-columns: 1fr; }
  .hero-aside { flex-direction: column; }
  h1 { font-size: 2.5rem; }
}