/* ===================
   LEADSTACK — THEME
   =================== */

:root {
  --bg:          #111827;
  --bg-2:        #1a2332;
  --bg-3:        #0f172a;
  --fg:          #f1f5f9;
  --fg-muted:    #94a3b8;
  --accent:      #f59e0b;
  --accent-dim:  rgba(245,158,11,0.12);
  --border:      rgba(255,255,255,0.07);
  --radius:      6px;
  --max-w:       1080px;
  --pad-x:       clamp(20px, 5vw, 60px);
}

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

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', system-ui, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ---- TYPOGRAPHY ---- */
h1, h2, h3 {
  font-family: 'Syne', system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.section-tag {
  display: inline-block;
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

/* ---- HERO ---- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(80px, 10vh, 120px) var(--pad-x) 80px;
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(245,158,11,0.07) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 10% 80%, rgba(245,158,11,0.04) 0%, transparent 60%);
  pointer-events: none;
}

.hero-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 24px;
}

.hero-headline {
  font-size: clamp(52px, 10vw, 96px);
  font-weight: 800;
  color: var(--fg);
  margin-bottom: 24px;
}

.hero-headline br { display: block; }

.hero-sub {
  font-size: clamp(17px, 2vw, 20px);
  color: var(--fg-muted);
  max-width: 560px;
  margin-bottom: 56px;
  font-weight: 300;
  line-height: 1.65;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-stat-num {
  font-family: 'Syne', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: var(--accent);
}

.hero-stat-label {
  font-size: 12px;
  color: var(--fg-muted);
  letter-spacing: 0.04em;
}

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

/* ---- PROOF ---- */
.proof {
  padding: 100px var(--pad-x);
  max-width: var(--max-w);
  margin: 0 auto;
  border-top: 1px solid var(--border);
}

.proof-header {
  margin-bottom: 64px;
}

.proof-header h2 {
  font-size: clamp(28px, 4vw, 42px);
  color: var(--fg);
}

.proof-steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0;
  align-items: start;
}

.step {
  padding: 32px 28px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.step-num {
  font-family: 'Syne', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 16px;
}

.step h3 {
  font-size: 18px;
  color: var(--fg);
  margin-bottom: 12px;
}

.step p {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.65;
}

.step-arrow {
  display: flex;
  align-items: center;
  padding: 0 8px;
  padding-top: 80px;
}

.proof-note {
  margin-top: 40px;
  font-size: 13px;
  color: var(--fg-muted);
  font-style: italic;
  border-left: 2px solid var(--accent);
  padding-left: 16px;
}

/* ---- ECONOMICS ---- */
.economics {
  padding: 100px var(--pad-x);
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.economics-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.economics-left h2 {
  font-size: clamp(26px, 3.5vw, 38px);
  color: var(--fg);
  margin-bottom: 20px;
}

.economics-left p {
  font-size: 16px;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.econ-row {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.econ-row:last-child { border-bottom: none; }

.econ-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: var(--accent-dim);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.econ-row strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 4px;
}

.econ-row p {
  font-size: 13px;
  color: var(--fg-muted);
  line-height: 1.55;
  margin: 0;
}

/* ---- OUTCOMES ---- */
.outcomes {
  padding: 100px var(--pad-x);
  max-width: var(--max-w);
  margin: 0 auto;
}

.outcomes-header {
  margin-bottom: 48px;
}

.outcomes-header h2 {
  font-size: clamp(26px, 3.5vw, 38px);
  color: var(--fg);
}

.outcomes-table {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.outcomes-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  padding: 20px 28px;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
}

.outcomes-row:last-child { border-bottom: none; }

.outcomes-row-head {
  background: var(--bg-2);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
  font-weight: 500;
}

.outcomes-row:not(.outcomes-row-head) span:first-child {
  font-family: 'Syne', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--fg);
}

.rev {
  color: var(--accent) !important;
  font-weight: 600;
}

.outcomes-row-highlight {
  background: var(--accent-dim);
}

.outcomes-note {
  margin-top: 24px;
  font-size: 13px;
  color: var(--fg-muted);
  font-style: italic;
}

/* ---- CLOSING ---- */
.closing {
  padding: 100px var(--pad-x);
  background: var(--bg-3);
  border-top: 1px solid var(--border);
}

.closing-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.closing h2 {
  font-size: clamp(32px, 5vw, 56px);
  color: var(--fg);
  margin-bottom: 28px;
}

.closing p {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--fg-muted);
  max-width: 640px;
  line-height: 1.75;
  margin-bottom: 16px;
  font-weight: 300;
}

/* ---- FOOTER ---- */
footer {
  padding: 60px var(--pad-x) 48px;
  border-top: 1px solid var(--border);
}

.footer-logo {
  font-family: 'Syne', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: var(--fg);
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.footer-tagline {
  font-size: 15px;
  color: var(--fg-muted);
  margin-bottom: 8px;
}

.footer-copy {
  font-size: 13px;
  color: var(--fg-muted);
  opacity: 0.5;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .proof-steps {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .step-arrow { display: none; }
  .economics-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-stats {
    gap: 20px;
  }
  .outcomes-row {
    padding: 16px 20px;
    font-size: 14px;
  }
  .hero-stat-div { display: none; }
}

@media (max-width: 480px) {
  .outcomes-row {
    grid-template-columns: 1fr 1fr;
    gap: 4px;
  }
  .outcomes-row-head span:last-child { display: none; }
  .outcomes-row:not(.outcomes-row-head) span:last-child { display: none; }
}

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #334155; }

/* ---- SELECTION ---- */
::selection { background: rgba(245,158,11,0.2); color: var(--fg); }
