/* Source guide: pages/home.css
 * Page-specific presentation.
 * Load order: base.css, components.css, page stylesheet, refresh.css.
 * Later rules intentionally refine earlier layouts; preserve cascade order.
 */

/* Full-room photography with a soft purple-to-teal fade for white foreground text. */
/* Group: Earlier hero composition retained for shared and campaign styling. */
.home-hero {
  position: relative;
  isolation: isolate;
  background: #353932;
  color: #fff;
  overflow: hidden;
}
.hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-backdrop img {
  width: 108%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  transform: translateX(-7.4%);
}
.home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    90deg,
    rgba(38, 20, 65, 0.96),
    rgba(43, 88, 95, 0.84) 36%,
    rgba(62, 122, 119, 0.3) 48%,
    rgba(62, 122, 119, 0) 62%
  );
}
.hero-layout {
  min-height: 690px;
  display: flex;
  align-items: center;
  padding-block: 80px;
}
.hero-copy {
  max-width: 590px;
}
.hero-copy h1 {
  font-size: clamp(44px, 4.2vw, 60px);
  font-weight: 500;
  letter-spacing: -2px;
}
.hero-copy h1 em {
  font-style: normal;
  color: #fff;
}
.hero-copy .lead {
  max-width: 460px;
  font-size: 17px;
  color: #fff;
}
.hero-copy .button {
  background: #fff;
  border-color: #fff;
  color: var(--navy);
}
.hero-copy .button-outline {
  background: transparent;
  color: #fff;
}
.hero-copy .button:hover {
  background: var(--mint);
  border-color: var(--mint);
  color: var(--navy);
}
.hero-copy :focus-visible {
  outline-color: #fff;
}
/* Viewport (max-width: 1000px): component adjustments at this breakpoint. */
@media (max-width: 1000px) {
  .hero-copy {
    max-width: 500px;
  }
  .hero-backdrop img {
    object-position: 66% center;
  }
}
/* Viewport (max-width: 700px): component adjustments at this breakpoint. */
@media (max-width: 700px) {
  .hero-layout {
    min-height: 820px;
    align-items: flex-start;
    padding-top: 48px;
    padding-bottom: 320px;
  }
  .hero-copy h1 {
    font-size: 38px;
    letter-spacing: -1.5px;
  }
  .hero-copy .lead {
    font-size: 16px;
  }
  .hero-backdrop img {
    width: 100%;
    transform: none;
    object-position: 68% center;
  }
  .home-hero::after {
    background: linear-gradient(
      180deg,
      rgba(38, 20, 65, 0.96),
      rgba(43, 88, 95, 0.84) 48%,
      rgba(0, 71, 68, 0.06) 85%
    );
  }
  .hero-copy .actions {
    gap: 12px;
  }
  .hero-copy .button {
    padding: 14px 18px;
    font-size: 13px;
  }
}

/* Program and supporting editorial sections. */
/* Group: Program introduction and support cards. */
.program-intro {
  max-width: 810px;
  margin-bottom: 48px;
}
.program-intro h2 {
  max-width: 690px;
}
.program-intro p {
  max-width: 670px;
  margin-top: 22px;
  color: var(--muted);
}
.program-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.program-item {
  display: flex;
  flex-direction: column;
  padding: 18px 18px 26px;
  border: 1px solid #dfe9e6;
  border-radius: 22px;
  background: #f7faf9;
  box-shadow: 0 8px 28px #262d6008;
  transition:
    transform 200ms ease,
    box-shadow 200ms ease;
}
.program-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px #262d6012;
}
.program-item .text-link {
  align-self: flex-start;
}
.program-image {
  height: 235px;
  border-radius: 12px;
  overflow: hidden;
  background: #edf4f1;
}
.program-image > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.program-image.app-image {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #e6f2f0;
}
.program-image.app-image img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.program-number {
  font-size: 11px;
  color: var(--teal-ink);
  letter-spacing: 1px;
  margin: 25px 0 10px;
}
.program-item h3 {
  font-size: 25px;
}
.program-item p {
  font-size: 14px;
  color: var(--muted);
  margin-top: 13px;
  max-width: 350px;
}
.program-item .text-link {
  font-size: 12px;
  margin-top: 12px;
}
.path-section .split-media {
  border-radius: 12px 120px 12px 12px;
  object-position: 40% center;
}
.path-section .split {
  align-items: stretch;
}
.path-section .split-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.path-section .split-copy h2 {
  line-height: 1.16;
}
.path-section .numbered-list {
  margin-block: 24px;
}
.path-section .numbered-list li {
  padding-block: 16px;
}
.path-section .numbered-list p {
  line-height: 1.55;
}
.path-section .split-copy .actions {
  margin-top: auto;
  padding-top: 8px;
}
/* Viewport (min-width: 701px): component adjustments at this breakpoint. */
@media (min-width: 701px) {
  .path-section .split-media {
    height: 100%;
    min-height: 580px;
  }
}
/* Viewport (max-width: 700px): component adjustments at this breakpoint. */
@media (max-width: 700px) {
  .path-section .split {
    grid-template-columns: 1fr;
  }
  .path-section .split-copy .actions {
    margin-top: 0;
  }
}
.section:has(.support-comparison) .section-heading {
  align-items: flex-start;
}
/* Centered coverage introduction and continuous payer-logo strip. */
/* Group: Insurance overview and repeated logo strip. */
.coverage-band {
  display: block;
  text-align: center;
  padding: 24px 0;
}
.coverage-intro {
  max-width: 630px;
  margin: auto;
}
.coverage-intro h2 {
  font-size: clamp(32px, 3.2vw, 46px);
}
.coverage-intro p {
  color: var(--muted);
  font-size: 15px;
  margin-top: 20px;
}
.payer-carousel {
  overflow: hidden;
  margin: 40px auto 20px;
  padding: 20px 0;
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 5%,
    #000 95%,
    transparent
  );
}
.payer-track {
  display: flex;
  width: max-content;
  /* Preserve the gentle pace as the payer selection grows. */
  animation: payer-scroll 70s linear infinite;
}
.payer-group {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 48px;
  padding: 0 48px 0 0;
  margin: 0;
  list-style: none;
}
.payer-group li {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 145px;
  height: 70px;
  margin: 0;
}
.payer-group img {
  width: auto;
  height: auto;
  max-width: 140px;
  max-height: 55px;
}
.payer-carousel:hover .payer-track,
.payer-carousel:focus-within .payer-track,
.payer-carousel.is-paused .payer-track {
  animation-play-state: paused;
}
@keyframes payer-scroll {
  to {
    transform: translateX(-50%);
  }
}
.coverage-details {
  max-width: 700px;
  margin: auto;
}
.coverage-details .small {
  color: var(--muted);
  font-size: 12px;
  margin: 18px 0;
}

/* Accessibility: honor the visitor's reduced-motion preference. */
@media (prefers-reduced-motion: reduce) {
  .payer-carousel {
    overflow-x: auto;
  }
  .payer-track {
    animation: none;
  }
  .payer-group-copy {
    display: none;
  }
}

/* Numbered app tour: buttons select genuine, high-resolution store imagery. */
.page-index .app-tour .section-heading { flex-direction:column; align-items:flex-start; gap:16px; }
.page-index .app-tour .section-heading > p { max-width:none; margin:0; }
.page-index .app-tour .app-screen-viewport { aspect-ratio:473 / 1024; overflow:hidden; border-radius:33px; background:#fff; }
.page-index .app-tour .app-screen-viewport img { display:block; width:100%; height:100%; }
/* Daily screen uses the same viewport ratio as the other two screens. */
.page-index .app-tour .app-screen-viewport img[src$="app-screen-daily.webp"] { width:112%; max-width:none; height:auto; aspect-ratio:auto; object-fit:contain; object-position:center top; transform:translate(-5.357143%,-8.4%); clip-path:inset(0 0 8% 0); }
.page-index .app-tour .app-screen-viewport img:is([src$="app-monitor-official.jpg"],[src$="app-tour-monitor.webp"]) { height:107%; object-fit:fill; transform:translateY(-6.5%); }
.page-index .app-tour .phone-card-bottom { bottom:-44px; background:rgba(255,255,255,.82); }
.page-index .app-tour .app-tour-phone { margin-bottom:60px; }
.app-tour .section-heading h2 {
  max-width: 730px;
}
/* Group: App tour selections; home.js synchronizes the displayed screen. */
.app-tour-layout {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 75px;
  align-items: center;
}
.app-tour-steps {
  display: grid;
  gap: 18px;
}
.app-step {
  display: flex;
  gap: 28px;
  align-items: center;
  text-align: left;
  padding: 28px;
  border: 1px solid #ccdcd6;
  border-radius: 5px;
  background: #fff;
  color: var(--navy);
}
.app-step[aria-pressed="true"] {
  background: #dcefe5;
  border-color: #a6d2be;
}
.app-step:hover {
  border-color: var(--teal-ink);
}
.step-number {
  font-size: 56px;
  font-weight: 400;
  line-height: 1;
  color: var(--teal-ink);
}
.app-step strong {
  display: block;
  font-size: 21px;
  font-weight: 500;
  line-height: 1.35;
  margin-bottom: 10px;
}
.app-step strong + span {
  display: block;
  font-size: 14px;
  color: var(--muted);
}
.app-tour-steps > .button {
  justify-self: start;
  margin-top: 10px;
}
/* Phone frame and editorial cards surround genuine app screenshots. */
/* Group: Phone artwork, connecting line, and floating text panels. */
.app-tour-phone {
  position: relative;
  margin: 0;
  padding: 30px 0 0;
  min-width: 0;
  text-align: center;
}
.phone-flourish {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: #9ac5b8;
  pointer-events: none;
  overflow: visible;
}
.connection-thread {
  stroke: var(--teal);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
}
.device-shell {
  position: relative;
  width: 260px;
  max-width: 80%;
  margin: 0 auto;
  padding: 6px;
  background: #171b1c;
  border: 2px solid #94877b;
  border-radius: 42px;
  box-shadow: 0 18px 35px #28204122;
}
.device-shell::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 100px;
  width: 3px;
  height: 48px;
  border-radius: 2px;
  background: #766f64;
}
/* Keep one screen height when switching between differently sized app captures. */
.device-shell img {
  width: 100%;
  height: auto;
  aspect-ratio: 473 / 1024;
  object-fit: cover;
  object-position: center top;
  border-radius: 33px;
}
.phone-card {
  position: absolute;
  z-index: 1;
  padding: 19px;
  border: 1px solid #ececec;
  background: #fffffffa;
  box-shadow: 0 12px 25px #30244414;
  border-radius: 20px;
  text-align: left;
}
.phone-card strong {
  display: block;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
}
.phone-card p {
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
  margin-top: 7px;
}
.phone-card-top {
  width: 185px;
  right: -8px;
  top: 90px;
}
.phone-card-bottom {
  width: 260px;
  left: -10px;
  bottom: 70px;
}
.phone-card-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 10px;
  border-radius: 50%;
  background: #f2e7d6;
  color: #87602a;
}
.phone-card-dot {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal-ink);
  margin-bottom: 10px;
}
.app-tour-phone figcaption {
  position: relative;
  font-size: 10px;
  color: var(--muted);
  margin: 30px auto 0;
  max-width: 300px;
}
/* Viewport (max-width: 1000px): component adjustments at this breakpoint. */
@media (max-width: 1000px) {
  .app-tour-layout {
    gap: 30px;
  }
  .app-step {
    padding: 22px;
    gap: 20px;
  }
}
/* Viewport (max-width: 700px): component adjustments at this breakpoint. */
@media (max-width: 700px) {
  .app-tour-layout {
    grid-template-columns: 1fr;
  }
  .app-step {
    padding: 22px 18px;
  }
  .step-number {
    font-size: 44px;
  }
  .app-step strong {
    font-size: 19px;
  }
  .app-tour-phone {
    max-width: 400px;
    width: 100%;
    margin: auto;
  }
}
.app-logo {
  max-width: 155px;
  max-height: 70px;
  object-fit: contain;
  object-position: left;
  margin-bottom: 30px;
}
/* Group: Homepage evidence summary. */
.evidence-home {
  border-top: 1px solid var(--line);
}
.evidence-summary {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 90px;
  align-items: start;
}
.study-facts {
  border-top: 1px solid #cbd4df;
}
.study-fact {
  display: flex;
  gap: 30px;
  padding: 22px 0;
  border-bottom: 1px solid #cbd4df;
  align-items: center;
}
.study-fact strong {
  font-size: 37px;
  font-weight: 400;
  min-width: 90px;
  letter-spacing: -1.5px;
}
.study-fact p {
  font-size: 13px;
  color: var(--muted);
}
.support-comparison {
  margin-top: 35px;
  border-top: 1px solid #cbd4df;
}
.comparison-row {
  display: grid;
  align-items: start;
  grid-template-columns: 0.8fr 1fr 1fr;
  gap: 25px;
  padding: 24px 0;
  border-bottom: 1px solid #cbd4df;
}
.comparison-row h3 {
  font-size: 18px;
}
.comparison-row p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}
.comparison-row p:last-child {
  color: var(--navy);
}
/* Group: Homepage questions and answers. */
.home-faq {
  display: grid;
  grid-template-columns: 0.7fr 1fr;
  gap: 90px;
}
.home-faq .text-link {
  margin-top: 22px;
}
/* Viewport (max-width: 1000px): component adjustments at this breakpoint. */
@media (max-width: 1000px) {
  .coverage-band,
  .evidence-summary,
  .home-faq {
    gap: 45px;
  }
  .program-image {
    height: 200px;
  }
  .program-grid {
    gap: 20px;
  }
  .app-preview img {
    height: 300px;
  }
  .app-preview img + img {
    height: 260px;
  }
}
/* Viewport (max-width: 700px): component adjustments at this breakpoint. */
@media (max-width: 700px) {
  .program-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .program-image {
    height: 260px;
  }
  .program-number {
    margin-top: 20px;
  }
  .program-item p {
    max-width: none;
  }
  .program-intro {
    margin-bottom: 30px;
  }
  .coverage-band,
  .evidence-summary,
  .home-faq {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .coverage-band {
    padding: 10px 0;
  }
  .app-preview {
    min-height: 360px;
  }
  .app-preview img {
    height: 320px;
  }
  .app-preview img + img {
    height: 280px;
  }
  .comparison-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .comparison-row p:last-child::before {
    content: "With Prosoma Health: ";
    font-weight: 500;
  }
  .payer-names {
    font-size: 19px;
  }
  .home-faq {
    gap: 35px;
  }
}

/* Research in context, paired with a warm family photograph. */
.support-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: 24px;
  overflow: hidden;
  background: #063b40;
  color: #fff;
}
.support-feature-copy {
  padding: 54px 48px;
}
.support-feature h2 {
  font-size: clamp(32px, 3vw, 44px);
}
.support-feature-intro {
  margin-top: 23px;
  font-size: 14px;
  color: #e1eeeb;
}
.support-stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px 20px;
  margin-block: 32px;
}
.support-stat-grid > div {
  border-left: 0;
  padding-left: 16px;
}
.support-stat-grid strong {
  font-size: 30px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -1px;
}
.support-stat-grid p {
  font-size: 12px;
  line-height: 1.6;
  margin-top: 7px;
  color: #e1eeeb;
}
.support-study-note {
  font-size: 11px;
  line-height: 1.7;
  color: #d6e7e4;
}
.support-feature .button {
  color: #fff;
  border-color: #fff;
  margin-top: 24px;
  font-size: 12px;
}
.support-feature .button:hover {
  background: #fff;
  color: var(--navy);
}
.support-feature-photo {
  min-width: 0;
}
.support-feature-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
/* Viewport (max-width: 1000px): component adjustments at this breakpoint. */
@media (max-width: 1000px) {
  .support-feature-copy {
    padding: 38px 28px;
  }
  .app-tour-layout {
    grid-template-columns: 1fr 1fr;
  }
  .phone-card-top {
    width: 150px;
    right: -8px;
    padding: 14px;
  }
  .phone-card-bottom {
    width: 210px;
    left: 0;
    padding: 14px;
  }
}
/* Viewport (max-width: 700px): component adjustments at this breakpoint. */
@media (max-width: 700px) {
  .hero-layout {
    min-height: 870px;
  }
  .support-feature {
    grid-template-columns: 1fr;
  }
  .support-feature-copy {
    padding: 34px 24px;
  }
  .support-stat-grid {
    gap: 26px 16px;
  }
  .support-stat-grid strong {
    font-size: 25px;
  }
  .support-feature-photo {
    height: 350px;
  }
  .support-feature-photo img {
    object-position: center 42%;
  }
  .app-tour-layout {
    grid-template-columns: 1fr;
  }
  .app-tour-phone {
    padding-top: 26px;
    padding-bottom: 0;
  }
  .device-shell {
    width: 240px;
    max-width: 85%;
  }
  .phone-card-top {
    width: 140px;
    right: -9px;
    top: 90px;
  }
  .phone-card-bottom {
    width: 200px;
    bottom: 70px;
    left: -8px;
  }
  .phone-card strong {
    font-size: 13px;
  }
  .phone-card p {
    font-size: 11px;
  }
}

/* Benefits and carousel controls sit inside the hero at the lower right. */
.hero-layout {
  position: relative;
  min-height: 790px;
  padding-bottom: 190px;
}
.hero-backdrop img[data-scene="personal"] {
  width: 100%;
  transform: none;
  object-position: center;
}
.hero-dock {
  position: absolute;
  right: 0;
  bottom: 25px;
  width: min(640px, 54%);
}
.hero-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 20px;
  gap: 18px;
  border: 1px solid #ffffff40;
  border-radius: 16px;
  background: rgba(25, 38, 47, 0.85);
  backdrop-filter: blur(8px);
}
.hero-benefits article + article {
  border-left: 0;
  padding-left: 18px;
}
.hero-benefits h2 {
  font-size: 14px;
  letter-spacing: -0.2px;
  line-height: 1.4;
  color: #fff;
}
.hero-benefits p {
  font-size: 11px;
  line-height: 1.6;
  color: #f0f2f3;
  margin-top: 7px;
}
.hero-controls {
  display: flex;
  gap: 5px;
  align-items: center;
  justify-content: flex-end;
  margin-top: 12px;
}
.hero-controls button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #ffffff80;
  border-radius: 50%;
  background: rgba(26, 24, 42, 0.72);
  color: #fff;
  font-size: 26px;
  line-height: 1;
}
.hero-controls button:hover {
  background: #262d60;
  border-color: #fff;
}
.hero-controls button:focus-visible {
  outline-color: #fff;
}
.hero-dots {
  display: flex;
}
.hero-dots button {
  background: transparent;
  border: 0;
  width: 34px;
}
.hero-dots span {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffffff80;
  border: 1px solid #fff;
}
.hero-dots [aria-pressed="true"] span {
  width: 20px;
  border-radius: 8px;
  background: #fff;
}
#hero-playback {
  font-size: 15px;
  margin-left: 6px;
}
/* Viewport (max-width: 1000px): component adjustments at this breakpoint. */
@media (max-width: 1000px) {
  .hero-dock {
    width: 65%;
  }
}
/* Viewport (max-width: 700px): component adjustments at this breakpoint. */
@media (max-width: 700px) {
  .hero-layout {
    min-height: 1040px;
    display: block;
    padding-top: 48px;
    padding-bottom: 320px;
  }
  .hero-dock {
    width: 100%;
    bottom: 24px;
  }
  .hero-benefits {
    padding: 17px;
    gap: 13px;
    grid-template-columns: 1fr;
  }
  .hero-benefits article + article {
    border-left: 0;
    border-top: 1px solid #ffffff40;
    padding: 12px 0 0;
  }
  .hero-benefits h2 {
    font-size: 14px;
  }
  .hero-benefits p {
    margin-top: 4px;
    font-size: 11px;
  }
  .hero-backdrop img[data-scene="personal"] {
    object-position: 62% center;
  }
}

/* Account for the sticky header so the complete hero fits the first screen. */
.home-hero {
  --hero-header-height: 97px;
}
.hero-layout {
  height: calc(100svh - var(--hero-header-height));
  min-height: 540px;
  padding-block: 30px 165px;
}
.hero-dock {
  bottom: 30px;
}
.hero-backdrop img {
  object-position: center 25%;
}
.hero-backdrop img[data-scene="personal"] {
  object-position: center 25%;
}
/* Viewport (min-width: 951px) and (max-height: 800px): component adjustments at this breakpoint. */
@media (min-width: 951px) and (max-height: 800px) {
  .hero-copy h1 {
    font-size: clamp(40px, 4vw, 52px);
  }
  .hero-copy .lead {
    font-size: 15px;
    line-height: 1.65;
    margin-top: 20px;
  }
  .hero-copy .actions {
    margin-top: 24px;
  }
  .hero-layout {
    padding-block: 24px 100px;
    min-height: 480px;
  }
  .hero-benefits {
    padding: 16px;
  }
  .hero-dock {
    bottom: 22px;
  }
}
/* Viewport (max-width: 950px): component adjustments at this breakpoint. */
@media (max-width: 950px) {
  .home-hero {
    --hero-header-height: 81px;
  }
  .hero-layout {
    align-items: flex-start;
    padding-top: 24px;
  }
  .hero-copy h1 {
    font-size: 42px;
  }
  .hero-dock {
    width: 100%;
    bottom: 22px;
  }
}
/* Viewport (max-width: 700px): component adjustments at this breakpoint. */
@media (max-width: 700px) {
  .hero-layout {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: auto;
    min-height: calc(100svh - var(--hero-header-height));
    padding-block: 22px 18px;
    gap: 22px;
  }
  .hero-copy h1 {
    font-size: 32px;
    letter-spacing: -1px;
  }
  .hero-copy .lead {
    font-size: 14px;
    line-height: 1.6;
    margin-top: 16px;
  }
  .hero-copy .actions {
    margin-top: 20px;
    gap: 8px;
  }
  .hero-copy .button {
    font-size: 11px;
    padding: 12px;
    min-height: 44px;
  }
  .hero-dock {
    position: relative;
    bottom: auto;
    width: 100%;
  }
  .hero-benefits {
    padding: 14px;
    gap: 9px;
  }
  .hero-benefits article {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 12px;
    align-items: center;
  }
  .hero-benefits article + article {
    padding-top: 9px;
  }
  .hero-benefits h2 {
    font-size: 12px;
  }
  .hero-benefits p {
    margin-top: 0;
    font-size: 10px;
  }
  .hero-controls {
    margin-top: 8px;
  }
  .hero-backdrop img[data-scene="personal"] {
    object-position: 62% 25%;
  }
}
/* Viewport (min-width: 951px) and (max-width: 1150px): component adjustments at this breakpoint. */
@media (min-width: 951px) and (max-width: 1150px) {
  .hero-copy {
    max-width: 44%;
  }
  .hero-copy h1 {
    font-size: 40px;
  }
}
/* Viewport (max-width: 350px): component adjustments at this breakpoint. */
@media (max-width: 350px) {
  .hero-layout {
    padding-top: 18px;
    gap: 16px;
  }
  .hero-copy h1 {
    font-size: 29px;
  }
  .hero-copy .lead {
    font-size: 13px;
    line-height: 1.55;
    margin-top: 12px;
  }
  .hero-copy .actions {
    margin-top: 16px;
  }
  .hero-benefits {
    padding: 11px;
  }
}

/* Restore the benefits as a separate, full-width strip below the photographs. */
.hero-benefit-bar {
  background: var(--beige);
  padding: 26px 0;
}
.hero-benefit-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.hero-benefit-row article {
  display: flex;
  align-items: center;
  gap: 16px;
}
.hero-benefit-row article + article {
  border-left: 0;
  padding-left: 30px;
}
.hero-benefit-row article > span {
  color: var(--teal-ink);
  font-size: 30px;
  flex-shrink: 0;
}
.hero-benefit-row h2 {
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: -0.3px;
}
.hero-benefit-row p {
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
  margin-top: 5px;
}
.hero-layout {
  height: calc(
    100svh - var(--hero-header-height) - var(--hero-benefits-height, 124px)
  );
  min-height: 450px;
  padding-block: 24px 80px;
}
.hero-copy h1 {
  font-size: clamp(38px, 3.7vw, 52px);
}
.hero-dock {
  width: auto;
}
/* Viewport (max-width: 950px): component adjustments at this breakpoint. */
@media (max-width: 950px) {
  .hero-benefit-row {
    gap: 16px;
  }
  .hero-benefit-row article {
    gap: 10px;
  }
  .hero-benefit-row article + article {
    padding-left: 16px;
  }
}
/* Viewport (max-width: 700px): component adjustments at this breakpoint. */
@media (max-width: 700px) {
  .hero-benefit-bar {
    padding-block: 20px;
  }
  .hero-benefit-row {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .hero-benefit-row article + article {
    border-left: 0;
    border-top: 1px solid #dcd7d0;
    padding: 15px 0 0;
  }
  .hero-benefit-row h2 {
    font-size: 14px;
  }
  .hero-benefit-row p {
    font-size: 11px;
  }
  .hero-layout {
    height: auto;
    min-height: calc(
      100svh - var(--hero-header-height) - var(--hero-benefits-height, 250px)
    );
    padding-block: 22px 16px;
    gap: 20px;
  }
  .hero-copy h1 {
    font-size: 32px;
  }
  .hero-dock {
    width: 100%;
  }
}

/* Compact, unfilled hero controls keep the photograph visible. */
.hero-controls button {
  width: 36px;
  height: 36px;
  background: transparent;
  font-size: 23px;
  border-color: #ffffffa6;
}
.hero-controls button:hover {
  background: transparent;
  border-color: white;
  box-shadow: 0 0 0 1px white;
}
.hero-dots button {
  width: 28px;
  border: 0;
}
#hero-playback {
  font-size: 12px;
}
.hero-backdrop img[data-scene="women"] {
  width: 100%;
  transform: none;
  object-position: 72% 28%;
}

/* Slide indicators stay unframed on hover; keyboard focus remains visible. */
.hero-dots button:hover {
  background: transparent;
  border: 0;
  box-shadow: none;
}
.hero-dots button:focus:not(:focus-visible) {
  outline: none;
}
.hero-dots button:focus-visible {
  outline: 2px solid white;
  outline-offset: -5px;
  border-radius: 4px;
}

/* Fixed-size vector icons stay proportional when benefit descriptions wrap. */
.hero-benefit-row article > span {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  line-height: 1;
}
.hero-benefit-row svg {
  width: 30px;
  height: 30px;
  flex: none;
}
/* Viewport (max-width: 700px): component adjustments at this breakpoint. */
@media (max-width: 700px) {
  .home-hero::after {
    background: linear-gradient(
      180deg,
      rgba(38, 20, 65, 0.72),
      rgba(43, 88, 95, 0.48) 48%,
      rgba(0, 71, 68, 0.02) 85%
    );
  }
  .hero-copy h1,
  .hero-copy .lead {
    text-shadow: 0 1px 4px #10124380;
  }
  .hero-dock {
    display: none;
  }
}

/* Tablet panels need room for readable copy and uncropped product screens. */
/* Viewport (min-width: 701px) and (max-width: 900px): component adjustments at this breakpoint. */
@media (min-width: 701px) and (max-width: 900px) {
  .app-tour-layout,
  .support-feature {
    grid-template-columns: 1fr;
  }
  .app-tour-phone {
    width: 100%;
    max-width: 440px;
    margin-inline: auto;
  }
  .support-feature-photo {
    height: 380px;
  }
}
/* Preserve the desktop floating-card composition at a mobile-friendly scale. */
/* Viewport (max-width: 700px): component adjustments at this breakpoint. */
@media (max-width: 700px) {
  .app-tour-phone {
    display: block;
    padding-top: 26px;
    max-width: 400px;
  }
  .device-shell {
    width: 240px;
    max-width: 78%;
  }
  .phone-card {
    position: absolute;
    padding: 12px;
    border-radius: 14px;
  }
  .phone-card-top {
    width: 44%;
    max-width: 150px;
    right: 0;
    top: 90px;
  }
  .phone-card-bottom {
    width: 62%;
    max-width: 210px;
    left: 0;
    bottom: 76px;
  }
  .phone-card strong {
    font-size: 12px;
  }
  .phone-card p {
    font-size: 11px;
  }
  .phone-flourish {
    display: block;
    overflow: visible;
  }
  .app-tour-phone figcaption {
    margin-top: 30px;
  }
  .program-image {
    height: auto;
    aspect-ratio: 4 / 3;
  }
  .app-step {
    gap: 14px;
    padding: 20px 16px;
  }
  .step-number {
    flex-shrink: 0;
    font-size: 36px;
  }
}
/* Viewport (max-width: 380px): component adjustments at this breakpoint. */
@media (max-width: 380px) {
  .support-stat-grid {
    grid-template-columns: 1fr;
  }
  .hero-copy h1 {
    font-size: 29px;
  }
}
/* Mobile carousel: centered copy, swipe navigation, and three quiet indicators. */
/* Viewport (max-width: 700px): component adjustments at this breakpoint. */
@media (max-width: 700px) {
  .home-hero {
    touch-action: pan-y pinch-zoom;
  }
  .hero-layout {
    justify-content: center;
    min-height: max(
      520px,
      calc(
        100svh - var(--hero-header-height) - var(--hero-benefits-height, 250px)
      )
    );
    padding-block: 64px;
  }
  .hero-dock {
    display: block;
    position: absolute;
    bottom: 14px;
    right: 0;
    width: 100%;
  }
  .hero-controls {
    justify-content: center;
    margin-top: 0;
  }
  .hero-controls > button {
    display: none;
  }
  .hero-dots button {
    width: 36px;
    height: 36px;
  }
  .hero-dots span,
  .hero-dots [aria-pressed="true"] span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
  }
}

/* September homepage: a fixed message over gentle ambient photography. */
/* Group: Current homepage hero: ambient image, fixed copy, and proof strip. */
.care-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #293e43;
  color: white;
}
.care-hero-image {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}
.care-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% 48%;
  transform-origin: 70% 45%;
  animation: hero-ambient-zoom 22s linear infinite alternate;
}
.care-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(
      90deg,
      rgba(29, 25, 78, 0.92),
      rgba(46, 36, 89, 0.66) 35%,
      rgba(41, 34, 80, 0.05) 66%,
      rgba(30, 26, 75, 0.23) 100%
    ),
    linear-gradient(0deg, rgba(25, 24, 67, 0.86), transparent 48%);
}
.care-hero-inner {
  min-height: calc(100svh - 97px);
  padding-top: 0;
  padding-bottom: clamp(24px, 4svh, 40px);
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 0;
  position: relative;
}
/* Center the copy in the space above the support strip, with equal breathing room. */
.care-hero-copy {
  max-width: 620px;
  align-self: center;
  padding-block: clamp(24px, 5svh, 60px);
}
.care-hero h1 {
  font-size: clamp(40px, 4.4vw, 66px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.1;
  color: #fff;
}
.care-hero-copy > p {
  max-width: 490px;
  font-size: 17px;
  line-height: 1.75;
  margin: 24px 0;
}
.care-hero .button {
  background: #def0e5;
  color: #1b4540;
  border-color: #def0e5;
}
.care-hero .button-outline {
  background: transparent;
  border-color: #fff9;
  color: #fff;
}
.care-hero .hero-brand-note {
  font-size: 11px;
  color: #edf1ee;
  margin-top: 20px;
}
.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  border-top: 1px solid #ffffff50;
  padding-top: 28px;
}
.hero-proof > div {
  display: grid;
  /* Each benefit is a simple heading and description, without a number gutter. */
  grid-template-columns: minmax(0, 1fr);
  gap: 4px;
}
.hero-proof strong {
  font-size: 16px;
  font-weight: 500;
}
.hero-proof p {
  font-size: 12px;
  color: #edf3ee;
  margin: 0;
  max-width: 290px;
}
.ambient-toggle {
  position: absolute;
  right: 0;
  bottom: 13px;
  padding: 4px 0;
  border: 0;
  background: none;
  color: #fff;
  font-size: 10px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.hero-image-note {
  position: absolute;
  left: 0;
  bottom: 16px;
  font-size: 9px;
  color: #e4e8e7;
}
.motion-paused .care-hero-image img {
  animation-play-state: paused;
}
@keyframes room-drift {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.07) translateX(-1%);
  }
}
/* Group: Getting-started cards. */
.journey-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}
.journey-grid article {
  position: relative;
}
.journey-number {
  position: absolute;
  top: 16px;
  left: 18px;
  z-index: 1;
  font-size: 15px;
}
.journey-art {
  height: 260px;
  overflow: hidden;
  position: relative;
  border-radius: 20px;
  margin-bottom: 26px;
  background: #e0eee6;
}
.journey-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
}
/* Both care-plan photos use the same crop as the other journey images. */
.care-plan-art img { object-position: center 35%; }
/* Crisp CSS appointment illustration, sized to the same frame as journey photos.
 * Dates are illustrative, not interactive availability or a confirmed booking. */
.appointment-art {
  display: grid;
  place-items: center;
  padding: 18px;
  background: linear-gradient(115deg, #d0f2eb 0%, #dce8f5 55%, #deddfb 100%);
}
.appointment-preview {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  gap: 10px;
  padding: 16px 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .48);
  color: var(--navy);
}
.appointment-title { font-size: 16px; font-weight: 500; }
.appointment-time {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border: 1px solid #c4dcd2;
  border-radius: 30px;
  background: #edf5ef;
  color: #286b60;
  font-size: 16px;
  line-height: 1.3;
}
.appointment-time svg { width: 16px; height: 16px; }
.appointment-week {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 3px;
  text-align: center;
  font-size: 12px;
  line-height: 1.3;
}
.appointment-week span { display: grid; justify-items: center; gap: 8px; }
.appointment-week b {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 15px;
  font-weight: 500;
}
.appointment-week .selected-day b { background: #cce8f5; color: #202653; }
.appointment-caption { font-size: 11px; color: #526477; text-align: center; }
@media (min-width: 601px) and (max-width: 900px) {
  .appointment-art { padding: 12px; }
  .appointment-preview { padding: 10px; gap: 6px; }
}
.journey-art > span {
  position: absolute;
  bottom: 20px;
  left: 18px;
  right: 18px;
  padding: 11px;
  text-align: center;
  border-radius: 8px;
  background: #fffffff2;
  font-size: 12px;
}
.tool-art {
  background: #eee8f1;
}
.tool-art img {
  width: 140px;
  height: auto;
  margin: 35px auto 0;
  box-shadow: 0 5px 20px #38344525;
  border: 5px solid #fff;
  border-radius: 20px;
}
.journey-grid h3 {
  font-size: 23px;
}
.journey-grid p {
  font-size: 14px;
  margin-top: 12px;
}
/* Group: Navigator, coach, and app features. */
.included-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}
.included-grid article + article {
  border-left: 0;
  padding-left: 35px;
}
.included-grid h3 {
  font-size: 23px;
}
.included-grid p {
  font-size: 14px;
  margin-top: 14px;
}
.line-icon {
  display: block;
  font-size: 40px;
  height: 68px;
  color: #337e70;
  line-height: 1;
}
/* Group: How support complements the oncology team. */
.care-comparison {
  display: grid;
  grid-template-columns: 1fr 70px 1fr;
  align-items: center;
}
.care-comparison > div {
  background: #f3f6f5;
  border-radius: 18px;
  padding: 35px;
  height: 100%;
}
.care-comparison > div:last-child {
  background: #e9e5f0;
}
.care-comparison > span {
  text-align: center;
  font-size: 34px;
  color: #438174;
}
.care-comparison h3 {
  margin-bottom: 15px;
}
/* Group: Closing contact actions. */
.start-panel {
  display: flex;
  gap: 60px;
  align-items: center;
  justify-content: space-between;
}
.start-panel > div:first-child {
  max-width: 610px;
}
.start-panel .actions {
  flex-shrink: 0;
  flex-direction: column;
  /* Stretch stacked buttons to the width of the longer label. */
  align-items: stretch;
}
.section-navy .button {
  background: #def0e5;
  color: #19443d;
  border-color: #def0e5;
}
.section-navy .button-outline {
  color: #fff;
  background: transparent;
}
/* Viewport (max-width: 900px): component adjustments at this breakpoint. */
@media (max-width: 900px) {
  .care-hero-inner {
    min-height: calc(100svh - 97px);
  }
  .care-hero-copy {
    max-width: 530px;
  }
  .care-hero h1 {
    font-size: 52px;
  }
  .hero-proof {
    gap: 20px;
  }
  .journey-grid {
    gap: 20px;
  }
  .journey-art {
    height: 220px;
  }
  .journey-grid h3 {
    font-size: 20px;
  }
  .included-grid {
    gap: 25px;
  }
  .included-grid article + article {
    padding-left: 24px;
  }
  .start-panel {
    flex-direction: column;
    align-items: flex-start;
    gap: 25px;
  }
  .start-panel .actions {
    flex-direction: row;
  }
}
/* Viewport (max-width: 600px): component adjustments at this breakpoint. */
@media (max-width: 600px) {
  /* A shorter photo area keeps both faces in the narrow mobile crop. */
  .care-hero-image {
    height: 580px;
    bottom: auto;
  }
  .care-hero-image img {
    object-position: 88% top;
  }
  .care-hero {
    background: #181740;
  }
  .care-hero::after {
    background:
      linear-gradient(90deg, rgba(30, 25, 75, 0.68), rgba(42, 33, 83, 0.2)),
      linear-gradient(
        180deg,
        rgba(35, 28, 78, 0.2) 0,
        rgba(24, 23, 64, 0.3) 300px,
        #181740 580px
      );
  }
  .care-hero-inner {
    min-height: calc(100svh - 81px);
    padding-top: 0;
    gap: 0;
    padding-bottom: 24px;
  }
  .care-hero h1 {
    font-size: clamp(35px, 9.5vw, 49px);
  }
  .care-hero-copy > p {
    font-size: 15px;
    max-width: 350px;
  }
  .care-hero .actions {
    gap: 10px;
  }
  .care-hero .button {
    font-size: 12px;
    padding: 13px 15px;
  }
  .hero-proof {
    grid-template-columns: 1fr;
    padding-top: 22px;
    gap: 18px;
  }
  .hero-proof strong {
    font-size: 15px;
  }
  .hero-proof p {
    font-size: 12px;
    max-width: none;
  }
  .hero-image-note {
    bottom: 37px;
  }
  .ambient-toggle {
    left: 0;
    right: auto;
  }
  .journey-grid,
  .included-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .journey-art {
    height: 290px;
  }
  .journey-art img {
    object-position: center 28%;
  }
  .tool-art img {
    width: 150px;
  }
  .included-grid article + article {
    padding: 25px 0 0;
    border-left: none;
    border-top: 1px solid #cbdcd3;
  }
  .care-comparison {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .care-comparison > div {
    padding: 25px;
  }
  .start-panel .actions {
    flex-direction: column;
    width: 100%;
  }
  /* Give both stacked mobile calls to action the same full width. */
  .start-panel .actions .button {
    width: 100%;
  }
}

/* Compact spacing keeps the full support strip visible on shorter screens.
   Content can still grow naturally when visitors enlarge their text. */
/* Viewport (max-height: 760px): component adjustments at this breakpoint. */
@media (max-height: 760px) {
  .care-hero-copy {
    padding-block: 24px;
  }
  .care-hero h1 {
    font-size: clamp(32px, 4vw, 52px);
  }
  .care-hero-copy > p {
    margin: 18px 0;
    line-height: 1.55;
  }
  .hero-proof {
    padding-top: 18px;
    gap: 14px;
  }
}
/* Viewport (max-width: 600px) and (max-height: 760px): component adjustments at this breakpoint. */
@media (max-width: 600px) and (max-height: 760px) {
  .care-hero h1 {
    font-size: 32px;
  }
  .care-hero-copy > p {
    font-size: 14px;
  }
  .hero-proof strong {
    font-size: 14px;
  }
  .hero-proof p {
    line-height: 1.4;
  }
}

#insurance .coverage-band {
  padding-bottom: 0;
}

/* Keep the conversation subject visible in both landscape and mobile cards. */
.navigator-art img {
  object-position: 65% center;
}

/* Product standards use a quiet band above the footer, with clear regional scope. */
/* Group: Product and privacy credibility strip. */
.credentials-strip {
  padding-block: 30px 22px;
  background: #e7f3fc;
}
.trust-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.credential-item {
  padding: 0 24px;
  border-left: 0;
}
.credential-item:first-child {
  padding-left: 0;
  border-left: 0;
}
.credential-item:last-child {
  padding-right: 0;
}
.credential-item svg {
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  color: #292c63;
}
.credential-item h2 {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0;
  margin: 0 0 8px;
}
.credential-item p {
  font-size: 13px;
  line-height: 1.7;
  margin: 0;
}
.credentials-context {
  font-size: 11px;
  line-height: 1.7;
  margin-top: 22px;
  color: #526477;
}
.credentials-context a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
/* Viewport (max-width: 900px): component adjustments at this breakpoint. */
@media (max-width: 900px) {
  .trust-strip-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 0;
  }
  .credential-item:nth-child(3) {
    border-left: 0;
    padding-left: 0;
  }
}
/* Viewport (max-width: 480px): component adjustments at this breakpoint. */
@media (max-width: 480px) {
  .trust-strip-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .credential-item,
  .credential-item:nth-child(3) {
    padding: 20px 0 0;
    border-left: 0;
    border-top: 1px solid #bad7dc;
  }
  .credential-item:first-child {
    padding-top: 0;
    border-top: 0;
  }
  .credential-item svg {
    margin-bottom: 10px;
  }
}

/* Original Prosoma standards artwork; HIPAA is a text label, not a seal. */
.credential-logo {
  width: auto;
  max-width: 100px;
  height: 48px;
  object-fit: contain;
  object-position: left center;
  margin-bottom: 16px;
}
.hipaa-wordmark {
  display: flex;
  align-items: center;
  height: 48px;
  margin-bottom: 16px;
  font-size: 25px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #292c63;
}

/* A small, slow zoom reverses smoothly so the photograph never snaps back. */
@keyframes hero-ambient-zoom {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.1);
  }
}
/* Accessibility: honor the visitor's reduced-motion preference. */
@media (prefers-reduced-motion: reduce) {
  .care-hero-image img {
    animation: none;
    transform: none;
  }
}

/* Patient and clinician stories follow Jamie, with each video's native shape. */
#people .stories-pair { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: start; gap: 32px; }
#people .story-video { padding: 18px; border-radius: 26px; background: #fff; box-shadow: 0 8px 28px #282b610a; }
#people .story-video video { border-radius: 18px; background: #282b61; }
#people .portrait-video { width: 100%; max-width: 350px; justify-self: center; }
#people .portrait-video video { aspect-ratio: 9 / 16; object-fit: contain; }
#people .story-video figcaption { padding: 20px 6px 6px; gap: 8px; font-size: 14px; line-height: 1.5; }
#people .story-video figcaption strong { font-size: 22px; font-weight: 600; }
#people .story-video figcaption a { margin-top: 6px; color: #282b61; text-underline-offset: 4px; }
@media (max-width: 700px) { #people .stories-pair { grid-template-columns: 1fr; gap: 24px; } #people .story-video { padding: 12px; } }
.home-cost-detail { background: #f2f6fb; }
.home-cost-options { display: grid; gap: 16px; margin-top: 32px; }
.home-cost-options details { border-radius: 20px; background: #fff; overflow: hidden; }
.home-cost-options summary { cursor: pointer; padding: 24px 28px; font-size: 24px; font-weight: 600; color: var(--navy); }
.home-cost-options summary::marker { color: #365c9b; }
.home-cost-content { padding: 0 28px 28px; }
.home-cost-content > p { max-width: 800px; margin-bottom: 24px; }
.home-cost-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.home-cost-grid article { padding: 24px; border-radius: 16px; background: #f1f5fb; }
.home-cost-grid article:nth-child(2) { background: #eeedf9; }
.home-cost-grid article:nth-child(3) { background: #eaf5f2; }
.home-cost-grid h3 { font-size: 22px; margin-bottom: 20px; }
.home-cost-grid p { margin-top: 16px; }
.home-cost-grid dl { margin: 0; }
.home-cost-grid dl > div { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.home-cost-grid dd { margin: 0; font-weight: 700; white-space: nowrap; }
.home-cost-price { display: block; font-size: clamp(30px, 3vw, 42px); line-height: 1.2; letter-spacing: -1px; }
.home-cost-price small { font-size: 15px; font-weight: 400; letter-spacing: 0; }
.home-cost-grid .button { margin-top: 24px; }
.home-cost-footer { display: flex; align-items: center; justify-content: space-between; gap: 32px; margin-top: 24px; }
.home-cost-footer p { max-width: 740px; }
.home-cost-footer .button { flex-shrink: 0; }
@media (max-width: 900px) { .home-cost-grid { grid-template-columns: 1fr; } .home-cost-footer { flex-direction: column; align-items: flex-start; } }
@media (max-width: 600px) { .home-cost-options summary { padding: 20px; font-size: 21px; } .home-cost-content { padding: 0 16px 16px; } .home-cost-grid article { padding: 20px; } }

/* Additional journey steps wrap without squeezing text or imagery. */
.journey-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.journey-grid > article { grid-column: span 2; }
/* Center the last pair in the five-step journey without stretching their photos. */
.journey-grid > article:nth-child(4) { grid-column: 2 / span 2; }
.journey-icon { display: grid; place-items: center; padding-bottom: 70px; color: var(--teal-ink); }
.journey-icon svg { width: 88px; height: 88px; }
.included-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.included-grid .line-icon svg { width: 40px; height: 40px; }
.start-panel .actions { justify-content: flex-start; margin-top: 28px; }
.start-navigator { width: 200px; aspect-ratio: 1; object-fit: cover; border-radius: 50%; justify-self: end; }
#start.section-navy { background: #262d60; border-radius: 24px; }
#start .start-panel { gap: 48px; }
#start .start-panel > div:first-child { flex: 1; }
#start .start-panel .actions { max-width: 440px; }
#start .button:not(.button-outline) { background: #e5efff; color: #193b70; border-color: #e5efff; }
#start .button-outline { border-color: #ceddf4; color: #fff; }
.start-photo-group { position: relative; flex: 0 0 38%; height: 290px; max-width: 440px; }
.start-excel-photos { display: block; width: 100%; height: 100%; overflow: visible; }
.start-photo-group img { position: absolute; display: block; object-fit: cover; border: 5px solid #fff; border-radius: 32px; box-shadow: 0 12px 30px #102c5433; }
.start-photo-couple { width: 80%; height: 210px; right: 0; bottom: 0; object-position: center; }
.start-photo-navigator { width: 39%; height: 215px; left: 0; top: 0; object-position: 43% center; }
@media (max-width: 900px) {
  #start .start-panel { flex-direction: column; align-items: stretch; gap: 32px; }
  .start-photo-group { flex: auto; width: 100%; align-self: center; }
}
@media (max-width: 480px) {
  .start-photo-group { height: 230px; }
  .start-photo-couple { height: 170px; }
  .start-photo-navigator { height: 175px; }
  .start-photo-group img { border-radius: 24px; border-width: 4px; }
}
.care-comparison > span { font-size: 54px; }
.home-faq > div > .button { margin-top: 24px; }
@media (max-width: 700px) {
  .included-grid { grid-template-columns: 1fr; }
  .start-navigator { width: 140px; justify-self: start; }
}

/* Homepage rhythm: remove old divider gutters and align the feature cards. */
.included-grid article,
.included-grid article + article {
  padding: 28px;
  border-radius: 18px;
  background: #fff;
}
.included-grid {
  gap: 24px;
  align-items: stretch;
}
.included-grid .line-icon,
.included-grid .living-well-lockup {
  height: 54px;
  margin: 0 0 20px;
}
.included-grid .living-well-lockup { object-position: left center; }
.hero-proof > div { align-content: start; }
.hero-proof strong { display: block; margin-bottom: 8px; }
.trusted-logos { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.start-panel .actions { flex-direction: row; flex-wrap: wrap; }
.start-panel .actions .button { flex: 1; }
.start-panel > div:first-child > p { margin-top: 20px; }
@media (max-width: 900px) {
  .journey-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
  .journey-grid > article,
  .journey-grid > article:nth-child(4) { grid-column: auto; }
  .journey-grid > article:last-child { grid-column: 1 / -1; max-width: calc(50% - 12px); justify-self: center; }
  .trusted-logos { display: flex; justify-content: center; flex-wrap: wrap; }
  .trusted-logos img { width: min(26%, 160px); }
}
@media (max-width: 600px) {
  .journey-grid { grid-template-columns: 1fr; }
  .journey-grid > article:last-child { grid-column: auto; max-width: none; justify-self: stretch; }
  .included-grid article,
  .included-grid article + article { padding: 24px; }
  .start-panel .actions { flex-direction: column; }
}
/* Scrollable testimonial cards; full, uncropped playback in a dialog. */
#people .testimonial-controls { display:flex; justify-content:flex-end; gap:12px; margin:20px 0; }
#people .testimonial-controls button { width:48px; height:48px; border:1px solid #282b61; border-radius:50%; color:#282b61; background:white; cursor:pointer; font-size:24px; }
.testimonial-scroll { display:flex; gap:24px; overflow-x:auto; scroll-snap-type:x mandatory; scrollbar-width:thin; scrollbar-color:#7b83b3 #e9edf5; padding:0 0 20px; }
.testimonial-card { flex:0 0 calc((100% - 48px)/3); min-width:0; scroll-snap-align:start; padding:14px; border-radius:28px; background:#eef1fa; }
.testimonial-play { display:block; position:relative; width:100%; border:0; padding:0; border-radius:22px; overflow:hidden; cursor:pointer; background:#282b61; }
.testimonial-play img { display:block; width:100%; aspect-ratio:4/5; object-fit:cover; }
.testimonial-card:last-child .testimonial-play img { object-position:20% center; }
.testimonial-play-label { position:absolute; bottom:16px; left:16px; padding:12px 20px; border-radius:30px; background:#282b61; color:white; font-size:18px; font-weight:600; }
.testimonial-caption { padding:20px 8px 12px; }
.testimonial-caption h3 { font-size:20px; margin-bottom:8px; }
.testimonial-caption p { font-size:15px; line-height:1.5; margin-bottom:16px; }
.testimonial-caption a { font-size:14px; text-underline-offset:4px; }
.testimonial-dialog { width:min(1100px,94vw); max-width:94vw; max-height:92vh; margin:auto; padding:20px; border:0; border-radius:20px; background:#fff; color:#282b61; }
.testimonial-dialog::backdrop { background:#10152bd9; }
.testimonial-dialog-bar { display:flex; align-items:center; justify-content:space-between; gap:20px; padding-bottom:14px; }
.testimonial-close { width:44px; height:44px; border:0; border-radius:50%; cursor:pointer; font-size:22px; background:#eef1fa; color:#282b61; }
.testimonial-dialog video { display:block; width:100%; height:min(70vh,650px); object-fit:contain; background:#10152b; }
.testimonial-play:focus-visible,.testimonial-controls button:focus-visible,.testimonial-scroll:focus-visible { outline:3px solid #4277b9; outline-offset:3px; }
@media(max-width:900px) { .testimonial-card { flex-basis:calc((100% - 24px)/2); } }
@media(max-width:600px) { .testimonial-card { flex-basis:86%; padding:10px; } .testimonial-dialog { padding:12px; } .testimonial-dialog video { height:60vh; } }
/* Outcomes use the spreadsheet's four-card layout with separate study context. */
.home-outcome-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:20px; margin-top:36px; }
.home-outcome-card { padding:28px 24px; border-radius:26px; background:#f1eee8; color:#282b61; display:flex; flex-direction:column; text-align:center; }
.home-outcome-card h3 { font-size:22px; line-height:1.3; }
.home-outcome-number { display:block; font-size:clamp(56px,5.4vw,82px); line-height:1.1; font-weight:750; letter-spacing:-3px; margin:40px 0 28px; }
.home-outcome-number span { font-size:.7em; letter-spacing:-2px; }
.home-outcome-card p { font-size:16px; line-height:1.6; }
.home-outcome-card small { display:block; margin-top:20px; font-size:12px; line-height:1.5; }
.home-wiley-card { text-align:left; background:#eaf0fa; }
.home-wiley-label { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:16px; }
.home-wiley-label strong { font:38px Georgia,serif; }
.home-wiley-label span { font-size:11px; }
.home-wiley-card img { display:block; width:100%; height:170px; object-fit:cover; object-position:top; border-radius:8px; margin-bottom:18px; }
.home-wiley-card h3 { font-size:19px; margin-bottom:12px; }
.home-wiley-card p { font-size:12px; line-height:1.5; }
.home-outcome-context { max-width:980px; margin:28px auto 0; }
.home-outcome-context p + p { margin-top:12px; }
.home-outcome-context details { margin-top:16px; }
.home-outcome-context summary { cursor:pointer; font-size:14px; text-decoration:underline; text-underline-offset:4px; }
.home-outcome-context details p { margin-top:12px; }
.home-outcome-actions { justify-content:center; margin-top:28px; flex-wrap:wrap; }
@media(max-width:1050px) { .home-outcome-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:600px) { .home-outcome-grid { grid-template-columns:1fr; } .home-outcome-number { margin:24px 0; font-size:72px; } .home-wiley-card img { height:240px; object-fit:contain; } }
.testimonial-media { position:relative; border-radius:22px; overflow:hidden; background:#282b61; }
.testimonial-media video { display:block; width:100%; aspect-ratio:4/5; object-fit:contain; background:#282b61; }
.testimonial-media video[hidden],.testimonial-play[hidden] { display:none; }
.testimonial-patient .testimonial-play img { object-position:0% center; }
.testimonial-card:last-child .testimonial-play img { object-position:center; }
.testimonial-quote { margin:18px 0 0; padding:0; border:0; font-size:17px; line-height:1.6; font-style:italic; color:#454d79; }
.testimonial-caption h3 { color:#282b61; }
.testimonial-scroll { margin-top:32px; }
/* Warm cards and compact pagination echo the supplied testimonial reference. */
#people .testimonial-card { background:#fbf7f2; border-radius:30px; padding:15px; }
.testimonial-scroll { scrollbar-width:none; padding-bottom:0; }
.testimonial-scroll::-webkit-scrollbar { display:none; }
.testimonial-person { display:flex; gap:14px; align-items:center; }
.testimonial-person > img { width:64px; height:64px; flex:0 0 64px; border-radius:50%; object-fit:cover; object-position:center 25%; }
.testimonial-patient .testimonial-person > img { object-position:0% center; }
.testimonial-person h3 { margin:0 0 5px; font-size:18px; color:var(--navy); }
.testimonial-person p { margin:0; font-size:14px; line-height:1.5; color:#59617f; }
.testimonial-caption { padding:20px 6px 12px; }
.testimonial-quote { margin-top:20px; font-size:17px; line-height:1.6; }
.testimonial-play-label { background:var(--navy); }
.testimonial-media,.testimonial-media video { background:#eee7df; }
.testimonial-media video { object-fit:cover; }
.testimonial-pagination { display:flex; align-items:center; justify-content:center; gap:16px; margin-top:28px; }
.testimonial-pagination > button { width:54px; height:54px; border:0; border-radius:50%; background:white; color:var(--navy); box-shadow:0 5px 20px #453c3210; font-size:30px; line-height:1; cursor:pointer; }
.testimonial-pagination > button:disabled { opacity:.45; cursor:default; }
.testimonial-dots { display:flex; align-items:center; gap:8px; }
.testimonial-dots button { width:10px; height:10px; border:0; padding:0; border-radius:20px; background:#d6deea; cursor:pointer; transition:width .15s; }
.testimonial-dots button[aria-current="true"] { width:28px; background:var(--navy); }
.testimonial-pagination button:focus-visible { outline:2px solid #282b61; outline-offset:5px; }
@media(prefers-reduced-motion:reduce) { .testimonial-dots button { transition:none; } }
/* Separate testimonials from the beige app section and clarify quotations. */
#people.section-panel { background:#eaf2fa; }
#people .testimonial-card { background:#f8fbff; }
#people .testimonial-quote { font-size:15px; line-height:1.6; }
#people .testimonial-patient .testimonial-play { aspect-ratio:4/5; }
#people .testimonial-patient .testimonial-play > img { height:100%; object-position:left center; transform:scale(1.1); transform-origin:40% 65%; }
#people .testimonial-patient .testimonial-play > img { object-position:center top; transform:none; }
#people .testimonial-patient .testimonial-person > img { object-position:center 25%; }
.journey-art img[src*="coaching-video-call-v3"] { object-fit:contain; object-position:center; background:#eeedf7; }

/* Centered step badges and generous separation between journey rows. */
.journey-grid { padding-top: 30px; row-gap: 76px; }
.journey-grid > article > .journey-number {
  position: absolute;
  top: -28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 6px 16px #262d6026;
}
.journey-art img[src*="care-plan-consultation-v7"] { object-position: center; }
@media (max-width: 600px) {
  .journey-grid { row-gap: 64px; }
}

/* Compact testimonial layout with translucent panels. */
#people .testimonial-scroll {
  max-width: 1080px;
  margin: 28px auto 0;
  align-items: stretch;
}
#people .testimonial-card {
  padding: 12px;
  border-radius: 24px;
  background: rgba(255, 255, 255, .55);
  border: 1px solid rgba(255, 255, 255, .45);
}
#people .testimonial-media,
#people .testimonial-play { border-radius: 16px; }
#people .testimonial-play img,
#people .testimonial-media video,
#people .testimonial-patient .testimonial-play { aspect-ratio: 1 / 1; }
#people .testimonial-play-label {
  bottom: 12px;
  left: 12px;
  padding: 9px 15px;
  font-size: 15px;
}
#people .testimonial-caption { padding: 16px 5px 8px; }
#people .testimonial-person { gap: 10px; align-items: center; }
#people .testimonial-person > img { width: 48px; height: 48px; flex-basis: 48px; }
#people .testimonial-person h3 { font-size: 16px; line-height: 1.35; margin-bottom: 4px; }
#people .testimonial-person p { font-size: 12px; line-height: 1.45; }
#people .testimonial-quote { margin-top: 14px; font-size: 14px; line-height: 1.55; }
#people .testimonial-pagination { margin-top: 22px; gap: 14px; }
#people .testimonial-pagination > button { width: 44px; height: 44px; font-size: 24px; }

#people .testimonial-play img, #people .testimonial-media video { object-position: center top; }

/* Align the explanatory notes across the research statistic cards. */
.home-outcome-card small {
  margin-top: auto;
  padding-top: 20px;
  min-height: 74px;
  box-sizing: border-box;
}

/* Lighter blue playback buttons. */
#people .testimonial-play-label { background: rgba(38, 45, 96, .78); color: #fff; }

/* Breathing room before detailed coverage options. */
#cost-and-coverage { margin-top: 40px; padding-top: 72px; }
@media (max-width: 600px) { #cost-and-coverage { margin-top: 24px; padding-top: 48px; } }

/* Homepage refinements */
.hero-copy .button:not(.button-outline) { background:#c9efe7; border-color:#c9efe7; color:#202653; }
.hero-copy .button:not(.button-outline):hover { background:#a9e0d4; border-color:#a9e0d4; }
.hero-copy .button-outline:hover { background:#fff; border-color:#fff; color:#202653; }
main .button:hover, main button:hover { transform:none; }
#how-it-works.section, #included.section, #cancer-support.section, #people.section, #research.section, #cost-and-coverage.section { padding-block:clamp(48px,6vw,80px); margin-block:0; }
#included.section-panel, #people.section-panel { width:100%; border-radius:0; padding-inline:0; }
#included.section-panel > .container, #people.section-panel > .container { width:min(var(--page-width),calc(100% - 64px)); margin-inline:auto; }
@media(max-width:600px) { #included.section-panel > .container, #people.section-panel > .container { width:calc(100% - 40px); } }
#how-it-works .editorial-heading, #included .editorial-heading, #people .editorial-heading, #research .editorial-heading, #cost-and-coverage .editorial-heading { margin-bottom:clamp(32px,4vw,48px); }
#how-it-works .journey-grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:32px; padding-top:0; align-items:start; }
#how-it-works .journey-grid > article { grid-column:auto; max-width:none; width:100%; justify-self:stretch; }
#how-it-works .journey-art { position:relative; overflow:hidden; height:280px; margin:0 0 24px; }
#how-it-works .journey-art > .journey-badge { position:absolute; z-index:5; inset:16px auto auto 16px; padding:0; width:44px; height:44px; display:grid; place-items:center; border-radius:50%; background:#303968; color:#fff; font-size:20px; line-height:1; font-weight:700; box-shadow:0 4px 12px #20265326; }
#how-it-works .journey-grid h3 { font-size:22px; line-height:1.4; min-height:2.8em; margin:0; }
#how-it-works .journey-grid p { margin:12px 0 0; font-size:15px; line-height:1.7; }
#how-it-works .appointment-preview { width:100%; min-width:0; padding-top:42px; }
#how-it-works .tool-art img { display:block; width:auto; height:calc(100% - 36px); max-width:90%; margin:18px auto; object-fit:contain; }
@media(max-width:700px) { #how-it-works .journey-grid { grid-template-columns:1fr; gap:40px; } #how-it-works .journey-art { height:300px; } #how-it-works .journey-grid h3 { min-height:0; } }
#included.section-mint { background:#eaf2fb; }
#included .included-grid article, #included .included-grid article + article { background:#fff; border-radius:20px; border:0; padding:28px; }
#included .included-grid .line-icon { color:#315d9a; display:block; }
#included .included-grid .line-icon svg { display:block; width:64px; height:64px; }
#included .included-grid .line-icon,
#included .included-grid .living-well-lockup { height:64px; margin:0 0 8px; }
#included .included-grid h3 { margin-top:0; }
#people { background:#edf4fb; }
#people .testimonial-card { background:transparent; border-radius:0; padding:0; }
#people .testimonial-play, #people .testimonial-media { border-radius:20px; }
#people .testimonial-caption { padding-inline:0; }
#people .testimonial-scroll { gap:28px; }
#cancer-support .patient-feature { margin-top:52px; padding-top:44px; border-top:1px solid #dce5ef; }
#cancer-support .patient-feature h2 { margin-bottom:24px; }
#cancer-support .patient-feature .testimonial-card { display:grid; grid-template-columns:minmax(0,1.2fr) minmax(260px,.8fr); align-items:center; gap:40px; width:100%; padding:0; background:transparent; }
#cancer-support .patient-feature .testimonial-play img { aspect-ratio:16/10; object-position:center 28%; }
#cancer-support .patient-feature .testimonial-caption { padding:0; }
@media(max-width:700px) { #cancer-support .patient-feature .testimonial-card { grid-template-columns:1fr; gap:20px; } }
#research .editorial-heading { display:block; text-align:center; max-width:1000px; margin-inline:auto; }
#research .editorial-heading p { margin:16px auto 0; max-width:780px; }
#research .home-outcome-card { border-radius:24px; border:1px solid #e2ddd3; background:#f1eee8; text-align:center; padding:28px 24px; }
#research .home-outcome-number { margin:32px 0 24px; font-weight:750; }
#research .home-outcome-card > small { margin-top:auto; padding-top:20px; }
#research .home-wiley-card { text-align:left; }
#research .home-outcome-grid { margin-top:0; }
.home-cost-tabs { display:flex; width:max-content; max-width:100%; gap:4px; padding:5px; margin:30px auto 0; border:1px solid #dbe3ed; border-radius:999px; background:#fff; }
.home-cost-tabs button { border:0; border-radius:999px; padding:14px 24px; background:transparent; color:#384878; cursor:pointer; font-family:inherit; font-size:16px; font-weight:600; }
.home-cost-tabs button[aria-selected="true"] { background:#343e70; color:#fff; }
.home-cost-tabs button:focus-visible { outline:3px solid #4277b9; outline-offset:2px; }
.home-cost-options { margin-top:30px; }
.home-cost-panel[hidden] { display:none; }
#cancer-support { background:#f4f7fb; }
#cancer-support .patient-stories { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:32px; }
#cancer-support .patient-stories article { padding:0; background:transparent; border-radius:0; min-width:0; }
#cancer-support .patient-stories video, #cancer-support .testimonial-play { display:block; width:100%; aspect-ratio:16/9; border-radius:18px; overflow:hidden; background:#202653; }
#cancer-support .patient-stories video { object-fit:contain; clip-path:inset(0 round 18px); }
#cancer-support .testimonial-play img { width:100%; height:100%; aspect-ratio:16/9; object-fit:cover; object-position:center 25%; }
#cancer-support .testimonial-caption { padding:20px 0 0; }
#cancer-support .testimonial-caption { display:flex; flex-direction:column; }
#cancer-support .testimonial-quote { order:-1; margin:0 0 16px; font-size:16px; line-height:1.7; }
#cancer-support .testimonial-person > img { display:none; }
#cancer-support .patient-story blockquote { margin:20px 0 16px; font-size:16px; line-height:1.7; font-style:italic; }
#cancer-support .patient-story h3 { font-size:20px; margin:0 0 8px; }
#cancer-support .patient-story > p { font-size:15px; }
main > #how-it-works.section { padding-top:40px; }
main > #insurance { padding-bottom:24px; }
#how-it-works.section, #included.section, #cancer-support.section, #people.section, #research.section, #cost-and-coverage.section { padding-block:48px; }
@media(max-width:700px) { #cancer-support .patient-stories { grid-template-columns:1fr; gap:32px; } }
.home-cost-content { padding:0; }
@media(max-width:600px) { .home-cost-tabs { width:100%; } .home-cost-tabs button { flex:1; padding:12px; font-size:13px; } }

/* Align the research explanation with the cards above. */
#research .home-outcome-context { max-width: none; margin: 28px 0 0; text-align: left; }

/* One spacing scale for homepage sections and their introductory text. */
.page-index { --home-section-space:72px; --home-heading-gap:32px; }
.page-index main > .app-tour.section-panel { width:100%; border-radius:0; padding-inline:0; }
.page-index .app-tour.section-panel > .container { width:min(var(--page-width),calc(100% - 64px)); margin-inline:auto; }
@media(max-width:600px) { .page-index .app-tour.section-panel > .container { width:calc(100% - 40px); } }
.page-index main > section.section,
.page-index main > #insurance,
.page-index main > #how-it-works.section,
.page-index main > #included.section,
.page-index main > #cancer-support.section,
.page-index main > #people.section,
.page-index main > #research.section,
.page-index main > #care-together.section,
.page-index main > #trusted,
.page-index main > #cost-and-coverage.section,
.page-index main > #start.section { padding-block:var(--home-section-space); margin-block:0; }
.page-index main .editorial-heading { margin-top:0; margin-bottom:var(--home-heading-gap); }
.page-index main .editorial-heading h2 { margin-block:0; }
.page-index main .editorial-heading p { margin-top:16px; margin-bottom:0; }
.page-index main .scroll-reveal { transform:none; transition:opacity .55s ease; }
@media(max-width:600px) { .page-index { --home-section-space:48px; --home-heading-gap:24px; } }

#trusted.trusted-band { border-bottom: 0; }

/* A warm primary action stands out against the navy hero. */
.care-hero .actions .button:not(.button-outline) { background:var(--navy); border-color:var(--navy); color:#fff; font-weight:500; }
.care-hero .actions .button:not(.button-outline):hover { background:var(--navy-deep); border-color:var(--navy-deep); color:#fff; }
.care-hero .actions .button-outline:hover { background:#fff; border-color:#fff; color:#262d60; }
#start .button:not(.button-outline):hover { background:#fff; border-color:#fff; }
#start .button-outline:hover { background:#fff; color:#262d60; }
.testimonial-play-label { transition:background-color .18s ease; }
.testimonial-play:hover .testimonial-play-label { background:#456aa2; }

/* Four editorial outcome cards follow the spreadsheet reference. */
#research { background:#fafbfdf2; }
#research .home-outcome-grid { gap:22px; align-items:stretch; }
#research .home-outcome-card { background:#f3f0ea; border:1px solid #e3dfd7; border-radius:24px; box-shadow:0 8px 28px #28345c08; padding:30px 24px; }
#research .home-outcome-card h3 { font-size:21px; font-weight:500; }
#research .home-outcome-number { font-size:clamp(64px,5.8vw,84px); font-weight:750; letter-spacing:-3px; line-height:1.1; margin:32px 0 26px; color:#262d60; }
#research .home-outcome-card > p { font-size:15px; line-height:1.65; }
#research .home-outcome-card > small { color:#626b80; font-size:11px; line-height:1.6; padding-top:22px; }
#research .home-wiley-card { background:#edf2fa; border-color:#dbe3f0; }
#research .home-wiley-label { margin-bottom:20px; }
#research .home-wiley-label strong { font-size:40px; }
#research .home-wiley-card img { height:140px; border-radius:8px; box-shadow:0 4px 14px #28345c14; }
#research .home-wiley-card h3 { font-size:17px; line-height:1.45; }
#research .home-wiley-card > p { font-size:13px; line-height:1.6; }
#research .home-outcome-actions { margin-block:48px 0; }

/* Calm editorial research cards, with a distinct publication feature. */
#research { background:#fff; }
#research .home-outcome-grid { gap:18px; }
#research .home-outcome-card {
  text-align:left; padding:28px; border-radius:20px;
  background:#f7f8fb; border:1px solid #e5e8f0;
  box-shadow:0 4px 16px rgba(38,45,96,.025);
}
#research .home-outcome-card h3 { font-size:18px; font-weight:600; margin:0; }
#research .home-outcome-number {
  font-size:clamp(64px,5.5vw,80px); font-weight:600;
  letter-spacing:-4px; margin:30px 0 24px;
}
#research .home-outcome-number span { font-size:.55em; letter-spacing:-2px; }
#research .home-outcome-card > p { font-size:14px; line-height:1.7; color:#495571; }
#research .home-outcome-card > small {
  border-top:1px solid #dfe4ee; margin-top:auto; padding-top:16px;
  font-size:11px; line-height:1.65;
}
#research .home-outcome-card > p { margin-bottom:0; }
#research .home-wiley-card { background:#edf2f9; border-color:#dce4f0; }
#research .home-wiley-label { margin-bottom:20px; }
#research .home-wiley-label strong { font-size:36px; }
#research .home-wiley-card img { height:130px; margin-bottom:20px; }
#research .home-wiley-card h3 { font-size:17px; line-height:1.45; margin-bottom:12px; }
#research .home-wiley-card > p { font-size:13px; margin-bottom:0; }
#research .home-outcome-context { border-top:1px solid #e5e8f0; padding-top:24px; margin-top:32px; }
#research .home-outcome-context > p:first-child { font-size:15px; line-height:1.7; }

/* Gentle white framing for practitioner stories. */
#people .testimonial-card {
  padding:14px; border-radius:24px; background:rgba(255,255,255,.78);
  border:1px solid rgba(255,255,255,.9);
  box-shadow:0 6px 20px rgba(38,45,96,.035);
}
#people .testimonial-caption { padding:18px 8px 10px; }

/* One focused, centered invitation. */
#start .start-panel { display:block; text-align:center; }
#start .start-panel > div:first-child { max-width:760px; margin-inline:auto; }
#start .start-panel h2 { margin:0; }
#start .start-panel p { max-width:650px; margin:20px auto 28px; }
#start .start-panel .actions { max-width:none; justify-content:center; margin-inline:auto; }
@media(max-width:600px) {
  #research .home-outcome-card { padding:24px; }
  #research .home-outcome-number { margin:24px 0; }
  #start .start-panel .actions { flex-wrap:wrap; }
}
#start .start-panel .actions .button { flex:0 1 auto; min-width:210px; }

/* Text-led publication card without the report thumbnail. */
#research .home-wiley-label { margin-bottom:32px; padding-bottom:24px; border-bottom:1px solid #d7dfed; }
#research .home-wiley-card h3 { font-size:21px; line-height:1.4; margin-bottom:20px; }
#research .home-wiley-card > p { font-size:14px; line-height:1.7; }

/* Reduce the shared gap between insurance and the next section by half. */
.page-index main > #insurance { padding-bottom:calc(var(--home-section-space) / 2); }
.page-index main > #how-it-works.section { padding-top:var(--home-section-space); }

/* Contained care comparison and a consistent, understated card elevation. */
.page-index { --home-card-shadow:0 6px 22px rgba(38,45,96,.065); }
#care-together > .container {
  padding:48px; border-radius:28px; background:#f3f7fc;
  border:1px solid #e5ebf3; box-shadow:var(--home-card-shadow);
}
#care-together .care-comparison > div { background:#fff; }
#care-together .care-comparison > div:last-child { background:#edf0fa; }
#cost-insurance-panel .home-cost-grid > article:first-child {
  background:#fff; border:1px solid #e5e9f0;
}
#included .included-grid article,
#research .home-outcome-card,
#people .testimonial-card,
#cost-and-coverage .home-cost-grid article,
#care-together .care-comparison > div,
#how-it-works .journey-art {
  box-shadow:var(--home-card-shadow);
}
@media(max-width:600px) {
  #care-together > .container { padding:28px 20px; border-radius:22px; }
  #care-together .care-comparison > div { padding:24px; }
}
@media(max-width:760px) {
  #care-together .care-comparison { grid-template-columns:1fr; gap:16px; }
  #care-together .care-comparison > span { line-height:1; font-size:32px; }
}

/* Matching patient story panels with a clean, edge-to-edge thumbnail crop. */
#cancer-support .patient-stories article {
  padding:16px; background:#fff; border:1px solid #e9edf4;
  border-radius:24px; box-shadow:var(--home-card-shadow);
}
#cancer-support .patient-story > blockquote,
#cancer-support .patient-story > h3,
#cancer-support .patient-story > p { margin-left:10px; margin-right:10px; }
#cancer-support .patient-story > p { margin-bottom:12px; }
#cancer-support .testimonial-caption { padding:0 10px 12px; }
#cancer-support .testimonial-patient .testimonial-play { border:0; }
#cancer-support .testimonial-patient .testimonial-play > img {
  width:100%; height:100%; object-fit:cover; object-position:center;
  transform:scale(1.035); transform-origin:center;
}

/* Keep the hero at ninety percent of the viewport without clipping taller content. */
.page-index .care-hero-inner { min-height:calc(100svh - 97px); }
@media(max-width:700px) { .page-index .care-hero-inner { min-height:calc(100svh - 81px); } }

/* Consistent soft elevation for all three coverage cards. */
#cost-and-coverage .home-cost-grid > article {
  background:#fff;
  box-shadow:0 8px 24px rgba(38,45,96,.09);
}

/* More compact patient stories, with breathing room above Patrina's quote. */
#cost-insurance-panel .coverage-steps { gap:20px; padding-top:0; }
#cost-self-pay-panel .home-cost-grid { align-items:stretch; grid-auto-rows:1fr; }
#cost-self-pay-panel .home-cost-grid > article { display:flex; flex-direction:column; padding:20px; border-radius:24px; text-align:center; }
#cost-self-pay-panel .home-cost-grid h3 { font-size:20px; line-height:1.35; font-weight:600; margin:0 0 18px; }
#cost-self-pay-panel .home-cost-price,
#cost-self-pay-panel .home-cost-grid dd { font-size:32px; line-height:1.2; font-weight:700; letter-spacing:-1px; }
#cost-self-pay-panel .home-cost-grid dl { display:grid; gap:12px; }
#cost-self-pay-panel .home-cost-grid dl > div {
  align-items:center; margin:0; padding:10px 14px; border-radius:30px;
  background:#fff; border:1px solid #eef0f5; box-shadow:0 3px 10px rgba(38,45,96,.07);
}
#cost-self-pay-panel .home-cost-grid dt { font-size:14px; }
#cost-self-pay-panel .home-cost-grid > article > p { font-size:15px; line-height:1.6; margin:18px 0 0; }
#cost-self-pay-panel .home-cost-grid > article > .session-pack-note { margin-top:auto; padding-top:18px; font-size:12px; font-style:italic; }
#cost-self-pay-panel .self-pay-card-art { height:126px; display:flex; align-items:center; justify-content:center; margin:0 0 16px; }
#cost-self-pay-panel .self-pay-card-art img { display:block; width:auto; height:120px; max-width:100%; object-fit:contain; }
#cost-self-pay-panel .home-cost-grid > article:first-child .self-pay-card-art { height:180px; }
#cost-self-pay-panel .self-pay-card-art .self-pay-app-preview { width:166px; height:180px; object-fit:cover; object-position:center top; border:0; border-radius:12px 12px 0 0; box-shadow:0 3px 14px rgba(38,45,96,.14); }
/* Both pricing tabs share the height of the taller row on desktop. */
@media(min-width:901px) {
  #cost-and-coverage .home-cost-options { gap:0; }
  #cost-and-coverage .home-cost-panel { grid-area:1 / 1; min-width:0; }
  /* Override the global [hidden] display rule only here: the inactive panel
     contributes its height while remaining invisible and unfocusable. */
  #cost-and-coverage .home-cost-panel[hidden] { display:block !important; visibility:hidden; pointer-events:none; }
  #cost-and-coverage .home-cost-content,
  #cost-and-coverage .home-cost-grid { height:100%; }
}
#cost-and-coverage .coverage-steps > article {
  position:relative; display:flex; flex-direction:column; gap:14px;
  padding:20px; border:1px solid #e5e8f0; border-radius:24px;
  background:#fff; text-align:center;
  box-shadow:0 6px 20px rgba(38,45,96,.04);
}
#cost-and-coverage .coverage-steps h3 { font-size:20px; line-height:1.35; font-weight:600; margin:0; }
#cost-and-coverage .coverage-plan-examples { display:grid; gap:12px; list-style:none; margin:0; padding:0; }
.coverage-plan-examples li { background:#fff; border:1px solid #eef0f5; box-shadow:0 3px 10px rgba(38,45,96,.07); border-radius:30px; padding:9px 14px; text-align:left; font-size:15px; font-weight:500; }
.coverage-plan-examples li::before { content:'✓'; color:#19852c; margin-right:10px; }
.coverage-estimate { overflow:hidden; background:#fff; border-radius:22px; text-align:left; font-size:14px; }
.coverage-estimate-details { position:relative; display:flex; flex-direction:column; gap:3px; padding:12px 16px; }
.coverage-estimate-details > strong { font-size:18px; }
.coverage-network { position:absolute; right:14px; top:16px; padding:5px 10px; border-radius:20px; background:#f0f2f8; font-size:12px; font-weight:600; }
.coverage-estimate-price { margin-top:8px; font-size:16px; }
.coverage-estimate-price b { font-size:32px; color:#101a2c; margin-right:5px; }
#cost-and-coverage .coverage-estimate > p { margin:0; padding:12px 18px 12px 42px; background:#e7f4ee; font-size:14px; line-height:1.5; position:relative; }
.coverage-estimate > p::before { content:'✓'; position:absolute; left:18px; color:#19852c; }
#cost-and-coverage .coverage-steps .coverage-step-description { margin:0; padding-top:0; font-size:14px; line-height:1.5; }
#cost-and-coverage .coverage-steps > article:last-child { background:#fff; text-align:center; }
#cost-and-coverage .coverage-steps > article:last-child > p { margin:0; font-size:16px; line-height:1.6; }
#cost-and-coverage .coverage-steps > article:last-child > .button { margin-top:auto; align-self:center; }
@media(max-width:900px) {
  #cost-insurance-panel .coverage-steps { gap:20px; }
}

/* More compact patient stories, with breathing room above Patrina's quote. */
#cancer-support .patient-stories { max-width:1080px; margin-inline:auto; gap:28px; }
#cancer-support .testimonial-caption .testimonial-quote { padding-top:20px; }

/* Featured Jamie story with two patient interviews below. */
.page-index main > #cancer-support.section { padding:0; background:#fff; }
#cancer-support .patient-feature-layout { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:64px; align-items:center; padding-block:var(--home-section-space); }
#cancer-support .patient-feature-copy h2 { margin:0 0 24px; }
#cancer-support .patient-feature-copy blockquote { margin:0 0 28px; font-size:18px; line-height:1.7; }
#cancer-support .patient-feature-video { margin:0; width:100%; max-width:560px; justify-self:end; }
#cancer-support .patient-feature-video video { width:100%; display:block; aspect-ratio:16/9; object-fit:contain; background:#171d28; border-radius:16px; overflow:hidden; clip-path:inset(0 round 16px); }
#cancer-support figcaption { margin-top:16px; }
#cancer-support figcaption h3 { margin:0 0 4px; font-size:20px; }
#cancer-support figcaption p { margin:0; font-size:14px; }
#cancer-support .patient-more-stories { background:#f1eee8; padding-block:48px; }
#cancer-support .patient-more-intro { margin:0 0 28px; font-size:clamp(22px,2vw,28px); line-height:1.4; font-weight:500; text-align:center; }
#cancer-support .patient-stories { max-width:none; gap:40px; }
#cancer-support .patient-feature-video,
#cancer-support .patient-stories .patient-story {
  background:rgba(255,255,255,.94); padding:14px; border:1px solid #e6e9f0;
  border-radius:24px; box-shadow:0 8px 24px rgba(38,45,96,.07);
  box-sizing:border-box;
}
#cancer-support .patient-feature-video figcaption { padding:0 8px 8px; }
#cancer-support .patient-story h3 { margin:16px 0 4px; }
#cancer-support .patient-story > p { margin:0; font-size:14px; }
#cancer-support .patient-story blockquote { margin:12px 0 0; font-size:15px; }
@media(max-width:700px) {
  #cancer-support .patient-feature-layout { grid-template-columns:1fr; gap:28px; }
  #cancer-support .patient-feature-video { justify-self:center; }
  #cancer-support .patient-more-stories { padding-block:36px; }
}

/* Keep a compact gap below the publication button. */
.page-index main > #research.section { padding-bottom:24px; }
#research .research-summary { max-width:900px; margin:28px auto 0; text-align:center; line-height:1.7; }
#cost-and-coverage .editorial-heading { max-width:1100px; }
@media(min-width:1000px) {
  #cost-and-coverage .editorial-heading h2 { white-space:nowrap; }
}
#cost-and-coverage .home-cost-footer { display:flex; justify-content:center; text-align:center; }
#cost-and-coverage .coverage-map { display:flex; flex-direction:column; align-items:center; gap:8px; margin:0 auto; max-width:280px; }
.coverage-map img { display:block; width:200px; max-width:100%; height:auto; }
.coverage-map figcaption { text-align:center; color:#495571; font-size:12px; line-height:1.5; }
#research .home-outcome-card.home-wiley-card { padding:28px 0 0; overflow:hidden; display:flex; flex-direction:column; }
#research .home-wiley-card > .home-wiley-label,
#research .home-wiley-card > h3 { margin-inline:24px; }
#research .home-wiley-card > a { display:block; width:100%; aspect-ratio:811 / 330; overflow:hidden; margin-top:auto; }
#research .home-wiley-card .wiley-article-preview { display:block; width:100%; height:auto; object-fit:contain; margin:0; border-radius:0; box-shadow:none; }

/* A delicate outline defines the Prosoma comparison card. */
#care-together .care-comparison > div:last-child { border:1px solid #dce1ee; }

/* Soft neutral background for the three-step journey. */
.page-index main > #how-it-works.section { background:#f5f6f8; }

#people .testimonial-part {
  position:absolute; top:12px; right:12px; z-index:2;
  margin:0; padding:6px 10px; border-radius:999px;
  background:rgba(255,255,255,.9); color:#202653;
  font-size:12px; line-height:1.4; font-weight:600;
  pointer-events:none;
}

/* Stronger hero hierarchy and a quiet panel behind the three benefits. */
.page-index .care-hero-copy { align-self:start; padding-top:clamp(28px,5svh,52px); }
.page-index .care-hero h1 { font-weight:500; }
.page-index .care-hero-image img {
  animation:none; transform:scale(1.045); transform-origin:60% 55%;
  object-position:60% center;
}
.page-index .hero-proof {
  background:rgba(16,22,48,.58); border:1px solid rgba(255,255,255,.16);
  border-radius:18px; padding:24px 28px; gap:28px;
}
.page-index .hero-proof strong { font-weight:600; margin-bottom:0; }
.page-index .hero-proof p { font-size:14px; line-height:1.45; }
.page-index .hero-proof > div:nth-child(2) p { max-width:none; }
@media(max-width:700px) {
  .page-index .hero-proof { padding:20px; gap:20px; }
  .page-index .care-hero-image img { transform:none; }
}

/* Three quiet benefit boxes instead of a single dark panel. */
.page-index .hero-proof {
  background:transparent; border:0; border-radius:0; padding:0; gap:20px;
}
.page-index .hero-proof > div {
  background:rgba(16,22,48,.34);
  border:1px solid rgba(255,255,255,.12);
  border-radius:16px; padding:20px 22px;
}
@media(max-width:700px) {
  .page-index .hero-proof { gap:12px; }
  .page-index .hero-proof > div { padding:16px 18px; }
}

/* Bring the group slightly closer and higher in the hero. */
.page-index .care-hero-image img {
  transform:translateY(-3%) scale(1.12);
  transform-origin:60% 55%;
  object-position:60% 60%;
}
@media(max-width:700px) {
  .page-index .care-hero-image img { transform:translateY(-2%) scale(1.06); }
}

.care-hero .livingwell-brand-accent { color:#f17b74; font-weight:600; }

#trusted .trusted-carousel { margin-top:32px; }
#trusted .payer-track { animation-duration:55s; }
#insurance .payer-track { animation-duration:120s; }
#insurance .payer-carousel { margin:20px auto 16px; padding:8px 0; }
.page-index main > #insurance { padding-bottom:var(--home-section-space); }
/* Both logo strips share the same spacing and restrained visual height. */
#insurance .payer-group li,
#trusted .payer-group li { width:145px; height:70px; }
#insurance .payer-group img,
#trusted .payer-group img {
  display:block;
  width:auto;
  height:34px;
  max-width:140px;
  max-height:34px;
  object-fit:contain;
  object-position:center;
}
#insurance .coverage-intro .coverage-subheading { margin:12px 0 8px; font-size:18px; font-weight:600; color:#315d70; }
#insurance .coverage-intro { max-width:1000px; }
@media(min-width:1100px) {
  #insurance .coverage-intro > p { white-space:nowrap; }
}
/* Dense wordmarks need a smaller height to match the lighter insurer artwork. */
#insurance .payer-group img[src$="/humana.svg"],
#insurance .payer-group img[src$="/aetna.svg"] { height:26px; }
#insurance .payer-group img[src$="/molina.svg"],
#insurance .payer-group img[src$="/alliance-health.svg"] { height:30px; }
/* Account for square artwork and whitespace inside individual logo files. */
#insurance .payer-group img[src$="/fidelis-care.png"] { width:140px; height:auto; max-height:40px; }
#insurance .payer-group img[src$="/ambetter.png"],
#insurance .payer-group img[src$="/superior.png"] { height:58px; max-height:58px; }
#insurance .payer-group img[src$="/florida-blue.png"],
#insurance .payer-group img[src$="/anthem.svg"] { height:48px; max-height:48px; }
#insurance .payer-group img[src$="/elderplan.png"],
#insurance .payer-group img[src$="/kelsey-seybold.png"] { width:160px; max-width:160px; height:auto; max-height:34px; }

/* The preceding care panel already supplies the section gap. */
.page-index main > #trusted { padding-top:0; }

/* Keep each journey description close to its heading. */
#how-it-works .journey-grid h3 { min-height:0; }
#how-it-works .journey-grid p { margin-top:8px; }

/* Three steps with aligned image, heading and description rows. */
#how-it-works .journey-grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; }
#how-it-works .journey-grid { row-gap:0; }
#how-it-works .journey-grid > article {
  display:grid;
  grid-row:span 3;
  grid-template-rows:subgrid;
  align-items:start;
  text-align:left;
}
#how-it-works .journey-art { height:250px; }
#how-it-works .journey-grid h3 { font-size:20px; }
#how-it-works .journey-grid .journey-subheading { font-weight:600; }
#how-it-works .assessment-art img { width:100%; height:100%; object-fit:cover; object-position:center; }
@media(max-width:1100px) {
  #how-it-works .journey-grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:0 24px; }
  #how-it-works .journey-grid > article { margin-bottom:32px; }
  #how-it-works .journey-art { height:280px; }
}
@media(max-width:700px) {
  #how-it-works .journey-grid { grid-template-columns:1fr; gap:32px; }
  #how-it-works .journey-grid > article { display:block; grid-row:auto; margin-bottom:0; }
}

/* Bound the desktop hero on large monitors; allow content to grow at zoom. */
@media (min-width: 1000px) {
  .page-index .care-hero-inner {
    min-height: min(780px, calc(100svh - 97px));
    gap: 24px;
  }
  .page-index .care-hero-copy {
    padding-block: clamp(24px, 4svh, 40px);
  }
}
@media (min-width: 1000px) and (max-height: 800px) {
  .page-index .care-hero h1 { font-size: clamp(36px, 3.8vw, 52px); }
  .page-index .care-hero-copy { padding-block: 24px; }
  .page-index .care-hero-copy > p { margin-block: 16px; line-height: 1.5; }
  .page-index .hero-proof > div { padding: 16px 20px; }
}

/* Balance the headline and actions vertically above the benefit cards. */
@media (min-width: 1000px) {
  .page-index .care-hero-copy { align-self: center; }
}

.page-index .app-tour .app-screen-viewport img:is([src$="app-daily-enhanced.png"],[src$="app-tour-daily.webp"]) { width:100%; height:100%; object-fit:cover; object-position:center top; transform:none; clip-path:none; }

/* Match the app-tour introduction gap to other copy/action groups. */
.page-index .app-tour .section-heading { margin-bottom:28px; }
.page-index .app-tour-layout { align-items:start; }

/* Neutral placeholder while the optimized assessment photo decodes. */
#how-it-works .assessment-art { background: #eef4f9; }

/* Mobile hero: compact type and swipeable benefit cards. */
@media (max-width: 700px) {
  .page-index .care-hero-inner { min-width: 0; gap: 24px; }
  .page-index .care-hero-copy { min-width: 0; padding-block: 24px 0; }
  .page-index .care-hero h1 { font-size: clamp(30px, 8vw, 40px); line-height: 1.12; }
  .page-index .care-hero-copy > p { font-size: 14px; line-height: 1.4; margin-block: 16px 20px; }
  .page-index .hero-proof {
    display: grid;
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: min(84%, 320px);
    gap: 12px;
    width: 100%;
    min-width: 0;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    padding: 0 0 10px;
    scrollbar-width: thin;
    scrollbar-color: #cce9f4 #ffffff16;
  }
  .page-index .hero-proof > div { min-width: 0; padding: 16px; scroll-snap-align: start; }
  .page-index .hero-proof strong { font-size: 15px; line-height: 1.3; }
  .page-index .hero-proof p { font-size: 13px; line-height: 1.35; }
}

/* Separate the mobile hero copy from the lower photo crop. */
@media (max-width: 700px) {
  .page-index .care-hero-image img { transform: translateY(-11%) scale(1.06); }
  .page-index .care-hero-copy { padding-top: clamp(64px, 10svh, 84px); }
}
@media (max-width: 700px) {
  .page-index .care-hero-image img { mask-image: linear-gradient(to bottom, #000 68%, transparent 100%); }
}

/* Desktop app-tour artwork stays visible and gently floats. */
@media (min-width:701px) {
 .page-index .app-tour-phone .phone-card { display:block; }
 .page-index .app-tour-phone .phone-flourish { display:block; }
}
@media (min-width:701px) and (prefers-reduced-motion:no-preference) {
 .page-index .app-tour-phone .phone-card { animation:app-panel-float 5s ease-in-out infinite alternate; }
 .page-index .app-tour-phone .phone-card-bottom { animation-delay:-2.5s; }
}
@keyframes app-panel-float { from { transform:translateY(0); } to { transform:translateY(-7px); } }
