:root {
  --navy: #0d1b2a;
  --navy-mid: #1a2e44;
  --blue-accent: #1565c0;
  --blue-light: #1976d2;
  --blue-pale: #e3f0ff;
  --red-alert: #c62828;
  --red-light: #ffebee;
  --orange-warn: #e65100;
  --orange-light: #fff3e0;
  --yellow-mild: #f57f17;
  --yellow-light: #fffde7;
  --green-ok: #2e7d32;
  --text-primary: #1a1a2e;
  --text-secondary: #4a5568;
  --text-muted: #718096;
  --border: #dde3ea;
  --bg-page: #f4f6f9;
  --bg-white: #ffffff;
  --bg-section: #eef2f7;
  --font-head: 'Merriweather', Georgia, serif;
  --font-body: 'Source Sans 3', system-ui, sans-serif;
  --shadow-sm: 0 1px 4px rgba(0,0,0,.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,.12);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.16);
  --radius: 6px;
  --radius-lg: 10px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg-page);
  font-family: var(--font-body);
  color: var(--text-primary);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ── TOPBAR ─────────────────────────────────────────────── */
.topbar {
  background: var(--navy);
  color: #a8c7e8;
  font-size: 12px;
  text-align: center;
  padding: 8px 16px;
  letter-spacing: .04em;
  font-family: var(--font-body);
}
.topbar strong { color: #fff; }

/* ── HEADER ─────────────────────────────────────────────── */
.site-header {
  background: var(--bg-white);
  border-bottom: 3px solid var(--blue-accent);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -.01em;
}
.logo-icon {
  width: 36px;
  height: 36px;
  background: var(--blue-accent);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
}
.header-tag {
  font-size: 11px;
  background: var(--blue-pale);
  color: var(--blue-accent);
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid #b3d1f5;
  font-weight: 600;
  letter-spacing: .03em;
  white-space: nowrap;
}

/* ── ARTICLE WRAPPER ────────────────────────────────────── */
.article-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 16px 80px;
}

/* ── SECTION 1 — HOOK ───────────────────────────────────── */
.section-hook {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-top: 4px solid var(--blue-accent);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  padding: 32px 28px 28px;
  margin-top: 0;
  box-shadow: var(--shadow-sm);
}

.category-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--blue-accent);
  margin-bottom: 14px;
}
.category-label::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--blue-accent);
  border-radius: 50%;
}

.hook-headline {
  font-family: var(--font-head);
  font-size: clamp(22px, 4vw, 32px);
  font-weight: 900;
  line-height: 1.25;
  color: var(--navy);
  margin-bottom: 16px;
  letter-spacing: -.02em;
}
.hook-headline em {
  font-style: normal;
  color: var(--blue-accent);
  border-bottom: 2px solid #90caf9;
}

.subheadline {
  font-size: clamp(15px, 2.5vw, 18px);
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 24px;
  padding-left: 14px;
  border-left: 3px solid var(--border);
}
.subheadline strong { color: var(--text-primary); }

/* ── VIDEO THUMB ────────────────────────────────────────── */
.video-thumb-wrap {
  margin: 0 0 24px;
}
.video-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #1a2e44 0%, #0d1b2a 100%);
  border-radius: var(--radius);
  overflow: hidden;
  display: block;
  cursor: pointer;
  border: 2px solid #2a4a6e;
}
.video-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .55;
  display: block;
}
.video-thumb-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.play-btn {
  width: 70px;
  height: 70px;
  background: rgba(255,255,255,.95);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulse-play 2s ease-in-out infinite;
  box-shadow: 0 0 0 0 rgba(255,255,255,.5);
}
.play-btn svg {
  width: 28px;
  height: 28px;
  fill: var(--blue-accent);
  margin-left: 4px;
}
@keyframes pulse-play {
  0%   { box-shadow: 0 0 0 0 rgba(255,255,255,.55); transform: scale(1); }
  50%  { box-shadow: 0 0 0 16px rgba(255,255,255,0); transform: scale(1.05); }
  100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); transform: scale(1); }
}
.video-label {
  font-size: 13px;
  color: rgba(255,255,255,.85);
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: .02em;
  text-shadow: 0 1px 3px rgba(0,0,0,.5);
}
.video-meta {
  font-size: 11px;
  text-align: center;
  color: var(--text-muted);
  margin-top: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.video-meta span { display: flex; align-items: center; gap: 4px; }

.cta-btn {
  display: block;
  width: 100%;
  padding: 16px 20px;
  border-radius: var(--radius);
  border: none;
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  text-decoration: none;
  transition: filter .2s, transform .15s;
  line-height: 1.3;
}
.cta-btn:hover { filter: brightness(1.07); transform: translateY(-1px); }
.cta-btn:active { transform: translateY(0); filter: brightness(.97); }

.cta-primary {
  background: var(--blue-accent);
  color: #fff;
  box-shadow: 0 4px 14px rgba(21,101,192,.4);
}
.cta-sub {
  font-size: 12px;
  text-align: center;
  color: var(--text-muted);
  margin-top: 8px;
}

/* ── SECTION 2 — SYMPTOM QUIZ ───────────────────────────── */
.section-quiz {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-top: 20px;
  box-shadow: var(--shadow-sm);
}

.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
  display: block;
}

.quiz-title {
  font-family: var(--font-head);
  font-size: clamp(18px, 3vw, 22px);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
  line-height: 1.3;
}
.quiz-intro {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 22px;
}

.symptom-group { margin-bottom: 18px; }
.symptom-group-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  padding: 5px 10px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}
.level-mild   { background: var(--yellow-light); color: var(--yellow-mild); border: 1px solid #ffe57f; }
.level-moderate { background: var(--orange-light); color: var(--orange-warn); border: 1px solid #ffcc80; }
.level-urgent { background: var(--red-light); color: var(--red-alert); border: 1px solid #ef9a9a; }

.symptom-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  margin-bottom: 8px;
  cursor: pointer;
  transition: border-color .2s, background .2s;
  user-select: none;
}
.symptom-item:hover { border-color: #90caf9; background: var(--blue-pale); }
.symptom-item.checked { border-color: currentColor; }
.symptom-item.checked.mild     { border-color: var(--yellow-mild); background: var(--yellow-light); }
.symptom-item.checked.moderate { border-color: var(--orange-warn); background: var(--orange-light); }
.symptom-item.checked.urgent   { border-color: var(--red-alert); background: var(--red-light); }

.custom-cb {
  width: 20px;
  height: 20px;
  border: 2px solid var(--border);
  border-radius: 4px;
  flex-shrink: 0;
  margin-top: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, border-color .2s;
  background: var(--bg-white);
}
.symptom-item.checked .custom-cb {
  border-color: var(--blue-accent);
  background: var(--blue-accent);
}
.custom-cb svg { display: none; }
.symptom-item.checked .custom-cb svg { display: block; }

.symptom-text {
  flex: 1;
  font-size: 15px;
  color: var(--text-primary);
  line-height: 1.5;
}

.symptom-pts {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 20px;
  flex-shrink: 0;
  margin-top: 2px;
  align-self: flex-start;
}
.pts-mild     { background: var(--yellow-light); color: var(--yellow-mild); }
.pts-moderate { background: var(--orange-light); color: var(--orange-warn); }
.pts-urgent   { background: var(--red-light);    color: var(--red-alert); }

.hidden-input { display: none; }

/* Score bar */
.score-bar-wrap {
  margin: 20px 0 16px;
  background: #eef2f7;
  border-radius: 100px;
  height: 10px;
  overflow: hidden;
  position: relative;
}
.score-bar-fill {
  height: 100%;
  border-radius: 100px;
  width: 0%;
  transition: width .5s ease, background .5s;
  background: var(--blue-accent);
}

.score-display {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.score-num {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
}

/* Dynamic CTA */
.quiz-cta-wrap {
  margin-top: 16px;
  display: none;
}
.quiz-cta-wrap.visible { display: block; }

.quiz-cta-state {
  display: none;
}
.quiz-cta-state.active { display: block; }

.quiz-cta-state .cta-btn { margin-bottom: 8px; }

.cta-neutral  { background: #546e8a; color: #fff; }
.cta-orange   { background: var(--orange-warn); color: #fff; box-shadow: 0 4px 14px rgba(230,81,0,.35); animation: pulse-orange 2s ease-in-out infinite; }
.cta-red      { background: var(--red-alert); color: #fff; box-shadow: 0 4px 18px rgba(198,40,40,.45); animation: shake-red 2.5s ease-in-out infinite; }
.cta-darkred  { background: #7b0000; color: #fff; box-shadow: 0 4px 24px rgba(123,0,0,.55); animation: shake-red 1.8s ease-in-out infinite; }

@keyframes pulse-orange {
  0%,100% { box-shadow: 0 4px 14px rgba(230,81,0,.35), 0 0 0 0 rgba(230,81,0,.3); }
  50%      { box-shadow: 0 4px 14px rgba(230,81,0,.35), 0 0 0 10px rgba(230,81,0,0); }
}
@keyframes shake-red {
  0%,90%,100% { transform: translateX(0); }
  92% { transform: translateX(-4px); }
  94% { transform: translateX(4px); }
  96% { transform: translateX(-3px); }
  98% { transform: translateX(3px); }
}

.social-proof {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.social-proof strong { color: var(--red-alert); }

/* ── SECTION 3 — PROBLEM AWARENESS ─────────────────────── */
.section-problem {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  margin-top: 20px;
  box-shadow: var(--shadow-sm);
}

.problem-title {
  font-family: var(--font-head);
  font-size: clamp(20px, 3.5vw, 26px);
  font-weight: 900;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 2px solid var(--bg-section);
}

.problem-body p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 16px;
}
.problem-body p strong { color: var(--text-primary); }

.callout-box {
  background: var(--blue-pale);
  border-left: 4px solid var(--blue-accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 14px 18px;
  margin: 20px 0;
  font-size: 15px;
  color: var(--navy-mid);
  line-height: 1.65;
}
.callout-box strong { color: var(--navy); }

.checklist {
  list-style: none;
  margin: 16px 0 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.55;
}
.checklist li::before {
  content: '→';
  color: var(--blue-accent);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.warning-box {
  background: #fff8f0;
  border: 1px solid #ffcc80;
  border-radius: var(--radius);
  padding: 16px 18px;
  margin: 20px 0;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.warning-icon { font-size: 20px; flex-shrink: 0; margin-top: 1px; }
.warning-text { font-size: 15px; color: #5d3a00; line-height: 1.6; }
.warning-text strong { color: #3e2000; }

/* ── SECTION 4 — ROOT CAUSE ─────────────────────────────── */
.section-cause {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  margin-top: 20px;
  color: #c8dff0;
  box-shadow: var(--shadow-md);
}

.cause-eyebrow {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: #90caf9;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.cause-eyebrow::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(144,202,249,.3);
}

.cause-title {
  font-family: var(--font-head);
  font-size: clamp(20px, 3.5vw, 26px);
  font-weight: 900;
  color: #ffffff;
  line-height: 1.3;
  margin-bottom: 20px;
}

.cause-body p {
  font-size: 16px;
  color: #a8c7e8;
  line-height: 1.75;
  margin-bottom: 16px;
}
.cause-body p strong { color: #e3f2fd; }

.stat-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  margin: 24px 0;
}
.stat-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(144,202,249,.2);
  border-radius: var(--radius);
  padding: 16px;
  text-align: center;
}
.stat-num {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 900;
  color: #90caf9;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-desc {
  font-size: 13px;
  color: #7ba8c8;
  line-height: 1.5;
}

.cause-reveal {
  background: rgba(21,101,192,.2);
  border: 1px solid rgba(144,202,249,.25);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin: 20px 0;
  font-size: 15px;
  color: #c8dff0;
  line-height: 1.7;
}
.cause-reveal strong { color: #ffffff; }

.gap-teaser {
  background: rgba(144,202,249,.08);
  border-top: 2px dashed rgba(144,202,249,.25);
  margin-top: 24px;
  padding-top: 20px;
  font-size: 15px;
  color: #7ba8c8;
  line-height: 1.7;
  text-align: center;
  font-style: italic;
}
.gap-teaser strong { color: #90caf9; font-style: normal; }

/* ── SECTION 5 — STORY ──────────────────────────────────── */
.section-story {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  margin-top: 20px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}
.section-story::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 18px;
  font-family: var(--font-head);
  font-size: 120px;
  color: var(--blue-pale);
  line-height: 1;
  pointer-events: none;
  z-index: 0;
}

.story-eyebrow {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-muted);
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.story-title {
  font-family: var(--font-head);
  font-size: clamp(19px, 3vw, 24px);
  font-weight: 900;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.story-body {
  position: relative;
  z-index: 1;
}
.story-body p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 14px;
}
.story-body p strong { color: var(--text-primary); }

.story-act {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--blue-accent);
  margin: 18px 0 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.story-act::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.story-fade {
  position: relative;
  overflow: hidden;
}
.story-fade::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(to bottom, transparent, var(--bg-white));
  pointer-events: none;
}

.cliffhanger {
  background: var(--bg-section);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin: 24px 0;
  text-align: center;
  border: 1px dashed var(--border);
}
.cliffhanger p {
  font-family: var(--font-head);
  font-size: 16px;
  color: var(--navy-mid);
  line-height: 1.6;
  font-style: italic;
}
.cliffhanger strong { font-style: normal; color: var(--blue-accent); }

/* ── TESTIMONIALS STRIP ─────────────────────────────────── */
.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
  margin: 24px 0;
}
.testi-card {
  background: var(--bg-section);
  border-radius: var(--radius);
  padding: 14px 16px;
  border: 1px solid var(--border);
}
.testi-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.testi-name .verified {
  font-size: 10px;
  background: var(--blue-pale);
  color: var(--blue-accent);
  padding: 1px 6px;
  border-radius: 20px;
  font-weight: 600;
}
.testi-text {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  font-style: italic;
}
.stars { color: #f57f17; font-size: 13px; margin-bottom: 5px; }

/* ── FINAL CTA BANNER ───────────────────────────────────── */
.final-cta-section {
  background: var(--blue-accent);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  margin-top: 20px;
  text-align: center;
  box-shadow: var(--shadow-md);
}
.final-cta-section h2 {
  font-family: var(--font-head);
  font-size: clamp(18px, 3vw, 22px);
  font-weight: 900;
  color: #fff;
  margin-bottom: 10px;
  line-height: 1.3;
}
.final-cta-section p {
  font-size: 15px;
  color: rgba(255,255,255,.85);
  margin-bottom: 20px;
  line-height: 1.6;
}
.cta-white {
  background: #fff;
  color: var(--blue-accent);
  font-size: 17px;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(0,0,0,.2);
}
.cta-white:hover { background: #e3f0ff; filter: none; }

/* ── FOOTER ─────────────────────────────────────────────── */
.site-footer {
  background: var(--navy);
  color: #5a7a99;
  font-size: 12px;
  padding: 24px 20px;
  margin-top: 32px;
  text-align: center;
  line-height: 1.8;
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.footer-links a {
  color: #6e92b0;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}
.disclaimer {
  max-width: 600px;
  margin: 0 auto;
  color: #3d5a73;
  font-size: 11px;
  line-height: 1.7;
}

/* ── STICKY MOBILE CTA ──────────────────────────────────── */
#sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: var(--blue-accent);
  padding: 12px 16px;
  box-shadow: 0 -4px 20px rgba(0,0,0,.25);
  transform: translateY(100%);
  transition: transform .35s ease;
}
#sticky-cta.show { transform: translateY(0); }
#sticky-cta a {
  display: block;
  width: 100%;
  padding: 14px 20px;
  background: #fff;
  color: var(--blue-accent);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  border-radius: var(--radius);
  text-decoration: none;
  cursor: pointer;
}

@media (max-width: 768px) {
  #sticky-cta { display: block; }
  .section-hook,
  .section-quiz,
  .section-problem,
  .section-cause,
  .section-story { padding: 22px 16px; }
  .article-wrap { padding-bottom: 100px; }
  .stat-cards { grid-template-columns: 1fr 1fr; }
  .testimonials { grid-template-columns: 1fr; }
}

/* divider */
.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 24px 0;
}