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

:root {
  --bg: #F4EFE6;
  --bg-alt: #EAE4DA;
  --navy: #0C1824;
  --navy-mid: #162333;
  --cream: #F4EFE6;
  --text: #0C1824;
  --text-muted: #6B7A8C;
  --gold: #B8924A;
  --gold-light: #D4B07A;
  --green: #2D6A4F;
  --red: #8B3A3A;
  --border: rgba(12,24,36,0.12);
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'DM Sans', system-ui, sans-serif;
}

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

body {
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* === TYPOGRAPHY === */
.section-label {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.section-headline {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--navy);
  margin-bottom: 3rem;
}

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

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--navy);
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.02em;
}

.nav-tagline {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.nav-right { display: flex; align-items: center; }

.nav-cta {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #fff;
  background: var(--gold);
  padding: 0.5rem 1.25rem;
  border-radius: 3px;
  text-decoration: none;
  transition: background 0.2s;
}

.nav-cta:hover { background: #a07d3c; }

/* === HERO === */
.hero {
  padding: 6rem 4rem 5rem;
  background: var(--cream);
  border-bottom: 1px solid var(--border);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 5rem;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 4vw, 3.75rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--navy);
  margin-bottom: 1.5rem;
}

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

.hero-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.stat { display: flex; flex-direction: column; gap: 0.25rem; }

.stat-value {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}

.stat-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* Market Feed */
.market-feed {
  background: var(--navy);
  border-radius: 4px;
  padding: 1.5rem;
  box-shadow: 0 20px 60px rgba(12,24,36,0.15);
}

.feed-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.feed-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-muted);
}

.feed-dot.live {
  background: #4ADE80;
  box-shadow: 0 0 0 3px rgba(74,222,128,0.2);
  animation: pulse 2s ease-in-out infinite;
}

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

.feed-title {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

.feed-ticker { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 1.25rem; }

.ticker-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0.75rem;
  background: rgba(255,255,255,0.04);
  border-radius: 3px;
}

.ticker-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.7);
  font-weight: 400;
}

.ticker-val {
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
}

.ticker-val.green { color: #6EE7A0; }
.ticker-val.red { color: #F87171; }

.feed-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.feed-footer span:first-child {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.35);
}

.pulse-badge {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #4ADE80;
  background: rgba(74,222,128,0.1);
  padding: 0.2rem 0.5rem;
  border-radius: 2px;
}

/* === SECTION SHARED === */
.section-inner { max-width: 1400px; margin: 0 auto; padding: 5rem 4rem; }

/* === HOW IT WORKS === */
.howitworks {
  background: var(--navy);
  color: #fff;
}

.howitworks .section-headline { color: #fff; }
.howitworks .section-label { color: var(--gold-light); }

.steps-grid {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.step {
  flex: 1;
  padding: 2rem 2.5rem 2rem 0;
}

.step-number {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 400;
  color: var(--gold);
  opacity: 0.6;
  margin-bottom: 1rem;
  line-height: 1;
}

.step-title {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.75rem;
}

.step-desc {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
}

.step-connector {
  width: 40px;
  flex-shrink: 0;
  align-self: center;
  position: relative;
  padding-top: 1.5rem;
}

.step-connector::after {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: rgba(255,255,255,0.15);
}

/* === FEATURES === */
.features { background: var(--cream); }

.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.feature-headline {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 2.5vw, 2.25rem);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.feature-body {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.feature-list { display: flex; flex-direction: column; gap: 0; }

.feature-item {
  display: flex;
  gap: 1.25rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
}

.feature-item:first-child { border-top: 1px solid var(--border); }

.feature-icon {
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.feature-text h4 {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.375rem;
}

.feature-text p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* === MANIFESTO === */
.manifesto {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.manifesto-inner {
  max-width: 760px;
}

.manifesto-overline {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.manifesto-quote {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-style: italic;
  font-weight: 400;
  color: var(--navy);
  line-height: 1.4;
  margin-bottom: 2rem;
}

.manifesto-body {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 1rem;
}

/* === CLOSING === */
.closing { background: var(--navy); }

.closing-headline {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 600;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.closing-sub {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  max-width: 600px;
}

/* === CTA BLOCK === */
.cta-block { margin-top: 2.5rem; }

.cta-btn {
  display: inline-block;
  background: var(--gold);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 0.875rem 2rem;
  border-radius: 3px;
  text-decoration: none;
  transition: background 0.2s;
  cursor: pointer;
}

.cta-btn:hover { background: #a07d3c; }

.cta-note {
  margin-top: 0.875rem;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.4);
}

/* === EARLY ACCESS === */
.early-access { background: var(--cream); }

.ea-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: start;
}

.ea-headline {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 2.5vw, 2.25rem);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.ea-body {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.ea-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.ea-list li {
  font-size: 0.9375rem;
  color: var(--text);
  padding-left: 1.5rem;
  position: relative;
}

.ea-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.625rem;
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
}

.ea-form-wrap { background: #fff; border: 1px solid var(--border); border-radius: 4px; padding: 2.5rem; }

.ea-form { display: flex; flex-direction: column; gap: 1.25rem; }

.form-field { display: flex; flex-direction: column; gap: 0.375rem; }

.form-field label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.03em;
}

.form-field input,
.form-field select {
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  color: var(--text);
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 0.75rem 1rem;
  outline: none;
  transition: border-color 0.2s;
}

.form-field input:focus,
.form-field select:focus { border-color: var(--gold); }

.form-privacy {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
}

.btn-primary {
  width: 100%;
  background: var(--navy);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 0.875rem;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-primary:hover { background: var(--navy-mid); }
.btn-primary:disabled { opacity: 0.5; cursor: not-allowed; }

.ea-success {
  text-align: center;
  padding: 2rem 0;
}

.success-icon { margin-bottom: 1.25rem; }

.ea-success h3 {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.ea-success p {
  font-size: 0.9375rem;
  color: var(--text-muted);
}

/* === FOOTER === */
.footer {
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 3rem 4rem;
}

.footer-inner { max-width: 1400px; margin: 0 auto; }

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer .brand-name { color: rgba(255,255,255,0.8); }

.footer-tagline {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1.5rem;
}

.footer-legal {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.2);
  line-height: 1.6;
  max-width: 600px;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 3rem; }
  .market-feed { max-width: 480px; }
  .features-grid { grid-template-columns: 1fr; gap: 3rem; }
  .steps-grid { flex-direction: column; }
  .step-connector { display: none; }
  .ea-inner { grid-template-columns: 1fr; gap: 3rem; }
}

@media (max-width: 768px) {
  .nav { padding: 1rem 1.5rem; }
  .hero { padding: 4rem 1.5rem 3rem; }
  .section-inner { padding: 4rem 1.5rem; }
  .footer { padding: 2rem 1.5rem; }
  .hero-headline { font-size: 2.25rem; }
  .hero-stats { gap: 1.25rem; }
  .cta-block { text-align: center; }
  .ea-form-wrap { padding: 1.5rem; }
}