/* ============================================================
   PressurePrep — Homepage
   ============================================================ */

:root {
  /* Palette */
  --cream: #FAF6EE;
  --cream-deep: #F3EDE0;
  --stone: #EAE2D3;
  --stone-line: #DCD2BE;
  --sage: #8C9A80;
  --sage-deep: #6E7C63;
  --navy: #1B2A3B;
  --navy-soft: #33465C;
  --ink-muted: #5B6674;
  --blue-accent: #4F6C87;
  --white: #FFFFFF;

  /* Type */
  --font-display: "Source Serif 4", Georgia, "Times New Roman", serif;
  --font-sans: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Rhythm */
  --section-pad: 5.5rem;
  --container-max: 1240px;
  --radius: 2px;
  --shadow-soft: 0 12px 40px -18px rgba(27, 42, 59, 0.22);
  --shadow-card: 0 1px 2px rgba(27, 42, 59, 0.06), 0 8px 24px -12px rgba(27, 42, 59, 0.12);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ============================================================
   Reset
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body, h1, h2, h3, h4, p, figure, dl, dd { margin: 0; }
ul { list-style: none; margin: 0; padding: 0; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
input { font: inherit; }

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

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

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy);
  color: var(--cream);
  padding: 0.9rem 1.5rem;
  z-index: 999;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

:focus-visible {
  outline: 2px solid var(--blue-accent);
  outline-offset: 3px;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.container-narrow {
  max-width: 780px;
}

@media (min-width: 640px) {
  .container { padding: 0 2.5rem; }
}
@media (min-width: 1024px) {
  .container { padding: 0 3.5rem; }
}

.section {
  padding: var(--section-pad) 0;
}

section[id] {
  scroll-margin-top: 90px;
}

/* ============================================================
   Typography
   ============================================================ */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--navy);
  letter-spacing: -0.015em;
}

h1 { font-size: clamp(3rem, 5vw, 4rem); line-height: 1.08; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); line-height: 1.1; }
h3 { font-size: clamp(1.25rem, 1.8vw, 1.5rem); line-height: 1.2; }
h4 { line-height: 1.2; }

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sage-deep);
  margin-bottom: 1rem;
}

.lede {
  font-size: 1.1rem;
  color: var(--navy-soft);
  max-width: 46ch;
  margin-top: 0.9rem;
}

.section-head {
  max-width: 760px;
  margin-bottom: 3.25rem;
}
.section-head h2 { margin-bottom: 0; }

.placeholder {
  color: var(--ink-muted);
  font-style: italic;
  opacity: 0.85;
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 1rem 1.9rem;
  border-radius: var(--radius);
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease), border-color 0.25s var(--ease);
  min-height: 48px;
  white-space: nowrap;
}
.btn-primary {
  background: var(--navy);
  color: var(--cream);
}
.btn-primary:hover {
  background: var(--navy-soft);
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--navy);
}
.btn-outline:hover {
  background: var(--navy);
  color: var(--cream);
}
.btn-large {
  padding: 1.15rem 2.4rem;
  font-size: 0.9rem;
}

.evidence-link {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--blue-accent);
  margin-top: 1.25rem;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease);
}
.evidence-link:hover { border-color: currentColor; }
.ingredient-card .evidence-link { margin-top: 0; padding-top: 1.25rem; }

/* ============================================================
   Header / Nav
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 246, 238, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--stone-line);
}

.header-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 1.15rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
@media (min-width: 640px) { .header-inner { padding: 1.15rem 2.5rem; } }
@media (min-width: 1024px) { .header-inner { padding: 1.15rem 3.5rem; } }

.wordmark {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--navy);
  flex-shrink: 0;
}

.primary-nav { display: none; }
.primary-nav ul { display: flex; gap: 2.25rem; }
.primary-nav a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--navy-soft);
  transition: color 0.2s var(--ease);
  position: relative;
}
.primary-nav a:hover { color: var(--navy); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.header-cta { display: none; }

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  align-items: center;
}
.nav-toggle-bar {
  width: 22px;
  height: 1.5px;
  background: var(--navy);
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-nav {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease);
  border-top: 1px solid transparent;
}
.mobile-nav.is-open {
  max-height: 420px;
  border-top-color: var(--stone-line);
}
.mobile-nav ul {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}
.mobile-nav a {
  font-size: 1.05rem;
  font-weight: 500;
}
.mobile-nav-cta {
  margin: 0 1.5rem 1.5rem;
  width: calc(100% - 3rem);
}

@media (min-width: 900px) {
  .primary-nav { display: block; }
  .header-cta { display: inline-flex; }
  .nav-toggle { display: none; }
  .mobile-nav { display: none; }
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  display: flex;
  flex-direction: column-reverse;
}
.hero-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
}
.hero-copy {
  padding: 2.75rem 1.5rem 3.25rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero-copy .eyebrow { margin-bottom: 1.1rem; }
.hero-copy h1 { margin-bottom: 1.1rem; }
.hero-subhead {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  color: var(--sage-deep);
  margin-bottom: 1.35rem;
}
.hero-body {
  font-size: 1.05rem;
  color: var(--navy-soft);
  max-width: 42ch;
  margin-bottom: 1.5rem;
}
.credibility-line {
  margin-top: 1.15rem;
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  color: var(--ink-muted);
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
}
.hero-cta-product {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.hero-cta-product img {
  width: 44px;
  height: 55px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  flex-shrink: 0;
}
.hero-cta-product span {
  font-size: 0.76rem;
  line-height: 1.35;
  color: var(--ink-muted);
}

@media (min-width: 640px) {
  .hero-copy { padding: 3.5rem 2.5rem 4rem; }
}

@media (min-width: 1024px) {
  .hero {
    flex-direction: row;
    align-items: stretch;
    min-height: auto;
  }
  .hero-media {
    width: 50%;
    aspect-ratio: 4 / 5;
    max-height: 680px;
  }
  .hero-copy {
    width: 50%;
    padding: 2rem 4rem;
    justify-content: center;
  }
}

/* Homepage hero collage image is landscape (3:2), not portrait like the
   default .hero-media crop — override aspect ratio/position so it isn't
   sliced down to a sliver between panels. Scoped to this modifier only;
   .hero-media itself stays untouched for cerebiome/home. */
.hero-media-collage {
  aspect-ratio: 3 / 2;
}
.hero-media-collage img {
  object-position: 50% 50%;
}
@media (min-width: 1024px) {
  .hero-media-collage {
    aspect-ratio: 3 / 2;
    max-height: none;
  }
}
@media (min-width: 1280px) {
  .hero-copy { padding: 2rem 5rem; }
}

/* ============================================================
   Benefit Strip
   ============================================================ */
.benefit-strip {
  background: var(--cream);
  padding: 1.75rem 0;
  border-top: 1px solid var(--stone-line);
  border-bottom: 1px solid var(--stone-line);
}
.benefit-strip-text {
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  color: var(--navy);
  letter-spacing: 0.01em;
}
.benefit-strip-dot {
  color: var(--sage-deep);
  margin: 0 0.15em;
}

/* ============================================================
   Pressure Section
   ============================================================ */
.pressure-section { background: var(--cream); }

.pressure-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
}
.pressure-card {
  display: flex;
  flex-direction: column;
}
.pressure-media {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-card);
}
.pressure-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
  transition: transform 0.6s var(--ease);
}
.pressure-card:hover .pressure-media img { transform: scale(1.035); }

.pressure-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: var(--sage-deep);
}
.pressure-card p {
  color: var(--navy-soft);
  max-width: 32ch;
}

@media (min-width: 720px) {
  .pressure-grid { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
}

/* ============================================================
   Family Life
   ============================================================ */
.family-section { background: var(--white); }

.family-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
.family-media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  aspect-ratio: 4 / 5;
}
.family-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 40% 15%;
}
.family-copy p {
  color: var(--navy-soft);
  max-width: 46ch;
  margin-bottom: 1rem;
}
.family-copy h2 { margin-bottom: 1.35rem; }
.family-supporting {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--sage-deep);
  margin-top: 1.5rem !important;
}

@media (min-width: 900px) {
  .family-grid { grid-template-columns: 1fr 1fr; gap: 4.5rem; }
}

/* ============================================================
   Daily Ritual
   ============================================================ */
.ritual-section {
  background: var(--stone);
}
.ritual-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
.ritual-media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.ritual-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 4.5;
  object-fit: cover;
  object-position: 50% 28%;
}
.ritual-copy p {
  color: var(--navy-soft);
  max-width: 46ch;
  margin-bottom: 1rem;
}
.ritual-copy h2 { margin-bottom: 1.35rem; }

@media (min-width: 900px) {
  .ritual-grid { grid-template-columns: 1fr 1fr; gap: 4.5rem; }
  .ritual-media { order: 2; }
  .ritual-copy { order: 1; }
}

/* ============================================================
   Train For Life
   ============================================================ */
.lifestyle-section { background: var(--cream-deep); }

.lifestyle-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
.lifestyle-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.lifestyle-card img {
  width: 100%;
  height: auto;
  transition: transform 0.7s var(--ease);
}
.lifestyle-card:hover img { transform: scale(1.03); }

@media (min-width: 780px) {
  .lifestyle-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
}

@media (min-width: 1100px) {
  .lifestyle-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ============================================================
   Science Section
   ============================================================ */
.science-section { background: var(--navy); color: var(--cream); }
.science-section .eyebrow { color: var(--sage); }
.science-section h2 { color: var(--cream); }
.science-section .btn-primary {
  background: var(--cream);
  color: var(--navy);
}
.science-section .btn-primary:hover {
  background: var(--sage);
  color: var(--navy);
}
.science-grid {
  display: grid;
  gap: 3rem;
}
.science-copy {
  max-width: 640px;
}
.science-copy p {
  color: rgba(250, 246, 238, 0.78);
  max-width: 48ch;
  margin-bottom: 1.1rem;
  font-size: 1.02rem;
}

/* ---- Benefit-over-time chart ---- */
.benefit-chart {
  margin-top: 3.5rem;
}
@media (min-width: 1024px) {
  .science-grid { grid-template-columns: 0.85fr 1.15fr; gap: 4rem; align-items: start; }
  .benefit-chart { margin-top: 0.5rem; }
}
.benefit-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem;
  margin-bottom: 1.75rem;
}
.benefit-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.benefit-legend-item i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: currentColor;
  display: inline-block;
}
.benefit-legend-calm { color: var(--cream); }
.benefit-legend-resilience { color: var(--sage); }

.benefit-chart-svg {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 800 / 320;
  overflow: visible;
}
.benefit-axis-label {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  fill: rgba(250, 246, 238, 0.45);
}
.benefit-line {
  fill: none;
  stroke-width: 2.5px;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.benefit-line-calm { stroke: var(--cream); }
.benefit-line-resilience { stroke: var(--sage); }
.benefit-dot { stroke: var(--navy); stroke-width: 2px; }
.benefit-dot-calm { fill: var(--cream); }
.benefit-dot-resilience { fill: var(--sage); }
.benefit-annotation {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.03em;
}
.benefit-annotation-calm { fill: rgba(250, 246, 238, 0.85); }
.benefit-annotation-resilience { fill: var(--sage); }

.benefit-milestones {
  display: grid;
  gap: 2.5rem;
  margin-top: 3.5rem;
  padding-top: 2.75rem;
  border-top: 1px solid rgba(250, 246, 238, 0.14);
}
.benefit-milestone-label {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 0.65rem;
}
.benefit-milestone h3 {
  color: var(--cream);
  margin-bottom: 0.6rem;
}
.benefit-milestone p {
  color: rgba(250, 246, 238, 0.72);
  font-size: 0.96rem;
  max-width: 34ch;
}

@media (min-width: 900px) {
  .benefit-milestones { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
}

/* ============================================================
   Ingredients
   ============================================================ */
.ingredients-section { background: var(--cream); }

.ingredients-head-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
  margin-bottom: 3.25rem;
}
.ingredients-head-grid .section-head { margin-bottom: 0; }
.ingredients-head-media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.ingredients-head-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 508 / 796;
  object-fit: cover;
  object-position: 50% 20%;
}
@media (min-width: 900px) {
  .ingredients-head-grid { grid-template-columns: 0.75fr 1fr; gap: 4rem; }
}

.ingredients-grid {
  display: grid;
  gap: 1.75rem;
  grid-template-columns: 1fr;
}
.ingredient-card {
  background: var(--white);
  border: 1px solid var(--stone-line);
  padding: 2.25rem 2rem;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
}
.ingredient-mark {
  width: 42px;
  height: 42px;
  border: 1px solid var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--navy);
  margin-bottom: 1.5rem;
}
.ingredient-mark svg { display: block; }
.ingredient-mark-blueberry { color: var(--blue-accent); }
.ingredient-eyebrow {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage-deep);
  margin-bottom: 0.6rem;
}
.ingredient-card h3 { margin-bottom: 1rem; }
.ingredient-body {
  color: var(--navy-soft);
  margin-bottom: 1.1rem;
  font-size: 0.98rem;
}
.ingredient-body a { color: var(--blue-accent); border-bottom: 1px solid currentColor; }
.ingredient-evidence {
  font-size: 0.88rem;
  color: var(--ink-muted);
  padding-top: 1.1rem;
  border-top: 1px solid var(--stone-line);
}
.ingredient-evidence strong {
  color: var(--navy);
  font-weight: 600;
}
.ingredient-evidence-note {
  border-top: none;
  padding-top: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  color: var(--navy);
}
.ingredient-stat {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-top: 1.25rem;
}
.ingredient-stat-number {
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--blue-accent);
  line-height: 1;
}
.ingredient-stat-unit {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.ingredient-dose {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--navy);
  padding-top: 1rem;
  border-top: 1px solid var(--stone-line);
}
.ingredient-footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
}
.ingredient-stat-row {
  display: flex;
  gap: 0.7rem;
  padding-top: 1.25rem;
}
.ingredient-stat-row .ingredient-stat {
  margin-top: 0;
  align-items: flex-start;
  gap: 0.35rem;
}
.ingredient-stat-row .ingredient-stat-number {
  font-size: 1.4rem;
}
.ingredient-stat-row .ingredient-stat-unit {
  line-height: 1.3;
  letter-spacing: 0.02em;
  font-size: 0.7rem;
}

@media (min-width: 720px) {
  .ingredients-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .ingredients-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1200px) {
  .ingredient-card { padding: 2.25rem 2rem; }
}

/* ============================================================
   Formula Summary
   ============================================================ */
.formula-summary-section { background: var(--stone); }

.formula-summary-layout {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
.formula-summary-media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.formula-summary-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 508 / 796;
  object-fit: cover;
  object-position: 50% 22%;
}
@media (min-width: 900px) {
  .formula-summary-layout { grid-template-columns: 0.8fr 1fr; gap: 4.5rem; }
}

.formula-summary-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  margin-top: 2.75rem;
}
@media (min-width: 560px) {
  .formula-summary-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
}
.formula-summary-grid .ev-summary-card { background: var(--white); border: none; padding: 1.75rem 2rem; border-radius: var(--radius); }

/* ============================================================
   Gut-Brain Connection
   ============================================================ */
.gut-brain-section { background: var(--stone); }

.gut-brain-layout {
  display: grid;
  gap: 2.5rem;
}
.gut-brain-media {
  display: flex;
  justify-content: center;
}
.gut-brain-media img {
  width: 100%;
  height: auto;
}
@media (min-width: 900px) {
  .gut-brain-section .container-narrow { max-width: 1120px; }
  .gut-brain-layout {
    grid-template-columns: 55fr 45fr;
    grid-template-areas:
      "copy  media"
      "link  media";
    align-items: center;
    gap: 3rem;
  }
  .gut-brain-copy { grid-area: copy; }
  .gut-brain-link { grid-area: link; }
  .gut-brain-media { grid-area: media; align-self: center; }
  .gut-brain-media img { max-width: 440px; }
}

/* ============================================================
   Use-Case Strip
   ============================================================ */
.use-case-section { background: var(--cream-deep); }

.use-case-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.use-case-media {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  box-shadow: var(--shadow-card);
}
.use-case-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
}
.use-case-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage-deep);
  margin-bottom: 0.4rem;
}
.use-case-tagline {
  font-size: 0.92rem;
  color: var(--navy-soft);
}

@media (min-width: 900px) {
  .use-case-grid { grid-template-columns: repeat(4, 1fr); gap: 1.75rem; }
}

.audience-grid {
  display: grid;
  gap: 1.75rem;
  grid-template-columns: 1fr;
  margin-top: 2.5rem;
}
.audience-card {
  background: var(--white);
  border: 1px solid var(--stone-line);
  border-radius: var(--radius);
  padding: 2.25rem 2rem;
  box-shadow: var(--shadow-card);
}
.audience-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.audience-tagline {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--sage-deep);
  margin-bottom: 1.1rem;
}
.audience-body {
  color: var(--navy-soft);
  font-size: 0.95rem;
  line-height: 1.6;
}
.audience-body + .audience-body { margin-top: 0.9rem; }

@media (min-width: 900px) {
  .audience-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ============================================================
   Timeline (Today + Over Time)
   ============================================================ */
.timeline-section { background: var(--stone); }

.timeline {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  max-width: 1160px;
  margin: 0 auto;
}
.timeline-block {
  width: 100%;
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-card);
}
.timeline-consistent {
  background: var(--navy);
}
.timeline-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage-deep);
  margin-bottom: 1.5rem;
}
.timeline-consistent .timeline-label { color: var(--sage); }
.timeline-item + .timeline-item {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--stone-line);
}
.timeline-consistent .timeline-item + .timeline-item {
  border-top-color: rgba(250, 246, 238, 0.15);
}
.timeline-item-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
}
.timeline-consistent .timeline-item-name,
.timeline-consistent .timeline-item p { color: var(--cream); }
.timeline-item p:last-child { color: var(--navy-soft); font-size: 0.95rem; }
.timeline-consistent .timeline-item p:last-child { color: var(--cream); opacity: 0.75; }

.timeline-arrow {
  font-size: 1.5rem;
  color: var(--sage-deep);
}

.timeline-takeaway {
  text-align: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  max-width: 42ch;
  margin: 3rem auto 0;
  color: var(--navy);
}

@media (min-width: 800px) {
  .timeline { flex-direction: row; align-items: stretch; gap: 2.5rem; }
  .timeline-block { flex: 1; }
  .timeline-arrow { transform: rotate(-90deg); }
}

/* ============================================================
   Two-Stage Progression Timeline (Homepage How It Works)
   ============================================================ */
.stage-timeline {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}
.stage-timeline-block {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--stone-line);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-card);
}
.stage-timeline-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage-deep);
  margin-bottom: 0.6rem;
}
.stage-timeline-timing {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.5rem, 2.4vw, 1.9rem);
  color: var(--navy);
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}
.stage-timeline-divider {
  width: 2.5rem;
  height: 2px;
  background: var(--stone-line);
  margin: 0 auto 1.5rem;
}
.stage-timeline-outcome {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 0.6rem;
}
.stage-timeline-ingredients {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--navy-soft);
  margin-bottom: 1.1rem;
}
.stage-timeline-evidence {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--ink-muted);
  max-width: 34ch;
  margin: 0 auto;
}
.stage-timeline-arrow {
  align-self: center;
  flex: 0 0 auto;
  width: 64px;
  height: 26px;
  color: var(--sage-deep);
  transform: rotate(90deg);
}
.stage-timeline-arrow svg { display: block; width: 100%; height: 100%; }

@media (min-width: 800px) {
  .stage-timeline { flex-direction: row; align-items: stretch; }
  .stage-timeline-arrow { width: 80px; height: 28px; flex: 0 0 80px; transform: none; }
}

/* ============================================================
   Prep Stages (Homepage How It Works)
   ============================================================ */
.prep-stage {
  max-width: 900px;
  margin: 0 auto;
  padding: 2.5rem 0;
  border-top: 1px solid var(--stone-line);
}
.prep-stage-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.4vw, 1.75rem);
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.prep-stage-subhead {
  font-weight: 600;
  color: var(--navy-soft);
  margin-bottom: 1rem;
}
.prep-stage-body {
  color: var(--ink-muted);
  max-width: 68ch;
  line-height: 1.65;
  margin-bottom: 1.75rem;
}
.prep-timing-lede {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage-deep);
  margin-bottom: 1.25rem;
}
.prep-timing-grid {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}
.prep-timing-block {
  background: var(--white);
  border: 1px solid var(--stone-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 1.5rem;
}
.prep-timing-label {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--navy);
  margin-bottom: 0.6rem;
}
.prep-timing-text {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--ink-muted);
}
.prep-stage-footnote {
  font-style: italic;
  color: var(--navy-soft);
  max-width: 68ch;
  line-height: 1.6;
}
.prep-stage-ingredients {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--navy);
  margin-bottom: 0.4rem;
}
.prep-stage-support {
  font-size: 0.92rem;
  color: var(--ink-muted);
}
.prep-window {
  max-width: 900px;
  margin: 0 auto;
  padding-top: 2.5rem;
  border-top: 1px solid var(--stone-line);
}
.prep-window-title {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.4rem);
  color: var(--navy);
  text-align: center;
  margin-bottom: 1.75rem;
}
.prep-window-grid {
  display: grid;
  gap: 1.25rem;
}
.prep-window-block {
  background: var(--white);
  border: 1px solid var(--stone-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 1.75rem;
  text-align: center;
}
.prep-window-label {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage-deep);
  margin-bottom: 0.6rem;
}
.prep-window-text {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--ink-muted);
}

@media (min-width: 700px) {
  .prep-timing-grid { grid-template-columns: repeat(3, 1fr); }
  .prep-window-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   Evidence Preview
   ============================================================ */
.evidence-section { background: var(--cream); }

.study-grid {
  display: grid;
  gap: 1.75rem;
  grid-template-columns: 1fr;
}
.study-card {
  background: var(--white);
  border: 1px solid var(--stone-line);
  border-radius: var(--radius);
  padding: 2rem;
}
.study-ingredient {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--navy);
  margin-bottom: 1.4rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--stone-line);
}
.study-card dl > div {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.65rem 0;
}
.study-card dl > div + div { border-top: 1px dashed var(--stone-line); }
.study-card dt {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
  flex-shrink: 0;
  width: 38%;
}
.study-card dd {
  font-size: 0.9rem;
  color: var(--navy-soft);
  text-align: right;
}

.evidence-cta {
  margin-top: 3rem;
  text-align: center;
}

.ingredients-evidence-link {
  margin-top: 2.5rem;
  text-align: center;
}

/* ============================================================
   Mid-page purchase CTA (repeated conversion prompts)
   ============================================================ */
.purchase-cta {
  margin-top: 3rem;
  text-align: center;
}

@media (min-width: 900px) {
  .study-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ============================================================
   Real Life
   ============================================================ */
.real-life-section { background: var(--cream-deep); }

.real-life-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
.real-life-cell {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4 / 5;
}
.real-life-cell img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.real-life-cell:hover img { transform: scale(1.04); }
.cell-work img { object-position: 50% 25%; }
.cell-home img { object-position: 40% 30%; }
.cell-unexpected img { object-position: 50% 20%; }
.cell-herself img { object-position: 35% 20%; }

.real-life-cell figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1.75rem 1.5rem;
  background: linear-gradient(to top, rgba(27,42,59,0.82) 0%, rgba(27,42,59,0.32) 55%, rgba(27,42,59,0) 100%);
}
.real-life-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 0.4rem;
}
.real-life-line {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--cream);
}

.real-life-statement {
  text-align: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  max-width: 34ch;
  margin: 3.5rem auto 0;
  color: var(--navy);
}

@media (min-width: 720px) {
  .real-life-grid {
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(2, minmax(220px, 1fr));
  }
  .cell-work { grid-column: 1 / 4; grid-row: 1 / 2; }
  .cell-home { grid-column: 4 / 7; grid-row: 1 / 2; }
  .cell-unexpected { grid-column: 1 / 3; grid-row: 2 / 3; }
  .cell-herself { grid-column: 3 / 7; grid-row: 2 / 3; }
  .real-life-cell { aspect-ratio: auto; }
}

@media (min-width: 1100px) {
  .cell-work { grid-column: 1 / 3; grid-row: 1 / 3; }
  .cell-home { grid-column: 3 / 5; grid-row: 1 / 2; }
  .cell-unexpected { grid-column: 5 / 7; grid-row: 1 / 2; }
  .cell-herself { grid-column: 3 / 7; grid-row: 2 / 3; }
}

/* ============================================================
   Product
   ============================================================ */
.product-section { background: var(--stone); }

.product-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
.product-media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  aspect-ratio: 4/5;
}
.product-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }

@media (min-width: 900px) {
  .product-media { max-width: 380px; }
  .product-hero-frame { max-width: 490px; }
}

.product-copy h2 { margin-bottom: 1.5rem; }
.product-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 0.02em;
  margin-bottom: 0.5rem;
}
.product-meta {
  display: flex;
  flex-wrap: wrap;
  row-gap: 0.6rem;
  column-gap: 1.25rem;
  margin-bottom: 2.25rem;
}
.product-meta li {
  font-size: 0.82rem;
  color: var(--ink-muted);
  padding-left: 1rem;
  position: relative;
}
.product-meta li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.5em;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--sage-deep);
}
.product-description {
  color: var(--ink-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 2.25rem;
}

.purchase-options {
  display: grid;
  gap: 1rem;
  margin-bottom: 2.25rem;
}
.purchase-option {
  display: block;
  cursor: pointer;
  border: 1px solid var(--stone-line);
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.1rem 1.35rem;
  transition: border-color 0.2s var(--ease);
  position: relative;
}
.purchase-option input {
  position: absolute;
  top: 1.3rem; left: 1.35rem;
  accent-color: var(--navy);
}
.purchase-option-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-left: 1.6rem;
}
.purchase-option-name { font-weight: 500; font-size: 0.95rem; }
.purchase-option-price { font-family: var(--font-sans); font-size: 1.15rem; }
.purchase-option-price-group {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
}
.purchase-option-price-was {
  font-family: var(--font-sans);
  font-size: 0.92rem;
  color: var(--ink-muted);
  text-decoration: line-through;
  text-decoration-thickness: 1px;
}
.purchase-option-price-group .purchase-option-price {
  color: var(--sage-deep);
  font-weight: 600;
}
.purchase-option-price-col {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.15rem;
}
.purchase-option-price-label {
  font-size: 0.66rem;
  color: var(--ink-muted);
  letter-spacing: 0.02em;
}
.purchase-option-save {
  display: block;
  padding-left: 1.6rem;
  margin-top: 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sage-deep);
}
.purchase-option-detail {
  display: block;
  padding-left: 1.6rem;
  margin-top: 0.4rem;
  font-size: 0.78rem;
  color: var(--ink-muted);
}
.purchase-option-bonus {
  display: block;
  padding-left: 1.6rem;
  margin-top: 0.2rem;
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--navy);
}
.purchase-option:has(input:checked) { border-color: var(--navy); border-width: 1.5px; }
.purchase-option-featured::after {
  content: "Best Value";
  position: absolute;
  top: -10px; right: 1.2rem;
  background: var(--sage-deep);
  color: var(--cream);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.6rem;
}

.product-trust-panel { margin-top: 1.75rem; }

.trust-seals-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 22px 16px;
  justify-items: center;
  max-width: 340px;
  margin: 0 auto;
}
.trust-seals-row img { width: 96px; height: auto; }
.trust-seals-row img:nth-child(1) { grid-column: 1 / 3; }
.trust-seals-row img:nth-child(2) { grid-column: 3 / 5; }
.trust-seals-row img:nth-child(3) { grid-column: 5 / 7; }
.trust-seals-row img:nth-child(4) { grid-column: 2 / 4; }
.trust-seals-row img:nth-child(5) { grid-column: 4 / 6; }

.product-trust-note {
  margin-top: 1.5rem;
  font-size: 0.82rem;
  color: var(--ink-muted);
  text-align: center;
  max-width: 46ch;
  margin-left: auto;
  margin-right: auto;
}
.product-trust-note-secondary { margin-top: 0.4rem; }

.product-icon-row {
  display: grid;
  grid-template-columns: repeat(2, 65px);
  justify-content: center;
  gap: 20px;
}
.product-icon-row img {
  width: 65px;
  height: 65px;
  object-fit: contain;
}
.product-icon-row img:nth-child(5) {
  grid-column: 1 / -1;
  justify-self: center;
}

.product-details {
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--stone-line);
}
.product-details summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
}
.product-details summary::-webkit-details-marker { display: none; }
.product-details summary::after {
  content: "+";
  font-family: var(--font-sans);
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--sage-deep);
  flex-shrink: 0;
  transition: transform 0.25s var(--ease);
}
.product-details[open] summary::after { transform: rotate(45deg); }
.product-details-list {
  margin-top: 1rem;
  font-size: 0.88rem;
  color: var(--navy-soft);
}
.product-details-list li {
  padding: 0.55rem 0;
  border-top: 1px dashed var(--stone-line);
}
.product-details-list li:first-child { border-top: none; padding-top: 0; }

@media (min-width: 900px) {
  .product-grid { grid-template-columns: 0.8fr 1fr; gap: 4rem; }

  .product-trust-panel { grid-column: 1 / -1; grid-row: 2; margin-top: 2rem; }
  .trust-seals-row {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 20px;
    max-width: none;
  }
  .trust-seals-row img { width: 115px; grid-column: auto; }
  .product-trust-panel .product-details {
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
  }

  .product-icon-row {
    grid-template-columns: repeat(5, 72px);
    justify-content: space-between;
    gap: 24px;
  }
  .product-icon-row img { width: 72px; height: 72px; }
  .product-icon-row img:nth-child(5) {
    grid-column: auto;
    justify-self: auto;
  }
}

.product-media-col {
  display: flex;
  flex-direction: column;
}

/* Swappable hero frame (Product / Supplement Facts) — scoped to its own
   class so the shared .product-media rules used by the archived
   cerebiome/ pages stay untouched. The transparent product shot sits
   directly on the section background with no card/frame; the
   Supplement Facts view (a flat label graphic) keeps a white card
   frame via :has() so that view is unaffected. */
.product-hero-frame {
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
  aspect-ratio: auto;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.product-hero-frame img {
  width: min(100%, 620px);
  height: auto;
  object-fit: contain;
  object-position: center bottom;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 16px 12px rgba(27, 42, 59, 0.16));
}
#product-hero-img.is-zoomable { cursor: zoom-in; }

.product-hero-frame:has(#product-hero-img[data-current-view="facts"]) {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  aspect-ratio: 4/5;
  width: 100%;
}
.product-hero-frame:has(#product-hero-img[data-current-view="facts"]) img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-position: center;
  filter: none;
}

.product-view-toggle {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.85rem;
}
.product-view-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.7rem 0.35rem 0.35rem;
  border: 1px solid var(--stone-line);
  border-radius: var(--radius);
  background: var(--white);
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink-muted);
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.product-view-btn img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  background: var(--white);
  flex-shrink: 0;
}
.product-view-btn.is-active {
  border-color: var(--navy);
  border-width: 1.5px;
  color: var(--navy);
}

/* Mobile: image sits below the heading/name/meta and above the
   purchase options — .product-copy becomes a transparent wrapper so
   its .product-intro / .purchase-options / CTA children can be
   reordered alongside the image as siblings in .product-grid. */
@media (max-width: 899px) {
  .product-grid { gap: 1.75rem; }
  .product-copy { display: contents; }
  .product-intro { order: 1; }
  .product-media-col { order: 2; }
  .purchase-options { order: 3; }
  .product-copy > .btn-primary { order: 4; }
  .product-trust-panel { order: 5; }
  .product-hero-frame { max-width: 420px; }
}

.facts-dialog {
  position: fixed;
  margin: auto;
  border: none;
  padding: 0;
  border-radius: var(--radius);
  max-width: min(560px, 92vw);
  max-height: 90vh;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}
.facts-dialog::backdrop { background: rgba(27, 42, 59, 0.72); }
.facts-dialog img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 86vh;
  object-fit: contain;
}
.facts-dialog-close {
  position: absolute;
  top: 0.6rem; right: 0.6rem;
  width: 2rem; height: 2rem;
  border: none;
  border-radius: 50%;
  background: var(--white);
  color: var(--navy);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--shadow-card);
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-section { background: var(--cream); }

.faq-list {
  border-top: 1px solid var(--stone-line);
}
.faq-item {
  border-bottom: 1px solid var(--stone-line);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 0;
  font-family: var(--font-display);
  font-size: 1.08rem;
  color: var(--navy);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: var(--font-sans);
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--sage-deep);
  flex-shrink: 0;
  transition: transform 0.25s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-answer {
  padding: 0 0 1.75rem;
  max-width: 68ch;
}
.faq-answer p {
  color: var(--navy-soft);
  margin-bottom: 0.75rem;
}
.faq-answer a { color: var(--blue-accent); border-bottom: 1px solid currentColor; }

/* ============================================================
   Final CTA
   ============================================================ */
.final-cta {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.final-cta-media {
  position: absolute;
  inset: 0;
}
.final-cta-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
}
.final-cta-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(27,42,59,0.55) 0%, rgba(27,42,59,0.72) 100%);
}
.final-cta-copy {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--cream);
  padding: 5rem 1.5rem;
  max-width: 620px;
}
.final-cta-copy h2 { color: var(--cream); margin-bottom: 0.75rem; }
.final-cta-copy p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: rgba(250, 246, 238, 0.88);
  margin-bottom: 2.25rem;
}
.final-cta-copy p.final-cta-support {
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 0.85rem;
  color: rgba(250, 246, 238, 0.7);
  margin-top: -1.25rem;
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: var(--navy);
  color: rgba(250, 246, 238, 0.7);
  padding: 3.5rem 0 6rem;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.75rem;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.footer-wordmark { color: var(--cream); margin-bottom: 0; }
.footer-tagline {
  font-size: 0.85rem;
  color: rgba(250, 246, 238, 0.75);
}
.footer-location {
  font-size: 0.78rem;
  color: rgba(250, 246, 238, 0.55);
}
.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.footer-nav a { font-size: 0.85rem; }
.footer-nav a:hover { color: var(--cream); }
.footer-disclaimer {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  max-width: 62ch;
  color: #B8C4D1;
  opacity: 1;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(250, 246, 238, 0.14);
  width: 100%;
}

@media (min-width: 720px) {
  .site-footer { padding-bottom: 3.5rem; }
  .footer-inner { flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: center; }
  .footer-disclaimer { border-top: none; padding-top: 0; order: 3; }
}

/* ============================================================
   Mobile persistent CTA bar
   ============================================================ */
.mobile-cta-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  padding: 0.85rem 1rem calc(0.85rem + env(safe-area-inset-bottom));
  background: rgba(250, 246, 238, 0.95);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--stone-line);
  transform: translateY(100%);
  transition: transform 0.3s var(--ease);
}
.mobile-cta-bar.is-visible { transform: translateY(0); }
.mobile-cta-bar .btn { width: 100%; }

@media (min-width: 900px) {
  .mobile-cta-bar { display: none; }
}

/* ============================================================
   Evidence Page
   ============================================================ */
body.evidence-page { --section-pad: 4.25rem; }
body.evidence-page .section-head { margin-bottom: 2.25rem; }

.ev-hero { padding-bottom: 3.5rem; }
.ev-hero .lede { max-width: 62ch; font-size: 1.15rem; }
.ev-hero .lede + .lede { margin-top: 1.1rem; }

/* ---- Research stat strip ---- */
.ev-stat-strip {
  background: var(--white);
  border-top: 1px solid var(--stone-line);
  border-bottom: 1px solid var(--stone-line);
  padding: 3rem 0;
}
.ev-stat-strip .container { max-width: 960px; margin: 0 auto; }
.ev-stat-total {
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--stone-line);
}
.ev-stat-total-number {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 4.5rem);
  color: var(--blue-accent);
  line-height: 1;
}
.ev-stat-total-label {
  font-size: 0.95rem;
  max-width: 24ch;
  color: var(--ink-muted);
}
.ev-stat-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.25rem;
}
.ev-stat {
  padding-top: 1.5rem;
  border-top: 1px solid var(--stone-line);
}
.ev-stat-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 0.75rem;
}
.ev-stat-name em { color: var(--sage-deep); }
.ev-stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  color: var(--navy);
  line-height: 1;
}
.ev-stat-number-text {
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.3;
  max-width: 18ch;
}
.ev-stat-metrics {
  display: flex;
  gap: 1.5rem;
}
.ev-stat-metric .ev-stat-number {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
}
.ev-stat-unit {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: var(--ink-muted);
}

@media (min-width: 720px) {
  .ev-stat-row { grid-template-columns: repeat(4, 1fr); gap: 2.5rem; }
  .ev-stat { padding-top: 0; padding-left: 1.75rem; border-top: 0; border-left: 1px solid var(--stone-line); }
  .ev-stat:first-child { padding-left: 0; border-left: 0; }
}

/* ---- Gut-brain pathway diagram ---- */
.ev-pathway { background: var(--stone); padding: 4.5rem 0; }
.ev-pathway-diagram { max-width: 960px; margin: 0 auto; }
.ev-pathway-svg { display: block; width: 100%; height: auto; }
.ev-pathway-node {
  fill: var(--cream);
  stroke: var(--navy);
  stroke-width: 1.4px;
}
.ev-pathway-node-label {
  font-family: var(--font-display);
  font-size: 21px;
  fill: var(--navy);
}
.ev-pathway-node-sublabel {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  fill: var(--sage-deep);
}
.ev-pathway-line {
  fill: none;
  stroke: var(--blue-accent);
  stroke-width: 1.6px;
  opacity: 0.65;
}
.ev-pathway-path-label {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  fill: var(--navy-soft);
}
.ev-pathway-label-bg {
  fill: var(--stone);
}

/* ---- Ingredient section shell ---- */
.ev-ingredient { background: var(--cream); }
.ev-ingredient-head { max-width: 760px; margin-bottom: 2rem; }
.ev-ingredient-head .eyebrow { margin-bottom: 0.9rem; }
.ev-ingredient-name {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--navy);
}
.ev-ingredient-name em { color: var(--sage-deep); }

.ev-ingredient-dark {
  background: var(--navy);
  color: var(--cream);
}
.ev-ingredient-dark .eyebrow { color: var(--sage); }
.ev-ingredient-dark .ev-ingredient-name { color: var(--cream); }
.ev-ingredient-dark .ev-ingredient-name em { color: var(--sage); }
.ev-ingredient-dark h2 { color: var(--cream); }
.ev-ingredient-dark p { color: rgba(250, 246, 238, 0.88); }
.ev-ingredient-dark .ev-narrative-copy p,
.ev-ingredient-dark .ev-narrative-centered p { color: rgba(250, 246, 238, 0.88); }
.ev-ingredient-dark .ev-emphasis { color: var(--cream); }
.ev-ingredient-dark .ev-big-stat-number { color: var(--cream); }
.ev-ingredient-dark .ev-big-stat-label { color: var(--sage); }
.ev-ingredient-dark .ev-callout-heading { color: rgba(250, 246, 238, 0.62); }
.ev-ingredient-dark .ev-callout { border-left-color: var(--sage); }
.ev-ingredient-dark .ev-callout-title { color: var(--cream); }
.ev-ingredient-dark .ev-callout-desc { color: rgba(250, 246, 238, 0.85); }
.ev-ingredient-dark .ev-mini-stat-label { color: rgba(250, 246, 238, 0.75); }
.ev-ingredient-dark .ev-mini-stat-number { color: var(--cream); }

.ev-blueberry { background: var(--cream-deep); }
.ev-blueberry-compact { padding: 2.75rem 0; }
.ev-blueberry-compact .ev-ingredient-head h3 { color: var(--navy); }

/* ---- Narrative (text + optional visual) ---- */
.ev-narrative-centered {
  max-width: 68ch;
  margin: 0 auto;
}
.ev-narrative-centered p { color: var(--navy-soft); margin-bottom: 0.85rem; line-height: 1.6; }

.ev-narrative {
  display: grid;
  gap: 2.5rem;
}
.ev-narrative-copy p { color: var(--navy-soft); margin-bottom: 1.1rem; line-height: 1.65; max-width: 68ch; }
.ev-emphasis {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.25rem !important;
  color: var(--navy);
}

.ev-big-stat {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}
.ev-big-stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 4rem);
  color: var(--blue-accent);
  line-height: 1;
}
.ev-big-stat-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

@media (min-width: 900px) {
  .ev-ingredient-split .ev-narrative { grid-template-columns: 1.1fr 0.9fr; gap: 4rem; align-items: start; }
  .ev-ingredient-reverse .ev-narrative-visual { order: -1; }
}

/* ---- What researchers have studied ---- */
.ev-callout-block { margin-top: 3.5rem; }
.ev-callout-block-inline { margin-top: 0; }
.ev-callout-heading {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 1.5rem;
}
.ev-callout-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
.ev-callout-grid-single { grid-template-columns: 1fr; }
.ev-callout {
  padding-left: 1.1rem;
  border-left: 2px solid var(--sage);
}
.ev-callout-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 0.35rem;
}
.ev-callout-desc {
  font-size: 0.88rem;
  color: var(--navy-soft);
  max-width: 32ch;
}

@media (min-width: 640px) {
  .ev-callout-grid:not(.ev-callout-grid-single) { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .ev-callout-grid:not(.ev-callout-grid-single) { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
}

/* ---- Selected research cards ---- */
.ev-research-block { margin-top: 3.5rem; }
.ev-research-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-bottom: 1.5rem;
}
.ev-research-head .ev-callout-heading { margin-bottom: 0; }
.ev-mini-stat {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}
.ev-mini-stat-number {
  font-family: var(--font-display);
  font-size: 1.9rem;
  color: var(--blue-accent);
  line-height: 1;
}
.ev-mini-stat-label {
  font-size: 0.78rem;
  color: var(--ink-muted);
  max-width: 12ch;
  line-height: 1.3;
}
.ev-research-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
.ev-study-card {
  background: var(--white);
  border: 1px solid var(--stone-line);
  border-radius: var(--radius);
  padding: 1.85rem 1.75rem;
  display: flex;
  flex-direction: column;
}
.ev-tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage-deep);
  margin-bottom: 0.85rem;
}
.ev-study-card h4 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.02rem;
  line-height: 1.32;
  color: var(--navy);
  margin-bottom: 0.85rem;
}
.ev-study-card p {
  font-size: 0.88rem;
  color: var(--navy-soft);
  margin-bottom: 1.1rem;
  flex-grow: 1;
}
.ev-study-card .evidence-link { margin-top: 0; }

@media (min-width: 720px) {
  .ev-research-grid { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
}

/* ---- CP2305 EEG visual ---- */
.ev-eeg-block { margin-top: 3.5rem; padding-top: 3.25rem; border-top: 1px solid rgba(250, 246, 238, 0.14); }
.ev-eeg-head { max-width: 560px; margin: 0 auto 2.5rem; text-align: center; }
.ev-eeg-head .ev-callout-heading { color: rgba(250, 246, 238, 0.62); margin-bottom: 0.75rem; }
.ev-eeg-sub { color: rgba(250, 246, 238, 0.88); font-size: 1rem; }

.ev-eeg-diagram { max-width: 480px; margin: 0 auto; }
.ev-eeg-svg { display: block; width: 100%; height: auto; }
.ev-eeg-head-outline {
  fill: rgba(250, 246, 238, 0.04);
  stroke: rgba(250, 246, 238, 0.35);
  stroke-width: 1.4px;
}
.ev-eeg-nose {
  fill: none;
  stroke: rgba(250, 246, 238, 0.35);
  stroke-width: 1.4px;
  stroke-linejoin: round;
}
.ev-eeg-leader {
  stroke: rgba(250, 246, 238, 0.3);
  stroke-width: 1px;
}
.ev-eeg-halo {
  fill: none;
  stroke: var(--sage);
  stroke-width: 1px;
  opacity: 0.55;
}
.ev-eeg-dot {
  fill: var(--sage);
  stroke: var(--navy);
  stroke-width: 1.5px;
}
.ev-eeg-site {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  fill: var(--cream);
}
.ev-eeg-p {
  font-family: var(--font-sans);
  font-size: 12px;
  fill: var(--sage);
}
.ev-eeg-caption {
  max-width: 480px;
  margin: 2rem auto 0;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(250, 246, 238, 0.8);
}
.ev-eeg-caption a { color: var(--sage); border-bottom: 1px solid currentColor; }
.ev-narrative-copy a, .ev-narrative-centered a { color: var(--blue-accent); border-bottom: 1px solid currentColor; }

/* ---- L-theanine visual ---- */
.ev-ltheanine-stat-block {
  background: var(--white);
  border: 1px solid var(--stone-line);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
}
.ev-ltheanine-stat {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}
.ev-ltheanine-stat + .ev-ltheanine-stat {
  margin-top: 1rem;
}
.ev-wave-svg {
  display: block;
  width: 100%;
  height: auto;
  margin: 2rem 0 0.75rem;
}
.ev-wave-path {
  fill: none;
  stroke: var(--sage);
  stroke-width: 2px;
  stroke-linecap: round;
  opacity: 0.7;
}
.ev-ltheanine-caption {
  font-size: 0.78rem;
  color: var(--ink-muted);
}

/* ---- Blueberry diagram ---- */
.ev-blueberry-diagram { margin-top: 3.5rem; max-width: 900px; margin-left: auto; margin-right: auto; }
.ev-blueberry-svg { display: block; width: 100%; height: auto; }
.ev-blueberry-icon {
  fill: var(--blue-accent);
  stroke: none;
}
.ev-blueberry-icon path {
  stroke: var(--blue-accent);
  stroke-width: 1.4px;
  stroke-linecap: round;
}
.ev-microbiome-cluster circle {
  fill: var(--sage);
  opacity: 0.85;
}
.ev-arrowhead { fill: var(--blue-accent); opacity: 0.65; }

@media (min-width: 800px) {
  .ev-timeline-arrow { align-self: center; }
}

/* ---- Research disclaimer ---- */
.ev-disclaimer { padding: 4.5rem 0 5.5rem; }
.ev-disclaimer-heading {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage-deep);
  margin-bottom: 1.1rem;
}
.ev-disclaimer p {
  font-size: 0.85rem;
  line-height: 1.65;
  color: var(--ink-muted);
  margin-bottom: 0.9rem;
}
.ev-fda-disclaimer {
  margin-top: 1.5rem !important;
  padding-top: 1.5rem;
  border-top: 1px solid var(--stone-line);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  color: #374151;
  opacity: 1;
  text-align: center;
}
.ev-formula-disclosure {
  max-width: 560px;
  margin: 1.25rem auto 0;
  font-size: 12px;
  font-style: italic;
  line-height: 1.5;
  color: var(--ink-muted);
  text-align: center;
}

.clinical-results-disclaimer-strip { padding: 1.75rem 0; }
.clinical-results-disclaimer {
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--ink-muted);
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

/* ============================================================
   Evidence Page — 2026 refresh
   ============================================================ */

/* ---- Hero ---- */
.ev-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.55rem); }
.ev-hero .lede { line-height: 1.65; }
.ev-supporting {
  margin-top: 1.1rem;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--ink-muted);
  max-width: 52ch;
}

/* ---- Evidence summary ---- */
.ev-summary-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  margin-top: 2.75rem;
}
@media (min-width: 700px) {
  .ev-summary-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .ev-summary-grid { grid-template-columns: repeat(4, 1fr); gap: 2rem; }
  .ev-summary-grid.ev-summary-grid-3 { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
  .ev-summary-grid.ev-summary-grid-2 { grid-template-columns: repeat(2, 1fr); }
}
.ev-summary-grid-2 { max-width: 640px; margin-left: auto; margin-right: auto; }
.ev-summary-card {
  padding-top: 1.5rem;
  border-top: 1px solid var(--stone-line);
}
.ev-summary-card-name {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sage-deep);
  margin-bottom: 0.85rem;
}
.ev-summary-card-name em { font-style: italic; }
.ev-summary-line {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--navy);
  line-height: 1.35;
  margin-bottom: 0.35rem;
}
.ev-summary-line-sub {
  font-size: 0.88rem;
  color: var(--ink-muted);
  line-height: 1.5;
}

/* ---- Compact gut-brain flow ---- */
.ev-flow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2.75rem;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 700px) {
  .ev-flow { flex-direction: row; justify-content: space-between; gap: 1rem; }
}
.ev-flow-step {
  padding: 0.85rem 1.35rem;
  background: var(--white);
  border: 1px solid var(--stone-line);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--navy-soft);
  text-align: center;
  white-space: nowrap;
}
.ev-flow-arrow {
  color: var(--sage-deep);
  font-size: 1.1rem;
  transform: rotate(90deg);
}
@media (min-width: 700px) {
  .ev-flow-arrow { transform: none; }
}

/* ---- Evidence badge ---- */
.ev-badge {
  display: inline-block;
  padding: 0.4rem 0.85rem;
  background: var(--stone);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sage-deep);
  margin-bottom: 1.5rem;
}
.ev-ingredient-dark .ev-badge {
  background: rgba(250, 246, 238, 0.12);
  color: var(--sage);
}
.ev-ingredient-dark .btn-primary,
.final-purchase-section .btn-primary {
  background: var(--cream);
  color: var(--navy);
}
.ev-ingredient-dark .btn-primary:hover,
.final-purchase-section .btn-primary:hover {
  background: var(--sage);
  color: var(--navy);
}

/* ---- Benefit tags ---- */
.ev-benefit-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 2rem;
}
.ev-benefit-tag {
  padding: 0.5rem 0.95rem;
  border: 1px solid var(--stone-line);
  border-radius: 999px;
  font-size: 0.8rem;
  color: var(--navy-soft);
}
.ev-ingredient-dark .ev-benefit-tag {
  border-color: rgba(250, 246, 238, 0.25);
  color: var(--cream);
}

/* ---- Research highlight card ---- */
.ev-highlight {
  margin-top: 1.5rem;
  padding: 1.75rem 2rem;
  background: var(--white);
  border: 1px solid var(--stone-line);
  border-radius: var(--radius);
}
.ev-ingredient-dark .ev-highlight {
  background: rgba(250, 246, 238, 0.06);
  border-color: rgba(250, 246, 238, 0.16);
}
.ev-highlight-number {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  color: var(--blue-accent);
  margin-bottom: 0.5rem;
}
.ev-ingredient-dark .ev-highlight-number { color: var(--sage); }
.ev-highlight-caption {
  font-size: 0.9rem;
  color: var(--navy-soft);
  line-height: 1.6;
}
.ev-ingredient-dark .ev-highlight-caption { color: rgba(250, 246, 238, 0.85); }
.ev-highlight-source {
  margin-top: 0.6rem;
  font-size: 0.78rem;
  color: var(--ink-muted);
}
.ev-ingredient-dark .ev-highlight-source { color: rgba(250, 246, 238, 0.6); }
.ev-highlight-source a { color: var(--blue-accent); border-bottom: 1px solid currentColor; }
.ev-ingredient-dark .ev-highlight-source a { color: var(--sage); }

/* ---- Evidence diagrams ---- */
.ev-diagram-image {
  width: 100%;
  height: auto;
  margin-top: 2.75rem;
}
.ev-diagram-caption {
  margin-top: 1.25rem;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--ink-muted);
  max-width: 68ch;
}
.ev-ingredient-dark .ev-diagram-caption { color: rgba(250, 246, 238, 0.85); }
@media (max-width: 639px) {
  /* Bleed past the container's side padding so embedded diagram text has as much width as possible to stay legible. */
  .ev-diagram-image {
    width: calc(100% + 3rem);
    max-width: calc(100% + 3rem);
    margin-left: -1.5rem;
    margin-right: -1.5rem;
  }
}

/* ---- CP2305 60-minute visual ---- */
.ev-cp2305-visual {
  margin-top: 3rem;
  padding-top: 2.75rem;
  border-top: 1px solid rgba(250, 246, 238, 0.14);
  text-align: center;
}
.ev-cp2305-visual-number {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 4.5rem);
  color: var(--cream);
  line-height: 1;
}
.ev-cp2305-visual-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage);
  margin-top: 0.5rem;
}
.ev-cp2305-visual-wave {
  display: block;
  width: 100%;
  max-width: 320px;
  height: auto;
  margin: 1.75rem auto 0;
}
.ev-cp2305-visual-wave path {
  fill: none;
  stroke: var(--sage);
  stroke-width: 2px;
  stroke-linecap: round;
  opacity: 0.6;
}
.ev-cp2305-visual-caption {
  margin-top: 1.5rem;
  font-size: 0.82rem;
  color: rgba(250, 246, 238, 0.7);
}

/* ---- Expandable research links ---- */
.ev-research-toggle { margin-top: 2rem; }
.ev-research-toggle summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--blue-accent);
}
.ev-ingredient-dark .ev-research-toggle summary { color: var(--sage); }
.ev-research-toggle summary::-webkit-details-marker { display: none; }
.ev-research-toggle summary::after {
  content: "+";
  font-size: 1.1rem;
  font-weight: 300;
  transition: transform 0.25s var(--ease);
}
.ev-research-toggle[open] summary::after { transform: rotate(45deg); }
.ev-research-toggle-list {
  margin-top: 1.1rem;
  padding-left: 1.1rem;
  border-left: 2px solid var(--stone-line);
}
.ev-ingredient-dark .ev-research-toggle-list { border-left-color: rgba(250, 246, 238, 0.2); }
.ev-research-toggle-list li { margin-bottom: 0.9rem; }
.ev-research-toggle-list li:last-child { margin-bottom: 0; }
.ev-research-toggle-list a {
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--navy-soft);
  border-bottom: 1px solid transparent;
}
.ev-ingredient-dark .ev-research-toggle-list a { color: rgba(250, 246, 238, 0.85); }
.ev-research-toggle-list a:hover { border-color: currentColor; }

/* ---- Why strains matter ---- */
.ev-strains-section { background: var(--cream-deep); }
.ev-strain-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 2.5rem;
  max-width: 520px;
}
.ev-strain-item {
  padding: 1rem 1.35rem;
  background: var(--white);
  border: 1px solid var(--stone-line);
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--navy);
}

/* ---- Supplement Facts panel ---- */
.supplement-facts-section { background: var(--stone); text-align: center; }
.supplement-facts-intro { max-width: 640px; margin: 0 auto 2rem; }
.supplement-facts-panel {
  max-width: 480px;
  margin: 0 auto;
  background: var(--white);
  border: 2px solid var(--navy);
  padding: 1.5rem 1.75rem 1.75rem;
  text-align: left;
}
.supplement-facts-panel h3 {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.01em;
  padding-bottom: 0.5rem;
  border-bottom: 8px solid var(--navy);
}
.supplement-facts-meta {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--navy);
  font-size: 0.88rem;
}
.supplement-facts-meta p + p { margin-top: 0.25rem; }
.supplement-facts-columns {
  display: flex;
  justify-content: space-between;
  padding: 0.4rem 0 0.35rem;
  border-bottom: 4px solid var(--navy);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.supplement-facts-rows { border-bottom: 4px solid var(--navy); }
.supplement-facts-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--stone-line);
  font-size: 0.92rem;
}
.supplement-facts-row:last-child { border-bottom: 0; }
.supplement-facts-row-name { color: var(--navy); }
.supplement-facts-row-amount { color: var(--navy); white-space: nowrap; font-variant-numeric: tabular-nums; }
.supplement-facts-sub {
  padding: 0 0 0.65rem 1rem;
  border-bottom: 1px solid var(--stone-line);
  font-size: 0.82rem;
  color: var(--ink-muted);
  font-style: italic;
}
.supplement-facts-sub p { margin-bottom: 0.15rem; }
.supplement-facts-footnote {
  padding-top: 0.65rem;
  font-size: 0.78rem;
  color: var(--ink-muted);
}
.supplement-facts-explainer {
  max-width: 480px;
  margin: 1.5rem auto 0;
  font-size: 0.85rem;
  color: var(--ink-muted);
  line-height: 1.6;
}

/* ---- Final purchase module ---- */
.final-purchase-section { background: var(--navy); }
.final-purchase-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 900px) {
  .final-purchase-grid { grid-template-columns: 0.8fr 1fr; gap: 5rem; }
}
.final-purchase-media { max-width: 320px; margin: 0 auto; }
@media (min-width: 900px) { .final-purchase-media { margin: 0; } }
.final-purchase-media img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}
.final-purchase-copy h2 { color: var(--cream); margin-bottom: 1.1rem; }
.final-purchase-copy p { color: rgba(250, 246, 238, 0.88); margin-bottom: 1.75rem; max-width: 46ch; }
.final-purchase-note {
  margin-top: 1.25rem;
  font-size: 0.85rem;
  color: rgba(250, 246, 238, 0.7);
}
.final-purchase-trust {
  margin-top: 0.85rem;
  font-size: 0.78rem;
  color: rgba(250, 246, 238, 0.55);
}

/* ============================================================
   Entrance animations
   ============================================================ */
[data-animate] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
[data-animate].in-view {
  opacity: 1;
  transform: translateY(0);
}
[data-animate="fade"] {
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  [data-animate] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ============================================================
   Contact Page
   ============================================================ */
.contact-hero { padding-bottom: 2.5rem; }
.contact-hero .lede { max-width: 56ch; }

.contact-form-section { background: var(--cream); }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 560px;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.form-field label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy-soft);
}
.form-field input,
.form-field textarea {
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--stone-line);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  transition: border-color 0.2s var(--ease);
}
.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--navy);
}
.form-field textarea {
  resize: vertical;
  min-height: 140px;
}
.hp-field { display: none; }
.contact-submit { align-self: flex-start; }

.contact-result {
  min-height: 55vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.contact-result .lede { margin: 1rem auto 2rem; }

/* ============================================================
   Checkout Flow
   ============================================================ */
.checkout-page { background: var(--cream); }

.checkout-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 246, 238, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--stone-line);
}
.checkout-header-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 1.15rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
@media (min-width: 640px) { .checkout-header-inner { padding: 1.15rem 2.5rem; } }
.checkout-header-secure {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-muted);
  white-space: nowrap;
}
.checkout-header-secure svg { flex-shrink: 0; color: var(--sage-deep); }
.checkout-header-secure span { display: none; }
@media (min-width: 480px) {
  .checkout-header-secure span { display: inline; }
}

/* ---- Progress indicator ---- */
.checkout-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin: 2.5rem auto 0;
}
.checkout-progress-step {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink-muted);
}
.checkout-progress-step i {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid var(--stone-line);
  background: var(--white);
  font-style: normal;
  font-size: 0.7rem;
  color: var(--ink-muted);
}
.checkout-progress-step.is-active { color: var(--navy); }
.checkout-progress-step.is-active i {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--cream);
}
.checkout-progress-step.is-done i {
  border-color: var(--sage-deep);
  background: var(--sage-deep);
  color: var(--cream);
}
.checkout-progress-line {
  width: 2.5rem;
  height: 1px;
  background: var(--stone-line);
}

/* ---- Page head ---- */
.checkout-head {
  text-align: center;
  max-width: 480px;
  margin: 2.5rem auto 3rem;
}
.checkout-head h1 { margin-bottom: 0.75rem; }
.checkout-head p { color: var(--navy-soft); font-size: 1.02rem; }

/* ---- Layout grid ---- */
.checkout-grid {
  display: grid;
  gap: 2.5rem;
  max-width: 1080px;
  margin: 0 auto;
  padding-bottom: 5rem;
}
@media (min-width: 900px) {
  .checkout-grid {
    grid-template-columns: 1.05fr 0.85fr;
    gap: 4rem;
    align-items: start;
  }
  .checkout-summary-col { order: 2; position: sticky; top: 100px; }
  .checkout-main-col { order: 1; }
}

/* ---- Order summary card ---- */
.checkout-summary {
  background: var(--white);
  border: 1px solid var(--stone-line);
  border-radius: var(--radius);
  padding: 1.75rem;
}
.checkout-summary-product {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--stone-line);
}
.checkout-summary-product img {
  width: 64px;
  height: 80px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  flex-shrink: 0;
}
.checkout-summary-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 0.3rem;
}
.checkout-summary-supply {
  font-size: 0.85rem;
  color: var(--navy-soft);
  margin-bottom: 0.25rem;
}
.checkout-summary-shipping {
  font-size: 0.8rem;
  color: var(--sage-deep);
  font-weight: 600;
}
.checkout-summary-rows {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--stone-line);
}
.checkout-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.92rem;
  color: var(--navy-soft);
}
.checkout-summary-row + .checkout-summary-row { margin-top: 0.6rem; }
.checkout-summary-promo span:last-child { color: var(--sage-deep); font-weight: 600; }
.checkout-summary-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 1.25rem;
  font-family: var(--font-sans);
  font-size: 1.3rem;
  color: var(--navy);
}
.checkout-summary-renewal {
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--stone-line);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
}
.checkout-summary-note {
  margin-top: 0.85rem;
  font-size: 0.78rem;
  color: var(--ink-muted);
}

/* ---- Step 1: contact form ---- */
.checkout-form {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}
.checkout-form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.35rem;
}
@media (min-width: 560px) {
  .checkout-form-row-2 { grid-template-columns: 1fr 1fr; }
  .checkout-form-row-3 { grid-template-columns: 1.4fr 0.85fr 0.9fr; }
}
.checkout-form .form-field select {
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--stone-line);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  transition: border-color 0.2s var(--ease);
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3e%3cpath fill='%235B6674' d='M6 8 0 0h12z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 10px 7px;
}
.checkout-form .form-field select:focus { border-color: var(--navy); }
.checkout-form .form-field-optional-label {
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: var(--ink-muted);
}
.checkout-page .form-error {
  display: none;
  font-size: 0.78rem;
  color: #B33A3A;
}
.checkout-page .form-field.has-error input,
.checkout-page .form-field.has-error select {
  border-color: #B33A3A;
}
.checkout-page .form-field.has-error .form-error { display: block; }

.checkout-submit-row { margin-top: 0.75rem; }
.checkout-submit-row .btn { width: 100%; }
.checkout-submit-note {
  margin-top: 1rem;
  text-align: center;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  color: var(--ink-muted);
}

.checkout-back-link {
  display: inline-block;
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--blue-accent);
}
.checkout-back-link:hover { border-bottom: 1px solid currentColor; }

/* ---- Step 2: payment options ---- */
.checkout-payment-options {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.checkout-pay-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  min-height: 54px;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}
.checkout-pay-btn:hover { transform: translateY(-1px); }
.checkout-pay-btn:active { transform: translateY(0); opacity: 0.9; }

.checkout-pay-apple {
  background: #000;
  color: #fff;
}
.checkout-pay-apple svg { width: 20px; height: 20px; }

.checkout-pay-google {
  background: var(--white);
  color: #3C4043;
  border: 1px solid var(--stone-line);
}
.checkout-pay-google svg { height: 20px; width: auto; }

.checkout-pay-card {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
}
.checkout-pay-card:hover { background: var(--navy); color: var(--cream); }

.checkout-card-networks {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin-top: -0.35rem;
}
.checkout-card-networks svg { height: 22px; width: auto; }

.checkout-payment-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0.35rem 0;
  color: var(--ink-muted);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.checkout-payment-divider::before,
.checkout-payment-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--stone-line);
}

.checkout-auth-note {
  margin-top: 1.25rem;
  text-align: center;
  font-size: 0.76rem;
  line-height: 1.5;
  color: var(--ink-muted);
}

.checkout-payment-note {
  margin-top: 1.5rem;
  text-align: center;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  color: var(--ink-muted);
}
.checkout-payment-note svg { vertical-align: -2px; margin-right: 0.3rem; color: var(--sage-deep); }

/* ---- Step 3: availability / coupon ---- */
.checkout-availability {
  max-width: 620px;
  margin: 0 auto;
  padding: 4rem 0 6rem;
  text-align: center;
}
.checkout-availability-status {
  display: inline-block;
  padding: 0.4rem 0.85rem;
  background: var(--stone);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage-deep);
  margin-bottom: 1.75rem;
}
.checkout-availability h1 { margin-bottom: 1.5rem; }
.checkout-availability-body p {
  color: var(--navy-soft);
  max-width: 52ch;
  margin: 0 auto 1.1rem;
  line-height: 1.65;
}
.checkout-offer {
  margin-top: 2.5rem;
  padding: 2rem 1.75rem;
  background: var(--white);
  border: 1px solid var(--stone-line);
  border-radius: var(--radius);
  text-align: left;
}
.checkout-offer p {
  color: var(--navy-soft);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}
.checkout-offer-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
@media (min-width: 560px) {
  .checkout-offer-form { flex-direction: row; align-items: flex-start; }
  .checkout-offer-form .form-field { flex: 1; }
}
.checkout-offer-form .form-field { margin: 0; }
.checkout-offer-form .btn { flex-shrink: 0; }
.checkout-offer-note {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: var(--ink-muted);
}
.checkout-offer-confirmed h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.35rem;
  color: var(--navy);
  margin-bottom: 0.85rem;
}
.checkout-offer-confirmed p {
  color: var(--navy-soft);
  margin-bottom: 0;
  line-height: 1.6;
}

.checkout-closing {
  margin-top: 2.5rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--sage-deep);
}
.checkout-decline-link {
  display: inline-block;
  margin-top: 1.5rem;
  font-size: 0.82rem;
  color: var(--ink-muted);
  border-bottom: 1px solid transparent;
}
.checkout-decline-link:hover { border-color: currentColor; }
.checkout-home-link {
  display: inline-block;
  margin-top: 2rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue-accent);
}
.checkout-home-link:hover { border-bottom: 1px solid currentColor; }
