/* ============================================================
   SyncLab VOLT — Marketing site
   Palette: mint / sage / teal / navy / deep
   ============================================================ */

:root {
  --mint: #e2f7d4;
  --mint-90: rgba(226, 247, 212, 0.9);
  --mint-60: rgba(226, 247, 212, 0.6);
  --mint-40: rgba(226, 247, 212, 0.4);
  --mint-20: rgba(226, 247, 212, 0.2);
  --mint-10: rgba(226, 247, 212, 0.10);
  --mint-06: rgba(226, 247, 212, 0.06);
  --mint-03: rgba(226, 247, 212, 0.03);
  --sage: #527a70;
  --sage-80: rgba(82, 122, 112, 0.8);
  --sage-40: rgba(82, 122, 112, 0.4);
  --sage-20: rgba(82, 122, 112, 0.2);
  --sage-10: rgba(82, 122, 112, 0.1);
  --sage-05: rgba(82, 122, 112, 0.05);
  --teal: #2f585d;
  --navy: #20404f;
  --deep: #182f3a;
  --darker: #0f1f27;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out-cubic: cubic-bezier(0.65, 0, 0.35, 1);
}

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

::selection { background: var(--sage); color: var(--mint); }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  /* Responsive base font: scales with viewport, capped for readability */
  font-size: clamp(16px, 1vw + 0.5rem, 22px);
}

/* Extra boost for 4K / ultra-wide displays */
@media (min-width: 2000px) {
  html { font-size: 22px; }
  .hero-title, .section-title { letter-spacing: -0.01em; }
}
@media (min-width: 2800px) {
  html { font-size: 26px; }
}

/* Lenis smooth-scroll hooks */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
.lenis.lenis-scrolling iframe { pointer-events: none; }

body {
  font-family: 'Epilogue', sans-serif;
  background: var(--deep);
  color: var(--mint);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
button { font: inherit; }

/* ───────── NAV ───────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 clamp(24px, 5vw, 80px);
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(24, 47, 58, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--sage-10);
  transition: background 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease;
}

.nav.scrolled {
  background: rgba(24, 47, 58, 0.92);
  box-shadow: 0 4px 30px rgba(0,0,0,0.2);
}

.nav.hidden { transform: translateY(-100%); }

.nav-logo {
  font-family: 'Courier Prime', monospace;
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--sage);
  text-decoration: none;
  transition: color 0.3s;
}
.nav-logo span { color: var(--mint); font-weight: 700; }
.nav-logo:hover { color: var(--mint); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-family: 'Epilogue', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--sage);
  text-decoration: none;
  transition: color 0.3s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--mint);
  transition: width 0.3s;
}
.nav-links a:hover { color: var(--mint); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  font-family: 'Courier Prime', monospace !important;
  font-size: 11px !important;
  letter-spacing: 2px !important;
  padding: 10px 24px;
  border: 1px solid var(--sage);
  border-radius: 2px;
  transition: all 0.3s !important;
}
.nav-cta:hover {
  background: var(--mint) !important;
  color: var(--deep) !important;
  border-color: var(--mint) !important;
}
.nav-cta::after { display: none !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  z-index: 101;
  background: transparent;
  border: none;
}
.hamburger span {
  width: 24px; height: 1.5px;
  background: var(--sage);
  transition: all 0.3s;
}

/* ───────── CURSOR BLOB ───────── */
.cursor-blob {
  position: fixed;
  top: 0; left: 0;
  width: 480px; height: 480px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(circle, rgba(82, 122, 112, 0.18) 0%, transparent 60%);
  transform: translate(-50%, -50%);
  mix-blend-mode: screen;
  transition: opacity 0.3s;
  will-change: transform;
}
@media (max-width: 900px) { .cursor-blob { display: none; } }

/* ───────── HERO ───────── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 120px clamp(24px, 5vw, 80px) 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(47, 88, 93, 0.2) 0%, transparent 65%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -200px; left: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(82, 122, 112, 0.08) 0%, transparent 65%);
  pointer-events: none;
}

.hero-label {
  font-family: 'Courier Prime', monospace;
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 32px;
}

.hero-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(38px, 7vw, 84px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -2px;
  text-align: center;
  max-width: 900px;
  color: var(--mint);
  position: relative;
  z-index: 2;
}
.hero-title em {
  font-style: italic;
  color: var(--sage);
}

/* Split-text reveal */
.split-word {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
}
.split-word > span {
  display: inline-block;
  transform: translateY(110%);
  will-change: transform;
}

.hero-sub {
  margin-top: 36px;
  font-size: clamp(15px, 1.6vw, 19px);
  font-weight: 300;
  color: var(--sage);
  text-align: center;
  max-width: 600px;
  line-height: 1.7;
  position: relative;
  z-index: 2;
}

.hero-ctas {
  margin-top: 48px;
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.btn-primary {
  font-family: 'Courier Prime', monospace;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 16px 36px;
  background: var(--mint);
  color: var(--deep);
  border: none;
  border-radius: 2px;
  cursor: pointer;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s var(--ease-out-expo);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.5) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.8s var(--ease-out-expo);
}
.btn-primary:hover {
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(226, 247, 212, 0.25);
}
.btn-primary:hover::before { transform: translateX(100%); }
.btn-primary[disabled] { opacity: 0.5; cursor: wait; }

.btn-ghost {
  font-family: 'Courier Prime', monospace;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 16px 36px;
  background: transparent;
  color: var(--sage);
  border: 1px solid var(--sage-40);
  border-radius: 2px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s;
  display: inline-block;
}
.btn-ghost:hover {
  border-color: var(--mint);
  color: var(--mint);
  transform: translateY(-2px);
}

.hero-scroll {
  position: absolute;
  bottom: 40px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.hero-scroll span {
  font-family: 'Courier Prime', monospace;
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--sage);
  opacity: 0.5;
}
.hero-scroll-line {
  width: 1px; height: 36px;
  background: linear-gradient(to bottom, var(--sage), transparent);
  opacity: 0.4;
  animation: scrollPulse 2s ease-in-out infinite;
}

/* ───────── PROOF BAR ───────── */
.proof-bar {
  padding: 40px clamp(24px, 5vw, 80px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 4vw, 64px);
  flex-wrap: wrap;
  border-top: 1px solid var(--sage-10);
  border-bottom: 1px solid var(--sage-10);
  background: var(--darker);
  position: relative;
  z-index: 2;
}
.proof-item { text-align: center; }
.proof-number {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(28px, 3.5vw, 42px);
  color: var(--mint);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.proof-label {
  font-family: 'Courier Prime', monospace;
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--sage);
  margin-top: 8px;
  opacity: 0.7;
}
.proof-divider {
  width: 1px; height: 40px;
  background: var(--sage-20);
}

/* ───────── SECTION SHARED ───────── */
section {
  padding: clamp(80px, 10vw, 140px) clamp(24px, 5vw, 80px);
  position: relative;
}

.sec-label {
  font-family: 'Courier Prime', monospace;
  font-size: 11px;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 16px;
}
.sec-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(30px, 4.5vw, 52px);
  font-weight: 400;
  color: var(--mint);
  line-height: 1.15;
  max-width: 700px;
  margin-bottom: 20px;
}
.sec-title em {
  font-style: italic;
  color: var(--sage);
}
.sec-desc {
  font-size: clamp(15px, 1.4vw, 17px);
  font-weight: 300;
  color: var(--sage);
  line-height: 1.7;
  max-width: 580px;
  margin-bottom: 56px;
}

/* Reveal helpers (GSAP targets) */
.reveal { opacity: 0; transform: translateY(28px); }
.reveal-fade { opacity: 0; }

/* ───────── PROBLEM ───────── */
.s-problem { background: var(--deep); overflow: hidden; }
.s-problem::before {
  content: '';
  position: absolute;
  top: 10%; right: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(47, 88, 93, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 4vw, 60px);
  align-items: center;
}
.problem-quotes { display: flex; flex-direction: column; gap: 0; }
.p-quote {
  padding: clamp(20px, 2.5vw, 32px) 0;
  border-bottom: 1px solid var(--sage-10);
  transition: padding 0.4s var(--ease-out-expo), border-color 0.4s;
}
.p-quote:first-child { border-top: 1px solid var(--sage-10); }
.p-quote:hover {
  padding-left: 16px;
  border-bottom-color: var(--sage-40);
}
.p-quote blockquote {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(16px, 1.8vw, 22px);
  font-style: italic;
  color: var(--mint-60);
  line-height: 1.45;
  transition: color 0.4s;
}
.p-quote:hover blockquote { color: var(--mint-90); }
.p-quote cite {
  display: block;
  margin-top: 10px;
  font-family: 'Courier Prime', monospace;
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--sage);
  font-style: normal;
  opacity: 0.6;
}
.problem-text h3 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 400;
  color: var(--mint);
  line-height: 1.25;
  margin-bottom: 24px;
}
.problem-text h3 em { font-style: italic; color: var(--sage); }
.problem-text p {
  font-size: 15px;
  font-weight: 300;
  color: var(--sage);
  line-height: 1.8;
  margin-bottom: 16px;
}
.problem-text p strong { color: var(--mint); font-weight: 500; }

/* ───────── PILLARS ───────── */
.s-pillars { background: var(--navy); }
.s-pillars::before {
  content: '';
  position: absolute;
  top: -10%; left: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(47, 88, 93, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.pillar {
  background: var(--mint-03);
  border: 1px solid var(--sage-10);
  border-radius: 6px;
  padding: clamp(32px, 3vw, 48px) clamp(24px, 2.5vw, 36px);
  position: relative;
  overflow: hidden;
  transition: all 0.5s var(--ease-out-expo);
}
.pillar:hover {
  background: var(--mint-06);
  border-color: var(--sage);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}
.pillar-num {
  font-family: 'DM Serif Display', serif;
  font-size: 80px;
  color: var(--sage);
  opacity: 0.07;
  position: absolute;
  top: 8px; right: 16px;
  line-height: 1;
  transition: opacity 0.4s;
}
.pillar:hover .pillar-num { opacity: 0.14; }
.pillar-tag {
  font-family: 'Courier Prime', monospace;
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.4s;
}
.pillar-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--sage);
  transition: all 0.4s;
}
.pillar:hover .pillar-dot {
  background: var(--mint);
  box-shadow: 0 0 12px rgba(226, 247, 212, 0.3);
}
.pillar:hover .pillar-tag { color: var(--mint); }
.pillar-name {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(22px, 2.4vw, 30px);
  color: var(--mint);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 16px;
  opacity: 0.9;
  transition: opacity 0.4s;
}
.pillar:hover .pillar-name { opacity: 1; }
.pillar-desc {
  font-size: 14px;
  line-height: 1.75;
  color: var(--sage);
  font-weight: 300;
  margin-bottom: 28px;
}
.pillar-example { padding-top: 20px; border-top: 1px solid var(--sage-10); }
.pillar-example-label {
  font-family: 'Courier Prime', monospace;
  font-size: 9px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--sage);
  opacity: 0.5;
  margin-bottom: 10px;
}
.pillar-before {
  font-family: 'DM Serif Display', serif;
  font-size: 14px;
  font-style: italic;
  color: var(--mint);
  opacity: 0.45;
  text-decoration: line-through;
  text-decoration-color: var(--sage-40);
  margin-bottom: 6px;
}
.pillar-after {
  font-family: 'DM Serif Display', serif;
  font-size: 14px;
  color: var(--mint);
  opacity: 0.8;
}
.pillar::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: linear-gradient(90deg, var(--teal), var(--mint));
  transition: width 0.6s var(--ease-out-expo);
}
.pillar:hover::after { width: 100%; }

.pillars-footer { text-align: center; margin-top: 64px; }
.pillars-footer-line {
  width: 50px; height: 1px;
  background: var(--sage);
  margin: 0 auto 28px;
  opacity: 0.3;
}
.pillars-footer p {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(18px, 2.2vw, 26px);
  color: var(--mint);
  font-weight: 400;
  line-height: 1.5;
}
.pillars-footer p em { font-style: italic; color: var(--sage); }

/* ───────── HOW IT WORKS ───────── */
.s-how { background: var(--deep); }

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  margin-bottom: 60px;
}
.tl-step {
  background: var(--mint-03);
  border: 1px solid var(--sage-10);
  padding: clamp(28px, 2.5vw, 40px) clamp(20px, 2vw, 28px);
  position: relative;
  transition: all 0.4s;
}
.tl-step:first-child { border-radius: 6px 0 0 6px; }
.tl-step:last-child { border-radius: 0 6px 6px 0; }
.tl-step:hover { background: var(--mint-06); z-index: 2; }
.tl-week {
  font-family: 'Courier Prime', monospace;
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--sage);
  opacity: 0.6;
  margin-bottom: 16px;
}
.tl-name {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(18px, 1.8vw, 22px);
  color: var(--mint);
  margin-bottom: 12px;
  line-height: 1.25;
}
.tl-desc {
  font-size: 13px;
  font-weight: 300;
  color: var(--sage);
  line-height: 1.65;
}
.tl-pilar-tag {
  display: inline-block;
  margin-top: 16px;
  font-family: 'Courier Prime', monospace;
  font-size: 9px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--mint);
  background: var(--sage-20);
  padding: 3px 10px;
  border-radius: 2px;
  opacity: 0.6;
}

/* ───────── CASE STUDY ───────── */
.s-case { background: var(--darker); overflow: hidden; }
.s-case::before {
  content: '';
  position: absolute;
  bottom: -10%; right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(47, 88, 93, 0.1) 0%, transparent 70%);
  pointer-events: none;
}
.case-container { max-width: 1000px; margin: 0 auto; }
.case-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.case-metrics { display: flex; flex-direction: column; }
.case-metric {
  padding: 24px 0;
  border-bottom: 1px solid var(--sage-10);
  display: grid;
  grid-template-columns: 1fr 20px 1fr;
  align-items: center;
  gap: 12px;
}
.case-metric:first-child { border-top: 1px solid var(--sage-10); }
.cm-before {
  text-align: right;
  font-family: 'DM Serif Display', serif;
  font-size: clamp(16px, 1.6vw, 20px);
  color: var(--sage);
  opacity: 0.5;
  text-decoration: line-through;
  text-decoration-color: var(--sage-40);
}
.cm-arrow {
  font-family: 'Courier Prime', monospace;
  font-size: 14px;
  color: var(--sage);
  text-align: center;
}
.cm-after {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(16px, 1.6vw, 20px);
  color: var(--mint);
}
.cm-label {
  grid-column: 1 / -1;
  font-family: 'Courier Prime', monospace;
  font-size: 9px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--sage);
  opacity: 0.5;
  margin-top: 4px;
}
.case-quote { display: flex; flex-direction: column; justify-content: center; }
.case-quote blockquote {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(20px, 2.4vw, 30px);
  font-style: italic;
  color: var(--mint);
  line-height: 1.4;
  margin-bottom: 24px;
  opacity: 0.85;
}
.case-quote cite {
  font-family: 'Courier Prime', monospace;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--sage);
  font-style: normal;
}
.case-context {
  font-size: 14px;
  font-weight: 300;
  color: var(--sage);
  line-height: 1.7;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  padding-top: 40px;
  border-top: 1px solid var(--sage-10);
}
.case-context strong { color: var(--mint); font-weight: 500; }

/* ───────── MODULES ───────── */
.s-modules { background: var(--navy); }
.modules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.mod-card {
  background: var(--mint-03);
  border: 1px solid var(--sage-10);
  border-radius: 6px;
  padding: 32px 28px;
  transition: all 0.4s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
}
.mod-card:hover {
  background: var(--mint-06);
  border-color: var(--sage);
  transform: translateY(-4px);
}
.mod-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: linear-gradient(90deg, var(--teal), var(--mint));
  transition: width 0.5s var(--ease-out-expo);
}
.mod-card:hover::after { width: 100%; }
.mod-tag {
  font-family: 'Courier Prime', monospace;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.mod-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--sage);
}
.mod-name {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(17px, 1.8vw, 22px);
  color: var(--mint);
  margin-bottom: 10px;
  line-height: 1.25;
}
.mod-desc {
  font-size: 13px;
  font-weight: 300;
  color: var(--sage);
  line-height: 1.65;
}
.mod-pilar {
  display: inline-block;
  margin-top: 14px;
  font-family: 'Courier Prime', monospace;
  font-size: 9px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--mint);
  background: var(--sage-20);
  padding: 3px 10px;
  border-radius: 2px;
  opacity: 0.6;
}

/* ───────── TIERS ───────── */
.s-tiers { background: var(--deep); }
.s-tiers::before {
  content: '';
  position: absolute;
  top: -10%; right: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(47, 88, 93, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.tiers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}
.tier {
  background: var(--mint-03);
  border: 1px solid var(--sage-10);
  border-radius: 6px;
  padding: clamp(32px, 3vw, 44px) clamp(24px, 2.5vw, 32px);
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--ease-out-expo);
}
.tier:hover { border-color: var(--sage); transform: translateY(-4px); }
.tier.feat {
  background: rgba(47, 88, 93, 0.2);
  border-color: var(--sage);
}
.tier.feat::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--sage), var(--mint));
}
.tier-badge {
  font-family: 'Courier Prime', monospace;
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--deep);
  background: var(--mint);
  padding: 4px 14px;
  border-radius: 2px;
  display: inline-block;
  margin-bottom: 20px;
}
.tier-name {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(26px, 2.5vw, 34px);
  color: var(--mint);
  margin-bottom: 8px;
}
.tier-sub {
  font-size: 13px;
  color: var(--sage);
  font-weight: 300;
  margin-bottom: 28px;
  line-height: 1.5;
}
.tier-price {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(30px, 3vw, 42px);
  color: var(--mint);
  margin-bottom: 6px;
}
.tier-price span {
  font-family: 'Epilogue', sans-serif;
  font-size: 14px;
  font-weight: 300;
  color: var(--sage);
}
.tier-period {
  font-size: 12px;
  color: var(--sage);
  font-weight: 300;
  margin-bottom: 28px;
  opacity: 0.7;
}
.tier-line { width: 100%; height: 1px; background: var(--sage-10); margin-bottom: 24px; }
.tier-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.tier-list li {
  font-size: 13px;
  color: var(--sage);
  font-weight: 300;
  line-height: 1.5;
  padding-left: 18px;
  position: relative;
}
.tier-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 7px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--sage);
}
.tier-list li.hl { color: var(--mint); font-weight: 400; }
.tier.feat .tier-list li::before { background: var(--mint); }

.tier-cta {
  margin-top: 28px;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.tiers-footer { text-align: center; }
.tiers-footer-line {
  width: 50px; height: 1px;
  background: var(--sage);
  margin: 0 auto 24px;
  opacity: 0.3;
}
.tiers-footer p {
  font-size: 14px;
  color: var(--sage);
  font-weight: 300;
  line-height: 1.7;
  max-width: 580px;
  margin: 0 auto;
}
.tiers-footer strong { color: var(--mint); font-weight: 500; }
.tiers-footer .fine {
  display: block;
  margin-top: 16px;
  font-family: 'Courier Prime', monospace;
  font-size: 10px;
  letter-spacing: 1.5px;
  color: var(--sage);
  opacity: 0.4;
}

/* ───────── ANTI-POSITIONING ───────── */
.s-anti { background: var(--deep); text-align: center; }
.anti-pairs {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.anti-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: 6px;
  overflow: hidden;
  transition: transform 0.4s var(--ease-out-expo);
}
.anti-pair:hover { transform: scale(1.015); }
.anti-not, .anti-is {
  padding: clamp(20px, 2.5vw, 28px) clamp(20px, 3vw, 36px);
  display: flex;
  align-items: center;
  gap: 14px;
  transition: all 0.4s;
}
.anti-not {
  background: rgba(15, 31, 39, 0.7);
  border: 1px solid var(--sage-10);
  border-right: none;
  border-radius: 6px 0 0 6px;
  justify-content: flex-end;
  text-align: right;
}
.anti-is {
  background: var(--mint-06);
  border: 1px solid var(--sage-20);
  border-left: none;
  border-radius: 0 6px 6px 0;
  position: relative;
}
.anti-is::before {
  content: '';
  position: absolute;
  left: 0; top: 20%; bottom: 20%;
  width: 2px;
  background: linear-gradient(to bottom, transparent, var(--mint), transparent);
  opacity: 0.4;
}
.anti-pair:hover .anti-is::before { opacity: 0.8; }
.anti-icon {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  line-height: 1;
}
.anti-not .anti-icon {
  background: var(--sage-10);
  color: var(--sage);
  opacity: 0.4;
}
.anti-is .anti-icon {
  background: var(--sage-20);
  color: var(--mint);
}
.anti-pair:hover .anti-is .anti-icon {
  background: var(--mint);
  color: var(--deep);
}
.anti-text { display: flex; flex-direction: column; gap: 2px; }
.anti-not .anti-text-main {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(14px, 1.4vw, 17px);
  font-style: italic;
  color: var(--sage);
  opacity: 0.35;
  text-decoration: line-through;
  text-decoration-color: var(--sage-40);
  transition: opacity 0.3s;
}
.anti-pair:hover .anti-not .anti-text-main { opacity: 0.55; }
.anti-is .anti-text-main {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(15px, 1.5vw, 18px);
  color: var(--mint);
  line-height: 1.35;
  transition: all 0.3s;
}
.anti-is .anti-text-sub {
  font-family: 'Courier Prime', monospace;
  font-size: 9px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--sage);
  opacity: 0.4;
  margin-top: 2px;
}

/* ───────── FOUNDER ───────── */
.s-founder { background: var(--navy); overflow: hidden; }
.founder-container { max-width: 760px; margin: 0 auto; }
.founder-header { margin-bottom: 40px; }
.founder-name {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(32px, 4vw, 48px);
  color: var(--mint);
  margin-bottom: 8px;
}
.founder-role {
  font-family: 'Courier Prime', monospace;
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 24px;
}
.founder-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.f-tag {
  font-family: 'Courier Prime', monospace;
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--sage);
  border: 1px solid var(--sage-20);
  padding: 6px 14px;
  border-radius: 2px;
  background: transparent;
  transition: all 0.3s;
}
.f-tag:hover { border-color: var(--sage); color: var(--mint); }
.founder-divider {
  width: 40px; height: 1px;
  background: var(--sage);
  opacity: 0.25;
  margin-bottom: 40px;
}
.founder-bio { display: flex; flex-direction: column; gap: 20px; }
.founder-bio p {
  font-size: clamp(15px, 1.3vw, 17px);
  font-weight: 300;
  color: var(--sage);
  line-height: 1.8;
}
.founder-bio p strong { color: var(--mint); font-weight: 500; }

/* ───────── CTA / FORM ───────── */
.s-cta {
  background: var(--darker);
  text-align: center;
  padding: clamp(100px, 12vw, 160px) clamp(24px, 5vw, 80px);
}
.cta-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(32px, 5vw, 60px);
  font-weight: 400;
  color: var(--mint);
  line-height: 1.15;
  max-width: 700px;
  margin: 0 auto 24px;
}
.cta-title em { font-style: italic; color: var(--sage); }
.cta-sub {
  font-size: clamp(15px, 1.4vw, 17px);
  font-weight: 300;
  color: var(--sage);
  max-width: 500px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

/* Inline lead form */
.lead-form {
  max-width: 560px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  text-align: left;
}
.lead-form .full { grid-column: 1 / -1; }
.lead-form label {
  font-family: 'Courier Prime', monospace;
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--sage);
  display: block;
  margin-bottom: 6px;
  opacity: 0.7;
}
.lead-form input, .lead-form select {
  width: 100%;
  padding: 14px 16px;
  background: var(--mint-03);
  border: 1px solid var(--sage-20);
  border-radius: 2px;
  color: var(--mint);
  font-family: 'Epilogue', sans-serif;
  font-size: 14px;
  outline: none;
  transition: all 0.3s;
}
.lead-form input::placeholder { color: var(--sage); opacity: 0.5; }
.lead-form input:focus, .lead-form select:focus {
  border-color: var(--mint);
  background: var(--mint-06);
  box-shadow: 0 0 0 3px rgba(226, 247, 212, 0.08);
}
.lead-form select { cursor: pointer; appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--sage) 50%), linear-gradient(135deg, var(--sage) 50%, transparent 50%); background-position: right 18px center, right 12px center; background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; padding-right: 36px; }
/* Force solid dark background on options — mobile OS widgets ignore CSS otherwise */
.lead-form select option {
  background-color: #0f1f27 !important;
  color: #e2f7d4 !important;
  padding: 12px 16px;
  font-weight: 500;
}
.lead-form select option:checked,
.lead-form select option:hover {
  background-color: #20404f !important;
  color: #ffffff !important;
}
.lead-form .field-error {
  font-family: 'Courier Prime', monospace;
  font-size: 10px;
  letter-spacing: 1px;
  color: #ff9b8f;
  margin-top: 6px;
  min-height: 14px;
}
.lead-form .form-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 12px;
}
.lead-form .form-actions .btn-primary { width: 100%; justify-content: center; }
.form-fine {
  font-family: 'Courier Prime', monospace;
  font-size: 9px;
  letter-spacing: 1.5px;
  color: var(--sage);
  opacity: 0.45;
  text-transform: uppercase;
}

/* Handoff overlay — shown while redirecting to app */
.handoff {
  position: fixed;
  inset: 0;
  background: rgba(15, 31, 39, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
}
.handoff.visible { opacity: 1; pointer-events: auto; }
.handoff-label {
  font-family: 'Courier Prime', monospace;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--sage);
}
.handoff-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(24px, 3vw, 36px);
  color: var(--mint);
  text-align: center;
  max-width: 500px;
}
.handoff-ring {
  width: 48px; height: 48px;
  border: 2px solid var(--sage-20);
  border-top-color: var(--mint);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* ───────── FOOTER ───────── */
.footer {
  padding: 48px clamp(24px, 5vw, 80px);
  border-top: 1px solid var(--sage-10);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  background: var(--darker);
}
.footer-logo {
  font-family: 'Courier Prime', monospace;
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--sage);
  opacity: 0.5;
}
.footer-logo span { color: var(--mint); opacity: 1; }
.footer-links { display: flex; gap: 24px; }
.footer-links a {
  font-family: 'Courier Prime', monospace;
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--sage);
  text-decoration: none;
  opacity: 0.5;
  transition: all 0.3s;
}
.footer-links a:hover { color: var(--mint); opacity: 1; }
.footer-copy {
  font-size: 11px;
  color: var(--sage);
  opacity: 0.3;
  width: 100%;
  text-align: center;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--sage-05);
}

/* ───────── ANIMATIONS ───────── */
@keyframes scrollPulse {
  0%, 100% { opacity: 0.2; }
  50% { opacity: 0.6; }
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ───────── RESPONSIVE ───────── */
@media (max-width: 1024px) {
  .pillars-grid, .modules-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .tl-step:first-child { border-radius: 6px 0 0 0; }
  .tl-step:nth-child(2) { border-radius: 0 6px 0 0; }
  .tl-step:nth-child(3) { border-radius: 0 0 0 6px; }
  .tl-step:last-child { border-radius: 0 0 6px 0; }
}
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    position: fixed;
    top: 72px; left: 0; right: 0;
    flex-direction: column;
    background: rgba(24, 47, 58, 0.97);
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--sage-10);
    backdrop-filter: blur(20px);
  }
  .hamburger { display: flex; }
  .problem-grid { grid-template-columns: 1fr; gap: 48px; }
  .case-grid { grid-template-columns: 1fr; }
  .tiers-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
  .tier.feat { order: -1; }
  .lead-form { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .pillars-grid, .modules-grid, .timeline { grid-template-columns: 1fr; }
  .tl-step { border-radius: 0 !important; }
  .tl-step:first-child { border-radius: 6px 6px 0 0 !important; }
  .tl-step:last-child { border-radius: 0 0 6px 6px !important; }
  .proof-divider { display: none; }
  .proof-bar { gap: 16px; }
  .hero-title { letter-spacing: -1px; }
  .anti-pair { grid-template-columns: 1fr; }
  .anti-not {
    border-radius: 6px 6px 0 0;
    border-right: 1px solid var(--sage-10);
    border-bottom: none;
    justify-content: flex-start;
    text-align: left;
  }
  .anti-is {
    border-radius: 0 0 6px 6px;
    border-left: 1px solid var(--sage-20);
    border-top: none;
  }
  .anti-is::before {
    top: 0; left: 20%; right: 20%;
    bottom: auto; width: auto; height: 2px;
    background: linear-gradient(to right, transparent, var(--mint), transparent);
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal, .reveal-fade { opacity: 1 !important; transform: none !important; }
  .split-word > span { transform: none !important; }
}
