/* =============================================================================
   DANTE LABS — SHARED DESIGN SYSTEM
   Tokens · Components · Layout · Navigation · Footer
   Font: Satoshi (Fontshare CDN)
   Icons: Phosphor Icons (light weight)
   ============================================================================= */

/* ─── IMPORTS ──────────────────────────────────────────────────────────────── */
@import url('https://cdn.jsdelivr.net/npm/@phosphor-icons/web@2.1.1/src/light/style.css');

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Satoshi', sans-serif;
  background: var(--color-bg);
  color: var(--color-text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  border: none;
  cursor: pointer;
  font-family: inherit;
}

/* Touch device normalization */
html {
  -webkit-tap-highlight-color: transparent;
}

a,
button {
  touch-action: manipulation;
}

/* Mobile nav scroll lock */
body.mobile-nav-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
}

/* ─── DESIGN TOKENS ─────────────────────────────────────────────────────────── */
:root {
  /* Colors */
  --color-white: #ffffff;
  --color-bg: #f4f3f1;
  /* Warm off-white — default section background (per brand brief) */
  --color-dark: #1c2128;
  /* Dark navy — alias for --color-navy, used throughout for text/bg */
  --color-card: #ffffff;
  /* Card interiors and alternating sections */
  --color-ink: #0a0e17;
  /* Deep, near-black navy for high-end typography */
  --color-navy: #1c2128;
  /* Secondary dark background and secondary typography */
  --color-text: #444444;
  /* Body copy */
  --color-muted: #888888;
  /* Captions, badges, subdued text */
  --color-accent: #593159;
  /* Dark plum — primary interactive accent */
  --color-border: rgba(0, 0, 0, 0.08);

  /* Typography */
  --font-h1-size: clamp(44px, 5.5vw, 68px);
  --font-h2-size: clamp(28px, 2.8vw, 54px);
  --font-h3-size: clamp(18px, 2vw, 22px);
  --font-body-size: clamp(16px, 1.15vw, 18px);
  --font-small-size: clamp(13px, 0.85vw, 14px);
  --font-eyebrow-size: 12px;

  /* Spacing */
  --section-pad-v: clamp(80px, 10vw, 140px);
  --container-max: 1320px;
  --container-pad: clamp(20px, 3vw, 48px);

  /* Cards */
  --card-pad: 32px;
  --card-radius: 10px;
  --card-shadow: 0 2px 16px rgba(28, 33, 40, 0.04), 0 1px 4px rgba(28, 33, 40, 0.05);
  --card-shadow-hover: 0 16px 48px rgba(28, 33, 40, 0.10), 0 4px 12px rgba(28, 33, 40, 0.07);

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --duration: 0.38s;
}

/* ─── LAYOUT UTILITIES ───────────────────────────────────────────────────────── */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

.section {
  padding-top: var(--section-pad-v);
  padding-bottom: var(--section-pad-v);
}

.section--white {
  background: var(--color-card);
}

.section--offwhite {
  background: var(--color-bg);
}

.section--dark {
  background: var(--color-navy);
}

/* ─── TYPOGRAPHY ─────────────────────────────────────────────────────────────── */
.eyebrow {
  display: inline-block;
  font-size: var(--font-eyebrow-size);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 20px;
}

.eyebrow--white {
  color: rgba(255, 255, 255, 0.5);
}

h1,
.h1 {
  font-size: var(--font-h1-size);
  font-weight: 300;
  line-height: 1.07;
  letter-spacing: -0.03em;
  color: var(--color-ink);
}

h2,
.h2 {
  font-size: var(--font-h2-size);
  font-weight: 300;
  line-height: 1.18;
  letter-spacing: -0.025em;
  color: var(--color-dark);
}

h3,
.h3 {
  font-size: var(--font-h3-size);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--color-dark);
}

.body-copy {
  font-size: var(--font-body-size);
  line-height: 1.68;
  color: var(--color-text);
}

.body-copy--white {
  color: rgba(255, 255, 255, 0.85);
}

.caption {
  font-size: var(--font-small-size);
  color: var(--color-muted);
  line-height: 1.5;
}

.pull-quote {
  font-size: clamp(22px, 2.5vw, 32px);
  font-style: normal;
  font-weight: 300;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--color-ink);
  margin: 0;
  padding: 0;
}

/* H1 width constraint — critical for the premium F-pattern layout */
.h1-constrained {
  max-width: 80%;
}

/* White text variants for dark sections */
.text-white h2,
.text-white .h2 {
  color: #ffffff;
}

.text-white .h1 {
  color: #ffffff;
}

/* ─── BUTTONS ────────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: 6px;
  padding: 14px 26px;
  transition: all 0.25s var(--ease-out);
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-accent);
  color: #ffffff;
  border: 1.5px solid var(--color-accent);
}

.btn-primary:hover {
  background: #4A284A;
  /* Darker accent for hover */
  border-color: #4A284A;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(89, 49, 89, 0.22);
}

.btn-text {
  background: transparent;
  color: var(--color-dark);
  padding: 0;
  border: none;
  border-radius: 0;
  font-size: var(--font-body-size);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: rgba(28, 33, 40, 0.3);
  text-underline-offset: 3px;
}

.btn-text:hover {
  text-decoration-color: var(--color-dark);
  transform: none;
}

.btn-text--white {
  color: rgba(255, 255, 255, 0.8);
  text-decoration-color: rgba(255, 255, 255, 0.3);
}

.btn-text--white:hover {
  color: #ffffff;
  text-decoration-color: rgba(255, 255, 255, 0.8);
}

/* Hero-specific button — cinematic semi-transparent white */
.btn-hero {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: 6px;
  padding: 14px 26px;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  transition: all 0.3s var(--ease-out);
}

.btn-hero:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.65);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.btn-text--accent {
  color: var(--color-ink);
  font-size: var(--font-body-size);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: rgba(10, 14, 23, 0.3);
  text-underline-offset: 3px;
  padding: 0;
  background: transparent;
}

.btn-text--accent:hover {
  color: var(--color-accent);
  text-decoration-color: rgba(89, 49, 89, 0.8);
}

.btn-text--accent::after {
  content: ' →';
}

.cta-group {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 36px;
}

/* ─── NAVIGATION ─────────────────────────────────────────────────────────────── */
/* Default state: dark tinted over hero, white text */
.site-header-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: rgba(28, 33, 40, 0.10);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    background 0.35s ease;
}

/* Scrolled state: white bg, dark text */
.site-header-wrapper.nav--scrolled {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Hidden state — when scrolling down */
.site-header-wrapper.nav--hidden {
  transform: translateY(-110%);
}

.nav-inner {
  display: flex;
  align-items: center;
  height: 84px;
  gap: 0;
}

/* Logo sits flush left, then nav-links right behind it */
.nav-links {
  margin-left: 24px;
}

/* Login + CTA group pushed to far right */
.nav-right-group {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

/* Login button — white outline by default, dark when scrolled */
.nav-login {
  display: inline-flex;
  align-items: center;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #ffffff;
  padding: 14px 22px;
  border-radius: 6px;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  transition: all 0.35s var(--ease-out);
  white-space: nowrap;
  text-decoration: none;
}

.nav-login:hover {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.08);
}

/* Scrolled state: dark login */
.nav--scrolled .nav-login {
  color: var(--color-ink);
  border-color: rgba(10, 14, 23, 0.12);
}

.nav--scrolled .nav-login:hover {
  border-color: rgba(10, 14, 23, 0.3);
  background: rgba(10, 14, 23, 0.03);
}

/* Nav logo — white by default (over dark hero), dark when scrolled */
.nav-logo {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-dark);
  flex-shrink: 0;
}

.nav-logo img {
  transition: filter 0.35s ease, opacity 0.35s ease;
  filter: brightness(0) invert(1);
  opacity: 0.8;
  /* White logo over dark hero */
}

.nav--scrolled .nav-logo img {
  filter: none;
  opacity: 0.8;
  /* Original dark logo when scrolled */
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin-left: 56px;
}

.nav-links>li {
  position: relative;
}

/* Nav links — white by default (over dark hero), dark when scrolled */
.nav-links>li>a,
.nav-links>li>button.nav-dropdown-toggle {
  font-size: 15px;
  font-weight: 500;
  color: #ffffff;
  opacity: 0.85;
  padding: 8px 10px;
  border-radius: 6px;
  transition: opacity 0.2s, background 0.2s, color 0.35s ease;
  background: transparent;
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.nav-links>li>a:hover,
.nav-links>li>button.nav-dropdown-toggle:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.12);
}

/* Scrolled state: dark text */
.nav--scrolled .nav-links>li>a,
.nav--scrolled .nav-links>li>button.nav-dropdown-toggle {
  color: var(--color-dark);
}

.nav--scrolled .nav-links>li>a:hover,
.nav--scrolled .nav-links>li>button.nav-dropdown-toggle:hover {
  background: rgba(28, 33, 40, 0.05);
}

.nav-chevron {
  width: 10px;
  height: 10px;
  opacity: 0.5;
  transition: transform 0.2s, color 0.35s ease;
  color: #ffffff;
}

.nav-links>li:hover .nav-chevron,
.nav-links>li:focus-within .nav-chevron {
  transform: rotate(180deg);
}

.nav--scrolled .nav-chevron {
  color: var(--color-dark);
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 240px;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  box-shadow: 0 12px 40px rgba(28, 33, 40, 0.12);
  padding: 8px;
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 0.2s var(--ease-out), transform 0.2s var(--ease-out);
  z-index: 300;
}

.nav-links>li:hover .nav-dropdown,
.nav-links>li:focus-within .nav-dropdown {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Bridge gap between trigger button and dropdown panel so mouse can travel without losing hover */
.nav-links>li::after {
  content: '';
  position: absolute;
  top: 100%;
  left: -8px;
  right: -8px;
  height: 14px;
  z-index: 299;
}

.nav-dropdown a {
  display: block;
  font-size: 14px;
  font-weight: 400;
  color: var(--color-dark);
  padding: 10px 14px;
  border-radius: 6px;
  transition: background 0.15s;
  line-height: 1.4;
}

.nav-dropdown a:hover {
  background: var(--color-bg);
}

.nav-dropdown .dropdown-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-muted);
  padding: 8px 14px 4px;
}

.nav-dropdown .dropdown-browse-all {
  margin-top: 4px;
  padding-top: 8px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  color: var(--color-accent, #593159) !important;
  font-weight: 500;
}

/* Trust strip below nav — full width, symmetric */
.trust-strip {
  background: rgba(0, 0, 0, 0.10);
  padding: 6px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  transition: border-color 0.35s ease;
}

.nav--scrolled .trust-strip {
  border-top-color: var(--color-border);
  border-bottom-color: var(--color-border);
}

.trust-strip-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  row-gap: 6px;
}

.trust-strip-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.04em;
  transition: color 0.35s ease;
  padding: 0 14px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  line-height: 1;
  white-space: nowrap;
}

.trust-strip-item:last-child {
  border-right: none;
}

.trust-strip-item strong {
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
}

.nav--scrolled .trust-strip-item {
  color: var(--color-muted);
  border-right-color: var(--color-border);
}

.nav--scrolled .trust-strip-item strong {
  color: var(--color-dark);
}

/* Trust strip icons */
.trust-strip-icon {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  opacity: 0.7;
}

/* ─── ROUTING CARDS ─────────────────────────────────────────────────────────── */
.routing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--card-radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: transform 0.1s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    box-shadow 0.1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: pointer;
  text-decoration: none;
  min-height: 280px;
  will-change: transform;
}

.routing-card:hover {
  /* Border + tint switch instantly (not in transition list — no repaint lag) */
  border-color: var(--color-accent);
  background: rgba(89, 49, 89, 0.025);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.10);
}

/* Background image — hidden by default, reveals on hover */
.card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 0.5s ease, transform 0.7s cubic-bezier(0.25, 0.1, 0.25, 1);
  z-index: 0;
}

/* Light scrim — just enough to unify the image tonally */
.card-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: hsla(0, 0%, 0%, 0.25);
  z-index: 1;
}

/* Hover: image stays hidden — no image reveal */
.routing-card:hover .card-bg {
  opacity: 0;
  transform: scale(1);
}

/* Card text area — frosted glass surface on hover */
.card-inner {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px 24px 24px;
  border-radius: 0 0 var(--card-radius) var(--card-radius);
  background: transparent;
  backdrop-filter: blur(0);
  -webkit-backdrop-filter: blur(0);
  transition: background 0.5s ease, backdrop-filter 0.5s ease, -webkit-backdrop-filter 0.5s ease;
}

.routing-card:hover .card-inner {
  /* no backdrop-blur; stays transparent */
}

/* Transition text colors on hover */
.card-eyebrow,
.card-headline,
.card-body,
.card-cta {
  transition: color 0.45s ease;
}

.card-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 14px;
}

.card-headline {
  font-size: clamp(16px, 1.4vw, 18px);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--color-dark);
  margin-bottom: 12px;
}

/* Text stays its resting colour on hover */

.card-body {
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-text);
  flex: 1;
  margin-bottom: 20px;
}

.card-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-dark);
  letter-spacing: 0;
  margin-top: auto;
  position: relative;
}

.card-cta-arrow {
  display: inline-block;
  transition: transform 0.2s var(--ease-out);
}

.routing-card:hover .card-cta-arrow {
  transform: translateX(5px);
}

/* ─── TOUCH DEVICES: persistent card image, no hover color shift ──────────── */
@media (hover: none) {
  /* Active/pressed state for tactile feedback */
  .routing-card:active {
    transform: scale(0.985);
    transition-duration: 0.1s;
  }
}


/* ─── UPGRADE STRIP (full-width card below grids) ────────────────────────────── */
.upgrade-strip {
  margin-top: 20px;
  min-height: 140px;
}

/* ─── CARDS ROW (4-col routing card grid) ───────────────────────────────────── */
.cards-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* ─── STATS STRIP ────────────────────────────────────────────────────────────── */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 56px;
}

.stat-cell {
  background: var(--color-dark);
  padding: 40px 32px;
}

.stat-number {
  display: block;
  font-size: clamp(36px, 4vw, 58px);
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 1;
  color: #ffffff;
  margin-bottom: 12px;
  white-space: nowrap;
}

.stat-label {
  display: block;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.45;
  max-width: 160px;
}

/* ─── TRUST COMPONENTS ───────────────────────────────────────────────────────── */
/* Label above trust logos */
.trust-logos-label {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 24px;
}

.trust-badges-dark {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.trust-badge {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.04em;
  padding: 7px 14px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 4px;
}

/* Medical credential text badges */
.trust-text-badges {
  display: flex;
  align-items: stretch;
  gap: 12px;
  flex-wrap: wrap;
}

.trust-text-badge {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.02em;
  padding: 7px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 5px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
}

/* ─── DISTINCTION CARDS ──────────────────────────────────────────────────────── */
.distinction-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 56px;
}

.distinction-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--card-radius);
  padding: 32px 28px 28px;
  position: relative;
  transition: box-shadow var(--duration) var(--ease-out),
    border-color var(--duration) ease;
}

.distinction-card:hover {
  box-shadow: 0 8px 32px rgba(28, 33, 40, 0.06);
  border-color: rgba(10, 14, 23, 0.1);
}

.distinction-number {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--color-accent);
  margin-bottom: 20px;
  opacity: 0.6;
}

.distinction-card h3 {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--color-dark);
  margin-bottom: 14px;
}

.distinction-card p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-text);
}

/* ─── HOW IT WORKS — STEP CARDS ──────────────────────────────────────────────── */
.how-it-works {
  margin-top: 80px;
  margin-bottom: 56px;
  padding-top: 64px;
  border-top: 1px solid var(--color-border);
}

.how-it-works .eyebrow {
  margin-bottom: 16px;
}

.how-it-works-headline {
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--color-dark);
  margin-bottom: 48px;
  max-width: 440px;
}

.how-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.how-step-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--card-radius);
  padding: 28px 24px 24px;
  position: relative;
  transition: box-shadow var(--duration) var(--ease-out),
    border-color var(--duration) ease,
    transform var(--duration) var(--ease-out);
}

.how-step-card:hover {
  box-shadow: 0 8px 32px rgba(28, 33, 40, 0.06);
  border-color: rgba(10, 14, 23, 0.1);
  transform: translateY(-2px);
}

.how-step-number {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--color-accent);
  margin-bottom: 20px;
  opacity: 0.5;
}

.how-step-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(89, 49, 89, 0.07);
  color: var(--color-accent);
  margin-bottom: 20px;
}

.how-step-title {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--color-dark);
  margin-bottom: 10px;
}

.how-step-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-text);
}

/* ─── CLINICAL PROOF LAYOUT ──────────────────────────────────────────────────── */
.clinical-proof {
  background: var(--color-card);
}

.clinical-proof>.container>.eyebrow {
  margin-bottom: 40px;
}

.clinical-proof-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

/* Quote column — dominant left side */
.proof-quote-column {
  padding-top: 0;
}

.proof-quote-column .pull-quote {
  margin-bottom: 32px;
}

/* Attribution — structured, not inline */
.proof-attribution {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
}

.proof-attribution-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-dark);
}

.proof-attribution-institution {
  font-size: var(--font-small-size);
  color: var(--color-muted);
  line-height: 1.4;
}

/* Narrative column — supporting detail */
.proof-narrative .body-copy {
  margin-bottom: 0;
}

.proof-closing {
  font-size: var(--font-body-size);
  line-height: 1.7;
  color: var(--color-text);
  margin-top: 32px;
  margin-bottom: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--color-border);
}

/* ─── CLOSING STATEMENT ─────────────────────────────────────────────────────── */
.closing-statement {
  background: var(--color-dark);
  padding: clamp(80px, 10vw, 140px) 0;
}

.closing-line {
  font-size: clamp(28px, 3.6vw, 48px);
  font-weight: 300;
  line-height: 1.3;
  letter-spacing: -0.03em;
  color: rgba(255, 255, 255, 0.85);
  max-width: 780px;
}

/* ─── FOOTER ─────────────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--color-dark);
  color: rgba(255, 255, 255, 0.65);
  padding: 64px 0 40px;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}



.site-footer>.container {
  position: relative;
  z-index: 1;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand-name {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 14px;
}

.footer-tagline {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.45);
  max-width: 260px;
}

.footer-contact {
  display: inline-block;
  margin-top: 16px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.18s;
}

.footer-contact:hover {
  color: #ffffff;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.35);
  transition: color 0.18s;
}

.footer-social a:hover {
  color: #ffffff;
}

/* ─── FOOTER NEWSLETTER ROW ──────────────────────────────────────────────── */
.footer-newsletter-row {
  padding-top: 32px;
}

.footer-newsletter {
  max-width: 400px;
}

.footer-newsletter-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.50);
  margin-bottom: 10px;
  display: block;
}

.footer-newsletter-form {
  display: flex;
  gap: 0;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: border-color 0.2s;
}

.footer-newsletter-form:focus-within {
  border-color: rgba(255, 255, 255, 0.30);
}

.footer-newsletter-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.06);
  border: none;
  padding: 10px 14px;
  font-size: 14px;
  font-family: 'Satoshi', sans-serif;
  color: #ffffff;
  outline: none;
  min-width: 0;
}

.footer-newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.30);
}

.footer-newsletter-btn {
  background: rgba(255, 255, 255, 0.10);
  border: none;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
  font-family: 'Satoshi', sans-serif;
  color: rgba(255, 255, 255, 0.70);
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
  white-space: nowrap;
}

.footer-newsletter-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

.footer-newsletter-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.footer-newsletter-msg {
  font-size: 12px;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.50);
}

.footer-newsletter-msg.success {
  color: #6bcb77;
}

.footer-newsletter-msg.error {
  color: #ff6b6b;
}

.footer-col-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 16px;
}

.footer-col-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col-links a {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.58);
  transition: color 0.18s;
}

.footer-col-links a:hover {
  color: #ffffff;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding-top: 28px;
}

.footer-copyright {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
  transition: color 0.18s;
}

.footer-bottom-links a:hover {
  color: rgba(255, 255, 255, 0.7);
}

/* ─── CURRENCY SWITCHER (footer) ─────────────────────────────────────────── */
.currency-switcher {
  position: relative;
}

.currency-switcher-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  font-family: inherit;
}

.currency-switcher-btn:hover {
  border-color: rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.1);
}

.cs-flag {
  font-size: 14px;
  line-height: 1;
}

.cs-code {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.cs-chevron {
  opacity: 0.5;
  transition: transform 0.2s;
}

.currency-switcher-btn[aria-expanded="true"] .cs-chevron {
  transform: rotate(180deg);
}

.currency-switcher-panel {
  display: none;
  position: absolute;
  bottom: calc(100% + 8px);
  right: 0;
  min-width: 240px;
  max-height: 320px;
  overflow-y: auto;
  background: var(--color-dark);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
  padding: 6px;
  z-index: 100;
}

.currency-switcher-panel.is-open {
  display: block;
  animation: csPanelIn 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes csPanelIn {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.currency-switcher-option {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 8px 10px;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  text-align: left;
}

.currency-switcher-option:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.currency-switcher-option.is-active {
  background: rgba(89, 49, 89, 0.2);
  color: #ffffff;
}

.currency-switcher-option .cs-flag {
  font-size: 16px;
}

.currency-switcher-option .cs-code {
  font-weight: 600;
  min-width: 32px;
}

.currency-switcher-option .cs-name {
  font-weight: 400;
  color: rgba(255, 255, 255, 0.4);
  font-size: 12px;
}

.currency-switcher-option.is-active .cs-name {
  color: rgba(255, 255, 255, 0.6);
}

/* Scrollbar styling for the panel */
.currency-switcher-panel::-webkit-scrollbar {
  width: 4px;
}

.currency-switcher-panel::-webkit-scrollbar-track {
  background: transparent;
}

.currency-switcher-panel::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
}

/* ─── CURRENCY SWITCHER — Inline variant (genome page top-right) ─────────── */
.genome-currency-picker {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 12px;
}

.currency-switcher--inline .currency-switcher-btn {
  border-color: var(--color-border);
  background: rgba(10, 14, 23, 0.03);
  color: var(--color-text);
}

.currency-switcher--inline .currency-switcher-btn:hover {
  border-color: rgba(10, 14, 23, 0.2);
  color: var(--color-dark);
  background: rgba(10, 14, 23, 0.06);
}

.currency-switcher--inline .cs-chevron {
  color: var(--color-muted);
}

/* Dropdown opens DOWNWARD for inline variants */
.currency-switcher--inline .currency-switcher-panel,
.currency-switcher--inline-light .currency-switcher-panel {
  bottom: auto;
  top: calc(100% + 8px);
  right: 0;
  background: #ffffff;
  border-color: var(--color-border);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.currency-switcher--inline .currency-switcher-option,
.currency-switcher--inline-light .currency-switcher-option {
  color: var(--color-text);
}

.currency-switcher--inline .currency-switcher-option:hover,
.currency-switcher--inline-light .currency-switcher-option:hover {
  background: rgba(10, 14, 23, 0.05);
  color: var(--color-dark);
}

.currency-switcher--inline .currency-switcher-option.is-active,
.currency-switcher--inline-light .currency-switcher-option.is-active {
  background: rgba(89, 49, 89, 0.08);
  color: var(--color-dark);
}

.currency-switcher--inline .currency-switcher-option .cs-name,
.currency-switcher--inline-light .currency-switcher-option .cs-name {
  color: var(--color-muted);
}

.currency-switcher--inline .currency-switcher-panel::-webkit-scrollbar-thumb,
.currency-switcher--inline-light .currency-switcher-panel::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.12);
}

/* ─── CURRENCY SWITCHER — Checkout variant (inside Order Summary) ────────── */
.checkout-currency-picker {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 12px;
}

.currency-switcher--inline-light .currency-switcher-btn {
  border-color: var(--color-border);
  background: rgba(10, 14, 23, 0.03);
  color: var(--color-text);
  font-size: 11px;
  padding: 5px 10px;
}

.currency-switcher--inline-light .currency-switcher-btn:hover {
  border-color: rgba(10, 14, 23, 0.2);
  color: var(--color-dark);
  background: rgba(10, 14, 23, 0.06);
}

.currency-switcher--inline-light .cs-flag {
  font-size: 13px;
}

.currency-switcher--inline-light .cs-code {
  font-size: 11px;
}

/* ─── MOBILE HAMBURGER ──────────────────────────────────────────────────────── */
.nav-mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  padding: 8px;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.nav-mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: all 0.25s;
}

.nav--scrolled .nav-mobile-toggle span {
  background: var(--color-dark);
}

/* ─── MOBILE NAV OVERLAY ──────────────────────────────────────────────────── */

/* Full-screen overlay — uses existing .nav-links element */
.mobile-nav-open .nav-links {
  display: flex !important;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-card);
  z-index: 250;
  padding: 80px var(--container-pad) 140px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  opacity: 0;
  transform: translateY(-8px);
  animation: mobileNavIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  gap: 0;
  margin-left: 0;
}

@keyframes mobileNavIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Nav items in mobile overlay */
.mobile-nav-open .nav-links>li {
  border-bottom: 1px solid var(--color-border);
}

.mobile-nav-open .nav-links>li>a,
.mobile-nav-open .nav-links>li>button.nav-dropdown-toggle {
  color: var(--color-dark);
  opacity: 1;
  font-size: 20px;
  font-weight: 500;
  padding: 16px 0;
  width: 100%;
  justify-content: space-between;
  text-align: left;
}

.mobile-nav-open .nav-links>li>a:hover,
.mobile-nav-open .nav-links>li>button.nav-dropdown-toggle:hover {
  background: transparent;
}

/* Chevron in mobile — points down, rotates up when expanded */
.mobile-nav-open .nav-chevron {
  width: 14px;
  height: 14px;
  color: var(--color-muted);
  transform: rotate(0deg);
  transition: transform 0.3s var(--ease-out);
}

.mobile-nav-open .nav-dropdown-toggle[aria-expanded="true"] .nav-chevron {
  transform: rotate(180deg);
}

.mobile-nav-open .nav-dropdown {
  position: static;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transform: none;
  pointer-events: none;
  padding: 0;
  border: none;
  box-shadow: none;
  border-radius: 0;
  background: transparent;
  min-width: auto;
  transition: max-height 0.35s var(--ease-out),
    opacity 0.25s ease,
    padding 0.35s var(--ease-out);
}

.mobile-nav-open .nav-dropdown-toggle[aria-expanded="true"]+.nav-dropdown {
  opacity: 1;
  max-height: 400px;
  pointer-events: auto;
  padding: 0 0 12px 16px;
}

.mobile-nav-open .nav-dropdown a {
  padding: 10px 0;
  font-size: 15px;
  color: var(--color-dark);
  border-radius: 0;
}

.mobile-nav-open .nav-dropdown .dropdown-label {
  padding: 12px 0 4px 0;
  font-size: 10px;
}

/* Bridge pseudo-element not needed in mobile */
.mobile-nav-open .nav-links>li::after {
  display: none;
}

/* Right group (Login + Get Started) — pinned to overlay bottom */
.mobile-nav-open .nav-right-group {
  display: flex !important;
  flex-direction: column;
  gap: 10px;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 251;
  padding: 16px var(--container-pad) calc(16px + env(safe-area-inset-bottom, 0px));
  background: var(--color-card);
  border-top: 1px solid var(--color-border);
}

.mobile-nav-open .nav-right-group .nav-login {
  color: var(--color-dark);
  border-color: var(--color-border);
  text-align: center;
  justify-content: center;
  width: 100%;
}

.mobile-nav-open .nav-right-group .btn-primary {
  width: 100%;
  justify-content: center;
  text-align: center;
}

/* Hamburger → X morph */
.mobile-nav-open .nav-mobile-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-nav-open .nav-mobile-toggle span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.mobile-nav-open .nav-mobile-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Keep hamburger above overlay */
.mobile-nav-open .nav-mobile-toggle {
  position: relative;
  z-index: 260;
}

/* Keep header above overlay */
.mobile-nav-open .site-header-wrapper {
  z-index: 255;
  background: var(--color-card);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.mobile-nav-open .nav-logo {
  position: relative;
  z-index: 260;
}

.mobile-nav-open .nav-logo img {
  filter: none;
}

/* Force dark hamburger bars when overlay is open */
.mobile-nav-open .nav-mobile-toggle span {
  background: var(--color-dark);
}

/* ─── LOGO GRID (standalone section) ─────────────────────────────────── */
.logo-grid-section {
  background: #e5e3df;
  background-image:
    radial-gradient(circle, rgba(0, 0, 0, 0.06) 1px, transparent 1px);
  background-size: 24px 24px;
  padding: 64px 0 72px;
  border-bottom: none;
  position: relative;
  overflow: hidden;
}

.logo-grid-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('media/biology_hero.png') center / cover no-repeat;
  opacity: 0.03;
  filter: grayscale(100%);
  pointer-events: none;
}

.logo-grid-section>.container {
  position: relative;
  z-index: 1;
}

.logo-grid-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

.logo-grid-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.logo-grid-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: var(--color-muted);
  transition: color 0.2s, background 0.2s;
}

.logo-grid-link:hover {
  color: var(--color-dark);
  background: rgba(0, 0, 0, 0.05);
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--card-radius);
  overflow: hidden;
}

.logo-grid-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 24px;
  background: transparent;
  transition: background 0.2s ease;
  /* Every cell gets right + bottom borders for internal dividers.
     The outer .logo-grid border + overflow:hidden clips the edge borders. */
  border-right: 1px solid rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

/* Remove right border on last column (4-col desktop) */
.logo-grid-cell:nth-child(4n) {
  border-right: none;
}

/* Remove bottom border on last row only.
   With 8 cells / 4 cols = 2 rows → last 4 cells are the last row. */
.logo-grid-cell:nth-last-child(-n+4) {
  border-bottom: none;
}

.logo-grid-cell:hover {
  background: rgba(255, 255, 255, 0.45);
}

.logo-grid-cell img {
  height: 20px;
  width: auto;
  opacity: 0.45;
  filter: brightness(0);
  object-fit: contain;
  display: block;
  transition: opacity 0.3s ease;
}

.logo-grid-cell:hover img {
  opacity: 0.75;
}

/* Per-logo size adjustments — visual balance with CNN as reference */
.logo-grid-cell img[alt="Financial Times"] {
  height: 54px;
  filter: grayscale(100%);
  opacity: 0.55;
}

.logo-grid-cell img[alt="CNBC"] {
  height: 28px;
}

@media (max-width: 768px) {
  .logo-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Reset nth-child rules for 2-col layout:
     Re-apply all borders, then selectively remove edge borders */
  .logo-grid-cell {
    border-right: 1px solid rgba(0, 0, 0, 0.08) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
  }

  /* Remove right border on last column (2-col: every even cell) */
  .logo-grid-cell:nth-child(2n) {
    border-right: none !important;
  }

  /* Remove bottom border on last row only (last 2 cells in 2-col) */
  .logo-grid-cell:nth-last-child(-n+2) {
    border-bottom: none !important;
  }

  .logo-grid-section {
    padding: 40px 0 48px;
  }

  .logo-grid-header {
    margin-bottom: 20px;
  }
}

@media (max-width: 480px) {
  .logo-grid-cell {
    padding: 24px 16px;
  }

  .logo-grid-cell img {
    height: 16px;
  }
}

/* ─── HERO ENTRANCE ANIMATION ────────────────────────────────────────────────── */
.hero-entrance {
  opacity: 0;
  transform: translateY(24px);
  animation: heroEntrance 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: calc(0.15s + var(--entrance-order, 0) * 0.12s);
}

@keyframes heroEntrance {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-entrance {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

/* ─── SCROLL REVEAL ANIMATIONS ──────────────────────────────────────────────── */
/* Matches hero entrance: 24px rise, 0.8s, same cubic-bezier, 120ms stagger */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children when parent is revealed */
.reveal-stagger>* {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-stagger.is-visible>* {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger.is-visible>*:nth-child(1) {
  transition-delay: 0s;
}

.reveal-stagger.is-visible>*:nth-child(2) {
  transition-delay: 0.12s;
}

.reveal-stagger.is-visible>*:nth-child(3) {
  transition-delay: 0.24s;
}

.reveal-stagger.is-visible>*:nth-child(4) {
  transition-delay: 0.36s;
}

.reveal-stagger.is-visible>*:nth-child(5) {
  transition-delay: 0.48s;
}

.reveal-stagger.is-visible>*:nth-child(6) {
  transition-delay: 0.60s;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {

  .reveal,
  .reveal-stagger>* {
    opacity: 1;
    transform: none;
    transition: none;
  }
}


/* ═══════════════════════════════════════════════════════════════════════
   SHARED PAGE COMPONENTS
   Moved from page-specific CSS — reusable across all pages.
════════════════════════════════════════════════════════════════════════ */

/* ─── VIDEO HERO ─────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--color-dark);
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transform: scale(1.05);
  will-change: transform;
}

.hero-video::-webkit-media-controls,
.hero-video::-webkit-media-controls-start-playback-button,
.hero-video::-webkit-media-controls-panel {
  display: none !important;
  -webkit-appearance: none;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 14, 23, 0.60);
  z-index: 1;
}

.hero > .container {
  position: relative;
  z-index: 2;
  padding-top: clamp(80px, 10vw, 120px);
  padding-bottom: clamp(80px, 10vw, 120px);
  width: 100%;
}

.hero-text { max-width: 660px; }

.hero-text .eyebrow {
  color: rgba(255, 255, 255, 0.5);
  font-weight: 600;
}

.hero-text .h1 {
  color: #ffffff;
  max-width: 100%;
  margin-bottom: 28px;
  letter-spacing: -0.035em;
}

.hero-text .body-copy {
  font-size: clamp(16px, 1.2vw, 19px);
  max-width: 520px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
}

.hero-text .btn-text {
  color: rgba(255, 255, 255, 0.85);
  text-decoration-color: rgba(255, 255, 255, 0.4);
  font-weight: 500;
  transition: color 0.3s ease, text-decoration-color 0.3s ease;
}

.hero-text .btn-text:hover {
  color: #ffffff;
  text-decoration-color: rgba(255, 255, 255, 0.8);
}

.hero-text .cta-group { margin-top: 40px; }

.hero-text .btn-hero {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
  transition: all 0.3s ease;
}

/* ─── HERO TRUST STRIP (glassmorphism badge pinned to hero bottom) ────────────── */
.hero-trust-strip {
  position: absolute;
  bottom: 24px;
  left: var(--container-pad);
  right: var(--container-pad);
  max-width: var(--container-max);
  margin: 0 auto;
  z-index: 3;
  padding: 16px 0;
  background: rgba(0, 0, 0, 0.10);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
}

.hero-trust-strip .trust-strip-item {
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
}

.hero-trust-strip .trust-strip-item strong {
  color: rgba(255, 255, 255, 0.85);
}

/* ─── WGS HERO (text-only dark hero) ─────────────────────────────────────────── */
.wgs-hero {
  padding: clamp(140px, 16vw, 200px) 0 var(--section-pad-v);
}

.wgs-hero .h1 { max-width: 680px; }
.wgs-hero .body-copy { max-width: 560px; margin-top: 28px; }

/* ─── HERO — SPLIT LAYOUT (text left / product image right) ──────────────────── */
.hero--split .container {
  display: flex;
  align-items: stretch;
  padding-top: 0;
}

.hero-split-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  width: 100%;
  padding: clamp(120px, 14vw, 180px) 0 clamp(80px, 8vw, 120px);
}

.hero--split .hero-text { max-width: 560px; }
.hero--split .hero-text .h1 { max-width: 520px; }
.hero--split .hero-text .body-copy { max-width: 480px; margin-top: 24px; }

.hero-product-image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-product-img {
  width: 100%;
  max-width: 580px;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.35), 0 16px 32px rgba(0, 0, 0, 0.2);
  display: block;
  animation: hero-img-rise 0.9s var(--ease-out) both;
  animation-delay: 0.3s;
}

@keyframes hero-img-rise {
  0%  { opacity: 0; transform: translateY(24px) scale(0.97); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 1024px) {
  .hero-split-inner { gap: 40px; }
}

@media (max-width: 860px) {
  .hero-split-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-bottom: clamp(60px, 8vw, 100px);
  }
  .hero--split .hero-text { max-width: 100%; }
  .hero-product-image { order: -1; }
  .hero-product-img { max-width: 460px; margin: 0 auto; }
}

@media (max-width: 540px) {
  .hero-product-img { border-radius: 12px; max-width: 100%; }
}

/* ─── CONDITIONS HERO (dark condensed hero, no video) ────────────────────────── */
.conditions-hero {
  background: var(--color-dark);
  padding-top: clamp(140px, 16vw, 200px);
  padding-bottom: clamp(64px, 8vw, 96px);
}

.conditions-hero .eyebrow { color: rgba(255, 255, 255, 0.5); }

.conditions-hero .h1 {
  color: #ffffff;
  max-width: 720px;
  margin-bottom: 20px;
}

.conditions-hero .body-copy {
  color: rgba(255, 255, 255, 0.75);
  max-width: 600px;
}

.conditions-hero-sublink {
  display: inline-block;
  margin-top: 24px;
  font-size: var(--font-small-size);
  color: rgba(255, 255, 255, 0.45);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.2);
  text-underline-offset: 3px;
  transition: color 0.2s, text-decoration-color 0.2s;
}

.conditions-hero-sublink:hover {
  color: rgba(255, 255, 255, 0.8);
  text-decoration-color: rgba(255, 255, 255, 0.5);
}

/* ─── CAT SPLIT PANEL (60/40 narrative + sticky links) ───────────────────────── */
.cat-section {
  padding-top: 0;
  padding-bottom: 0;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  scroll-margin-top: var(--tab-nav-top, 44px);
}

.cat-section .container { padding-top: 0; padding-bottom: 0; }

.cat-split {
  display: grid;
  grid-template-columns: 60fr 40fr;
  gap: 0 64px;
  align-items: start;
}

.cat-split__narrative { padding: 64px 0; }
.cat-split__narrative .eyebrow { margin-bottom: 16px; }
.cat-split__narrative .h2 { margin-bottom: 28px; }

.cat-body p {
  font-size: var(--font-body-size);
  line-height: 1.7;
  color: var(--color-text);
  margin-bottom: 18px;
}

.cat-body p:last-child { margin-bottom: 0; }

/* .cat-section-cta — now in conditions.css (cat-cta-group pattern) */

.cat-split__links {
  padding: 64px 0 64px 40px;
  border-left: 1px solid var(--color-border);
  position: sticky;
  top: var(--header-height, 0px);
  align-self: start;
}

.cat-links-label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 16px;
  opacity: 0.6;
}

.cat-links-list { list-style: none; }
.cat-links-list li { border-bottom: 1px solid var(--color-border); }
.cat-links-list li:last-child { border-bottom: none; }

.cat-links-list a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-dark);
  text-decoration: none;
  line-height: 1.4;
  transition: color 0.18s ease;
}

.cat-links-list a::after {
  content: '→';
  font-size: 13px;
  color: var(--color-muted);
  flex-shrink: 0;
  margin-left: auto;
  padding-left: 8px;
  transition: transform 0.15s ease, color 0.15s ease;
}

.cat-links-list a:hover::after { transform: translateX(3px); color: var(--color-accent); }
.cat-link-name { flex: 1; min-width: 0; }
.cat-links-list a:hover { color: var(--color-accent); }
.cat-links-list li[hidden] { display: none; }

.cat-link-gene {
  font-size: 11px;
  font-weight: 500;
  color: var(--color-muted);
  white-space: nowrap;
  flex-shrink: 0;
  font-family: 'SF Mono', 'Fira Code', 'Courier New', monospace;
  text-align: right;
}

/* ─── STICKY CATEGORY TAB NAV ─────────────────────────────────────────────────── */
.conditions-tab-nav {
  position: sticky;
  top: var(--header-height, 0px);
  z-index: 90;
  background: #ffffff;
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 1px 0 rgba(0,0,0,0.04);
  transition: top 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.conditions-tab-nav::after {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 56px;
  background: linear-gradient(to right, transparent, #ffffff);
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.2s;
}

.conditions-tab-nav::before {
  content: '';
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 56px;
  background: linear-gradient(to left, transparent, #ffffff);
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.2s;
}

.conditions-tab-nav.tab-nav--scrolled-left::before { opacity: 1; }
.conditions-tab-nav.tab-nav--scrolled-end::after { opacity: 0; }

.tab-nav-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
  display: flex;
  gap: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.tab-nav-inner::-webkit-scrollbar { display: none; }

.tab-btn {
  flex-shrink: 0;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 14px 20px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-muted);
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
  white-space: nowrap;
  outline: none;
}

.tab-btn:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: -2px;
  border-radius: 2px;
}

.tab-btn:hover { color: var(--color-dark); }

.tab-btn--active {
  color: var(--color-dark);
  border-bottom-color: var(--color-dark);
  font-weight: 600;
}

/* ─── DISTINCTION SPLIT (3-zone data comparison) ─────────────────────────────── */
.distinction-split {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  column-gap: 80px;
  align-items: stretch;
  padding: 40px 0;
}

.distinction-data-stack {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 24px;
  width: 100%;
  height: 100%;
}

.data-stack-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 12px;
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  transition: all 0.4s var(--ease-out);
}

.data-stack-card.is-active {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
}

.data-stack-info {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 16px;
}

.data-stack-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-white);
  letter-spacing: -0.01em;
}

.data-stack-stat {
  font-size: 20px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1;
}

.data-stack-card.is-active .data-stack-stat { color: var(--color-white); font-weight: 500; }

.data-stack-caption {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 12px;
  line-height: 1.4;
}

.data-stack-viz {
  position: relative;
  height: 48px;
  width: 100%;
  border-radius: 6px;
  background-color: rgba(0, 0, 0, 0.25);
  overflow: hidden;
}

.data-stack-viz::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.12) 1.5px, transparent 1.5px);
  background-size: 8px 8px;
}

.viz-dante::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.9) 1.5px, transparent 1.5px);
  background-size: 8px 8px;
  filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.5));
  animation: data-fill 1.5s ease-out forwards;
}

.viz-panel::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.4) 1.5px, transparent 1.5px);
  background-size: 8px 8px;
  clip-path: polygon(0 0, 1.2% 0, 1.2% 100%, 0 100%);
}

.viz-micro::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.4) 1.5px, transparent 1.5px);
  background-size: 8px 8px;
  clip-path: polygon(0 0, 0.3% 0, 0.3% 100%, 0 100%);
}

@keyframes data-fill {
  0% { opacity: 0; clip-path: inset(0 100% 0 0); }
  100% { opacity: 1; clip-path: inset(0 0 0 0); }
}

.distinction-content .eyebrow { margin-bottom: 24px; }

.clinical-pillars { display: flex; flex-direction: column; gap: 40px; }

.clinical-pillar {
  padding-left: 24px;
  border-left: 2px solid rgba(255, 255, 255, 0.15);
  transition: border-color 0.3s ease;
}

.clinical-pillar:hover { border-color: var(--color-accent); }
.clinical-pillar .pillar-title { font-size: var(--font-h3-size); font-weight: 600; color: var(--color-white); margin-bottom: 12px; }
.clinical-pillar .pillar-desc { font-size: var(--font-body-size); line-height: 1.6; color: rgba(255, 255, 255, 0.7); max-width: 480px; }

/* Light-section variants */
.section--offwhite .data-stack-card { background: var(--color-white); border-color: var(--color-border); box-shadow: var(--card-shadow); }
.section--offwhite .data-stack-card.is-active { background: var(--color-white); border-color: rgba(10, 14, 23, 0.1); box-shadow: var(--card-shadow-hover); }
.section--offwhite .data-stack-title { color: var(--color-dark); }
.section--offwhite .data-stack-stat { color: var(--color-accent); }
.section--offwhite .data-stack-card.is-active .data-stack-stat { color: var(--color-dark); font-weight: 600; }
.section--offwhite .data-stack-caption { color: var(--color-text); }
.section--offwhite .data-stack-viz { background-color: var(--color-bg); }
.section--offwhite .data-stack-viz::before { background-image: radial-gradient(rgba(10, 14, 23, 0.12) 1.5px, transparent 1.5px); }
.section--offwhite .viz-dante::after { background-image: radial-gradient(var(--color-accent) 1.5px, transparent 1.5px); filter: none; }
.section--offwhite .viz-panel::after { background-image: radial-gradient(rgba(10, 14, 23, 0.35) 1.5px, transparent 1.5px); filter: none; }
.section--offwhite .viz-micro::after { background-image: radial-gradient(rgba(10, 14, 23, 0.2) 1.5px, transparent 1.5px); filter: none; }

@media (max-width: 900px) { .distinction-split { grid-template-columns: 1fr; gap: 56px; } }

/* ─── CONDITIONS GRID (3-col category cards) ──────────────────────────────────── */
.conditions-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.condition-card {
  background: var(--color-white);
  padding: 32px;
  border-radius: var(--card-radius);
  border: 1px solid var(--color-border);
  box-shadow: var(--card-shadow);
  transition: all 0.3s var(--ease-out);
  text-decoration: none;
  color: inherit;
  display: block;
}

.condition-card:hover { transform: translateY(-4px); box-shadow: var(--card-shadow-hover); border-color: rgba(0,0,0,0.1); }

.condition-icon { font-size: 32px; line-height: 1; color: var(--color-navy); margin-bottom: 20px; display: block; opacity: 0.7; }
.condition-title { font-size: 20px; font-weight: 600; color: var(--color-navy); margin-bottom: 12px; }
.condition-desc { font-size: 16px; line-height: 1.6; color: var(--color-text); margin: 0; }

@media (max-width: 900px) { .conditions-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .conditions-grid { grid-template-columns: 1fr; } }

/* ─── PROOF OUTCOMES GRID ─────────────────────────────────────────────────────── */
.proof-outcomes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 0 0 56px; }

.proof-outcome {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  padding: 28px;
  border-top: 2px solid var(--color-accent);
}

.proof-outcome-title { font-size: 15px; font-weight: 600; color: #ffffff; margin: 0 0 12px; line-height: 1.45; }
.proof-outcome-body { font-size: 14px; color: rgba(255, 255, 255, 0.62); line-height: 1.75; margin: 0; }

@media (max-width: 900px) { .proof-outcomes-grid { grid-template-columns: 1fr; } }

/* ─── WHAT YOU RECEIVE (WYR) TAB VIEWER ───────────────────────────────────────── */
.wyr-viewer {
  border-radius: var(--card-radius);
  overflow: hidden;
  box-shadow: var(--card-shadow-hover);
  border: 1px solid var(--color-border);
}

.wyr-tabs {
  display: flex;
  background: rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid var(--color-border);
  padding: 0 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.wyr-tabs::-webkit-scrollbar { display: none; }

.wyr-tab {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text);
  padding: 16px 20px;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}

.wyr-tab:hover { color: var(--color-ink); }

.wyr-tab.active {
  color: var(--color-accent);
  border-bottom-color: var(--color-accent);
  font-weight: 600;
}

.wyr-body { display: grid; grid-template-columns: 1.15fr 1fr; background: var(--color-white); }
.wyr-left { border-right: 1px solid var(--color-border); }

.wyr-browser-chrome {
  background: #f5f5f5;
  border-bottom: 1px solid #e0e0e0;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.wyr-browser-dots { display: flex; gap: 6px; }
.wyr-browser-dots span { width: 10px; height: 10px; border-radius: 50%; }
.wyr-browser-dots span:nth-child(1) { background: #ff5f57; }
.wyr-browser-dots span:nth-child(2) { background: #febc2e; }
.wyr-browser-dots span:nth-child(3) { background: #28c840; }

.wyr-browser-address {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 4px 12px;
  font-size: 12px;
  color: #666;
  font-family: inherit;
}

.wyr-panel { display: none; }
.wyr-panel.active { display: block; }

.wyr-panel img {
  width: 100%;
  display: block;
  max-height: 420px;
  object-fit: cover;
  object-position: top;
}

.wyr-right {
  padding: 40px 40px 40px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 380px;
}

.wyr-info { display: none; flex-direction: column; }
.wyr-info.active { display: flex; }
.wyr-info .deliverable-title { font-size: 22px; margin-top: 10px; margin-bottom: 16px; }
.wyr-info .deliverable-desc { margin: 0; }

@media (max-width: 900px) {
  .wyr-body { grid-template-columns: 1fr; }
  .wyr-left { border-right: none; border-bottom: 1px solid var(--color-border); }
  .wyr-right { min-height: auto; padding: 32px; }
}

@media (max-width: 768px) {
  .wyr-tabs { display: grid; grid-template-columns: 1fr 1fr; overflow-x: visible; padding: 0; gap: 0; }
  .wyr-tab { padding: 14px 12px; font-size: 13px; text-align: center; white-space: normal; border-bottom: none; border: 1px solid var(--color-border); margin: 0; line-height: 1.3; background: rgba(0, 0, 0, 0.03); }
  .wyr-tab.active { background: var(--color-white); color: var(--color-accent); font-weight: 600; border-top: 2px solid var(--color-accent); border-bottom: none; }
  .wyr-tab:not(.active) { border-top: 2px solid transparent; }
  .wyr-browser-chrome { display: none; }
  .wyr-panel img { max-height: 260px; }
}

/* ─── CTA BLOCK (2-col product conversion section) ───────────────────────────── */
.btn-price-mobile { display: none; }

.cta-mobile-micro {
  display: none;
  margin-top: 12px;
  font-size: 13px;
  color: var(--color-muted);
  line-height: 1.5;
}

.cta-block {
  background: var(--color-bg);
  padding-top: clamp(80px, 10vw, 140px);
  padding-bottom: clamp(80px, 10vw, 140px);
}

.cta-block-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.cta-block-content { text-align: left; }
.cta-block .h2 { margin-bottom: 24px; line-height: 1.2; }
.cta-block .body-copy { margin-bottom: 40px; max-width: 540px; }

.order-details { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; }
.order-detail-item { font-size: 15px; color: var(--color-text); display: flex; align-items: center; gap: 8px; }
.order-detail-item strong { font-weight: 300; color: var(--color-dark); font-size: clamp(24px, 2vw, 32px); letter-spacing: -0.03em; }
.order-separator { color: var(--color-border); font-size: 20px; }

.cta-block-image { display: flex; align-items: center; justify-content: center; padding: 20px 0; }

.cta-product-img {
  width: 100%;
  max-width: 520px;
  height: auto;
  object-fit: contain;
  transform: perspective(800px) rotateY(-2deg);
  filter: drop-shadow(0 32px 60px rgba(28, 33, 40, 0.20)) drop-shadow(0 12px 24px rgba(28, 33, 40, 0.10));
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s ease;
}

.cta-product-img:hover {
  transform: perspective(800px) rotateY(0deg) translateY(-6px);
  filter: drop-shadow(0 40px 80px rgba(28, 33, 40, 0.24)) drop-shadow(0 16px 32px rgba(28, 33, 40, 0.12));
}

@media (max-width: 768px) {
  .cta-block-grid { grid-template-columns: 1fr; gap: 24px; }
  .cta-block-image { order: -1; padding: 0; justify-content: center; }
  .cta-product-img { width: 100%; max-width: 100%; transform: none; filter: drop-shadow(0 20px 40px rgba(28, 33, 40, 0.15)); }
  .cta-product-img:hover { transform: none; filter: drop-shadow(0 20px 40px rgba(28, 33, 40, 0.15)); }
  .cta-block .order-details { display: none; }
  .btn-price-mobile { display: inline; }
  .cta-mobile-micro { display: block; }
  .cta-block .order-separator { display: none; }
  .cta-block-content .cta-group { align-items: stretch; }
  .cta-block-content .cta-group .btn-primary { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
  .cta-block-content .cta-group { align-items: stretch; }
  .cta-block-content .cta-group .btn-primary { width: 100%; justify-content: center; }
}

/* ─── CTA FINAL (2-col kit image CTA) ────────────────────────────────────────── */
.cta-final { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 40px; }
.cta-final-left .h2 { color: var(--color-ink); line-height: 1.15; }
.cta-final-left .body-copy { color: var(--color-text); font-size: 15px; line-height: 1.7; }
.cta-final-left .cta-micro-copy { color: var(--color-muted); line-height: 1.6; }
.cta-final-left .cta-micro-copy strong { color: var(--color-ink); font-weight: 600; }

.conditions-kit-image { display: flex; align-items: center; justify-content: flex-end; }

.conditions-kit-image img {
  width: 100%;
  max-width: 460px;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12), 0 6px 20px rgba(0, 0, 0, 0.08);
}

@media (max-width: 768px) {
  .cta-final { grid-template-columns: 1fr; }
  .conditions-kit-image { justify-content: center; }
}

/* ─── RESPONSIVE: 1024px ─────────────────────────────────────────────────────── */

@media (max-width: 1024px) {
  .h1-constrained {
    max-width: 100%;
  }

  .cards-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .distinction-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .how-steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .clinical-proof-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

/* ─── RESPONSIVE: 768px ──────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  :root {
    --section-pad-v: 64px;
    --container-pad: 24px;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav-right-group {
    display: none;
  }

  .nav-inner {
    height: 64px;
  }

  .nav-logo img {
    height: 32px;
  }

  .nav-mobile-toggle {
    display: flex;
    margin-left: auto;
  }

  .upgrade-strip {
    margin-top: 14px;
  }

  .card-image {
    aspect-ratio: 16 / 9;
  }

  .stats-strip {
    grid-template-columns: 1fr 1fr;
  }

  .stat-cell {
    padding: 28px 20px;
  }

  .distinction-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .how-steps-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .how-it-works {
    margin-top: 56px;
    padding-top: 48px;
  }

  .how-it-works-headline {
    margin-bottom: 32px;
  }

  .trust-strip-item {
    border-right: none;
    padding: 5px 0;
    font-size: 11px;
  }

  .trust-strip-inner {
    justify-content: center;
    justify-items: start;
    gap: 0;
    row-gap: 4px;
    display: grid;
    grid-template-columns: repeat(2, auto);
    column-gap: 24px;
    padding: 0 20px;
  }

  .trust-strip-item--secondary {
    display: none;
  }

  .stats-strip {
    margin-bottom: 40px;
  }

  .trust-logos-label {
    margin-bottom: 16px;
  }

  .trust-text-badges {
    gap: 8px;
  }

  .trust-text-badge {
    font-size: 11px;
    padding: 6px 10px;
  }

  /* Clinical proof section spacing */
  .clinical-proof>.container>.eyebrow {
    margin-bottom: 28px;
  }

  .proof-quote-column .pull-quote {
    font-size: clamp(22px, 5.5vw, 28px);
  }

  .proof-closing {
    margin-top: 24px;
    margin-bottom: 24px;
    padding-top: 24px;
  }

  .distinction-grid {
    margin-bottom: 40px;
  }

  /* Footer — 2x2 grid for link columns */
  .footer-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .footer-top>div:first-child {
    grid-column: 1 / -1;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .site-footer {
    padding: 48px 0 32px;
  }

}

/* ─── RESPONSIVE: 600px ──────────────────────────────────────────────────────── */
@media (max-width: 600px) {
  .cards-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .footer-tagline {
    max-width: 100%;
  }

  /* Logo grid label */
  .logo-grid-label {
    font-size: 10px;
  }

  /* ── Text optimization for mobile ────────────────────────────────────── */
  .h2 {
    text-wrap: balance;
  }

  .body-copy,
  .card-body,
  .card-headline,
  .distinction-card p,
  .how-step-desc {
    text-wrap: pretty;
  }

  .pull-quote {
    text-wrap: balance;
  }

  .proof-narrative .body-copy {
    text-wrap: pretty;
  }
}

/* ─── RESPONSIVE: 480px ──────────────────────────────────────────────────────── */
@media (max-width: 480px) {
  .stats-strip {
    grid-template-columns: 1fr;
  }

  .cta-group {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .cta-group .btn-primary,
  .cta-group .btn-hero {
    justify-content: center;
    text-align: center;
  }

  /* Card padding */
  .card-inner {
    padding: 24px 20px 20px;
  }

  .routing-card {
    min-height: 240px;
  }

  /* Trust text badges — allow wrapping for long names */
  .trust-text-badge {
    white-space: normal;
    text-align: center;
    display: flex;
    justify-content: center;
    flex: 1 1 calc(50% - 8px);
    min-width: 0;
  }

  .trust-text-badges {
    gap: 8px;
  }

  /* Footer bottom */
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
  }

  /* Footer newsletter — full width on mobile */
  .footer-newsletter {
    max-width: 100%;
  }

  /* Stats — tighter on small screens */
  .stat-cell {
    padding: 24px 20px;
  }

  .stat-number {
    font-size: clamp(28px, 8vw, 36px);
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   PATIENT ADVOCACY GROUPS (PAG) — shared section + form
   Used on /conditions/ hub and all condition landing pages
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─── SECTION 5d — PATIENT ADVOCACY GROUPS ──────────────────────────────────── */

.pag-section {
  background: #1c2128;
}

.pag-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

/* Copy column */
.pag-copy .h2 {
  color: #ffffff;
  margin-top: 16px;
  margin-bottom: 0;
}

.pag-body {
  font-size: var(--font-body-size);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 20px;
}

.pag-bullets {
  margin-top: 24px;
  padding-left: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pag-bullets li {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  padding-left: 20px;
  position: relative;
  line-height: 1.5;
}

.pag-bullets li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: rgba(255, 255, 255, 0.25);
}

/* Form card */
.pag-form-wrap {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 40px;
}

.pag-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.pag-form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pag-form-group label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.pag-form-group input,
.pag-form-group textarea {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 13px 16px;
  font-size: 15px;
  color: #ffffff;
  font-family: inherit;
  line-height: 1.5;
  transition: border-color 0.15s ease, background 0.15s ease;
  resize: vertical;
  outline: none;
}

.pag-form-group input::placeholder,
.pag-form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.22);
}

.pag-form-group input:focus,
.pag-form-group textarea:focus {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.09);
}

.pag-submit {
  align-self: flex-start;
  margin-top: 4px;
  background: #ffffff;
  color: #0a0e17;
  border: none;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.pag-submit:hover {
  background: rgba(255, 255, 255, 0.88);
}

.pag-success {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  margin: 0;
  padding: 12px 0 0;
}

@media (max-width: 900px) {
  .pag-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .pag-form-wrap {
    padding: 28px 20px;
  }
}



/* ─── PAG THANK-YOU CARD ─────────────────────────────────────────────────────── */

.pag-thank-you:not([hidden]) {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 8px 0;
}

.pag-ty-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  font-size: 22px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1;
}

.pag-ty-headline {
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 300;
  color: #ffffff;
  margin: 0;
  line-height: 1.2;
}

.pag-ty-body {
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

.pag-ty-body a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.pag-ty-body a:hover { color: #ffffff; }


