/* ============================================================
   Quantify Specialty Care — site styles
   Brand: dark teal #1F4858, mid teal #2E6B7A, sage #7FB2B5, cream #F5F1E8
   Font: Inter (with system fallback)
   ============================================================ */

:root {
  --c-deep:    #1F4858;
  --c-mid:     #2E6B7A;
  --c-sage:    #7FB2B5;
  --c-sage-2:  #B7D2D2;
  --c-cream:   #F5F1E8;
  --c-cream-2: #FAF7EE;
  --c-ink:     #16323D;
  --c-ink-2:   #43616B;
  --c-line:    #DDD6C6;
  --c-line-d:  #2A5868;
  --c-white:   #FFFFFF;

  --max:        1200px;
  --pad:        clamp(1.25rem, 4vw, 2.5rem);
  --radius:     14px;
  --radius-lg:  22px;
  --shadow:     0 2px 14px rgba(31,72,88,0.06), 0 1px 4px rgba(31,72,88,0.04);
  --shadow-lg:  0 24px 60px -20px rgba(31,72,88,0.22), 0 8px 24px -12px rgba(31,72,88,0.15);

  --font: "Inter var", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-feature-settings: "ss01", "cv11";
  color: var(--c-ink);
  background: var(--c-white);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
em { font-style: italic; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

/* ============ HEADER ============ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid rgba(31,72,88,0.08);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.25rem;
  padding-top: 14px; padding-bottom: 14px;
}
.brand {
  display: inline-flex; align-items: center; gap: 12px;
  color: var(--c-deep);
}
.brand-mark { width: 36px; height: 36px; flex-shrink: 0; display: block; object-fit: contain; }
.brand-lockup { max-width: 180px; height: auto; display: block; margin-bottom: 0.5rem; }
.brand-name {
  font-weight: 700; letter-spacing: -0.01em; font-size: 1.05rem;
  color: var(--c-deep);
}
.brand-name em {
  font-style: normal; font-weight: 400; color: var(--c-mid); letter-spacing: 0;
}

/* ============ CLEAN LEFT-SIDE LOGO (multi-page nav) ============ */
.brand-left {
  flex: 0 0 auto;
  margin-right: auto;
}
.brand-logo-img {
  display: block;
  height: auto;
  max-height: 54px;
  width: auto;
  max-width: 200px;
}
@media (max-width: 720px) {
  .brand-logo-img { max-height: 40px; max-width: 150px; }
}

/* ============ BRAND ANIMATION (top-right logo, on page load) ============ */
/* Inspired by the radial mark of the Quantify logo - small bars scatter
   from chaos, rotate in 3D, and assemble into the logo. The metaphor:
   fragmented healthcare pieces converging into one clear care plan. */
.brand-name-sr {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.brand-anim-stage {
  position: relative;
  display: inline-block;
  width: 150px; height: 44px;
  perspective: 600px;
  perspective-origin: 30% 50%;
}
.brand-anim-mark {
  position: absolute; inset: 0;
  pointer-events: none;
  transform-style: preserve-3d;
}
.brand-anim-mark .bar {
  position: absolute;
  top: 50%; left: 22px; /* center of where the radial mark sits in the lockup */
  width: 2px;
  height: 10px;
  margin-top: -5px;
  margin-left: -1px;
  background: var(--c-mid);
  transform-origin: 1px 50%;
  border-radius: 1px;
  opacity: 0;
  /* CSS variables set inline per-bar: --a (angle), --h (final height), --c (color) */
  background: var(--c, var(--c-mid));
  height: var(--h, 12px);
  margin-top: calc(var(--h, 12px) / -2);
  /* start state: scattered far, rotated, transparent */
  transform:
    rotate(var(--a, 0deg))
    translateX(var(--start-x, 80px))
    translateZ(var(--start-z, 120px))
    rotateY(var(--start-ry, 90deg))
    scaleY(0.2);
  animation: bar-assemble 1800ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: var(--delay, 0ms);
}
@keyframes bar-assemble {
  0%   { opacity: 0;
         transform: rotate(var(--a,0deg)) translateX(var(--start-x,80px)) translateZ(var(--start-z,120px)) rotateY(var(--start-ry,90deg)) scaleY(0.2); }
  35%  { opacity: 1; }
  100% { opacity: 1;
         transform: rotate(var(--a,0deg)) translateX(var(--end-x,18px)) translateZ(0) rotateY(0deg) scaleY(1); }
}
.brand-anim-logo {
  position: absolute;
  top: 0; left: 0;
  display: block;
  width: 150px; height: auto;
  opacity: 0;
  animation: logo-fade-in 700ms ease-out 1400ms forwards;
  /* the JS-generated bars sit ON TOP and then disappear, revealing this logo */
}
@keyframes logo-fade-in {
  from { opacity: 0; transform: translateY(2px); }
  to   { opacity: 1; transform: translateY(0); }
}
.brand-anim-mark.done {
  animation: bars-fade-out 500ms ease-out 1500ms forwards;
}
@keyframes bars-fade-out {
  from { opacity: 1; }
  to   { opacity: 0; }
}
/* Respect reduced motion: just show the logo */
@media (prefers-reduced-motion: reduce) {
  .brand-anim-mark { display: none; }
  .brand-anim-logo { opacity: 1; animation: none; }
}
/* Mobile: smaller lockup */
@media (max-width: 720px) {
  .brand-anim-stage { width: 120px; height: 36px; }
  .brand-anim-logo { width: 120px; }
  .brand-anim-mark .bar { left: 18px; }
}

/* ============ HEADER LAYOUT ADJUSTMENTS (logo on right) ============ */
.brand.brand-right {
  order: 2;
  margin-left: auto;
}
.brand.brand-right + .nav,
.header-inner > .nav {
  order: 1;
}
.nav-sep {
  display: inline-block;
  width: 1px; height: 22px;
  background: var(--c-line);
  margin: 0 0.5rem;
}
.btn-sm {
  padding: 8px 14px;
  font-size: 0.875rem;
}

.nav {
  display: flex; gap: 1.5rem; align-items: center;
  font-size: 0.95rem; color: var(--c-ink-2);
  font-weight: 500;
}
.nav a { transition: color 160ms ease; }
.nav a:hover { color: var(--c-deep); }

/* ============================================================
   Nav dropdowns — hover on desktop, click on touch
   ============================================================ */
.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: var(--c-ink-2);
  cursor: pointer;
  text-decoration: none;
  transition: color 160ms ease;
}
.nav-dropdown-toggle:hover,
.nav-dropdown:hover .nav-dropdown-toggle,
.nav-dropdown.is-open .nav-dropdown-toggle {
  color: var(--c-deep);
}
.nav-dropdown-caret {
  transition: transform 200ms ease;
  color: currentColor;
  flex-shrink: 0;
}
.nav-dropdown:hover .nav-dropdown-caret,
.nav-dropdown.is-open .nav-dropdown-caret {
  transform: rotate(180deg);
}
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  min-width: 220px;
  background: #ffffff;
  border: 1px solid rgba(31, 72, 88, 0.10);
  border-radius: 12px;
  box-shadow: 0 12px 32px -8px rgba(14, 40, 65, 0.18), 0 4px 10px -4px rgba(14, 40, 65, 0.08);
  padding: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown.is-open .nav-dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
/* Invisible bridge so cursor can travel from toggle to menu without closing */
.nav-dropdown-menu::before {
  content: "";
  position: absolute;
  top: -10px; left: 0; right: 0; height: 10px;
}
.nav-dropdown-menu a {
  display: block;
  padding: 9px 14px;
  font-size: 0.93rem;
  color: var(--c-ink, #1A2D3F);
  text-decoration: none;
  border-radius: 8px;
  white-space: nowrap;
  transition: background 140ms ease, color 140ms ease;
}
.nav-dropdown-menu a:hover,
.nav-dropdown-menu a:focus-visible {
  background: rgba(48, 90, 108, 0.08);
  color: var(--c-deep);
}
/* Tighten the parent nav gap a touch since we now have 6 nav items */
.nav { gap: 1.15rem; }

.header-actions { display: flex; gap: 0.5rem; align-items: center; }

.hamburger {
  display: none; background: none; border: 0; padding: 8px; cursor: pointer;
}
.hamburger span {
  display: block; width: 22px; height: 2px; background: var(--c-deep);
  margin: 4px 0; transition: transform 200ms ease;
}
.mobile-nav {
  display: none; flex-direction: column; gap: 0.25rem; padding: 0.5rem var(--pad) 1.25rem;
  background: var(--c-cream-2); border-bottom: 1px solid var(--c-line);
  /* Defensive: ensure the menu always stays within the viewport even if a parent has weird overflow */
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
  overflow-x: hidden;
}
.mobile-nav a { word-break: break-word; }
/* Prevent the whole page from horizontally scrolling on small screens */
html, body { overflow-x: hidden; max-width: 100vw; }
.mobile-nav a {
  padding: 12px 4px; color: var(--c-deep); font-weight: 500;
  border-bottom: 1px solid rgba(31,72,88,0.08);
}
.mobile-nav .btn {
  margin-top: 10px;
  justify-content: center;
  display: inline-flex !important;
  width: 100%;
  padding: 14px 20px;
  font-size: 1rem;
  text-align: center;
  border-bottom: 0 !important;
}
.mobile-nav .btn-ghost {
  background: transparent !important;
  color: var(--c-deep) !important;
  border: 1.5px solid var(--c-deep) !important;
}
.mobile-nav .btn-solid {
  background: var(--c-deep) !important;
  color: var(--c-cream) !important;
  border-color: var(--c-deep) !important;
}
.mobile-nav.open { display: flex; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 18px;
  border-radius: 999px; font-weight: 600; font-size: 0.92rem;
  letter-spacing: -0.005em;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
  border: 1px solid transparent; cursor: pointer; text-align: center;
  white-space: nowrap;
}
.btn-lg { padding: 14px 26px; font-size: 1rem; }
.btn-solid { background: var(--c-deep); color: var(--c-cream); }
.btn-solid:hover { background: var(--c-mid); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--c-deep); border-color: rgba(31,72,88,0.2); }
.btn-ghost:hover { border-color: var(--c-deep); background: rgba(31,72,88,0.04); }
.btn-cream { background: var(--c-cream); color: var(--c-deep); }
.btn-cream:hover { background: #fff; transform: translateY(-1px); }
.btn-ghost-light { background: transparent; color: var(--c-cream); border-color: rgba(245,241,232,0.35); }
.btn-ghost-light:hover { border-color: var(--c-cream); background: rgba(245,241,232,0.08); }

/* ============ RECOGNITION BADGE ============ */
.recognition-badge {
  display: inline-flex; align-items: center; gap: 0.65rem;
  padding: 0.55rem 1rem 0.55rem 0.75rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(180deg, #FFFFFF 0%, #FAF7EE 100%);
  border: 1px solid var(--c-sage);
  border-radius: 999px;
  box-shadow: 0 2px 12px rgba(31,72,88,0.08);
  color: var(--c-deep);
  font-size: 0.86rem;
  letter-spacing: -0.005em;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}
.recognition-badge:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(31,72,88,0.14);
  border-color: var(--c-mid);
}
.recognition-badge .badge-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px;
  background: var(--c-deep); color: var(--c-cream);
  border-radius: 999px; font-size: 0.78rem; flex-shrink: 0;
}
.recognition-badge .badge-text { line-height: 1.3; }
.recognition-badge strong { font-weight: 700; color: var(--c-deep); }
@media (max-width: 600px) {
  .recognition-badge { font-size: 0.78rem; padding: 0.5rem 0.9rem 0.5rem 0.6rem; }
}

/* ============ CEO QUOTE ============ */
.ceo-quote-section {
  padding-top: clamp(3rem, 5vw, 4.5rem);
  padding-bottom: clamp(3rem, 5vw, 4.5rem);
  background: linear-gradient(180deg, var(--c-white) 0%, #FAF7EE 100%);
  border-bottom: 1px solid var(--c-line);
}
.ceo-quote-wrap { max-width: 880px; }
.ceo-quote {
  margin: 0; padding: 0;
  position: relative;
}
.ceo-quote::before {
  content: "\201C";
  position: absolute;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(6rem, 10vw, 9rem);
  line-height: 1;
  top: -1rem; left: -0.3em;
  color: var(--c-sage);
  opacity: 0.45;
  font-weight: 700;
  pointer-events: none;
}
.ceo-quote p {
  font-size: clamp(1.3rem, 2.2vw, 1.85rem);
  line-height: 1.35;
  color: var(--c-deep);
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0 0 1.5rem;
  position: relative;
  z-index: 1;
}
.ceo-quote footer {
  font-size: 0.95rem; color: var(--c-ink-2);
  line-height: 1.6;
}
.ceo-quote .qname { color: var(--c-deep); font-weight: 700; }
.ceo-quote .qrole { color: var(--c-mid); }
.ceo-quote .qsource {
  color: var(--c-mid); font-size: 0.88rem;
  border-bottom: 1px solid rgba(46,107,122,0.3);
  transition: border-color 160ms ease, color 160ms ease;
}
.ceo-quote .qsource:hover { color: var(--c-deep); border-bottom-color: var(--c-deep); }

/* ============ HERO ============ */
.hero {
  position: relative;
  background:
    radial-gradient(80% 60% at 92% 0%, rgba(127,178,181,0.30) 0%, rgba(127,178,181,0) 60%),
    radial-gradient(60% 70% at 0% 100%, rgba(46,107,122,0.10) 0%, rgba(46,107,122,0) 60%),
    var(--c-cream-2);
  border-bottom: 1px solid var(--c-line);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute; top: -120px; right: -160px;
  width: 640px; height: 640px;
  background: radial-gradient(closest-side, rgba(127,178,181,0.35), rgba(127,178,181,0) 70%);
  pointer-events: none;
  z-index: 0;
}
.hero-inner { position: relative; z-index: 1; }
.hero-inner {
  padding-top: clamp(3rem, 6vw, 5rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
}
.eyebrow {
  text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.78rem;
  font-weight: 600; color: var(--c-mid); margin: 0 0 1.25rem;
}
.hero-h1 {
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: 1.02; letter-spacing: -0.03em;
  font-weight: 700; color: var(--c-deep);
  margin: 0 0 1.5rem;
  max-width: 14ch;
}
.hero-h1 .accent { color: var(--c-mid); }
.hero-sub {
  font-size: clamp(1.05rem, 1.4vw, 1.18rem);
  color: var(--c-ink-2);
  max-width: 56ch;
  margin: 0 0 2.5rem;
  line-height: 1.55;
}

.doors {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
  max-width: 920px;
}
.door {
  display: flex; flex-direction: column; justify-content: space-between;
  gap: 1.25rem; padding: 1.5rem 1.5rem 1.4rem;
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
  min-height: 150px;
}
.door:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--c-sage); }
.door-tag {
  display: inline-block; font-size: 0.78rem; text-transform: uppercase;
  letter-spacing: 0.12em; font-weight: 600; color: var(--c-mid);
}
.door-line {
  font-size: 1.25rem; font-weight: 600; letter-spacing: -0.015em; color: var(--c-deep);
}
.door-patient { background: linear-gradient(135deg, #fff 0%, #FAF7EE 100%); }
.door-partner { background: linear-gradient(135deg, #fff 0%, #ECF3F3 100%); }

/* ============ TRUST STRIP ============ */
.trust {
  background: var(--c-deep);
  color: var(--c-cream);
}
.trust-inner {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
  padding-top: 2.5rem; padding-bottom: 2.5rem;
}
.trust-item strong {
  display: block;
  font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.14em;
  font-weight: 600; color: var(--c-sage-2); margin-bottom: 0.6rem;
}
.trust-item span {
  display: block; font-size: 0.95rem; line-height: 1.5; color: #E9E2D2;
}

/* ============ SECTIONS ============ */
.section {
  padding-top: clamp(4rem, 7vw, 6.5rem);
  padding-bottom: clamp(4rem, 7vw, 6.5rem);
}
.section-cream { background: var(--c-cream); color: var(--c-ink); }
.section-deep  { background: var(--c-deep);  color: var(--c-cream); }
.section-sage  { background: linear-gradient(180deg, #ECF3F3 0%, #DCE9E9 100%); color: var(--c-ink); }
.section-light { background: var(--c-white); color: var(--c-ink); }

.section-eyebrow {
  text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.78rem;
  font-weight: 600; color: var(--c-mid); margin: 0 0 1rem;
}
.section-eyebrow.light { color: var(--c-sage-2); }

.section-h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.06; letter-spacing: -0.025em; font-weight: 700;
  color: var(--c-deep);
  margin: 0 0 1.25rem;
  max-width: 22ch;
}
.section-h2.light { color: var(--c-cream); }

.section-lead {
  font-size: clamp(1.05rem, 1.3vw, 1.2rem); color: var(--c-ink-2);
  max-width: 65ch; margin: 0 0 3rem;
  line-height: 1.6;
}
.section-lead.light { color: #D7CDB6; }
.section-lead.small-lead { font-size: 1rem; margin-bottom: 2.5rem; }

/* ============ JOURNEY ============ */
.journey {
  list-style: none; padding: 0; margin: 0 0 3rem;
  display: grid; gap: 1rem;
  grid-template-columns: repeat(5, 1fr);
}
@media (max-width: 1100px) { .journey { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px)  { .journey { grid-template-columns: 1fr; } }
.journey li {
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem 1.4rem;
  box-shadow: var(--shadow);
  position: relative;
}
.step-num {
  display: inline-block;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em;
  color: var(--c-mid); margin-bottom: 0.75rem;
}
.journey h3 {
  font-size: 1.18rem; letter-spacing: -0.01em; font-weight: 700;
  color: var(--c-deep); margin: 0 0 0.6rem;
}
.journey p { margin: 0; color: var(--c-ink-2); font-size: 0.97rem; line-height: 1.55; }

/* ============ CALLOUTS (patient) ============ */
.callouts {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
  margin-bottom: 2.5rem;
}
.callout {
  background: var(--c-cream-2);
  border-left: 3px solid var(--c-mid);
  padding: 1.25rem 1.4rem;
  border-radius: 0 var(--radius) var(--radius) 0;
}
.callout h4 {
  font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--c-mid); margin: 0 0 0.6rem; font-weight: 700;
}
.callout p { margin: 0; color: var(--c-ink-2); font-size: 0.97rem; line-height: 1.55; }

.patient-cta { display: flex; gap: 0.75rem; flex-wrap: wrap; }

/* ============ PARTNER GRID ============ */
.partner-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
  margin-bottom: 3rem;
}
.partner-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(245,241,232,0.14);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem 1.4rem;
}
.partner-card .num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 999px;
  background: var(--c-sage); color: var(--c-deep); font-weight: 700;
  font-size: 0.95rem; margin-bottom: 0.9rem;
}
.partner-card h3 {
  font-size: 1.12rem; color: var(--c-cream); margin: 0 0 0.55rem;
  letter-spacing: -0.01em; font-weight: 700;
}
.partner-card p { margin: 0; color: #D7CDB6; font-size: 0.96rem; line-height: 1.55; }

.partner-numbers {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem 2.5rem;
  margin-bottom: 2.5rem;
  padding: 2rem 0;
  border-top: 1px solid rgba(245,241,232,0.14);
  border-bottom: 1px solid rgba(245,241,232,0.14);
}
.partner-numbers strong {
  display: block; color: var(--c-cream); font-size: 1.05rem;
  letter-spacing: -0.005em; font-weight: 700; margin-bottom: 0.4rem;
}
.partner-numbers span { color: #D7CDB6; font-size: 0.95rem; line-height: 1.55; display: block; }
.partner-cta { display: flex; gap: 0.75rem; flex-wrap: wrap; }

/* ============ QUOTES ============ */
.quotes {
  column-count: 2; column-gap: 1.25rem;
}
@media (max-width: 820px) { .quotes { column-count: 1; } }

.quote {
  break-inside: avoid;
  margin: 0 0 1.25rem;
  padding: 1.5rem 1.5rem 1.25rem;
  background: var(--c-white);
  border-radius: var(--radius);
  border: 1px solid #C5D8D8;
  box-shadow: var(--shadow);
}
.quote-big {
  background: var(--c-deep); color: var(--c-cream);
  border-color: var(--c-deep);
}
.quote blockquote {
  margin: 0 0 0.9rem;
  font-size: 1.02rem; line-height: 1.55; color: var(--c-ink);
  font-weight: 400;
}
.quote-big blockquote { color: var(--c-cream); font-size: 1.12rem; }
.quote figcaption {
  font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--c-mid); font-weight: 600;
}
.quote-big figcaption { color: var(--c-sage-2); }

/* ============ PARTNER LETTER ============ */
.partner-letter {
  background: var(--c-white);
  border-left: 4px solid var(--c-mid);
  padding: 2rem 2.25rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  max-width: 760px;
  box-shadow: var(--shadow);
}
.partner-letter p {
  margin: 0 0 1.1rem; color: var(--c-ink); font-size: 1rem; line-height: 1.65;
}
.partner-letter p:last-of-type { margin-bottom: 1.5rem; }
.partner-letter footer {
  font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--c-mid); font-weight: 600;
  border-top: 1px solid var(--c-line); padding-top: 0.9rem;
}

/* ============ ABOUT ============ */
.about-grid {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 3rem;
  align-items: start;
}
.about-body p {
  margin: 0 0 1.1rem; font-size: 1.05rem; color: var(--c-ink-2); line-height: 1.65;
}

/* ============ LEADERSHIP ============ */
.leadership {
  margin-top: clamp(3rem, 5vw, 4.5rem);
  padding-top: clamp(2.5rem, 4vw, 3.5rem);
  border-top: 1px solid var(--c-line);
}
.leadership-title {
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  letter-spacing: -0.02em; font-weight: 700; color: var(--c-deep);
  margin: 0 0 2rem; max-width: 28ch;
}
.leaders {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.leaders li {
  background: var(--c-cream-2);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem 1.4rem;
  display: flex; flex-direction: column;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}
.leaders li:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--c-sage);
}
.leader-mono {
  width: 48px; height: 48px; border-radius: 999px;
  background: var(--c-deep); color: var(--c-cream);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1rem; letter-spacing: 0.04em;
  margin-bottom: 1rem;
}
.leader-photo {
  width: 84px; height: 84px; border-radius: 999px;
  object-fit: cover;
  display: block;
  margin-bottom: 1rem;
  border: 2px solid var(--c-sage-2);
  box-shadow: 0 2px 10px rgba(31,72,88,0.10);
}
.leaders h4 {
  font-size: 1.12rem; font-weight: 700; letter-spacing: -0.01em;
  color: var(--c-deep); margin: 0 0 0.35rem;
}
.leaders .role {
  font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--c-mid); font-weight: 600; margin: 0 0 0.7rem;
}
.leaders .bio {
  font-size: 0.95rem; color: var(--c-ink-2); line-height: 1.55; margin: 0;
}

/* ============ LEADERSHIP CLICK-TO-POPUP ============ */
.leadership-hint {
  font-size: 0.85rem;
  color: var(--c-mid);
  font-style: italic;
  margin: -1.25rem 0 1.5rem;
}
.leaders-clickable .leader-card {
  cursor: pointer;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
  position: relative;
}
.leaders-clickable .leader-card:hover,
.leaders-clickable .leader-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--c-sage);
  outline: none;
}
.leaders-clickable .leader-card:focus-visible {
  outline: 2px solid var(--c-mid);
  outline-offset: 3px;
}
.leader-more {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--c-mid);
  letter-spacing: 0.01em;
}
.leader-card:hover .leader-more {
  color: var(--c-deep);
}

/* Modal */
.leader-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  animation: leader-modal-fade-in 200ms ease-out;
}
.leader-modal[hidden] { display: none; }
@keyframes leader-modal-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
.leader-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(22, 50, 61, 0.55);
  backdrop-filter: blur(4px);
}
.leader-modal-card {
  position: relative;
  background: var(--c-cream-2);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem 2rem;
  max-width: 600px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  animation: leader-modal-slide-up 250ms cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes leader-modal-slide-up {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.leader-modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 36px; height: 36px;
  border-radius: 999px;
  border: 0;
  background: rgba(31,72,88,0.08);
  color: var(--c-deep);
  font-size: 1.5rem;
  font-weight: 400;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 160ms ease;
  line-height: 1;
}
.leader-modal-close:hover {
  background: rgba(31,72,88,0.18);
}
.leader-modal-photo {
  width: 120px; height: 120px;
  border-radius: 999px;
  object-fit: cover;
  display: block;
  margin: 0 auto 1.25rem;
  border: 3px solid var(--c-sage-2);
  box-shadow: 0 4px 20px rgba(31,72,88,0.15);
}
.leader-modal-body h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--c-deep);
  margin: 0 0 0.35rem;
  text-align: center;
  letter-spacing: -0.01em;
}
.leader-modal-body .modal-role {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--c-mid);
  font-weight: 600;
  margin: 0 0 1.5rem;
  text-align: center;
}
.leader-modal-body p:not(.modal-role) {
  font-size: 1rem;
  color: var(--c-ink-2);
  line-height: 1.65;
  margin: 0 0 1rem;
}
.leader-modal-body p:last-child {
  margin-bottom: 0;
}
/* Body scroll lock when modal open */
body.leader-modal-open {
  overflow: hidden;
}
.placeholder-name {
  font-style: italic; font-weight: 400; color: var(--c-mid);
  font-size: 0.85em; letter-spacing: 0;
}
@media (max-width: 980px) { .leaders { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .leaders { grid-template-columns: 1fr; } }

/* ============ FORMS & TABS ============ */
.form-tabs {
  display: inline-flex; gap: 0.4rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(245,241,232,0.18);
  padding: 0.35rem;
  border-radius: 999px;
  margin: 1.5rem 0 2rem;
  flex-wrap: wrap;
}
.form-tabs .tab {
  background: transparent; border: 0; cursor: pointer;
  color: #D7CDB6; padding: 10px 18px; border-radius: 999px;
  font: inherit; font-size: 0.95rem; font-weight: 600;
  transition: background 160ms ease, color 160ms ease;
}
.form-tabs .tab:hover { color: var(--c-cream); }
.form-tabs .tab.is-active {
  background: var(--c-cream); color: var(--c-deep);
}
.form-tabs .tab:focus-visible { outline: 2px solid var(--c-sage); outline-offset: 2px; }

.contact-form {
  display: none;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(245,241,232,0.14);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  margin-bottom: 2rem;
}
.contact-form.is-active { display: block; }

.form-grid {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(2, 1fr);
}
.field, .field-checkbox { display: flex; flex-direction: column; gap: 0.4rem; }
.field-full { grid-column: 1 / -1; }
.field > span {
  font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em;
  font-weight: 600; color: var(--c-sage-2);
}
.field > span em { color: #E89B7C; font-style: normal; margin-left: 2px; }
.field input, .field textarea, .field select {
  width: 100%;
  background: rgba(0,0,0,0.20);
  border: 1px solid rgba(245,241,232,0.18);
  color: var(--c-cream);
  padding: 12px 14px;
  border-radius: 10px;
  font: inherit; font-size: 1rem;
  transition: border-color 160ms ease, background 160ms ease;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input::placeholder, .field textarea::placeholder { color: #8A9899; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--c-sage);
  background: rgba(0,0,0,0.30);
}
.field select option { background: var(--c-deep); color: var(--c-cream); }
.field.has-error input, .field.has-error textarea, .field.has-error select {
  border-color: #E89B7C;
}

.field-checkbox {
  flex-direction: row; align-items: flex-start; gap: 0.7rem;
  background: rgba(0,0,0,0.15); padding: 12px 14px; border-radius: 10px;
  border: 1px solid rgba(245,241,232,0.12);
}
.field-checkbox input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--c-sage); flex-shrink: 0; }
.field-checkbox span {
  font-size: 0.88rem; color: #D7CDB6; line-height: 1.5;
}
.field-checkbox span em { color: #E89B7C; font-style: normal; }
.field-checkbox.has-error { border-color: #E89B7C; }

.form-actions {
  display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap;
  margin-top: 1.25rem;
}
.form-fallback { margin: 0; color: #B3A98F; }
.form-fallback a { color: var(--c-sage-2); border-bottom: 1px solid rgba(127,178,181,0.4); }

/* ----- Form alt-contact CTAs (phone + scheduler / email + scheduler) ----- */
.form-alt-contact {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.form-alt-eyebrow {
  margin: 0 0 0.85rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--c-sage-2);
  opacity: 0.95;
}
.form-alt-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}
.form-alt-row-three {
  grid-template-columns: 1fr 1fr 1fr;
}
.form-alt-row-single {
  grid-template-columns: minmax(280px, 420px);
  justify-content: start;
}
@media (max-width: 900px) {
  .form-alt-row-three { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .form-alt-row,
  .form-alt-row-three { grid-template-columns: 1fr; }
}
button.form-alt-cta {
  font: inherit;
  cursor: pointer;
  text-align: left;
  width: 100%;
}
.form-alt-cta {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.9rem 1.1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}
.form-alt-cta:hover,
.form-alt-cta:focus-visible {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(127, 178, 181, 0.6);
  transform: translateY(-2px);
  outline: none;
}
.form-alt-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: rgba(127, 178, 181, 0.18);
  color: #C9E5E1;
  flex-shrink: 0;
}
.form-alt-label {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.25;
}
.form-alt-label strong {
  font-size: 1rem;
  font-weight: 700;
  color: #F5F1E8;
  letter-spacing: -0.005em;
}
.form-alt-label em {
  font-style: normal;
  font-size: 0.82rem;
  color: #C9E5E1;
  opacity: 0.9;
}
.form-status {
  margin: 1rem 0 0; min-height: 1.2em;
  font-size: 0.92rem;
}
.form-status.is-success { color: var(--c-sage-2); }
.form-status.is-error { color: #E89B7C; }

.contact-grid-compact { margin-top: 2.5rem; }
.contact-grid-compact .contact-card { padding: 1.4rem 1.4rem; }
.contact-grid-compact .contact-card h3 { font-size: 1.05rem; }
.contact-grid-compact .contact-card p { font-size: 0.92rem; }
.contact-grid-compact .contact-card .big-link { font-size: 1.02rem; }

@media (max-width: 720px) {
  .form-grid { grid-template-columns: 1fr; }
  .form-tabs { width: 100%; }
  .form-tabs .tab { flex: 1; padding: 10px 12px; font-size: 0.9rem; }
}

/* ============ CONTACT ============ */
.contact-grid {
  display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 1.25rem;
  margin-top: 2.5rem;
}
.contact-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(245,241,232,0.14);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
}
.contact-card h3 {
  font-size: 1.18rem; color: var(--c-cream); margin: 0 0 0.9rem;
  font-weight: 700; letter-spacing: -0.01em;
}
.contact-card p { margin: 0 0 0.9rem; color: #D7CDB6; font-size: 0.97rem; line-height: 1.55; }
.contact-card .status {
  font-size: 0.92rem; color: var(--c-sage-2); margin-bottom: 1.25rem;
}
.contact-card .btn { margin-right: 0.5rem; margin-bottom: 0.6rem; }
.contact-zoom .btn-cream { font-size: 1.05rem; padding: 16px 30px; }
.contact-card .big-link {
  font-size: 1.15rem; color: var(--c-cream); font-weight: 600; letter-spacing: -0.01em;
  border-bottom: 1px solid rgba(245,241,232,0.2);
}
.contact-card .big-link:hover { border-bottom-color: var(--c-cream); }
.contact-card .muted { color: #B3A98F; font-size: 0.86rem; }
.contact-card .small-note { color: #B3A98F; font-size: 0.82rem; margin-top: 0.5rem; line-height: 1.5; }
.contact-zoom { background: rgba(127,178,181,0.10); border-color: rgba(127,178,181,0.3); }

/* ============ PORTALS ============ */
.portals-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem;
}
.portal-card {
  background: var(--c-cream);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  border: 1px solid var(--c-line);
}
.portal-card h3 {
  font-size: 1.65rem; color: var(--c-deep); margin: 0 0 0.8rem;
  font-weight: 700; letter-spacing: -0.02em;
}
.portal-card p { color: var(--c-ink-2); font-size: 1rem; line-height: 1.55; margin: 0 0 1.5rem; }
.portal-card .btn { margin-right: 0.5rem; }
.small-note { font-size: 0.85rem; color: var(--c-ink-2); margin-top: 0.9rem; line-height: 1.5; }
.small-note a { color: var(--c-mid); text-decoration: underline; }

/* ============ FOOTER ============ */
.site-footer {
  background: var(--c-deep);
  color: var(--c-cream);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr;
  gap: 2rem;
  padding-top: 3.5rem; padding-bottom: 2.5rem;
}
.footer-brand .brand-name { color: var(--c-cream); font-size: 0.95rem; margin: 0; }
.footer-brand .brand-name em { color: var(--c-sage-2); }
.brand-name-footer { margin-top: 0.25rem !important; }
.footer-tag { color: #D7CDB6; font-size: 0.95rem; margin-top: 0.9rem; max-width: 28ch; line-height: 1.5; }
/* Real Quantify white-on-transparent logo — sits cleanly on the dark teal footer */
.footer-logo {
  display: block;
  margin-bottom: 0.5rem;
  max-width: 200px;
  height: auto;
}
/* Closer line — animation metaphor payoff */
.footer-closer {
  font-family: "Manrope", "Inter", sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--c-sage-2);
  letter-spacing: -0.005em;
  margin: 0.4rem 0 0;
  font-style: italic;
}
/* Patient Voices: methodology note tucks under the metaphor lead */
.methodology-note {
  font-size: 0.82rem;
  color: var(--c-ink-2);
  opacity: 0.75;
  margin-top: 0.25rem;
  font-style: italic;
}

.footer-col h4 {
  font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.14em;
  font-weight: 600; color: var(--c-sage-2);
  margin: 0 0 1rem;
}
.footer-col a {
  display: block; color: #D7CDB6; font-size: 0.95rem; padding: 4px 0;
  transition: color 160ms ease;
}
.footer-col a:hover { color: var(--c-cream); }
.footer-col p { margin: 0 0 0.5rem; font-size: 0.95rem; color: #D7CDB6; line-height: 1.5; }
.footer-col p a { display: inline; padding: 0; }
.footer-col .muted { color: #9D9379; font-size: 0.82rem; }

.footer-strip {
  border-top: 1px solid rgba(245,241,232,0.12);
  padding: 1.25rem 0;
}
.footer-strip-inner {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  font-size: 0.85rem;
}
.footer-strip p { margin: 0; color: #D7CDB6; }
.footer-strip .muted { color: #9D9379; }

/* ============ RESPONSIVE ============ */
@media (max-width: 980px) {
  .nav, .header-actions { display: none; }
  .hamburger { display: block; }
  .doors { grid-template-columns: 1fr; }
  .trust-inner { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .partner-grid { grid-template-columns: 1fr 1fr; }
  .callouts { grid-template-columns: 1fr; }
  .partner-numbers { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .portals-inner { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-strip-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .trust-inner { grid-template-columns: 1fr; }
  .partner-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .partner-letter { padding: 1.5rem 1.25rem; }
  .portal-card { padding: 1.75rem 1.5rem; }
}

/* ============ ACCESSIBILITY ============ */
:focus-visible {
  outline: 3px solid var(--c-sage);
  outline-offset: 2px;
  border-radius: 4px;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

/* ============================================================
   FEATURE IMAGES + FAQ (added after kit/photo integration)
   ============================================================ */

.feature-image {
  margin: 64px auto 8px;
  max-width: 1040px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 60px -36px rgba(31, 72, 88, .45);
  background: var(--c-cream);
}
.feature-image img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}
.feature-image figcaption {
  font-size: 14px;
  letter-spacing: .01em;
  padding: 14px 20px 16px;
  text-align: center;
  color: var(--c-ink);
  background: var(--c-cream);
}
.feature-image-bordered {
  border: 1px solid rgba(31, 72, 88, .12);
}
.feature-image-light figcaption {
  background: rgba(245, 241, 232, .96);
  color: var(--c-ink);
}

/* FAQ */
.faq-block {
  margin-top: 72px;
  max-width: 880px;
}
.faq-h3 {
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 700;
  letter-spacing: -.01em;
  margin: 8px 0 24px;
  line-height: 1.18;
}
.faq-h3.light { color: var(--c-cream); }
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-list details {
  background: var(--c-white);
  border: 1px solid rgba(31, 72, 88, .12);
  border-radius: 12px;
  padding: 4px 18px;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.faq-list details[open] {
  border-color: rgba(31, 72, 88, .35);
  box-shadow: 0 12px 28px -22px rgba(31, 72, 88, .35);
}
.faq-list summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 17px;
  line-height: 1.4;
  padding: 14px 26px 14px 0;
  position: relative;
  list-style: none;
  color: var(--c-ink);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  font-weight: 400;
  color: var(--c-mid);
  transition: transform .18s ease;
  line-height: 1;
}
.faq-list details[open] summary::after {
  content: "\2212"; /* minus */
  transform: translateY(-50%) rotate(0deg);
}
.faq-list details p {
  margin: 0 0 14px;
  padding: 0 4px 0 0;
  font-size: 15.5px;
  line-height: 1.62;
  color: #2c4a55;
}
.faq-list details a {
  color: var(--c-deep);
  text-decoration: underline;
}

/* Light variant for partner section (on deep teal background) */
.faq-list-light details {
  background: rgba(245, 241, 232, .06);
  border: 1px solid rgba(245, 241, 232, .18);
}
.faq-list-light details[open] {
  background: rgba(245, 241, 232, .10);
  border-color: rgba(245, 241, 232, .35);
}
.faq-list-light summary {
  color: var(--c-cream);
}
.faq-list-light summary::after {
  color: var(--c-sage);
}
.faq-list-light details p {
  color: rgba(245, 241, 232, .88);
}
.faq-list-light details a {
  color: var(--c-cream);
}

@media (max-width: 720px) {
  .feature-image { margin-top: 40px; border-radius: 14px; }
  .faq-block { margin-top: 48px; }
  .faq-list summary { font-size: 16px; padding-right: 24px; }
  .faq-list details p { font-size: 15px; }
}

/* Split intros with image — patient + partner sections */
.patients-intro,
.partners-intro {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 56px;
}
.patients-intro-image,
.partners-intro-image {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 60px -34px rgba(31, 72, 88, .35);
  background: var(--c-cream);
}
.patients-intro-image img,
.partners-intro-image img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}
@media (max-width: 880px) {
  .patients-intro, .partners-intro {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 36px;
  }
}

/* ============================================================
   v2 — Claims-audit rebuild (hero stats, ticker, comparison,
   proof-case). Builds on base palette already defined above.
   ============================================================ */

/* Use Manrope for display headings, keep Inter for body */
.hero-h1,
.section-h2,
.faq-h3,
.vs-title,
.proof-title,
.hstat-num,
.pfig-num {
  font-family: "Manrope", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: -0.022em;
}

/* ----- Drug ticker ----- */
.drug-ticker {
  margin: 20px 0 28px;
  padding: 14px 18px;
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(31,72,88,0.12);
  border-radius: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  align-items: baseline;
  font-size: 13.5px;
  line-height: 1.5;
  color: #1F4858;
}
.drug-ticker .ticker-label {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 11.5px;
  color: #2E6B7A;
  white-space: nowrap;
}
.drug-ticker .ticker-track {
  font-weight: 500;
  color: #1F4858;
  flex: 1 1 auto;
  min-width: 0;
}

/* ----- Hero stat strip ----- */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 24px 0 8px;
}
.hstat {
  background: #fff;
  border: 1px solid rgba(31,72,88,0.10);
  border-radius: 14px;
  padding: 18px 18px 16px;
  box-shadow: 0 1px 0 rgba(31,72,88,0.04);
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.hstat-num {
  font-size: 30px;
  font-weight: 800;
  line-height: 1.05;
  color: #1F4858;
}
.hstat-label {
  font-size: 13px;
  font-weight: 600;
  color: #2E6B7A;
  margin-top: 4px;
}
.hstat-foot {
  font-size: 12px;
  color: #6f7d83;
  line-height: 1.4;
  margin-top: 2px;
}
.hero-stats-source {
  font-size: 11.5px;
  color: #6f7d83;
  margin: 8px 0 24px;
  line-height: 1.5;
  max-width: 760px;
}
@media (max-width: 900px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .hero-stats { grid-template-columns: 1fr; }
  .hstat-num { font-size: 26px; }
}

/* ----- Vendor comparison ----- */
.vs-block {
  margin-top: 56px;
  padding: 36px 32px 28px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 18px;
}
.vs-title {
  margin: 6px 0 10px;
}
.vs-table-wrap {
  overflow-x: auto;
  margin-top: 18px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.04);
}
.vs-table {
  width: 100%;
  border-collapse: collapse;
  color: #F5F1E8;
  font-size: 14.5px;
  line-height: 1.5;
  min-width: 720px;
}
.vs-table thead th {
  text-align: left;
  font-weight: 700;
  padding: 14px 18px;
  background: rgba(0,0,0,0.18);
  border-bottom: 1px solid rgba(255,255,255,0.18);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.vs-table thead th.vs-us {
  color: #cfe9ec;
  background: rgba(127,178,181,0.18);
}
.vs-table thead th.vs-them {
  color: #d8cfb9;
  background: rgba(0,0,0,0.28);
}
.vs-table tbody th {
  text-align: left;
  font-weight: 600;
  color: #F5F1E8;
  padding: 16px 18px;
  vertical-align: top;
  width: 30%;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  background: rgba(0,0,0,0.10);
}
.vs-table tbody td {
  padding: 16px 18px;
  vertical-align: top;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.vs-table tbody td.vs-us {
  background: rgba(127,178,181,0.10);
  color: #F5F1E8;
  font-weight: 500;
}
.vs-table tbody td.vs-them {
  color: #c9c2af;
  background: rgba(0,0,0,0.18);
}
.vs-table tbody tr:last-child th,
.vs-table tbody tr:last-child td {
  border-bottom: 0;
}
.vs-link {
  color: #cfe9ec;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.vs-link:hover { color: #fff; }
.vs-foot {
  font-size: 11.5px;
  color: rgba(245,241,232,0.55);
  margin: 14px 0 0;
  line-height: 1.5;
}

/* ----- Proof case ----- */
.proof-case {
  margin-top: 40px;
  padding: 36px 32px 30px;
  background: linear-gradient(180deg, rgba(127,178,181,0.14) 0%, rgba(255,255,255,0.04) 100%);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 18px;
}
.proof-title {
  margin: 6px 0 18px;
}
.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 20px;
}
.proof-figure {
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 12px;
  padding: 18px 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.pfig-num {
  font-size: 26px;
  font-weight: 800;
  line-height: 1.05;
  color: #F5F1E8;
  letter-spacing: -0.02em;
}
.pfig-label {
  font-size: 12px;
  color: rgba(245,241,232,0.78);
  line-height: 1.4;
}
.proof-detail,
.proof-foot {
  color: rgba(245,241,232,0.92);
  font-size: 15px;
  line-height: 1.65;
  margin: 0 0 14px;
}
.proof-detail strong,
.proof-foot strong {
  color: #fff;
  font-weight: 700;
}
.proof-foot {
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 14px;
  color: rgba(245,241,232,0.82);
}

@media (max-width: 900px) {
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .vs-block, .proof-case { padding: 28px 22px; }
}
@media (max-width: 480px) {
  .proof-grid { grid-template-columns: 1fr; }
  .pfig-num { font-size: 22px; }
}

/* ----- Vendor comparison: stack on mobile ----- */
@media (max-width: 700px) {
  .vs-table-wrap {
    overflow-x: visible;
    border: 0;
    background: transparent;
  }
  .vs-table {
    min-width: 0;
    display: block;
  }
  .vs-table thead { display: none; }
  .vs-table tbody { display: block; }
  .vs-table tbody tr {
    display: block;
    margin-bottom: 16px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 12px;
    overflow: hidden;
  }
  .vs-table tbody th {
    display: block;
    width: auto;
    background: rgba(0,0,0,0.22);
    color: #cfe9ec;
    font-size: 13.5px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 12px 16px;
    border-bottom: 0;
  }
  .vs-table tbody td {
    display: block;
    padding: 14px 16px 14px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    position: relative;
  }
  .vs-table tbody td:last-child {
    border-bottom: 0;
  }
  .vs-table tbody td.vs-us::before {
    content: "Quantify";
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #cfe9ec;
    margin-bottom: 6px;
  }
  .vs-table tbody td.vs-them::before {
    content: "Other vendors";
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(216,207,185,0.85);
    margin-bottom: 6px;
  }
}

/* ============================================================
   Hero two-column visual
   ============================================================ */
.hero-two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}
.hero-copy { min-width: 0; }

.hero-visual {
  position: relative;
  align-self: stretch;
  min-height: 520px;
  margin-top: 1rem;
}
.hero-visual-leaf {
  position: absolute;
  inset: 8% -4% 14% 8%;
  border-radius: 22px;
  background-size: cover;
  background-position: center;
  filter: saturate(0.85);
  box-shadow: 0 18px 50px -20px rgba(31,72,88,0.35);
  opacity: 0.95;
}
.hero-visual-portrait {
  position: absolute;
  inset: 0 4% 8% -4%;
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 60px -18px rgba(31,72,88,0.45),
              0 4px 16px -6px rgba(31,72,88,0.20);
  border: 6px solid #F5F1E8;
  background: #F5F1E8;
}
.hero-visual-portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 65% 35%;
}
.hero-visual-badge {
  position: absolute;
  left: -4%;
  bottom: 4%;
  background: #1F4858;
  color: #F5F1E8;
  border-radius: 14px;
  padding: 14px 18px;
  box-shadow: 0 12px 30px -8px rgba(31,72,88,0.4);
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 140px;
  border: 4px solid #F5F1E8;
}
.hero-visual-badge .hvb-num {
  font-family: "Manrope", "Inter", sans-serif;
  font-size: 26px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
}
.hero-visual-badge .hvb-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: rgba(245,241,232,0.85);
}

@media (max-width: 1000px) {
  .hero-two-col { grid-template-columns: 1fr; }
  .hero-visual {
    min-height: 360px;
    max-width: 560px;
    margin: 1.5rem auto 0;
  }
}
@media (max-width: 560px) {
  .hero-visual { min-height: 320px; }
  .hero-visual-leaf { inset: 6% 0% 12% 6%; }
  .hero-visual-portrait { inset: 0 4% 6% -2%; }
  .hero-visual-badge { left: 2%; min-width: 120px; padding: 10px 14px; }
  .hero-visual-badge .hvb-num { font-size: 22px; }
}

/* ============================================================
   "Did you receive a welcome kit?" verify section
   ============================================================ */
.verify-block {
  margin: 0 0 56px;
  padding: 40px 36px 32px;
  background: #fff;
  border: 1px solid rgba(31,72,88,0.12);
  border-left: 6px solid #2E6B7A;
  border-radius: 18px;
  box-shadow: 0 18px 50px -28px rgba(31,72,88,0.25);
}
.verify-head {
  max-width: 780px;
  margin: 0 0 28px;
}
.verify-h2 {
  margin: 8px 0 12px;
}
.verify-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 22px;
}
.verify-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 20px;
  background: #F5F1E8;
  border: 1px solid rgba(31,72,88,0.10);
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.verify-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -16px rgba(31,72,88,0.30);
  border-color: rgba(31,72,88,0.25);
}
.vc-tag {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #2E6B7A;
}
.vc-big {
  font-family: "Manrope", "Inter", sans-serif;
  font-size: 21px;
  font-weight: 700;
  color: #1F4858;
  letter-spacing: -0.015em;
  line-height: 1.2;
  word-break: break-word;
}
.vc-sub {
  font-size: 13.5px;
  color: #5b6b71;
  line-height: 1.5;
}
.verify-foot {
  font-size: 14px;
  color: #5b6b71;
  margin: 0;
  line-height: 1.6;
  padding-top: 18px;
  border-top: 1px solid rgba(31,72,88,0.10);
}
.verify-foot strong { color: #1F4858; }

@media (max-width: 700px) {
  .verify-block { padding: 28px 22px 24px; }
  .verify-grid { grid-template-columns: 1fr; }
  .vc-big { font-size: 18px; }
}

/* ============ Mobile Infusion (Van) Section ============ */
.van-section { padding: clamp(64px, 8vw, 110px) 0; overflow: hidden; }
.van-section .section-h2 {
  margin-bottom: 0.5rem;
}
.van-section .section-lead {
  max-width: 64ch;
  margin-bottom: 2.5rem;
}
.van-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: auto auto;
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.van-photo {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  background: var(--c-cream-2);
  box-shadow: 0 4px 20px rgba(31,72,88,0.08);
  position: relative;
}
.van-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}
.van-photo figcaption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1rem 1.25rem 0.85rem;
  background: linear-gradient(to top, rgba(26, 45, 63, 0.85) 0%, transparent 100%);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.005em;
}
.van-photo-hero {
  grid-row: 1 / 3;
  grid-column: 1;
}
.van-photo-hero img {
  aspect-ratio: 4 / 3;
}
@media (max-width: 800px) {
  .van-gallery {
    grid-template-columns: 1fr;
  }
  .van-photo-hero { grid-row: auto; grid-column: auto; }
  .van-photo-hero img { aspect-ratio: 4 / 3; }
}
.van-points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}
.van-point {
  padding: 1.25rem 1.5rem;
  background: rgba(255, 255, 255, 0.55);
  border-radius: 12px;
  border-left: 3px solid var(--c-mid);
}
.van-point strong {
  display: block;
  color: var(--c-deep);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.van-point p {
  margin: 0;
  color: var(--c-ink-2);
  font-size: 14px;
  line-height: 1.55;
}
.van-footer-note {
  font-size: 14px;
  font-style: italic;
  color: var(--c-ink-2);
  opacity: 0.85;
  max-width: 64ch;
}

/* ----- Van drive-in animation -----
   When the section scrolls into view, the hero van photo enters from
   the left like a van driving up: a dust puff appears, a road stripe
   scrolls under the van, the van itself slides in with a slight
   forward tilt, hits the brakes, and bounces twice as it parks.
*/
.van-photo-hero {
  /* Initial state: van is off-screen to the left, slightly tilted forward */
  transform: translateX(-130%) rotate(-1.5deg);
  opacity: 0;
  transition: transform 1800ms cubic-bezier(0.18, 0.84, 0.32, 1),
              opacity 1000ms ease-out;
}
.van-photo-hero.van-arrived {
  transform: translateX(0) rotate(0);
  opacity: 1;
  animation: van-bounce 1.2s cubic-bezier(0.22, 1.36, 0.32, 1) 1.6s 1;
}
@keyframes van-bounce {
  /* Stronger, more truck-like bounce as the suspension settles */
  0%   { transform: translateX(0) translateY(0)   rotate(0); }
  15%  { transform: translateX(0) translateY(-10px) rotate(0.4deg); }
  30%  { transform: translateX(0) translateY(0)   rotate(0); }
  45%  { transform: translateX(0) translateY(-4px) rotate(-0.2deg); }
  60%  { transform: translateX(0) translateY(0)   rotate(0); }
  100% { transform: translateX(0) translateY(0)   rotate(0); }
}
/* Motion blur while van is moving, sharp when stopped.
   IMPORTANT: explicit `filter: none` (not `blur(0)`) so the
   blur doesn't persist if the animation order shifts. */
.van-photo-hero:not(.van-arrived) img {
  filter: blur(3px) brightness(1.02);
  transition: filter 700ms ease-out;
}
.van-photo-hero.van-arrived img {
  filter: none !important;
  transition: filter 600ms ease-out 0.9s;
}

/* Dust puff — appears behind the van as it pulls in, then dissipates */
.van-dust {
  position: absolute;
  bottom: 8%; left: -10%;
  width: 40%; height: 30%;
  pointer-events: none;
  background: radial-gradient(ellipse at center,
              rgba(212, 200, 175, 0.55) 0%,
              rgba(212, 200, 175, 0.25) 35%,
              rgba(212, 200, 175, 0) 70%);
  border-radius: 50%;
  opacity: 0;
  filter: blur(8px);
  z-index: 1;
}
.van-photo-hero.van-arrived .van-dust {
  animation: van-dust-puff 2.2s ease-out 0.3s 1 forwards;
}
@keyframes van-dust-puff {
  0%   { opacity: 0;    transform: translateX(0)   scale(0.6); }
  25%  { opacity: 0.9;  transform: translateX(20%) scale(1);    }
  60%  { opacity: 0.5;  transform: translateX(40%) scale(1.3);  }
  100% { opacity: 0;    transform: translateX(60%) scale(1.6);  }
}

/* Road stripe — a horizontal motion line that scrolls under the van */
.van-road {
  position: absolute;
  bottom: 3%; left: 0; right: 0;
  height: 4px;
  pointer-events: none;
  background: linear-gradient(to right,
              transparent 0%,
              rgba(31, 72, 88, 0.35) 30%,
              rgba(31, 72, 88, 0.35) 70%,
              transparent 100%);
  opacity: 0;
  z-index: 0;
  border-radius: 2px;
}
.van-photo-hero.van-arrived .van-road {
  animation: van-road-streak 1.4s ease-out 0.2s 1 forwards;
}
@keyframes van-road-streak {
  0%   { opacity: 0;   transform: scaleX(0.2) translateX(-200%); }
  40%  { opacity: 0.9; transform: scaleX(1)   translateX(0);     }
  100% { opacity: 0;   transform: scaleX(0.6) translateX(80%);   }
}

/* Interior photos slide in slightly after the van arrives */
.van-photo:not(.van-photo-hero) {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 700ms ease-out, transform 700ms ease-out;
}
.van-photo:not(.van-photo-hero).van-arrived {
  opacity: 1;
  transform: translateY(0);
}
/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .van-photo-hero,
  .van-photo {
    transform: none !important;
    opacity: 1 !important;
    transition: none !important;
    animation: none !important;
  }
  .van-photo-hero img { filter: none !important; }
  .van-dust, .van-road { display: none !important; }
}

/* ============ Rebrand Zoom's chat bubble to QSC navy + label ============ */
/* Override Zoom's default blue 56x56 circle with a wider QSC navy pill
   that says "Chat with us". Click still goes to Zoom's handler. */
.livesdk__invitation {
  /* Re-shape from circle to pill */
  width: auto !important;
  min-width: 160px !important;
  height: 52px !important;
  border-radius: 999px !important;
  /* QSC brand colors instead of Zoom blue */
  background: linear-gradient(135deg, #1F4858 0%, #2E6B7A 100%) !important;
  padding: 0 22px 0 16px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  /* Polish */
  box-shadow: 0 8px 24px rgba(31, 72, 88, 0.35), 0 2px 8px rgba(0,0,0,0.12) !important;
  cursor: pointer !important;
  transition: transform 180ms ease, box-shadow 180ms ease !important;
}
.livesdk__invitation:hover {
  transform: translateY(-3px) scale(1.03) !important;
  box-shadow: 0 12px 32px rgba(31, 72, 88, 0.45), 0 4px 12px rgba(0,0,0,0.18) !important;
}
/* Hide Zoom's default blue chat icon entirely — we'll inject our own clean icon via CSS */
.livesdk__invitation > *:not(::before):not(::after) {
  display: none !important;
}
.livesdk__invitation svg,
.livesdk__invitation img,
.livesdk__invitation > div,
.livesdk__invitation > span {
  display: none !important;
}
/* Inject clean chat-bubble SVG icon + "Chat with us" label via pseudo-elements */
.livesdk__invitation::after {
  content: "✉ Chat with us";
  color: #ffffff;
  font-family: "Manrope", "Inter", sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.005em;
  white-space: nowrap;
  pointer-events: none;
}
/* Replace the bullet character with a real chat-bubble icon via background-image */
.livesdk__invitation::after {
  content: "Chat with us";
  padding-left: 30px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><path d='M21 11.5a8.38 8.38 0 0 1-.9 3.8 8.5 8.5 0 0 1-7.6 4.7 8.38 8.38 0 0 1-3.8-.9L3 21l1.9-5.7a8.38 8.38 0 0 1-.9-3.8 8.5 8.5 0 0 1 4.7-7.6 8.38 8.38 0 0 1 3.8-.9h.5a8.48 8.48 0 0 1 8 8v.5z'/></svg>");
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 22px 22px;
}
/* Subtle pulse ring to draw the eye on page load */
.livesdk__invitation::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
  border: 2px solid rgba(90, 154, 145, 0.7);
  pointer-events: none;
  animation: qsc-chat-pulse 2.4s ease-out infinite;
}
@keyframes qsc-chat-pulse {
  0%   { opacity: 0.7; transform: scale(1); }
  70%  { opacity: 0;   transform: scale(1.18); }
  100% { opacity: 0;   transform: scale(1.18); }
}
/* Mobile: tighter pill */
@media (max-width: 600px) {
  .livesdk__invitation {
    min-width: 140px !important;
    height: 46px !important;
    padding: 0 18px 0 12px !important;
  }
  .livesdk__invitation::after {
    font-size: 13px;
  }
}
/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .livesdk__invitation::before { animation: none; opacity: 0; }
}

/* A large, obvious branded chat button bottom-right of every page.
   Sits ON TOP of the Zoom widget so visitors can't miss it. Clicking
   it opens the real Zoom chat panel programmatically. */
.qsc-chat-launcher {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999; /* higher than Zoom's default widget */
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px 14px 16px;
  background: linear-gradient(135deg, #1F4858 0%, #2E6B7A 100%);
  color: #ffffff;
  border: 0;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(31, 72, 88, 0.35), 0 2px 8px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  font-family: "Manrope", "Inter", sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.005em;
  transition: transform 180ms cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 180ms ease,
              background 200ms ease;
}
.qsc-chat-launcher:hover,
.qsc-chat-launcher:focus-visible {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 32px rgba(31, 72, 88, 0.45), 0 4px 12px rgba(0, 0, 0, 0.18);
  outline: none;
}
.qsc-chat-launcher:active {
  transform: translateY(-1px) scale(1.01);
}
.qsc-chat-launcher-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  color: #ffffff;
  flex-shrink: 0;
}
.qsc-chat-launcher-label {
  white-space: nowrap;
}
/* Pulse ring — draws the eye on page load */
.qsc-chat-launcher-pulse {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  pointer-events: none;
  border: 2px solid rgba(90, 154, 145, 0.6);
  animation: qsc-chat-pulse 2.4s ease-out infinite;
}
@keyframes qsc-chat-pulse {
  0% { opacity: 0.6; transform: scale(1); }
  70% { opacity: 0; transform: scale(1.25); }
  100% { opacity: 0; transform: scale(1.25); }
}
/* Mobile: keep the bubble visible but slightly tighter */
@media (max-width: 600px) {
  .qsc-chat-launcher {
    bottom: 16px;
    right: 16px;
    padding: 12px 18px 12px 14px;
    font-size: 14px;
  }
}
/* When chat is open, hide our button so user can interact with chat panel */
body.qsc-chat-open .qsc-chat-launcher {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.85);
}
/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .qsc-chat-launcher-pulse { animation: none; opacity: 0; }
  .qsc-chat-launcher { transition: none; }
}

/* Hero URAC stat: clickable variant */
.hstat-link {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}
.hstat-link:hover {
  transform: translateY(-2px);
}
.hstat-link:hover .hstat-foot {
  color: var(--c-deep);
  font-weight: 600;
}
/* Trust-strip inline URAC link — sits on dark teal background, needs light color */
.trust-link {
  color: #cfe9ec;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(207, 233, 236, 0.55);
  text-underline-offset: 3px;
}
.trust-link:hover {
  color: #ffffff;
  text-decoration-color: #ffffff;
}

/* ----- Footer social links ----- */
.footer-socials {
  margin-top: 14px;
  display: flex;
  gap: 8px;
}
.social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  color: inherit;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: background .15s ease;
}
.social-link:hover { background: rgba(255,255,255,0.16); }
.social-link svg { flex-shrink: 0; }

/* ----- Accreditation & Membership Badges ----- */
.footer-creds {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cred-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px 8px 8px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 8px;
  color: inherit;
  text-decoration: none;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.3;
  transition: background .15s ease, border-color .15s ease;
  max-width: fit-content;
}
.cred-badge:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.28);
}
.cred-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 28px;
  padding: 0 8px;
  border-radius: 4px;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.04em;
  font-family: "Manrope", "Inter", sans-serif;
  flex-shrink: 0;
}
.cred-mark-urac {
  background: #1F4858;
  color: #F5F1E8;
  border: 2px solid #5A9A91;
}
.cred-mark-nhia {
  background: #305A6C;
  color: #F5F1E8;
  border: 2px solid #B7D2D2;
}
.cred-text {
  font-size: 11px;
  color: #D7CDB6;
  font-weight: 600;
}
.cred-text em {
  font-style: normal;
  font-weight: 400;
  font-size: 10px;
  opacity: 0.85;
}

/* ============================================================
   Book-of-business analysis section
   ============================================================ */
.book-section { background: #F5F1E8; }
.book-head { max-width: 880px; margin: 0 0 36px; }

.book-bigrow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 0 0 44px;
}
.book-big {
  background: #fff;
  border: 1px solid rgba(31,72,88,0.10);
  border-radius: 16px;
  padding: 22px 22px 20px;
  box-shadow: 0 4px 14px -8px rgba(31,72,88,0.20);
}
.book-big-num {
  display: block;
  font-family: "Manrope", "Inter", sans-serif;
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 800;
  color: #1F4858;
  line-height: 1;
  letter-spacing: -0.025em;
}
.book-big-label {
  display: block;
  font-size: 13.5px;
  color: #2E6B7A;
  font-weight: 600;
  margin-top: 10px;
  line-height: 1.45;
}

.book-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin: 0 0 44px;
}
.book-col {
  background: #fff;
  border: 1px solid rgba(31,72,88,0.10);
  border-radius: 18px;
  padding: 28px 28px 24px;
}
.book-col-h {
  font-family: "Manrope", "Inter", sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #1F4858;
  margin: 0 0 6px;
  letter-spacing: -0.015em;
}
.book-col-sub {
  font-size: 13.5px;
  color: #5b6b71;
  margin: 0 0 20px;
}
.book-col-foot {
  font-size: 13.5px;
  color: #5b6b71;
  margin: 16px 0 0;
  line-height: 1.6;
}
.book-col-foot strong { color: #1F4858; }

.dist-bars { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.dist-bars li {
  display: grid;
  grid-template-columns: 78px 1fr 130px;
  gap: 12px;
  align-items: center;
}
.db-band {
  font-family: "Manrope", "Inter", sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #1F4858;
}
.db-bar {
  position: relative;
  height: 18px;
  background: #F5F1E8;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(31,72,88,0.08);
}
.db-fill {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #7FB2B5 0%, #2E6B7A 100%);
  border-radius: 9px;
  min-width: 4px;
}
.db-fill-emph { background: linear-gradient(90deg, #2E6B7A 0%, #1F4858 100%); }
.db-val {
  font-size: 12.5px;
  color: #5b6b71;
  font-variant-numeric: tabular-nums;
}

.win-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.win-list li {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 14px;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px solid rgba(31,72,88,0.08);
}
.win-list li:last-child { border-bottom: 0; }
.win-amt {
  font-family: "Manrope", "Inter", sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: #1F4858;
  letter-spacing: -0.02em;
}
.win-desc { font-size: 13.5px; color: #5b6b71; line-height: 1.5; }

.book-method {
  background: #fff;
  border: 1px solid rgba(31,72,88,0.10);
  border-radius: 18px;
  padding: 32px 32px 28px;
}
.book-method-h {
  font-family: "Manrope", "Inter", sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #1F4858;
  margin: 0 0 22px;
  letter-spacing: -0.015em;
}
.book-method-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px 32px;
  margin-bottom: 26px;
}
.book-method-grid h4 {
  font-family: "Manrope", "Inter", sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #2E6B7A;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 8px;
}
.book-method-grid p {
  font-size: 14.5px;
  color: #1F4858;
  line-height: 1.6;
  margin: 0;
}
.book-method-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid rgba(31,72,88,0.10);
}
.book-method-cta-note {
  font-size: 13px;
  color: #5b6b71;
}

@media (max-width: 900px) {
  .book-bigrow { grid-template-columns: repeat(2, 1fr); }
  .book-cols, .book-method-grid { grid-template-columns: 1fr; gap: 18px; }
  .book-col, .book-method { padding: 24px 22px; }
  .dist-bars li { grid-template-columns: 70px 1fr 110px; }
}
@media (max-width: 560px) {
  .book-bigrow { grid-template-columns: 1fr; }
  .dist-bars li { grid-template-columns: 60px 1fr; }
  .dist-bars .db-val { grid-column: 1 / -1; padding-left: 72px; }
  .win-list li { grid-template-columns: 1fr; gap: 4px; }
}

/* ============================================================
   Book block in DARK partner section
   ============================================================ */
.book-block { margin: 0 0 48px; }
.book-block-dark .book-head { max-width: 880px; margin: 0 0 28px; }
.book-block-dark .book-head h3 { margin: 8px 0 14px; }

.book-block-dark .book-bigrow .book-big {
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.20);
  box-shadow: none;
}
.book-block-dark .book-bigrow .book-big-num { color: #F5F1E8; }
.book-block-dark .book-bigrow .book-big-label { color: rgba(245,241,232,0.78); }

.book-block-dark .book-col {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.16);
}
.book-block-dark .book-col-h { color: #F5F1E8; }
.book-block-dark .book-col-sub { color: rgba(245,241,232,0.72); }
.book-block-dark .book-col-foot { color: rgba(245,241,232,0.82); }
.book-block-dark .book-col-foot strong { color: #fff; }

.book-block-dark .db-band { color: #F5F1E8; }
.book-block-dark .db-bar {
  background: rgba(0,0,0,0.28);
  border-color: rgba(255,255,255,0.10);
}
.book-block-dark .db-fill {
  background: linear-gradient(90deg, #7FB2B5 0%, #cfe9ec 100%);
}
.book-block-dark .db-fill-emph {
  background: linear-gradient(90deg, #cfe9ec 0%, #fff 100%);
}
.book-block-dark .db-val { color: rgba(245,241,232,0.78); }

.book-block-dark .win-list li {
  border-bottom-color: rgba(255,255,255,0.10);
}
.book-block-dark .win-amt { color: #F5F1E8; }
.book-block-dark .win-desc { color: rgba(245,241,232,0.78); }

.book-block-dark .book-method {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.16);
}
.book-block-dark .book-method-h { color: #F5F1E8; }
.book-block-dark .book-method-grid h4 { color: #cfe9ec; }
.book-block-dark .book-method-grid p { color: rgba(245,241,232,0.92); }
.book-block-dark .book-method-cta { border-top-color: rgba(255,255,255,0.12); }
.book-block-dark .book-method-cta-note { color: rgba(245,241,232,0.65); }

/* ============================================================
   Floating back-to-top button (bottom-left, opposite Zoom chat)
   ============================================================ */
.back-to-top {
  position: fixed;
  left: 22px;
  bottom: 22px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--c-deep, #305A6C);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 14px -4px rgba(14, 40, 65, 0.45);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.2s ease;
  z-index: 9998;
}
.back-to-top.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.back-to-top:hover {
  background: #1A2D3F;
}
.back-to-top:focus-visible {
  outline: 2px solid #cfe9ec;
  outline-offset: 2px;
}
@media (max-width: 640px) {
  .back-to-top { left: 16px; bottom: 16px; width: 40px; height: 40px; }
}

/* ============================================================
   Cream band inside dark For Plans section
   Breaks out of the dark section with full-bleed cream
   ============================================================ */
.partners-band-light {
  position: relative;
  background: var(--c-cream);
  color: var(--c-ink);
  margin-left: calc(-1 * var(--pad));
  margin-right: calc(-1 * var(--pad));
  padding: clamp(2.25rem, 4vw, 3.5rem) var(--pad);
  margin-top: clamp(1.75rem, 3.5vw, 3rem);
  margin-bottom: clamp(1.75rem, 3.5vw, 3rem);
}
/* Edge-to-edge bleed: extend the cream beyond .wrap padding all the way to viewport edges */
.partners-band-light::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 100vw;
  margin-left: -50vw;
  background: var(--c-cream);
  z-index: -1;
}
/* Reset eyebrow/lede/h2 light-color overrides inside the cream band */
.partners-band-light .section-eyebrow.light { color: var(--c-deep); }
.partners-band-light .section-h2.light,
.partners-band-light h2.light,
.partners-band-light h3.light { color: var(--c-ink); }
.partners-band-light .section-lead.light,
.partners-band-light p.light { color: var(--c-ink); }

/* Commercial block light variant inside cream band */
.partners-band-light .audit-block {
  background: rgba(48, 90, 108, 0.04);
  border: 1px solid rgba(48, 90, 108, 0.16);
  margin-top: 0;
}
.partners-band-light .audit-lede { color: var(--c-ink); }
.partners-band-light .audit-lede strong { color: var(--c-deep); }
.partners-band-light .audit-point {
  background: #ffffff;
  border: 1px solid rgba(48, 90, 108, 0.18);
}
.partners-band-light .audit-point-mark { color: var(--c-deep); opacity: 1; }
.partners-band-light .audit-point h4 { color: var(--c-ink); }
.partners-band-light .audit-point p { color: var(--c-ink); }

/* ============================================================
   Scoreboard light variant + hero number layout
   ============================================================ */
.partners-band-light .vs-scoreboard,
.partners-band-light .vs-scoreboard-light {
  background: transparent;
  border: none;
  padding: 0;
  color: var(--c-ink);
}

/* Hero header with giant 8/8 */
.vs-header-hero {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 36px;
  align-items: center;
  margin-bottom: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(48, 90, 108, 0.18);
}
.vs-hero-num {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding-right: 36px;
  border-right: 1px solid rgba(48, 90, 108, 0.18);
}
.vs-hero-num-big {
  font-family: 'Aptos Display', Inter, 'Segoe UI', Arial, sans-serif;
  font-size: clamp(72px, 9vw, 128px);
  font-weight: 800;
  color: var(--c-deep);
  line-height: 0.92;
  letter-spacing: -0.04em;
}
.vs-hero-num-slash {
  color: rgba(48, 90, 108, 0.4);
  font-weight: 600;
  margin: 0 -2px;
}
.vs-hero-num-cap {
  font-family: 'Aptos Display', Inter, 'Segoe UI', Arial, sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--c-deep);
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
.vs-header-hero .section-eyebrow { color: var(--c-deep); margin-bottom: 8px; }
.vs-header-hero .vs-title {
  color: var(--c-ink);
  margin: 4px 0 8px;
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.18;
}
.vs-lede-tight {
  color: var(--c-ink);
  font-size: 15.5px;
  margin: 0;
  opacity: 0.78;
}

/* Tighter, lighter question rows */
.vs-rows-tight { display: flex; flex-direction: column; gap: 14px; }
.vs-rows-tight .vs-row {
  background: #ffffff;
  border: 1px solid rgba(48, 90, 108, 0.14);
  border-radius: 12px;
  padding: 18px 22px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.vs-rows-tight .vs-row-q { padding: 0 0 4px; border-bottom: 1px solid rgba(48,90,108,0.08); }
.vs-rows-tight .vs-row-tag {
  display: inline-block;
  font-family: 'Aptos Display', Inter, sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-deep);
  background: rgba(48, 90, 108, 0.08);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
}
.vs-rows-tight .vs-row-q h4 {
  color: var(--c-ink);
  font-size: 16.5px;
  font-weight: 700;
  margin: 0;
  line-height: 1.35;
}
.vs-rows-tight .vs-row-cells {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.vs-rows-tight .vs-cell {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 10px;
  align-items: start;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.5;
}
.vs-rows-tight .vs-cell-us {
  background: rgba(78, 140, 91, 0.06);
  border-left: 3px solid #4E8C5B;
  color: var(--c-ink);
}
.vs-rows-tight .vs-cell-them {
  background: rgba(120, 120, 120, 0.05);
  border-left: 3px solid #999;
  color: rgba(14, 40, 65, 0.78);
}
.vs-rows-tight .vs-cell-tie {
  background: rgba(200, 134, 43, 0.06);
  border-left: 3px solid #C8862B;
}
.vs-rows-tight .vs-cell strong { color: var(--c-ink); }
.vs-rows-tight .vs-cell-them strong { color: rgba(14, 40, 65, 0.85); }
.vs-rows-tight .vs-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  margin-top: 1px;
}
.vs-rows-tight .vs-mark-yes {
  background: #4E8C5B;
  color: #ffffff;
}
.vs-rows-tight .vs-mark-no {
  background: #B8BFC1;
  color: #ffffff;
}
.vs-rows-tight .vs-mark-tie {
  background: #C8862B;
  color: #ffffff;
}
.vs-rows-tight .vs-link {
  color: var(--c-deep);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Closer */
.vs-closer {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(48, 90, 108, 0.18);
  text-align: center;
}
.vs-closer-line {
  font-family: 'Aptos Display', Inter, 'Segoe UI', Arial, sans-serif;
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 700;
  color: var(--c-ink);
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}
.vs-closer-line strong { color: var(--c-deep); }
.vs-closer .vs-foot-cta {
  color: rgba(14, 40, 65, 0.78);
  font-size: 14.5px;
  margin: 0;
}
.vs-closer .vs-foot-cta a {
  color: var(--c-deep);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 820px) {
  .vs-header-hero {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .vs-hero-num {
    padding-right: 0;
    padding-bottom: 14px;
    border-right: none;
    border-bottom: 1px solid rgba(48, 90, 108, 0.18);
    flex-direction: row;
    align-items: baseline;
    gap: 14px;
  }
  .vs-rows-tight .vs-row-cells {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   How we audit your claims — "Two lenses. One head. No handoffs."
   Sits inside section-deep (dark teal), light text on dark bg
   ============================================================ */
.audit-block {
  margin-top: 56px;
  padding: 44px 38px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 18px;
}
.audit-header { margin-bottom: 32px; max-width: 880px; }
.audit-title { margin: 8px 0 14px; }
.audit-lede { color: rgba(245,241,232,0.92); margin: 0 0 10px; }
.audit-lede:last-child { margin-bottom: 0; }
.audit-lede strong { color: #cfe9ec; font-weight: 700; }

.audit-points {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.audit-point {
  position: relative;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  padding: 26px 26px 24px;
}
.audit-point-wide { grid-column: 1 / -1; }
.audit-point-mark {
  font-family: 'Aptos Display', Inter, 'Segoe UI', Arial, sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: #cfe9ec;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
  opacity: 0.92;
}
.audit-point h4 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.3;
  color: #F5F1E8;
  font-weight: 700;
}
.audit-point p {
  margin: 0;
  color: rgba(245,241,232,0.86);
  font-size: 15px;
  line-height: 1.55;
}
@media (max-width: 820px) {
  .audit-block { padding: 32px 22px; margin-top: 40px; }
  .audit-points { grid-template-columns: 1fr; gap: 14px; }
  .audit-point { padding: 22px 20px; }
}

/* Proof grid in 3-up variant (after removing dollar rate exposure) */
.proof-grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .proof-grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .proof-grid-3 { grid-template-columns: 1fr; } }

/* ============================================================
   Dual eyebrow: "For patients" / "For plans"
   ============================================================ */
.eyebrow-dual {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 18px 0 22px;
}
.eyebrow-dual .eyebrow {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  text-transform: none;
  letter-spacing: 0;
  font-size: 14.5px;
  font-weight: 500;
  color: #1F4858;
  line-height: 1.4;
  flex-wrap: wrap;
}
.eyebrow-tag {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
}
.eyebrow-patient .eyebrow-tag {
  background: #F5F1E8;
  color: #2E6B7A;
  border: 1px solid rgba(46,107,122,0.20);
}
.eyebrow-partner .eyebrow-tag {
  background: #1F4858;
  color: #F5F1E8;
}

/* Clickable eyebrow pills — jump to their respective sections */
.eyebrow-tag-link {
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, color 160ms ease;
}
.eyebrow-patient .eyebrow-tag-link:hover,
.eyebrow-patient .eyebrow-tag-link:focus-visible {
  background: #E8E0CB;
  color: #1F4858;
  border-color: rgba(46,107,122,0.40);
  box-shadow: 0 3px 10px -4px rgba(31,72,88,0.35);
  transform: translateY(-1px);
  outline: none;
}
.eyebrow-partner .eyebrow-tag-link:hover,
.eyebrow-partner .eyebrow-tag-link:focus-visible {
  background: #0E2841;
  color: #ffffff;
  box-shadow: 0 4px 12px -4px rgba(14,40,65,0.55);
  transform: translateY(-1px);
  outline: none;
}
.eyebrow-tag-link:focus-visible {
  outline: 2px solid #5A9A91;
  outline-offset: 2px;
}

/* ============================================================
   Insurance-card explainer (patient section)
   ============================================================ */
.card-explainer {
  margin: 0 0 56px;
  padding: 36px 36px 32px;
  background: #fff;
  border: 1px solid rgba(31,72,88,0.10);
  border-left: 6px solid #7FB2B5;
  border-radius: 18px;
  box-shadow: 0 18px 50px -28px rgba(31,72,88,0.22);
}
.card-explainer-head { margin-bottom: 20px; }
.card-explainer-h {
  font-family: "Manrope", "Inter", sans-serif;
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 700;
  color: #1F4858;
  margin: 8px 0 0;
  letter-spacing: -0.018em;
  line-height: 1.2;
}
.card-explainer-body p {
  font-size: 15.5px;
  color: #1F4858;
  line-height: 1.65;
  margin: 0 0 14px;
}
.card-explainer-body strong { color: #1F4858; }

.card-points {
  list-style: none !important;
  padding: 18px 20px !important;
  margin: 6px 0 18px !important;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #F5F1E8;
  border-radius: 12px;
}
.card-points li {
  list-style: none;
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 14px;
  align-items: start;
  font-size: 15px;
  color: #1F4858;
  line-height: 1.5;
  margin: 0;
  padding: 0;
}
.card-points li::before,
.card-points li::marker { content: none; display: none; }
.cp-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: #2E6B7A;
  color: #F5F1E8;
  border-radius: 50%;
  font-family: "Manrope", "Inter", sans-serif;
  font-weight: 800;
  font-size: 13px;
  flex-shrink: 0;
}
.card-explainer-foot {
  font-size: 14.5px;
  color: #5b6b71;
  line-height: 1.65;
  margin: 8px 0 0;
  padding-top: 16px;
  border-top: 1px solid rgba(31,72,88,0.10);
}
.card-explainer-foot strong { color: #1F4858; }

@media (max-width: 700px) {
  .card-explainer { padding: 26px 22px 22px; }
  .card-points { padding: 14px 16px; }
}

/* ============================================================
   Scoreboard-style vendor comparison (replaces flat table)
   ============================================================ */
.vs-scoreboard {
  padding: 40px 36px 32px;
  background: linear-gradient(180deg, rgba(127,178,181,0.06) 0%, rgba(0,0,0,0.10) 100%);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 20px;
}

.vs-header {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: start;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.14);
}
.vs-title { margin: 6px 0 0; line-height: 1.15; }
.vs-title-sub {
  display: block;
  font-size: 18px;
  font-weight: 500;
  color: rgba(245,241,232,0.72);
  margin-top: 8px;
  letter-spacing: -0.005em;
}

.vs-scoremark {
  background: linear-gradient(135deg, #F5F1E8 0%, #cfe9ec 100%);
  color: #1F4858;
  border-radius: 18px;
  padding: 18px 22px;
  text-align: center;
  min-width: 160px;
  box-shadow: 0 14px 36px -10px rgba(0,0,0,0.35);
  border: 4px solid rgba(255,255,255,0.40);
}
.vs-scoremark-num {
  display: block;
  font-family: "Manrope","Inter",sans-serif;
  font-size: 44px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.025em;
  color: #1F4858;
}
.vs-scoremark-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-top: 6px;
  color: #2E6B7A;
  line-height: 1.3;
}

.vs-rows { display: flex; flex-direction: column; gap: 18px; }

.vs-rows { gap: 22px; }

.vs-row {
  display: block;
  padding: 22px 24px;
  background: linear-gradient(135deg, rgba(207,233,236,0.18) 0%, rgba(127,178,181,0.14) 100%);
  border: 1px solid rgba(207,233,236,0.32);
  border-radius: 16px;
  box-shadow: 0 10px 26px -16px rgba(0,0,0,0.35);
  position: relative;
  overflow: hidden;
}
.vs-row::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, #cfe9ec 0%, #7FB2B5 100%);
}

.vs-row-q {
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.10);
}
.vs-row-tag {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #cfe9ec;
  background: rgba(31,72,88,0.55);
  padding: 4px 9px;
  border-radius: 999px;
  white-space: nowrap;
}
.vs-row-q h4 {
  font-family: "Manrope","Inter",sans-serif;
  font-size: clamp(17px, 1.6vw, 19px);
  font-weight: 700;
  color: #F5F1E8;
  margin: 0;
  line-height: 1.3;
  letter-spacing: -0.015em;
  flex: 1 1 280px;
}

.vs-row-cells {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.vs-cell {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 14px;
  align-items: start;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 14.5px;
  line-height: 1.55;
}
.vs-cell strong { font-weight: 700; }
.vs-cell-us {
  background: rgba(207,233,236,0.10);
  color: #F5F1E8;
}
.vs-cell-us strong { color: #fff; }
.vs-cell-them {
  background: rgba(0,0,0,0.18);
  color: rgba(245,241,232,0.58);
  font-size: 13.5px;
}
.vs-cell-them strong { color: rgba(245,241,232,0.72); }
.vs-cell-tie {
  background: rgba(127,178,181,0.10);
  color: rgba(245,241,232,0.68);
}

.vs-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  font-weight: 800;
  font-size: 16px;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 1px;
}
.vs-mark-yes {
  background: linear-gradient(135deg, #cfe9ec 0%, #7FB2B5 100%);
  color: #1F4858;
  box-shadow: 0 0 0 3px rgba(207,233,236,0.18);
}
.vs-mark-no {
  background: rgba(0,0,0,0.32);
  color: rgba(245,241,232,0.40);
  border: 1px solid rgba(255,255,255,0.08);
  font-size: 16px;
}
.vs-mark-tie {
  background: rgba(127,178,181,0.30);
  color: rgba(245,241,232,0.78);
  font-size: 18px;
  font-weight: 700;
}

.vs-foot-cta {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.14);
  font-size: 15px;
  color: rgba(245,241,232,0.82);
  text-align: center;
  line-height: 1.6;
}
.vs-foot-cta a {
  color: #cfe9ec;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.vs-foot-cta a:hover { color: #fff; }

@media (max-width: 900px) {
  .vs-scoreboard { padding: 28px 22px 24px; }
  .vs-header { grid-template-columns: 1fr; }
  .vs-scoremark { justify-self: start; min-width: 140px; }
  .vs-row { padding: 18px 18px; }
}
@media (max-width: 560px) {
  .vs-row-q h4 { font-size: 16px; }
  .vs-cell { padding: 12px; font-size: 13.5px; }
  .vs-cell-them { font-size: 13px; }
  .vs-mark { width: 24px; height: 24px; font-size: 14px; }
}

.vs-lede { margin-top: 14px; max-width: 620px; }
.vs-lede strong { color: #fff; font-weight: 700; }

/* ============================================================
   Patient Voices — rotating carousel
   ============================================================ */
.quote-carousel {
  margin-top: 32px;
  position: relative;
}
.qc-track {
  position: relative;
  min-height: 280px;
  background: #fff;
  border: 1px solid rgba(31,72,88,0.10);
  border-radius: 20px;
  box-shadow: 0 18px 50px -28px rgba(31,72,88,0.30);
  padding: 56px 64px 56px 88px;
  overflow: hidden;
}
.qc-slide {
  position: absolute;
  inset: 56px 64px 56px 88px;
  margin: 0;
  opacity: 0;
  transform: translateX(24px);
  transition: opacity .5s ease, transform .5s ease;
  pointer-events: none;
}
.qc-slide.is-active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
  position: relative;
  inset: auto;
}
.qc-mark {
  position: absolute;
  top: -12px;
  left: -40px;
  font-family: "Manrope","Inter",serif;
  font-size: 96px;
  line-height: 1;
  color: #7FB2B5;
  opacity: 0.5;
  font-weight: 700;
  user-select: none;
}
.qc-slide blockquote {
  font-family: "Manrope","Inter",sans-serif;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.5;
  color: #1F4858;
  margin: 0 0 18px;
  font-weight: 500;
  letter-spacing: -0.005em;
  font-style: italic;
}
.qc-slide blockquote::before { content: "\201C"; }
.qc-slide blockquote::after  { content: "\201D"; }
.qc-slide figcaption {
  font-size: 13.5px;
  font-weight: 600;
  color: #2E6B7A;
  text-transform: none;
  letter-spacing: 0;
}
/* Featured (longer) quote — slightly smaller, tighter for readability */
.qc-slide-feature blockquote {
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.55;
}

.qc-controls {
  margin-top: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.qc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  color: #1F4858;
  border: 1px solid rgba(31,72,88,0.18);
  cursor: pointer;
  box-shadow: 0 4px 12px -6px rgba(31,72,88,0.20);
  transition: background .15s ease, color .15s ease, transform .15s ease;
  padding: 0;
}
.qc-btn:hover { background: #1F4858; color: #fff; transform: scale(1.05); }
.qc-btn:focus-visible { outline: 3px solid #2E6B7A; outline-offset: 2px; }

.qc-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}
.qc-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(31,72,88,0.25);
  border: 0;
  cursor: pointer;
  padding: 0;
  transition: background .2s ease, transform .2s ease;
}
.qc-dot:hover { background: rgba(31,72,88,0.50); transform: scale(1.2); }
.qc-dot.is-active { background: #1F4858; transform: scale(1.3); }
.qc-dot:focus-visible { outline: 3px solid #2E6B7A; outline-offset: 3px; }

@media (max-width: 700px) {
  .qc-track { padding: 40px 28px 40px 28px; min-height: 320px; }
  .qc-slide { inset: 40px 28px 40px 28px; }
  .qc-mark { left: 10px; top: -2px; font-size: 72px; }
  .qc-slide blockquote { font-size: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  .qc-slide { transition: opacity .15s ease; transform: none !important; }
}

/* ============================================================
   Co-founder letter (About section)
   ============================================================ */
.founder-letter {
  margin: 56px 0 56px;
  padding: 48px clamp(28px, 5vw, 72px) 44px;
  background: linear-gradient(180deg, #F5F1E8 0%, #ffffff 100%);
  border: 1px solid rgba(31,72,88,0.10);
  border-left: 6px solid #2E6B7A;
  border-radius: 22px;
  box-shadow: 0 24px 60px -30px rgba(31,72,88,0.30);
  position: relative;
}
.founder-letter::before {
  content: "\201C";
  position: absolute;
  top: -22px;
  right: 32px;
  font-family: "Manrope","Inter",serif;
  font-size: 140px;
  line-height: 1;
  color: rgba(127,178,181,0.30);
  font-weight: 700;
  user-select: none;
  pointer-events: none;
}
.founder-letter-head {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 18px;
  align-items: center;
  margin-bottom: 26px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(31,72,88,0.10);
}
.founder-monogram {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2E6B7A 0%, #1F4858 100%);
  color: #F5F1E8;
  font-family: "Manrope","Inter",sans-serif;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 0.04em;
  box-shadow: 0 8px 20px -8px rgba(31,72,88,0.40);
}
.founder-eyebrow {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #2E6B7A;
  margin: 0 0 6px;
}
.founder-letter-title {
  font-family: "Manrope","Inter",sans-serif;
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 700;
  color: #1F4858;
  margin: 0;
  line-height: 1.25;
  letter-spacing: -0.018em;
}
.founder-letter-body {
  margin: 0 0 24px;
  padding: 0;
  border: 0;
  quotes: none;
}
.founder-letter-body p {
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.7;
  color: #1F4858;
  margin: 0 0 16px;
  font-weight: 400;
}
.founder-letter-body p:last-child { margin-bottom: 0; }
.founder-letter-body p em {
  font-style: italic;
  color: #2E6B7A;
  font-weight: 500;
}
.founder-letter-body strong { color: #1F4858; font-weight: 700; }

.founder-letter-foot {
  padding-top: 22px;
  border-top: 1px solid rgba(31,72,88,0.10);
  font-size: 14.5px;
  color: #1F4858;
  line-height: 1.55;
}
.founder-letter-foot strong {
  font-family: "Manrope","Inter",sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #1F4858;
}
.founder-letter-foot-note {
  display: inline-block;
  margin-top: 4px;
  font-size: 12.5px;
  color: #5b6b71;
  font-style: italic;
}

@media (max-width: 700px) {
  .founder-letter { padding: 36px 24px 32px; margin: 40px 0; }
  .founder-letter::before { font-size: 96px; top: -10px; right: 16px; }
  .founder-letter-head { grid-template-columns: 56px 1fr; gap: 14px; }
  .founder-monogram { width: 56px; height: 56px; font-size: 20px; }
}

.founder-letter-head-nomono {
  display: block;
  grid-template-columns: none;
}

/* ---- Scoreboard headline + spacing fixes ---- */
.vs-scoreboard { margin-top: 56px; }

.vs-title {
  font-size: clamp(26px, 3vw, 38px) !important;
  line-height: 1.15 !important;
  margin: 6px 0 0 !important;
  letter-spacing: -0.02em !important;
}
.vs-title-sub {
  display: block;
  font-size: clamp(15px, 1.4vw, 18px) !important;
  font-weight: 500 !important;
  color: rgba(245,241,232,0.72) !important;
  margin-top: 8px !important;
  letter-spacing: -0.005em !important;
}

/* Ensure book-method CTA doesn't visually collide with next section */
.book-method-cta { margin-bottom: 8px; }
.book-block { margin-bottom: 56px; }

/* ============================
   WHAT QSC DOES — 3-card summary
   ============================ */
.what-qsc-does .wqd-head {
  max-width: 760px;
  margin-bottom: 40px;
}
.wqd-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}
.wqd-card {
  background: #FBFAF6;
  border: 1px solid #D4D1CA;
  border-radius: 14px;
  padding: 28px 26px 32px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.wqd-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px -20px rgba(31,72,88,0.30);
  border-color: #7FB2B5;
}
.wqd-num {
  font-family: 'DM Sans', 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.10em;
  color: #2E6B7A;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.wqd-title {
  font-family: 'DM Sans', 'Manrope', sans-serif;
  font-size: 21px;
  line-height: 1.25;
  font-weight: 700;
  color: #1F4858;
  letter-spacing: -0.01em;
  margin: 0 0 14px;
}
.wqd-body {
  font-size: 15.5px;
  line-height: 1.55;
  color: #455a63;
  margin: 0 0 20px;
  flex-grow: 1;
}
.wqd-link {
  font-family: 'DM Sans', 'Manrope', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #2E6B7A;
  text-decoration: none;
  border-bottom: 1px solid rgba(46,107,122,0.25);
  padding-bottom: 2px;
  align-self: flex-start;
  letter-spacing: 0.005em;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.wqd-link:hover {
  color: #1F4858;
  border-color: #1F4858;
}
@media (max-width: 980px) {
  .wqd-grid { grid-template-columns: 1fr; gap: 20px; }
  .wqd-card { padding: 24px 22px 28px; }
}

/* ============================
   FOUNDERS' VOICES — CEO + CCO side-by-side
   ============================ */
.founders-voices-wrap {
  margin-top: 56px;
}
.founders-voices-title {
  font-family: 'DM Sans', 'Manrope', sans-serif;
  font-size: clamp(24px, 2.4vw, 30px);
  line-height: 1.2;
  font-weight: 700;
  color: #1F4858;
  letter-spacing: -0.015em;
  margin: 4px 0 28px;
}
.founders-voices-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: stretch;
}
.founder-voice {
  background: #F5F1E8;
  border-left: 4px solid #2E6B7A;
  border-radius: 12px;
  padding: 28px 28px 24px;
  margin: 0;
  font-style: normal;
  display: flex;
  flex-direction: column;
}
.founder-voice-ceo {
  background: #EAF1F0;
  border-left-color: #1F4858;
}
.founder-voice p {
  font-size: 16px;
  line-height: 1.6;
  color: #1F4858;
  margin: 0 0 14px;
}
.founder-voice p:last-of-type {
  flex-grow: 1;
}
.founder-voice footer {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(31,72,88,0.15);
  font-size: 13.5px;
  line-height: 1.55;
  color: #5b6b71;
  font-style: normal;
}
.founder-voice .qname {
  font-family: 'DM Sans', 'Manrope', sans-serif;
  font-weight: 700;
  color: #1F4858;
  font-size: 15px;
}
.founder-voice .qrole {
  color: #5b6b71;
  font-size: 13px;
}
.founder-voice .qsource {
  display: inline-block;
  margin-top: 4px;
  font-family: 'DM Sans', 'Manrope', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #2E6B7A;
  text-decoration: none;
  border-bottom: 1px solid rgba(46,107,122,0.3);
  padding-bottom: 1px;
}
.founder-voice .qsource:hover {
  color: #1F4858;
  border-color: #1F4858;
}
.founder-voice .qsource-plain {
  display: inline-block;
  margin-top: 4px;
  font-family: 'DM Sans', 'Manrope', sans-serif;
  font-style: italic;
  font-size: 13.5px;
  color: #2E6B7A;
}
@media (max-width: 980px) {
  .founders-voices-grid { grid-template-columns: 1fr; gap: 20px; }
  .founder-voice { padding: 24px 22px 22px; }
}

/* ============================
   AUDIENCE SELF-SELECT BUBBLES — top of hero
   ============================ */
.audience-bubbles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 0 0 22px;
}
.bubble {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 22px 18px 22px;
  border-radius: 999px;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease, background 0.16s ease;
  cursor: pointer;
  min-height: 86px;
  justify-content: center;
}
.bubble-patient {
  background: #F5F1E8;
  border-color: rgba(46,107,122,0.3);
}
.bubble-partner {
  background: #EAF1F0;
  border-color: rgba(31,72,88,0.3);
}
.bubble:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px -18px rgba(31,72,88,0.40);
}
.bubble-patient:hover { border-color: #2E6B7A; background: #F0EADB; }
.bubble-partner:hover { border-color: #1F4858; background: #DEE9E8; }
.bubble-hello {
  font-family: 'Inter', sans-serif;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  color: #5b6b71;
  line-height: 1;
}
.bubble-who {
  font-family: 'DM Sans', 'Manrope', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #1F4858;
  line-height: 1.15;
  letter-spacing: -0.005em;
}
.bubble-cta {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #2E6B7A;
  line-height: 1.2;
  margin-top: 2px;
}
.bubble-partner .bubble-cta { color: #1F4858; }

@media (max-width: 680px) {
  .audience-bubbles {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .bubble {
    padding: 16px 20px;
    border-radius: 16px;
    min-height: 72px;
  }
  .bubble-who { font-size: 16.5px; }
}

/* ============================
   LIVE CHAT — Zoom Contact Center launcher + fallback
   Sits bottom-right, follows the user on scroll, brand-tinted.
   When the Zoom snippet is installed and adds .qsc-chat-live to <body>,
   this entire layer hides automatically so Zoom's launcher takes over.
   ============================ */
body.qsc-chat-live #qsc-chat-shell { display: none !important; }

.qsc-chat-launcher {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 9000;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 20px 13px 18px;
  background: #1F4858;
  color: #fff;
  border: none;
  border-radius: 999px;
  font-family: 'DM Sans', 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 14.5px;
  letter-spacing: 0.005em;
  cursor: pointer;
  box-shadow: 0 18px 40px -16px rgba(31, 72, 88, 0.55);
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}
.qsc-chat-launcher:hover {
  background: #2E6B7A;
  transform: translateY(-2px);
  box-shadow: 0 22px 48px -16px rgba(31, 72, 88, 0.65);
}
.qsc-chat-launcher:focus-visible {
  outline: 3px solid #7FB2B5;
  outline-offset: 3px;
}
.qsc-chat-launcher-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
}
@media (max-width: 680px) {
  .qsc-chat-launcher { right: 16px; bottom: 16px; padding: 12px 18px; font-size: 14px; }
}

.qsc-chat-fallback {
  position: fixed;
  inset: 0;
  background: rgba(31, 72, 88, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9500;
  padding: 24px;
  animation: qsc-chat-fadein 0.18s ease;
}
.qsc-chat-fallback[hidden] { display: none; }
@keyframes qsc-chat-fadein { from { opacity: 0; } to { opacity: 1; } }

.qsc-chat-fallback-card {
  background: #fff;
  border-radius: 16px;
  padding: 28px 28px 24px;
  max-width: 460px;
  width: 100%;
  position: relative;
  box-shadow: 0 30px 80px -30px rgba(31, 72, 88, 0.6);
}
.qsc-chat-fallback-card h3 {
  font-family: 'DM Sans', 'Manrope', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #1F4858;
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}
.qsc-chat-fallback-card p {
  font-size: 14.5px;
  line-height: 1.55;
  color: #5b6b71;
  margin: 0 0 18px;
}
.qsc-chat-fallback-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: transparent;
  border: none;
  font-size: 26px;
  color: #5b6b71;
  cursor: pointer;
  line-height: 1;
  padding: 4px 8px;
}
.qsc-chat-fallback-close:hover { color: #1F4858; }

.qsc-chat-fallback-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.qsc-chat-fallback-option {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 12px 14px;
  background: #F5F1E8;
  border: 1px solid rgba(46, 107, 122, 0.18);
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.14s ease, border-color 0.14s ease;
}
.qsc-chat-fallback-option:hover {
  background: #EFE9D8;
  border-color: #2E6B7A;
}
.qsc-chat-fallback-option strong {
  font-family: 'DM Sans', 'Manrope', sans-serif;
  font-size: 14.5px;
  color: #1F4858;
  font-weight: 700;
}
.qsc-chat-fallback-option span {
  font-size: 13px;
  color: #5b6b71;
}

/* ============================
   PATIENT-CENTRIC ORBIT — illustration at top of For Patients section
   ============================ */
.patient-orbit {
  margin: 0 auto 56px;
  max-width: 1100px;
  text-align: center;
}
.patient-orbit img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 30px 80px -40px rgba(31, 72, 88, 0.35);
  border: 1px solid rgba(127, 178, 181, 0.25);
}
.patient-orbit-caption {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 22px;
  text-align: center;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.patient-orbit-eyebrow {
  font-family: 'DM Sans', 'Manrope', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: #2E6B7A;
}
.patient-orbit-line {
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  line-height: 1.55;
  color: #1F4858;
  font-weight: 500;
}
@media (max-width: 720px) {
  .patient-orbit { margin-bottom: 36px; }
  .patient-orbit img { border-radius: 14px; }
  .patient-orbit-line { font-size: 15.5px; }
}

/* ============ Quality Medical Oversight Committee section ============ */
.qmoc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
  margin-top: 2.5rem;
}
.qmoc-card {
  background: rgba(245, 241, 232, 0.06);
  border: 1px solid rgba(245, 241, 232, 0.15);
  border-radius: 14px;
  padding: 1.75rem 1.9rem;
}
.qmoc-card h3 {
  color: #F5F1E8;
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 1rem;
  letter-spacing: 0.01em;
}
.qmoc-card ul { list-style: none; padding: 0; margin: 0; }
.qmoc-card li {
  color: rgba(245, 241, 232, 0.88);
  padding: 0.55rem 0 0.55rem 1.5rem;
  position: relative;
  font-size: 0.97rem;
  line-height: 1.55;
  border-bottom: 1px solid rgba(245, 241, 232, 0.08);
}
.qmoc-card li:last-child { border-bottom: 0; }
.qmoc-card li::before {
  content: "\2022";
  position: absolute;
  left: 0.5rem;
  top: 0.55rem;
  color: #7FB2B5;
  font-size: 1.2rem;
  line-height: 1;
}
.qmoc-card li strong { color: #F5F1E8; }
.qmoc-vignette {
  margin-top: 2.5rem;
  background: rgba(127, 178, 181, 0.10);
  border-left: 4px solid #7FB2B5;
  padding: 1.75rem 2rem;
  border-radius: 0 12px 12px 0;
}
.qmoc-vignette-eyebrow {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #7FB2B5;
  font-weight: 700;
  margin: 0 0 0.85rem;
}
.qmoc-vignette-quote {
  font-size: 1.08rem;
  line-height: 1.65;
  color: rgba(245, 241, 232, 0.95);
  margin: 0;
  font-style: italic;
  font-weight: 400;
}
.qmoc-vignette-caption {
  font-size: 0.92rem;
  color: rgba(245, 241, 232, 0.7);
  margin: 1rem 0 0;
  font-weight: 600;
}
@media (max-width: 720px) {
  .qmoc-grid { grid-template-columns: 1fr; }
}

/* ============ Sister site cross-link CTA ============ */
.sister-cta {
  background: linear-gradient(135deg, #F5F1E8 0%, #ECE5D3 100%);
  padding: 3rem 0;
  border-top: 1px solid rgba(11, 35, 64, 0.08);
  border-bottom: 1px solid rgba(11, 35, 64, 0.08);
}
.sister-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.sister-cta-text { flex: 1 1 480px; min-width: 0; }
.sister-cta-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: #0B2340;
  margin: 0.4rem 0 0.6rem;
  line-height: 1.3;
}
.sister-cta-sub {
  font-size: 1rem;
  color: #3a4a5e;
  margin: 0;
  line-height: 1.55;
  max-width: 640px;
}
.sister-cta-actions { flex: 0 0 auto; }
@media (max-width: 720px) {
  .sister-cta-inner { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   MULTI-PAGE REBUILD ADDITIONS (2026)
   Premium serif display type, interior page-hero bands,
   section-dark/section-cream-warm, active nav states.
   Matches the QuantifyRx sister-site pattern. Uses the QSC
   palette tokens defined at the top of this file.
   ============================================================ */

/* ---- Premium serif display headlines (Playfair Display) ----
   Loaded via Google Fonts <link> in each page <head>. */
.hero-h1,
.section-h2,
.page-hero-title,
.sister-cta-title,
.leadership-title,
.founders-voices-title {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  letter-spacing: -0.012em;
  font-weight: 600;
}
.hero-h1 { font-weight: 600; }

/* keep stat numbers and small functional heads on the crisp sans */
.hstat-num, .pfig-num, .faq-h3, .vs-title, .book-big-num {
  font-family: "Manrope", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* ---- section-dark (alias of section-deep) + section-cream-warm ---- */
.section-dark { background: var(--c-deep); color: var(--c-cream); }
.section-cream-warm { background: linear-gradient(180deg, #FAF7EE 0%, #F2ECDC 100%); color: var(--c-ink); }

/* ============================================================
   INTERIOR PAGE-HERO BAND
   Calm deep-teal band, cream serif title, small-caps eyebrow,
   brief subtitle, breadcrumb. ~220px tall.
   ============================================================ */
.page-hero {
  background:
    radial-gradient(1200px 380px at 78% -40%, rgba(127,178,181,0.18), transparent 60%),
    linear-gradient(160deg, var(--c-ink) 0%, var(--c-deep) 70%, #245260 100%);
  color: var(--c-cream);
  padding: clamp(3.25rem, 7vw, 5rem) 0 clamp(2.75rem, 6vw, 4rem);
  border-bottom: 1px solid rgba(127,178,181,0.18);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  right: -60px; top: -80px;
  width: 340px; height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(127,178,181,0.12), transparent 70%);
  pointer-events: none;
}
.page-hero-inner { position: relative; z-index: 1; max-width: 880px; }
.page-hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--c-sage-2);
  margin: 0 0 0.85rem;
}
.page-hero-title {
  font-size: clamp(2.25rem, 4.4vw, 2.9rem);
  line-height: 1.07;
  color: var(--c-white);
  margin: 0 0 0.9rem;
  max-width: 22ch;
}
.page-hero-sub {
  font-size: clamp(1.02rem, 1.3vw, 1.18rem);
  line-height: 1.55;
  color: #D7CDB6;
  max-width: 62ch;
  margin: 0;
}
.page-hero-breadcrumb {
  font-size: 0.82rem;
  color: rgba(215,205,182,0.78);
  margin: 0 0 1.4rem;
  letter-spacing: 0.01em;
}
.page-hero-breadcrumb a { color: var(--c-sage-2); }
.page-hero-breadcrumb a:hover { color: var(--c-white); text-decoration: underline; text-underline-offset: 3px; }

/* First content section after a page-hero gets comfortable top padding */
.page-hero + .section,
.page-hero + main > .section:first-child { padding-top: clamp(3.5rem, 6vw, 5.5rem); }

/* ---- Active nav state ---- */
.nav a[aria-current="page"],
.nav-dropdown-toggle[aria-current="page"] { color: var(--c-deep); }
.nav a[aria-current="page"]::after {
  content: "";
  display: block;
  height: 2px;
  background: var(--c-mid);
  border-radius: 2px;
  margin-top: 3px;
}
.nav-dropdown-menu a[aria-current="page"] {
  background: rgba(46, 107, 122, 0.10);
  color: var(--c-deep);
  font-weight: 600;
}
.mobile-nav a[aria-current="page"] { color: var(--c-mid); font-weight: 700; }

/* ============ SISTER-SITE LINK UNDER LOGO ============ */
.brand-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 0 0 auto;
  margin-right: auto;
}
.brand-block .brand {
  display: inline-flex;
  align-items: center;
}
.sister-link {
  display: inline-block;
  font-size: 11.5px;
  letter-spacing: 0.02em;
  color: #5a6678;
  text-decoration: none;
  line-height: 1.2;
  padding-left: 4px;
  transition: color 180ms ease;
  white-space: nowrap;
}
.sister-link strong {
  color: #2D6E6E;
  font-weight: 600;
}
.sister-link:hover {
  color: #0B2340;
}
.sister-link:hover strong {
  text-decoration: underline;
}
@media (max-width: 720px) {
  .sister-link { display: none; }
}
