:root {
  --bg: #12140f;
  --bg-soft: #191b16;
  --moss: #26321f;
  --surface: #1e201b;
  --surface-high: #292b25;
  --surface-bright: #343530;
  --green: #6ede6f;
  --green-strong: #48b84f;
  --mint: #bfe6c6;
  --cream: #f5f0e8;
  --muted: #b8b0a2;
  --peach: #f4b9a6;
  --coral: #e1372d;
  --outline: rgba(191, 230, 198, 0.18);
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: Manrope, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--cream);
  background:
    radial-gradient(circle at 78% 18%, rgba(110, 222, 111, 0.14), transparent 28rem),
    radial-gradient(circle at 10% 60%, rgba(244, 185, 166, 0.09), transparent 30rem),
    linear-gradient(180deg, #12140f 0%, #151811 52%, #10120e 100%);
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button, input { font: inherit; }

.ambient {
  position: fixed;
  z-index: -1;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(90px);
  opacity: 0.18;
}
.ambient-a { width: 42vw; height: 42vw; right: -12vw; top: 14vh; background: var(--green); }
.ambient-b { width: 34vw; height: 34vw; left: -12vw; bottom: 6vh; background: var(--peach); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: rgba(18, 20, 15, 0.74);
  backdrop-filter: blur(22px);
}

.affiliate-bar {
  width: min(var(--max), calc(100% - 32px));
  margin: 10px auto 0;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(30, 32, 27, 0.76);
  border: 1px solid var(--outline);
  border-radius: 8px;
}
.affiliate-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--green), var(--green-strong));
  color: #07320b;
  font-weight: 800;
}
.affiliate-avatar img { width: 100%; height: 100%; object-fit: cover; }
.affiliate-bar strong, .affiliate-bar span { display: block; }
.affiliate-bar span { color: var(--muted); font-size: 13px; margin-top: 2px; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 230px;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--green), var(--green-strong));
  color: #07320b;
  font-weight: 800;
}
.brand strong, .brand small { display: block; }
.brand strong { font-size: 16px; line-height: 1.1; }
.brand small { color: var(--muted); font-size: 11px; margin-top: 3px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}
.nav-links a:hover, .mobile-menu a:hover { color: var(--green); }
.menu-toggle { display: none; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 13px 22px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--green);
  color: #08250b;
  box-shadow: 0 0 26px rgba(110, 222, 111, 0.22);
}
.btn-primary:hover { background: #8afb89; box-shadow: 0 0 34px rgba(110, 222, 111, 0.35); }
.btn-secondary {
  background: transparent;
  color: var(--peach);
  border: 1px solid rgba(244, 185, 166, 0.62);
}
.btn.full { width: 100%; }

.mobile-menu {
  position: fixed;
  inset: 76px 16px auto;
  z-index: 60;
  padding: 14px;
  background: rgba(30, 32, 27, 0.98);
  border: 1px solid var(--outline);
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.mobile-menu a { display: block; padding: 14px; color: var(--muted); font-weight: 700; }

.section {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 90px 0;
}
.hero {
  min-height: calc(100vh - 90px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 470px);
  gap: 56px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  color: var(--green);
  background: rgba(110, 222, 111, 0.09);
  border: 1px solid rgba(110, 222, 111, 0.18);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: clamp(42px, 7vw, 78px);
  line-height: 0.98;
  letter-spacing: -0.03em;
}
h2 {
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.04;
  letter-spacing: -0.02em;
}
h3 { font-size: 19px; line-height: 1.24; }
.lead {
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.65;
  max-width: 680px;
}
.lead.compact { font-size: 16px; line-height: 1.55; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.actions.center { justify-content: center; }
.safe-note { margin-top: 18px; color: var(--muted); font-size: 13px; }

.phone-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 540px;
}
.pulse-ring {
  position: absolute;
  width: 390px;
  height: 390px;
  border-radius: 999px;
  border: 1px solid rgba(110, 222, 111, 0.22);
  animation: pulse 4s ease-in-out infinite;
}
.phone-card {
  width: min(360px, 88vw);
  padding: 24px;
  border-radius: 26px;
  background: linear-gradient(160deg, rgba(52, 53, 48, 0.92), rgba(18, 20, 15, 0.92));
  border: 1px solid rgba(110, 222, 111, 0.2);
  box-shadow: var(--shadow), inset 0 0 40px rgba(110, 222, 111, 0.05);
}
.phone-top { display: flex; gap: 6px; margin-bottom: 26px; }
.phone-top span { width: 8px; height: 8px; border-radius: 50%; background: rgba(245, 240, 232, 0.28); }
.score-orb {
  width: 180px;
  height: 180px;
  margin: 0 auto 26px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  text-align: center;
  background: radial-gradient(circle, rgba(110, 222, 111, 0.25), rgba(110, 222, 111, 0.04) 58%, transparent 59%);
  border: 1px solid rgba(110, 222, 111, 0.35);
}
.score-orb strong { display: block; font-size: 54px; line-height: 1; }
.score-orb small { display: block; color: var(--muted); margin-top: 6px; }
.mini-list { display: grid; gap: 12px; }
.mini-list span {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  color: var(--cream);
  background: rgba(255, 255, 255, 0.045);
  border-radius: 8px;
}
.mini-list b { width: 10px; height: 10px; border-radius: 50%; background: var(--green); box-shadow: 0 0 14px rgba(110, 222, 111, 0.6); }

.section-heading { max-width: 760px; margin-bottom: 34px; }
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.card-grid.five { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.signal-card, .step, .test-panel, .video-frame {
  background: rgba(30, 32, 27, 0.74);
  border: 1px solid var(--outline);
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.015);
}
.signal-card {
  min-height: 210px;
  padding: 22px;
}
.signal-card span, .step span {
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.signal-card p, .step p { color: var(--muted); line-height: 1.55; }

.process-section {
  width: 100%;
  max-width: none;
  padding: 100px max(16px, calc((100vw - var(--max)) / 2));
  background: linear-gradient(180deg, rgba(38, 50, 31, 0.62), rgba(30, 32, 27, 0.15));
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.step { padding: 28px; }
.cta-band {
  text-align: center;
  padding: 70px 24px;
  margin-bottom: 60px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(110, 222, 111, 0.13), rgba(244, 185, 166, 0.08));
  border: 1px solid var(--outline);
}
.cta-band p { color: var(--muted); }

.view { display: none; }
.view-active { display: block; }
.test-shell {
  width: min(760px, calc(100% - 32px));
  margin: 60px auto 90px;
}
.progress-meta { margin-bottom: 24px; color: var(--muted); font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; }
.progress {
  height: 8px;
  margin-top: 10px;
  background: var(--surface-high);
  border-radius: 999px;
  overflow: hidden;
}
.progress span {
  display: block;
  width: 25%;
  height: 100%;
  background: linear-gradient(90deg, var(--green), var(--peach));
  border-radius: inherit;
  transition: width 0.35s ease;
}
.test-panel {
  padding: clamp(24px, 5vw, 46px);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.test-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--green), var(--peach), var(--green-strong));
}
.hidden { display: none !important; }
.form-stack { display: grid; gap: 18px; margin-top: 30px; }
label { color: var(--cream); font-weight: 800; }
input[type="text"], input[type="email"] {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 16px;
  border: 1px solid rgba(191, 230, 198, 0.22);
  border-radius: 8px;
  background: rgba(18, 20, 15, 0.72);
  color: var(--cream);
  outline: none;
}
input:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(110, 222, 111, 0.13); }
.check-row {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 12px;
  align-items: start;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  font-weight: 600;
}
.check-row input { width: 18px; height: 18px; accent-color: var(--green); margin-top: 2px; }
.form-message { min-height: 20px; color: var(--peach); margin-top: 18px; }
.challenge-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 28px 0;
}
.challenge-card, .option-card {
  width: 100%;
  padding: 16px;
  text-align: left;
  color: var(--cream);
  background: rgba(52, 53, 48, 0.5);
  border: 1px solid rgba(191, 230, 198, 0.16);
  border-radius: 8px;
  cursor: pointer;
  transition: border 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.challenge-card:hover, .option-card:hover { transform: translateY(-1px); border-color: rgba(110, 222, 111, 0.55); }
.challenge-card.selected, .option-card.selected {
  background: rgba(110, 222, 111, 0.12);
  border-color: var(--green);
}
.panel-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 26px; }
.question-top { display: flex; justify-content: space-between; gap: 16px; align-items: center; margin-bottom: 18px; }
#questionCount { color: var(--muted); font-weight: 800; }
.options { display: grid; gap: 12px; margin-top: 26px; }
.red-flag {
  margin-top: 18px;
  padding: 14px;
  border-radius: 8px;
  background: rgba(225, 55, 45, 0.11);
  border: 1px solid rgba(225, 55, 45, 0.3);
  color: #ffd7d2;
}
.result-score {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 24px;
  align-items: center;
}
.result-circle {
  width: 160px;
  height: 160px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(110, 222, 111, 0.22), rgba(110, 222, 111, 0.04) 62%, transparent 63%);
  border: 1px solid rgba(110, 222, 111, 0.38);
}
.result-circle strong { font-size: 48px; }
.result-list { display: grid; gap: 12px; margin: 24px 0; }
.result-item { padding: 16px; border-radius: 8px; background: rgba(255,255,255,0.045); color: var(--muted); border: 1px solid rgba(255,255,255,0.04); }
.result-item strong { display: block; color: var(--cream); margin-bottom: 5px; }
.result-item p { margin: 4px 0 0; }
.result-item small { color: var(--green); }
.result-item.warning { color: #ffd7d2; border-color: rgba(225, 55, 45, 0.3); background: rgba(225, 55, 45, 0.1); }
.result-block {
  margin: 28px 0;
  padding: 24px;
  background: rgba(30, 32, 27, 0.62);
  border: 1px solid var(--outline);
  border-radius: 8px;
}
.result-block h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-size: clamp(22px, 3vw, 34px);
}
.result-block h2 span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #09250d;
  background: var(--green);
  border-radius: 8px;
  font-size: 16px;
}
.substance-group + .substance-group { margin-top: 22px; }
.substance-group h3 { color: var(--green); text-transform: uppercase; letter-spacing: 0.06em; font-size: 12px; }
.routine-timeline { display: grid; gap: 18px; }
.routine-slot {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 16px;
  position: relative;
}
.routine-slot span {
  width: 14px;
  height: 14px;
  margin-top: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 18px rgba(110, 222, 111, 0.45);
}
.routine-slot h3 { margin-bottom: 8px; color: var(--cream); }
.routine-slot p { color: var(--muted); margin-bottom: 6px; }
.routine-slot em { color: var(--peach); font-style: normal; }
.food-guides, .tier-grid, .action-grid, .journal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.food-card, .tier-card {
  padding: 18px;
  border-radius: 8px;
  background: rgba(18, 20, 15, 0.42);
  border: 1px solid rgba(191, 230, 198, 0.14);
}
.food-card h3, .tier-card h3 { margin-bottom: 10px; }
.food-card strong { display: block; color: var(--green); margin: 12px 0 6px; }
.food-card ul { margin: 0; padding-left: 18px; color: var(--muted); }
.tier-card { position: relative; display: flex; flex-direction: column; gap: 12px; }
.tier-card.recommended { border-color: var(--green); box-shadow: 0 0 26px rgba(110, 222, 111, 0.12); }
.tier-badge {
  position: absolute;
  top: -10px;
  left: 18px;
  padding: 4px 10px;
  color: #09250d;
  background: var(--green);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
}
.tier-products { display: grid; gap: 8px; }
.tier-products span { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; }
.tier-products img { width: 32px; height: 32px; object-fit: contain; border-radius: 6px; background: rgba(255,255,255,0.05); }
.tier-price { color: var(--green); font-size: 28px; font-weight: 800; margin-top: auto; }
.tier-price small { display: block; color: var(--muted); font-size: 12px; font-weight: 600; }
.tier-compare { color: var(--muted); text-decoration: line-through; font-size: 13px; }
.action-tile {
  min-height: 72px;
  padding: 16px;
  color: var(--cream);
  background: rgba(255,255,255,0.045);
  border: 1px solid rgba(191, 230, 198, 0.16);
  border-radius: 8px;
  cursor: pointer;
  font-weight: 800;
}
.action-tile:hover { border-color: var(--green); color: var(--green); }
.action-tile.danger:hover { border-color: var(--coral); color: #ffd7d2; }
.safe-disclaimer {
  margin-top: 24px;
  padding: 16px;
  border-radius: 8px;
  color: var(--muted);
  background: rgba(244, 185, 166, 0.06);
  border: 1px solid rgba(244, 185, 166, 0.18);
  line-height: 1.6;
}
.journal-grid label { color: var(--muted); }
.journal-grid input[type="range"] { width: 100%; margin-top: 8px; accent-color: var(--green); }
.journal-notes { grid-column: 1 / -1; }
.journal-notes textarea {
  display: block;
  width: 100%;
  min-height: 100px;
  margin-top: 8px;
  padding: 14px;
  color: var(--cream);
  background: rgba(18,20,15,0.72);
  border: 1px solid rgba(191,230,198,0.18);
  border-radius: 8px;
  resize: vertical;
}
.bridge-page { min-height: 70vh; text-align: center; }
.bridge-page .lead { margin-left: auto; margin-right: auto; }
.video-frame {
  margin: 34px auto;
  max-width: 900px;
  aspect-ratio: 16 / 9;
  display: block;
  overflow: hidden;
  padding: 0;
  background:
    radial-gradient(circle at right, rgba(110, 222, 111, 0.18), transparent 20rem),
    linear-gradient(135deg, rgba(62, 64, 52, 0.82), rgba(17, 24, 39, 0.92));
}
.video-frame video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #050604;
}
.play-button {
  width: 92px;
  height: 92px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--peach);
  color: #26140f;
  font-size: 34px;
  box-shadow: 0 0 38px rgba(244, 185, 166, 0.35);
}
.site-footer {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 46px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
  border-top: 1px solid rgba(191, 230, 198, 0.12);
}
.site-footer strong { color: var(--cream); }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; font-size: 13px; }
.footer-links a:hover { color: var(--green); }

.floating { animation: float 5s ease-in-out infinite; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.75s ease, transform 0.75s ease; }
.reveal.revealed { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.14s; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
@keyframes pulse {
  0%, 100% { transform: scale(0.92); opacity: 0.32; }
  50% { transform: scale(1.04); opacity: 0.68; }
}

@media (max-width: 980px) {
  .nav-links, .header-cta { display: none; }
  .menu-toggle {
    display: inline-flex;
    color: var(--cream);
    background: rgba(255,255,255,0.06);
    border: 1px solid var(--outline);
    border-radius: 8px;
    padding: 10px 12px;
    cursor: pointer;
  }
  .hero { grid-template-columns: 1fr; padding-top: 48px; }
  .phone-stage { min-height: 420px; }
  .card-grid, .card-grid.five, .steps { grid-template-columns: 1fr; }
  .site-footer { flex-direction: column; }
}

@media (max-width: 620px) {
  .site-header { padding: 14px 16px; }
  .brand { min-width: auto; }
  .brand small { display: none; }
  h1 { font-size: 40px; }
  .section { padding: 58px 0; }
  .challenge-grid { grid-template-columns: 1fr; }
  .panel-actions { flex-direction: column-reverse; }
  .panel-actions .btn { width: 100%; }
  .result-score { grid-template-columns: 1fr; text-align: center; }
  .result-circle { margin: 0 auto; }
  .video-frame { min-height: auto; }
  .play-button { margin: 0 auto; }
  .food-guides, .tier-grid, .action-grid, .journal-grid { grid-template-columns: 1fr; }
}
