/* The learning loop and its next steps read as consecutive pages. */

@font-face {
  font-family: "Mansalva";
  src: url("Mansalva-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

/* Borderless notebook pages, shared by the learning and guidance cards. */
.flow-story-page {
  --note-paper: var(--surface-off-white);
  --note-rule: color-mix(in srgb, var(--text-slate) 13%, transparent);
  --note-heading-font: "Mansalva", "Bradley Hand", cursive;
  --note-line-height: 24px;
  --note-tape: color-mix(in srgb, var(--border-warm) 80%, var(--brand));
  --note-tape-angle: -3deg;
}
/* Mansalva has one weight. Lightly trim the strokes while keeping its letterforms. */
.flow-story-page :is(.meal-loop-card h3, .life-link-card-head strong) {
  font-synthesis: none;
  -webkit-text-stroke: 0.35px var(--note-paper);
  paint-order: fill stroke;
}
.flow-story-page :is(.meal-loop-card, .life-link-card, .life-link-source-title) {
  position: relative;
  border: 0;
  border-radius: 0;
  background-color: var(--note-paper);
  background-image:
    linear-gradient(to bottom, var(--note-paper) 42px, transparent 42px),
    linear-gradient(to bottom, transparent calc(100% - 1px), var(--note-rule) 0);
  background-size: 100% 100%, 100% var(--note-line-height);
  background-position: 0 0, 0 var(--note-rule-offset, 0px);
  background-repeat: no-repeat, repeat;
  box-shadow:
    0 6px 12px rgba(26, 26, 26, 0.045),
    0 16px 28px -18px rgba(26, 26, 26, 0.16);
}
.flow-story-page :is(.meal-loop-card, .life-link-card, .life-link-source-title)::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: -9px;
  left: 50%;
  width: 68px;
  height: 19px;
  background: var(--note-tape);
  opacity: 0.78;
  transform: translateX(-50%) rotate(var(--note-tape-angle));
  clip-path: polygon(2% 0, 98% 3%, 96% 22%, 100% 43%, 97% 64%, 99% 96%, 1% 100%, 3% 76%, 0 53%, 3% 29%);
  pointer-events: none;
}
.meal-loop-step:nth-child(even),
.life-link-destination--care {
  --note-tape: color-mix(in srgb, var(--component-border) 78%, var(--chart-context));
  --note-tape-angle: 3deg;
}
.flow-story-page .life-link-card::before { width: 88px; }
.flow-story-page .care-portal-record { border: 0; border-radius: 0; background: var(--note-paper); }

/* The spring controller moves only the paper; its layout and hover area stay put. */
@media screen and (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .flow-story-page :is(.meal-loop-step, .life-link-destination, .life-link-source).is-note-floating { z-index: 3; }
  .flow-story-page .is-note-floating > :is(.meal-loop-card, .life-link-card, .life-link-source-title) {
    transform-origin: 50% 8px;
    transform:
      perspective(1000px)
      translate3d(var(--note-x, 0px), var(--note-y, 0px), 0)
      rotateX(var(--note-pitch, 0deg))
      rotateY(var(--note-yaw, 0deg))
      rotateZ(var(--note-roll, 0deg));
    box-shadow:
      0 calc(6px + 8px * var(--note-lift, 0)) calc(12px + 12px * var(--note-lift, 0)) rgba(26, 26, 26, 0.045),
      0 calc(16px + 16px * var(--note-lift, 0)) calc(28px + 14px * var(--note-lift, 0)) -18px rgba(26, 26, 26, 0.16);
    will-change: transform;
  }
}

.flow-story-page--guidance { margin-top: 36px; }
.life-link-header {
  flex: 0 0 auto;
  width: min(960px, 100%);
  margin: 0 auto 16px;
  text-align: center;
}
.life-link-title-line { display: block; }
.pattern-reminder-list {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: space-evenly;
  gap: 8px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}
.pattern-reminder-list li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.pattern-reminder-list img { width: 44px; height: 36px; object-fit: contain; }
.pattern-reminder-list header { display: flex; align-items: baseline; justify-content: space-between; gap: 6px; }
.pattern-reminder-list header strong {
  color: var(--text-primary);
  font-family: "Satoshi", sans-serif;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0;
  -webkit-text-stroke: 0;
}
.pattern-reminder-list time { flex: 0 0 auto; color: var(--text-soft); font-size: 11px; font-variant-numeric: tabular-nums; }
.pattern-reminder-list p { margin: 2px 0 0; color: var(--text-body); font-size: 12px; line-height: 1.35; }
.life-link-visual {
  --life-card-height: 360px;
  --life-bridge-width: clamp(64px, 11vw, 176px);
  --life-source-height: 60px;
  --life-source-gap: 32px;
  padding: 18px 8px 16px;
}
.life-link-source {
  position: relative;
  z-index: 1;
  width: max-content;
  max-width: 100%;
  height: var(--life-source-height);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--life-source-gap);
}
.life-link-source-title {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  padding: 8px 16px;
  color: var(--text-primary);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.3;
}
.flow-story-page .life-link-source-title { background-image: none; }
.flow-story-page .life-link-source-title::before { content: none; }
.life-link-source-food {
  display: block;
  flex: 0 0 52px;
  width: 52px;
  height: 44px;
  object-fit: contain;
}
.life-link-layout {
  grid-template-columns: minmax(0, 1fr) var(--life-bridge-width) minmax(0, 1fr);
}
.life-link-connectors {
  top: calc(18px + var(--life-source-height));
  width: var(--life-bridge-width);
  height: calc(var(--life-source-gap) + var(--life-card-height) / 2);
}
.life-link-connectors path {
  fill: none;
  stroke: color-mix(in srgb, var(--brand-ink) 35%, var(--text-secondary));
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
.life-link-connectors .flow-line { stroke-dasharray: 3 4; }
.life-link-card { padding: 16px; }
.life-link-card-head { flex-wrap: wrap; gap: 6px; min-height: 30px; padding-bottom: 11px; border-bottom: 0; }
.life-link-card-head strong {
  color: var(--brand-ink);
  font: 400 clamp(18px, 1.8vw, 20px)/1.2 var(--note-heading-font);
}
.life-link-example-chip {
  height: 24px;
  min-height: 24px;
  padding: 0 8px;
  border: 0;
  background: var(--brand-soft);
  font-size: 9px;
  line-height: 1;
}
.life-link-example-chip svg { display: block; flex: 0 0 12px; width: 12px; height: 12px; }
.life-link-chip-label { display: block; transform: translateY(-0.5px); }
.life-link-grocery-context {
  display: grid;
  gap: 7px;
  margin: 12px 0 3px;
  padding-bottom: 12px;
  font-size: 11px;
  line-height: 1.45;
}
.life-link-grocery-context > div { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 8px; }
.life-link-grocery-context dt { color: var(--text-secondary); }
.life-link-grocery-context dd { margin: 0; color: var(--text-body); }
.life-link-grocery-list { margin-block: 8px; }
.life-link-grocery-list li { min-height: 48px; padding-block: 5px; row-gap: 2px; }
.life-link-grocery-list strong { font-size: inherit; font-weight: 600; }
.life-link-grocery-note { grid-column: 2 / -1; color: var(--text-secondary); font-size: 11px; line-height: 1.4; }
.life-link-caption { margin-top: 18px; }
.life-link-feedback { margin-top: 22px; }

.care-portal-trend { flex: 0 0 auto; min-width: 0; margin: 10px 0 0; background: var(--note-paper); }
.care-portal-trend-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px;
}
.care-portal-trend-head strong { font-size: 11px; font-weight: 500; }
.care-portal-trend-head > span { color: var(--text-secondary); font-size: 9px; }
.care-portal-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 12px;
  margin: 8px 0 4px;
  padding: 0;
  color: var(--text-soft);
  font-size: 9px;
  line-height: 1.3;
  list-style: none;
}
.care-portal-legend li { display: flex; align-items: center; gap: 5px; }
.care-portal-legend i { display: block; width: 13px; border-top: 2px solid var(--brand); }
.care-portal-legend .care-portal-legend-impact { width: 5px; height: 5px; border: 0; border-radius: 50%; background: var(--risk-medium); }
.care-portal-legend .care-portal-legend-context { border-color: var(--chart-context); border-top-style: dashed; }
.care-portal-chart { display: block; width: 100%; height: auto; fill: none; }
.care-portal-chart text { fill: var(--text-secondary); font-family: "Satoshi", sans-serif; font-size: 15px; }
.care-portal-chart-guide { stroke: var(--component-border); stroke-width: 1.2; }
.care-portal-chart-impact { stroke: var(--risk-medium); stroke-width: 2; }
.care-portal-chart-context { stroke: var(--chart-context); stroke-width: 2.8; stroke-dasharray: 5 4; }
.care-portal-chart-gut { stroke: var(--brand); stroke-width: 3; }
.care-portal-chart-marker { stroke: var(--surface); stroke-width: 1.5; }
.care-portal-chart-points--impact { fill: var(--risk-medium); }
.care-portal-chart-points--context { fill: var(--chart-context); }
.care-portal-chart-points--gut { fill: var(--brand); }
.care-portal-records { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: auto; padding-top: 10px; }
.care-portal-record { min-width: 0; padding: 9px; border: 1px solid var(--component-border); border-radius: 8px; }
.care-portal-record header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  color: var(--text-secondary);
  font-size: 9px;
  line-height: 1.3;
}
.care-portal-record header > span { color: var(--text-body); font-size: 10px; font-weight: 500; }
.care-portal-record-food { margin: 4px 0 3px; color: var(--text-body); font-size: 11px; font-weight: 500; line-height: 1.3; }
.care-portal-record-reaction { display: flex; align-items: center; gap: 5px; margin: 0; color: var(--text-soft); font-size: 9px; line-height: 1.4; }
.care-portal-record-reaction i { flex: 0 0 5px; height: 5px; border-radius: 50%; background: var(--risk-medium); }
.care-portal-health-facts { display: grid; gap: 5px; margin: 6px 0 0; font-size: 10px; line-height: 1.3; }
.care-portal-health-facts > div { display: flex; justify-content: space-between; gap: 6px; align-items: baseline; }
.care-portal-health-facts dt { color: var(--text-secondary); }
.care-portal-health-facts dd { display: flex; align-items: center; gap: 4px; margin: 0; }
.care-portal-health-facts dd::before { content: ""; width: 4px; height: 4px; border-radius: 50%; }
.care-portal-fact--warning { color: var(--risk-medium-ink); }
.care-portal-fact--warning::before { background: var(--risk-medium); }
.care-portal-fact--clear { color: var(--text-body); }
.care-portal-fact--clear::before { background: var(--chart-context); }
@media (min-width: 760px) and (max-width: 900px) {
  .care-portal-trend-head { align-items: start; flex-direction: column; }
}

@media (max-width: 1000px) {
  .life-link-visual { --life-card-height: 380px; }
  .life-link-card { padding: 15px; }
}

@media (max-width: 759px) {
  .life-link-visual { padding: 32px 0 16px; }
  .life-link-source { height: auto; }
  .life-link-source::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    height: 14px;
    border-left: 1px dashed color-mix(in srgb, var(--brand-ink) 35%, var(--text-secondary));
  }
  .life-link-layout { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .life-link-connectors,
  .life-link-bridge { display: none; }
  .life-link-card-head { flex-wrap: nowrap; }
  .life-link-caption { margin-top: 18px; }
  .life-link-caption h3 { font-size: 21px; }
  .life-link-feedback { flex-direction: column; gap: 10px; margin-top: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  .flow-story-page { opacity: 1; transform: none; }
}

/* Enhanced homepage: native document scrolling, one visible chapter at a time.
   These rules only apply after the controller has mounted every chapter. */
html.home-paged { --home-page-top: clamp(112px, 8.5vw, 128px); scroll-behavior: auto; scroll-padding-block-start: 0; }
.home-paged body { overflow-anchor: none; }
.home-paged #main { display: block; }
.home-paged #data-flow { height: auto; padding: 0; margin: 0; background: none; }
.home-chapter-track { position: relative; height: 100dvh; }
.home-chapter-stage {
  position: fixed;
  inset: 0;
  z-index: 1;
  block-size: 100dvh;
  overflow: clip;
  visibility: hidden;
  pointer-events: none;
  background: var(--background);
  perspective: 1400px;
}
.home-chapter-stage.is-current { visibility: visible; pointer-events: auto; }
.home-paged [data-chapter="hero"] .home-chapter-stage { inset: 0; block-size: 100dvh; }
.home-chapter-surface {
  position: relative;
  min-block-size: 100%;
  transform-origin: 50% 0;
  backface-visibility: hidden;
}
.home-chapter-content {
  min-block-size: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: 24px;
  transform: translateY(var(--chapter-offset, 0px));
}
.home-chapter-content > * { flex: 0 0 auto; }
.home-paged .home-chapter-content > :is(.section, .clinician-section, .comparison-section, .final-cta, .site-footer) {
  margin-block: 0;
  padding-block: 20px;
}
.home-paged .home-chapter-content > :is(.product-story, .clinician-section, .comparison-section, #diet-management, .final-cta) { padding-block-start: 0; }
.home-paged [data-chapter="clinicians"] .clinician-teaser { align-items: start; }
.home-paged [data-chapter="get-started"] .final-cta { min-height: 0; }
#get-started-title { font-size: clamp(32px, 3.6vw, 48px); }
.home-paged [data-chapter="get-started"] .faq-question {
  min-height: 64px;
  padding-block: 13px;
  font-size: clamp(16px, 1.1vw, 17px);
}
.home-paged .home-chapter-content .reveal { opacity: 1; transform: none; }
.home-paged .flow-story-page { margin: 0; }
.home-paged .hero-scroll { height: auto; }
.home-paged [data-chapter="hero"] .home-chapter-content { min-block-size: 100dvh; padding: 0; }
.home-paged .product-story .story-copy p { white-space: normal; }
html.home-paged:has(body[data-home-chapter="product"]),
.product-story .story-runtime-wrap { scrollbar-width: none; }
html.home-paged:has(body[data-home-chapter="product"])::-webkit-scrollbar,
.product-story .story-runtime-wrap::-webkit-scrollbar { display: none; }
@media (min-width: 761px) and (min-height: 501px),
       (min-width: 981px),
       (min-width: 761px) and (hover: hover),
       (min-width: 761px) and (pointer: fine) {
  .home-paged .home-chapter-content > .product-story { padding-block-end: 0; }
  .home-paged .product-story .story-controls { width: 100%; }
  .home-paged .product-story .story-copy--top { max-width: none; }
  .home-paged .product-story .story-copy h3 {
    max-width: none;
    font-size: clamp(24px, 3.4vw, 44px);
    white-space: nowrap;
  }
  /* Reserve room for the heading, tabs, gaps and chapter insets. */
  .home-paged .product-story .story-showcase { height: min(660px, calc(100dvh - 200px)); }
}
.home-paged .data-flow-canvas {
  width: min(1160px, calc((100dvh - var(--home-header-height, 64px) - 240px) * 1260 / 580));
  min-width: 780px;
}
.home-paged .life-link-visual { flex: 0 0 auto; }
.home-paged .site-footer { border-top: 0; }
.home-paged .site-header {
  position: fixed;
  padding-block: 10px;
  background: var(--background);
  color: var(--text-primary);
}
.home-paged .site-header .nav-shell { min-height: 44px; }
.home-paged .site-header .nav-links:not(.is-open) { gap: clamp(16px, 1.8vw, 26px); }
.home-paged .site-header .nav-links a { display: inline-flex; align-items: center; min-height: 44px; white-space: nowrap; }
.home-paged .site-header .brand,
.home-paged .site-header .nav-links a { color: inherit; }
.home-paged .site-header .nav-cta { min-height: 44px; padding-inline: 20px; background: var(--text-primary); color: var(--surface); }
.home-paged .site-header .nav-toggle { color: inherit; background: transparent; box-shadow: none; }
.home-paged .site-header .nav-toggle svg { width: 16px; height: 16px; }
.home-paged body:not(.is-home-hero) .site-header { visibility: hidden; pointer-events: none; }
.home-paged .is-home-hero .site-header { padding-block: 20px; }
.home-paged .is-home-hero .site-header .nav-shell { min-height: 48px; }
.home-paged .is-home-hero .site-header .nav-links:not(.is-open) { gap: clamp(20px, 2.4vw, 34px); }
.home-paged .is-home-hero .site-header .nav-links:not(.is-open) a { display: inline; min-height: 0; white-space: normal; }
.home-paged .is-home-hero .nav-cta { min-height: 44px; padding-inline: 18px; font-size: .8125rem; }
.home-paged .menu-open .site-header { background: transparent; color: var(--surface); }
.home-paged .nav-links.is-open { justify-self: stretch; align-self: stretch; color: var(--surface); overflow-y: auto; overscroll-behavior: contain; }
.home-chapter-stage:not(.is-current) *,
.home-chapter-stage:not(.is-current) *::before,
.home-chapter-stage:not(.is-current) *::after { animation-play-state: paused !important; }
.home-paged :focus-visible { outline: 2px solid var(--brand-ink); outline-offset: 5px; }
.home-chapter-status {
  position: fixed;
  inline-size: 1px;
  block-size: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
@media (min-width: 760px) and (max-height: 800px) {
  .home-paged .life-link-header { margin-bottom: 8px; }
  .home-paged .life-link-header .data-flow-title { font-size: clamp(28px, 3vw, 36px); }
  .home-paged .life-link-caption, .home-paged .life-link-feedback { margin-top: 12px; }
}
@media (max-width: 680px) {
  .home-paged .is-home-hero .site-header .nav-shell { min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .home-paged *, .home-paged *::before, .home-paged *::after { animation: none !important; transition: none !important; }
}
@media (forced-colors: active) {
  .home-paged :focus-visible { outline-color: Highlight; }
}
@media print {
  .home-paged .home-chapter-track { height: auto !important; }
  .home-paged .home-chapter-stage { position: static; visibility: visible; block-size: auto; overflow: visible; }
  .home-paged .home-chapter-content { min-block-size: 0; transform: none; padding-block: 24px; }
  .home-paged .site-header { display: none; }
}

/* Keep each chapter's content in a similar band by shrinking the pieces that
   otherwise overflow a laptop viewport. */
html.home-paged .product-story .story-copy--top { min-height: 0; }
html.home-paged .product-story .story-copy h3 { margin-bottom: 6px; }
html.home-paged .product-story .story-tabs { margin-top: 8px; }
html.home-paged .product-story .story-stage {
  margin-top: 8px;
  padding: 12px 12px 4px;
}
html.home-paged .product-story .story-stage::after {
  padding: 6px 4px 2px 44px;
}
html.home-paged .product-story .story-showcase {
  height: min(560px, calc(100dvh - 200px));
  align-items: center;
  padding: 16px 20px;
  grid-template-rows: minmax(0, 1fr);
}
html.home-paged .product-story .story-runtime-wrap {
  align-self: center;
  height: auto;
  max-height: 100%;
  min-height: 0;
  border-radius: 20px;
}
html.home-paged .product-story .story-runtime-card {
  box-sizing: border-box;
  max-height: 100%;
}
html.home-paged .meal-learning-loop {
  --meal-loop-row-gap: clamp(20px, 2.6vh, 36px);
  --note-line-height: 20px;
  width: min(960px, 94%);
}
html.home-paged .meal-loop-card { padding: 10px; }
html.home-paged .flow-story-page--learning .data-flow-header { max-width: none; margin-bottom: 28px; }
html.home-paged .flow-story-page--learning .data-flow-copy { max-width: none; white-space: nowrap; }
@media (max-width: 980px) {
  html.home-paged .flow-story-page--learning .data-flow-copy { white-space: normal; }
}
html.home-paged [data-chapter="guidance"] .home-chapter-content {
  justify-content: flex-start;
  padding-block-start: var(--home-learning-top, var(--home-page-top));
}
html.home-paged .flow-story-page--guidance { margin-top: 0; }
html.home-paged .life-link-visual {
  width: min(1160px, 100%);
  --life-card-height: min(328px, calc(100dvh - 436px));
  --life-source-gap: 92px;
  --life-source-height: 66px;
  --life-line-inset: 10px;
  --life-line-clear: 18px;
  padding-top: 8px;
  padding-bottom: 4px;
}
html.home-paged .life-link-header { margin-bottom: 22px; }
html.home-paged #real-life-title { white-space: nowrap; }
@media (max-width: 860px) {
  html.home-paged #real-life-title { white-space: normal; }
}
html.home-paged .life-link-feedback { margin-top: 22px; }
html.home-paged .life-link-bridge { display: none; }
html.home-paged .life-link-connectors {
  display: block;
  top: calc(8px + var(--life-source-height) + var(--life-line-inset));
  left: 0;
  width: 100%;
  height: calc(var(--life-source-gap) - var(--life-line-inset) - var(--life-line-clear));
  transform: none;
}
html.home-paged .life-link-connectors .flow-line { stroke-dasharray: 3 4; }
@media (max-width: 759px) {
  html.home-paged .life-link-connectors { display: none; }
  html.home-paged .life-link-visual {
    --life-source-gap: 36px;
    --life-source-height: auto;
  }
}
html.home-paged .life-link-layout { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 759px) {
  html.home-paged .life-link-layout { grid-template-columns: minmax(0, 1fr); }
}
html.home-paged .life-link-grocery-context > div { grid-template-columns: max-content minmax(0, 1fr); }
html.home-paged .life-link-grocery-context dt { font-size: 11px; white-space: nowrap; }
html.home-paged .life-link-card { padding: 12px 14px 10px; }
html.home-paged .life-link-card-head { min-height: 26px; padding-bottom: 6px; }
html.home-paged .life-link-grocery-context { gap: 2px; margin: 4px 0 0; padding-bottom: 6px; }
html.home-paged .life-link-grocery-list { margin-block: 16px 0; }
html.home-paged .life-link-grocery-list li { min-height: 38px; padding-block: 1px; }
html.home-paged .life-link-grocery-thumb { width: 32px; height: 32px; }
html.home-paged .care-portal-trend { margin-top: 2px; }
html.home-paged .care-portal-legend { margin: 2px 0 0; }
html.home-paged .care-portal-chart { height: 108px; }
html.home-paged .pattern-reminder-list {
  flex: 0 1 auto;
  justify-content: flex-start;
  gap: 8px;
  margin-top: 6px;
}
html.home-paged .pattern-reminder-list li:last-child { margin-top: 4px; }
html.home-paged .care-portal-records { margin-bottom: 0; padding-top: 4px; }
html.home-paged .care-home-showcase {
  --care-preview-height: min(480px, calc(100dvh - 250px));
}
html.home-paged .care-home-choices {
  height: calc(var(--care-preview-height) + 16px);
  gap: 13px;
}
html.home-paged .care-home-case { min-height: 0; padding: 10px 12px; gap: 4px; }
html.home-paged .clinician-section .clinician-teaser-copy { margin-bottom: 12px; }
html.home-paged .clinician-section .clinician-teaser-heading .audience-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  height: 32px;
  min-height: 32px;
  margin: 0;
  padding: 0 14px;
  line-height: 1;
  letter-spacing: 0;
  text-align: center;
}
html.home-paged .clinician-section .clinician-teaser-copy > p:not(.clinician-eyebrow) {
  max-width: none;
  margin: 8px 0 12px;
  white-space: nowrap;
}
@media (max-width: 1180px) {
  html.home-paged .clinician-section .clinician-teaser-copy > p:not(.clinician-eyebrow) { white-space: normal; }
}
html.home-paged .clinician-section .clinician-button {
  min-height: 40px;
  padding: 7px 16px;
  gap: 10px;
}
html.home-paged .clinician-section .clinician-button:has(svg) { padding-inline-end: 14px; }
html.home-paged .clinician-section .clinician-button svg { inline-size: 16px; block-size: 16px; flex-basis: 16px; }
html.home-paged .care-home-case strong { font-size: calc(clamp(18px, 1.4vw, 19px) - 2px); }
html.home-paged .nb-section-head { margin-bottom: 36px; gap: 14px; }
html.home-paged #comparison .nb-section-head { max-width: none; margin-bottom: 24px; gap: 8px; }
html.home-paged #comparison .nb-section-head p:not(.audience-badge) { max-width: none; white-space: nowrap; }
html.home-paged #comparison .nb-compare th,
html.home-paged #comparison .nb-compare td { padding-top: 26px; }
@media (max-width: 980px) {
  html.home-paged #comparison .nb-section-head p:not(.audience-badge) { white-space: normal; }
}
html.home-paged [data-chapter="get-started"] .cta-panel { gap: clamp(28px, 4vw, 56px); }
html.home-paged [data-chapter="get-started"] .site-footer {
  margin-top: 0;
  padding: 64px 0 34px;
}
