/* Patient and GI story: large type, product footage, one shared character. */
.care-chapter {
  position: relative;
  padding: 85px 0 100px;
  background: var(--mist);
  color: var(--ink);
  font-family: var(--display);
  overflow: clip;
}
.care-chapter h2 {
  font-size: clamp(40px, 3.5vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.045em;
  text-wrap: pretty;
}
.care-chapter h3 {
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: -0.025em;
}
.care-chapter p {
  font-size: 22px;
  line-height: 1.48;
}
.care-chapter button,
.care-chapter a,
.care-chapter small,
.care-chapter figcaption,
.care-chapter label {
  font: 500 18px/1.4 var(--display);
}
.care-chapter button {
  cursor: pointer;
}
.chapter-heading {
  max-width: 1050px;
  margin-bottom: 45px;
}
.chapter-heading h2 {
  max-width: 29ch;
}
.chapter-lead {
  margin-top: 28px;
}
.scene-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  border-top: 1px solid #b0ccd7;
  margin-top: 28px;
  padding-top: 20px;
}
.care-chapter .scene-controls p {
  font-size: 20px;
  max-width: 56ch;
}
.scene-play {
  background: none;
  border: 0;
  color: var(--ink);
  padding: 10px 0 10px 20px;
  text-decoration: underline;
  text-underline-offset: 5px;
  flex: none;
}
.scene-steps {
  display: flex;
  gap: 20px;
}
.scene-steps button {
  border: 0;
  border-bottom: 3px solid transparent;
  color: var(--ink);
  background: transparent;
  padding: 12px 0;
  text-align: left;
}
.scene-steps button[aria-pressed="true"] {
  border-color: var(--teal);
}
.stable-copy,
.workflow-deck {
  display: grid;
}
[data-step-copy] {
  grid-area: 1/1;
}
[data-step-copy][hidden] {
  display: block;
  visibility: hidden;
  pointer-events: none;
}
.care-chapter :focus-visible,
.story-dock :focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 5px;
}

.voice-gap .gap-composition {
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 720px;
}
.voice-gap .gap-message {
  position: absolute;
  top: 115px;
  left: max(5%, calc((100% - 1320px) / 2));
  width: min(620px, 46%);
  padding: 35px 40px;
  background: #eff4ff;
  border-radius: 32px 80px 40px 32px;
  box-shadow: 14px 16px 0 #dbe6f7;
}
.voice-gap h2 {
  font-size: clamp(38px, 3.1vw, 54px);
  line-height: 1.08;
  margin-bottom: 24px;
}
.voice-gap .gap-message > p {
  font: 400 22px/1.5 var(--display);
}
.gap-value {
  display: grid;
  grid-template-columns: 115px 1fr;
  gap: 20px;
  font: 400 20px/1.4 var(--display);
  margin-top: 25px;
  padding-top: 22px;
  border-top: 1px solid #c0d4de;
}
.gap-value strong {
  color: #087d96;
  font-weight: 600;
}
.voice-gap .gap-seat {
  left: 51%;
  bottom: 95px;
  width: 145px;
  height: 190px;
}

.voice-chapter {
  background: #fff;
}
.voice-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 6%;
  align-items: start;
}
.voice-copy {
  position: relative;
  padding-top: 20px;
}
.voice-copy::before {
  position: absolute;
  content: "";
  inset: -80px -60px -45px -400px;
  background: var(--mist);
  border-radius: 0 40% 35% 0 / 0 25% 30% 0;
  z-index: 0;
}
.voice-copy > * {
  position: relative;
}
.voice-listen {
  margin-top: 28px;
}
#listen-ubi {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  padding: 17px 24px;
  border: 1px solid #7eacba;
  border-radius: 32px;
  background: white;
  color: var(--ink);
  font-size: 20px;
}
.voice-bars {
  display: flex;
  height: 25px;
  align-items: center;
  gap: 4px;
}
.voice-bars i {
  display: block;
  width: 4px;
  height: 10px;
  background: var(--teal);
  border-radius: 4px;
}
.voice-bars i:nth-child(2),
.voice-bars i:nth-child(4) {
  height: 19px;
}
.voice-bars i:nth-child(3) {
  height: 27px;
}
#listen-ubi[aria-pressed="true"] i {
  animation: speaking 0.65s ease-in-out infinite alternate;
}
#listen-ubi[aria-pressed="true"] i:nth-child(2n) {
  animation-delay: -0.35s;
}
@keyframes speaking {
  to {
    transform: scaleY(0.35);
  }
}
.app-topics {
  display: flex;
  gap: 20px;
  margin-top: 35px;
  border-bottom: 1px solid #bdd2db;
}
.app-topics button {
  color: var(--ink);
  background: none;
  border: 0;
  border-bottom: 3px solid transparent;
  padding: 12px 0;
  text-align: left;
}
.app-topics button[aria-selected="true"] {
  border-color: var(--teal);
  color: #07798f;
}
.app-detail {
  margin-top: 25px;
  min-height: 205px;
}
.app-detail h3 {
  font-size: 29px;
  margin-bottom: 16px;
}
.app-detail p {
  font-size: 21px;
}
.app-reveal {
  height: 750px;
  position: relative;
  overflow: hidden;
  border-radius: 42px 90px 30px 50px;
  background: var(--blue);
}
.app-surface {
  height: 680px;
  padding: 28px 22px;
  display: grid;
  grid-template-columns: 1.45fr 0.8fr;
  gap: 18px;
  align-items: center;
}
.app-device {
  height: 625px;
  border: 7px solid #103f4b;
  border-radius: 37px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 12px 25px #0e3b471c;
}
.app-device video,
.app-device img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.app-device [hidden] {
  display: none;
}
.app-side {
  align-self: center;
}
.app-side p {
  font-size: 20px;
  margin-top: 25px;
}
.voice-seat {
  width: 140px;
  height: 180px;
}
.app-photo {
  position: absolute;
  inset: 0 0 65px;
  z-index: 2;
  overflow: hidden;
  background: var(--blue);
  transition: transform 1.25s cubic-bezier(0.65, 0, 0.2, 1);
}
.app-photo img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: 76% center;
}
.app-photo button {
  position: absolute;
  left: 25px;
  right: 25px;
  bottom: 30px;
  border: none;
  background: var(--mist);
  color: var(--ink);
  border-radius: 35px;
  padding: 20px;
  font-size: 22px;
}
.app-photo button span {
  margin-left: 15px;
}
.app-reveal[data-reveal="1"] .app-photo {
  transform: translateX(-105%);
  pointer-events: none;
}
.app-media-controls {
  position: absolute;
  bottom: 0;
  height: 65px;
  padding: 12px 25px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.app-media-controls button {
  border: 0;
  color: var(--ink);
  background: transparent;
  padding: 5px 0;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.funnel-chapter {
  background: var(--blue);
}
.funnel-scene {
  display: grid;
  grid-template-columns: 34% 27% 33%;
  gap: 3%;
  align-items: center;
  position: relative;
}
.input-stack {
  display: grid;
  gap: 18px;
  position: relative;
  z-index: 1;
}
.input-node {
  display: flex;
  gap: 20px;
  align-items: center;
  padding: 18px 20px;
  background: #eff4ff;
  border: 2px solid transparent;
  border-radius: 24px;
  text-align: left;
  color: var(--ink);
  transition:
    border-color 0.4s,
    background 0.4s;
}
.input-node[aria-pressed="true"] {
  border-color: var(--teal);
  background: white;
}
.input-node svg {
  flex: none;
  width: 50px;
  height: 50px;
  fill: none;
  stroke: var(--teal);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.input-node strong {
  font-size: 26px;
  display: block;
  margin-bottom: 4px;
}
.input-node > span > span {
  font-size: 19px;
  display: block;
}
.funnel-lines {
  position: absolute;
  left: 0;
  width: 100%;
  height: 100%;
  top: -35px;
  pointer-events: none;
  fill: none;
  stroke: #59bfcf;
  stroke-width: 3;
}
.funnel-lines path {
  stroke-dasharray: 7 6;
}
.scene-playing .funnel-lines path {
  animation: signal-travel 2s linear infinite;
}
@keyframes signal-travel {
  to {
    stroke-dashoffset: -52;
  }
}
.funnel-hub {
  position: relative;
  text-align: center;
  z-index: 1;
}
.funnel-hub::before {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  border: 1px solid #95c8d4;
  border-radius: 50%;
  background: #eff4ff;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: -1;
  box-shadow: 0 0 0 20px #eff4ff66;
}
.funnel-seat {
  width: 210px;
  height: 260px;
  margin: auto;
}
.funnel-hub > strong {
  display: block;
  margin: 30px 15px 0;
  font-size: 22px;
  font-weight: 500;
}
.funnel-result {
  position: relative;
  background: #eff4ff;
  padding: 32px 28px;
  border-radius: 32px;
}
.funnel-result h3 {
  margin-bottom: 24px;
  font-size: 32px;
}
.funnel-result p {
  font-size: 22px;
}
.funnel-scene .scene-controls {
  grid-column: 1/-1;
  position: relative;
}

.workflow-chapter {
  background: #fff;
}
.workflow-rail {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin-bottom: 35px;
}
.workflow-rail button {
  border: 0;
  border-bottom: 3px solid #c9dce2;
  background: none;
  color: var(--ink);
  text-align: left;
  padding: 15px 3px;
}
.workflow-rail button[aria-pressed="true"] {
  border-color: var(--teal);
  color: #08758a;
}
.workflow-deck {
  position: relative;
}
.workflow-card {
  display: grid;
  grid-template-columns: 46% 1fr;
  gap: 8%;
  align-items: center;
}
.workflow-artifact {
  margin: 20px 0 20px 135px;
  min-height: 370px;
  padding: 28px;
  background: var(--mist);
  border: 1px solid #b4cfda;
  border-radius: 8px 45px 8px 8px;
  box-shadow: 10px 12px 0 var(--blue);
  transform: translateY(0);
}
.workflow-card:not([hidden]) .workflow-artifact {
  animation: paperwork 0.9s cubic-bezier(0.2, 0.8, 0.3, 1) both;
}
@keyframes paperwork {
  from {
    transform: translate(35px, 15px) rotate(3deg);
    opacity: 0.1;
  }
}
.workflow-artifact > img {
  width: 155px;
  height: 155px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 20px;
}
.artifact-mark {
  width: 82px;
  height: 100px;
  fill: none;
  stroke: var(--teal);
  stroke-width: 2;
  margin-bottom: 20px;
}
.workflow-artifact > span {
  display: block;
  font-size: 19px;
  color: #08778c;
  margin-bottom: 17px;
}
.workflow-artifact > strong {
  display: block;
  font-size: 29px;
  line-height: 1.15;
  font-weight: 500;
}
.workflow-artifact > p {
  font-size: 19px;
  margin-top: 20px;
}
.workflow-explanation h3 {
  font-size: 36px;
  margin-bottom: 25px;
}
.workflow-explanation .shared-benefit {
  margin-top: 28px;
  padding: 22px 25px;
  border-left: 4px solid var(--cyan);
  background: var(--mist);
  font-size: 21px;
}
.workflow-seat {
  position: absolute;
  left: 0;
  top: 155px;
  width: 120px;
  height: 160px;
}

.team-chapter {
  background: var(--mist);
}
.team-story {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px 8%;
  align-items: start;
}
.care-portrait {
  position: relative;
  margin-top: 10px;
}
.care-portrait > img {
  width: 100%;
  height: 485px;
  object-fit: cover;
  object-position: 65%;
  border-radius: 42% 38% 36% 35%;
}
.portrait-note {
  margin: 24px auto 0;
  font-size: 22px;
  line-height: 1.4;
  text-align: center;
  max-width: 29ch;
}
.oversight-seat {
  position: absolute;
  right: 0;
  top: 275px;
  width: 130px;
  height: 175px;
}
.team-narrative > p {
  margin-top: 28px;
}
.oversight-scene {
  grid-column: 1/-1;
}
.responsibility-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7%;
  position: relative;
  padding-top: 20px;
}
.responsibility-track::before,
.responsibility-track::after {
  content: "";
  position: absolute;
  top: 31px;
  left: 0;
  right: 0;
  height: 3px;
  background: #b0cad4;
}
.responsibility-track::after {
  right: auto;
  width: 5%;
  background: var(--teal);
  transition: width 1s ease;
}
[data-step="1"] .responsibility-track::after {
  width: 48%;
}
[data-step="2"] .responsibility-track::after {
  width: 98%;
}
.responsibility-track > div {
  position: relative;
}
.responsibility-dot {
  display: block;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid var(--teal);
  background: var(--mist);
  margin-bottom: 25px;
}
.responsibility-track h3 {
  font-size: 30px;
}
.responsibility-track p {
  margin-top: 18px;
}
.patient-voice {
  grid-column: 1/-1;
  margin: 10px auto 0;
  max-width: 1050px;
  text-align: center;
  padding: 45px 55px;
  background: var(--blue);
  border-radius: 40px 90px 40px 70px;
}
.patient-voice blockquote {
  font: 500 34px/1.35 var(--display);
  margin: 0 0 25px;
}
.patient-voice p {
  font-size: 20px;
}
.patient-voice a {
  display: inline-block;
  margin-top: 18px;
}

.evidence-chapter {
  background: white;
}
.evidence-chapter .outcomes-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 8%;
  align-items: start;
}
.evidence-chapter .outcomes-intro {
  display: grid;
  grid-template-columns: 1fr 125px;
  gap: 25px 25px;
  position: static;
  padding: 0;
}
.evidence-chapter .outcomes-intro h2 {
  grid-column: 1/-1;
  margin: 0;
  font-size: clamp(40px, 3.4vw, 56px);
}
.evidence-chapter .outcomes-intro > p {
  color: var(--ink);
  font-size: 22px;
  padding: 0;
  max-width: none;
}
.evidence-chapter .outcomes-intro .flow-seat {
  position: static;
  width: 125px;
  height: 170px;
  margin: 10px 0 0;
}
.evidence-chapter .outcomes-evidence {
  padding: 32px;
  background: var(--mist);
  border-radius: 35px 70px 35px 35px;
}
.evidence-chapter .evidence-label {
  font-size: 20px;
  color: var(--ink);
  margin-bottom: 25px;
}
.evidence-chapter .outcome-result {
  display: block;
  border-color: #b5cdd7;
}
.evidence-chapter .outcome-number {
  color: #087f98;
  font-size: 82px;
  margin-bottom: 18px;
}
.evidence-chapter .outcome-result h3 {
  font-size: 31px;
}
.evidence-chapter .outcome-result p {
  font-size: 21px;
  color: var(--ink);
}
.evidence-chapter .outcome-result a {
  color: #08718a;
  font-size: 18px;
}
.evidence-chapter .healing-comparison figcaption {
  font-size: 18px;
  color: var(--ink);
}
.evidence-chapter .comparison-row {
  font-size: 18px;
}
.evidence-chapter .comparison-row i {
  background: var(--teal);
  height: 10px;
}
.evidence-chapter .comparison-row.conventional i {
  background: #819eac;
}
.evidence-chapter .comparison-row::after {
  background: #d5e1eb;
  height: 10px;
}
.evidence-chapter .evidence-context {
  font-size: 18px;
  color: var(--muted);
}

.practice-chapter {
  background: var(--blue);
}
.practice-chapter .practice-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px 8%;
  align-items: start;
}
.practice-chapter .practice-layout > div:first-child {
  display: grid;
  grid-template-columns: 1fr 125px;
  gap: 28px 20px;
}
.practice-chapter h2 {
  grid-column: 1/-1;
}
.practice-chapter .section-description {
  color: var(--ink);
  font-size: 22px;
  margin: 0;
  padding: 0;
}
.practice-chapter .practice-layout > div:first-child > .button {
  grid-column: 1/-1;
  grid-row: 3;
  justify-self: start;
  margin: 0;
}
.practice-chapter .practice-layout .flow-seat {
  grid-column: 2;
  grid-row: 2;
  width: 125px;
  height: 170px;
  margin: 15px 0 0;
}
.practice-chapter .revenue-calculator {
  border: 0;
  border-radius: 35px 75px 35px 35px;
  padding: 38px;
  background: var(--mist);
}
.practice-chapter .revenue-calculator h3 {
  font-size: 32px;
}
.practice-chapter .calculator-inputs {
  grid-template-columns: 1fr;
  gap: 22px;
}
.practice-chapter .calculator-inputs label {
  font-size: 20px;
}
.practice-chapter .calculator-inputs input {
  font-size: 26px;
  padding: 15px;
}
.practice-chapter #revenue-total {
  font-size: clamp(50px, 4.6vw, 76px);
}
.practice-chapter .revenue-calculator p {
  font-size: 20px;
}
.practice-chapter .revenue-calculator small {
  font-size: 18px;
  line-height: 1.45;
}
.aligned-value {
  grid-column: 1/-1;
  display: grid;
  grid-template-columns: 1fr 70px 1fr;
  gap: 35px;
  align-items: center;
  border-top: 1px solid #aac7d2;
  padding-top: 50px;
}
.aligned-value h3 {
  font-size: 32px;
  margin-bottom: 22px;
}
.aligned-value svg {
  width: 100%;
  fill: none;
  stroke: var(--teal);
  stroke-width: 3;
}

.faq-section,
.closing,
.site-footer {
  font-family: var(--display);
}
.faq-section h2,
.closing h2 {
  font-size: clamp(40px, 3.7vw, 60px);
  line-height: 1.1;
}
.faq-section .chapter-kicker,
.closing .chapter-kicker {
  font-size: 18px;
}
.questions summary {
  font-size: 24px;
  line-height: 1.35;
}
.questions details p,
.questions details a,
.closing-copy {
  font-size: 22px;
  line-height: 1.5;
}
.site-footer p,
.site-footer a,
.site-footer span {
  font-size: 18px;
}
.site-nav nav,
.site-nav .nav-cta,
.hero .button,
.hero .text-link,
.hero .intro-line,
.hello,
.scroll-cue,
.closing .button,
.closing .text-link {
  font-size: 18px;
}
.hero-description {
  font-size: 21px;
}
.motion-toggle {
  font-size: 18px;
  padding: 12px 18px;
}
.story-dock {
  display: flex;
  width: auto;
  max-width: calc(100% - 32px);
  bottom: 20px;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 40px;
  background: #ffffffed;
  box-shadow: 0 4px 20px #0e3b4712;
}
.story-mark {
  width: 28px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.story-mark > span {
  width: 100%;
  height: 5px;
  border-radius: 4px;
  background: #b9ced7;
  transition:
    background 0.3s,
    height 0.3s;
}
.story-mark[data-passed] > span {
  background: #51b4c6;
}
.story-mark[aria-current="location"] > span {
  background: #087f99;
  height: 9px;
}
#story-next {
  display: grid;
  place-items: center;
  width: 35px;
  height: 36px;
  font-size: 27px;
}
#story-next span {
  margin: 0;
}

@media (min-width: 901px) and (max-width: 1200px) {
  .care-chapter h2 {
    font-size: 42px;
  }
  .care-chapter p {
    font-size: 21px;
  }
  .voice-layout {
    gap: 4%;
  }
  .app-surface {
    grid-template-columns: 1.5fr 0.65fr;
    padding-inline: 15px;
    gap: 12px;
  }
  .voice-seat {
    width: 105px;
    height: 145px;
  }
  .app-side p {
    font-size: 18px;
  }
  .input-node {
    padding: 16px 12px;
    gap: 12px;
  }
  .input-node strong {
    font-size: 23px;
  }
  .funnel-seat {
    width: 165px;
    height: 215px;
  }
  .funnel-hub::before {
    width: 225px;
    height: 225px;
  }
  .funnel-result {
    padding: 25px 20px;
  }
  .funnel-result h3 {
    font-size: 28px;
  }
  .workflow-artifact {
    margin-left: 110px;
    padding: 22px;
  }
  .workflow-seat {
    width: 100px;
    height: 140px;
  }
}
@media (min-width: 901px) and (max-height: 850px) {
  .voice-gap .gap-message {
    top: 110px;
    padding: 28px;
  }
  .voice-gap h2 {
    font-size: 37px;
  }
  .voice-gap .gap-message > p {
    font-size: 20px;
  }
  .gap-value {
    font-size: 18px;
    margin-top: 18px;
    padding-top: 16px;
    grid-template-columns: 100px 1fr;
  }
}
@media (max-width: 900px) {
  .care-chapter {
    padding: 70px 0 85px;
  }
  .care-chapter h2 {
    font-size: clamp(37px, 5.2vw, 48px);
  }
  .care-chapter p {
    font-size: 20px;
  }
  .chapter-heading {
    margin-bottom: 35px;
  }
  .voice-gap .gap-composition {
    position: relative;
    min-height: 1050px;
    height: auto;
    padding: 115px 6% 350px;
  }
  .voice-gap .gap-message {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    padding: 28px;
    border-radius: 28px 65px 30px 28px;
  }
  .voice-gap h2 {
    font-size: 39px;
  }
  .voice-gap .gap-message > p {
    font-size: 20px;
  }
  .gap-value {
    grid-template-columns: 1fr;
    gap: 8px;
    font-size: 19px;
  }
  .voice-gap .gap-seat {
    left: auto;
    right: 8%;
    bottom: 95px;
    width: 140px;
    height: 180px;
  }
  .voice-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .voice-copy::before {
    inset: -70px -20% -35px;
    border-radius: 0 0 30% 20%;
  }
  .voice-copy {
    padding: 0;
  }
  .app-topics {
    gap: 20px;
  }
  .app-detail {
    min-height: 0;
    padding-right: 100px;
  }
  .app-detail h3 {
    font-size: 28px;
  }
  .app-reveal {
    height: 740px;
    margin-top: 20px;
    border-radius: 35px 65px 30px 35px;
  }
  .app-surface {
    height: 670px;
    padding: 25px;
    grid-template-columns: 1.5fr 0.8fr;
  }
  .app-device {
    height: 610px;
    max-width: 340px;
  }
  .voice-seat {
    width: 130px;
    height: 175px;
  }
  .app-side p {
    font-size: 20px;
  }
  .funnel-scene {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .input-stack {
    grid-template-columns: 1fr 1fr;
    gap: 15px;
  }
  .input-node {
    flex-direction: column;
    align-items: start;
    gap: 15px;
  }
  .input-node strong {
    font-size: 25px;
  }
  .funnel-lines {
    display: none;
  }
  .funnel-hub {
    padding-top: 20px;
  }
  .funnel-hub::before {
    top: 10px;
  }
  .funnel-hub::after {
    content: "";
    position: absolute;
    height: 70px;
    width: 2px;
    background: var(--teal);
    left: 50%;
    top: -45px;
    z-index: -1;
  }
  .funnel-hub > strong {
    margin-top: 20px;
  }
  .funnel-seat {
    height: 230px;
    width: 185px;
  }
  .funnel-result {
    padding: 30px;
    margin-top: 5px;
  }
  .funnel-result h3 {
    font-size: 32px;
  }
  .funnel-scene .scene-controls {
    grid-column: 1;
  }
  .workflow-rail {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px 20px;
  }
  .workflow-card {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .workflow-artifact {
    width: calc(100% - 150px);
    margin-left: 150px;
    min-height: 345px;
  }
  .workflow-seat {
    left: 0;
    top: 180px;
    width: 130px;
    height: 170px;
  }
  .workflow-explanation h3 {
    font-size: 33px;
  }
  .workflow-explanation .shared-benefit {
    font-size: 20px;
  }
  .team-story {
    grid-template-columns: 1fr;
    gap: 45px;
  }
  .team-narrative {
    grid-row: 1;
  }
  .care-portrait > img {
    height: 400px;
  }
  .oversight-seat {
    top: 205px;
    width: 125px;
    height: 165px;
  }
  .responsibility-track {
    gap: 6%;
  }
  .responsibility-track h3 {
    font-size: 25px;
  }
  .responsibility-track p {
    font-size: 19px;
  }
  .patient-voice {
    padding: 35px;
  }
  .patient-voice blockquote {
    font-size: 30px;
  }
  .evidence-chapter .outcomes-layout {
    grid-template-columns: 1fr;
    gap: 45px;
  }
  .evidence-chapter .outcomes-intro {
    grid-template-columns: 1fr 125px;
    gap: 25px;
  }
  .evidence-chapter .outcomes-intro h2 {
    font-size: 40px;
  }
  .evidence-chapter .outcomes-intro > p {
    font-size: 20px;
  }
  .practice-chapter .practice-layout {
    grid-template-columns: 1fr;
    gap: 45px;
  }
  .practice-chapter .section-description {
    font-size: 20px;
  }
  .aligned-value {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .aligned-value svg {
    height: 60px;
    width: 80px;
    transform: rotate(90deg);
    justify-self: center;
  }
  .faq-section h2,
  .closing h2 {
    font-size: 40px;
  }
  .questions details p,
  .questions details a,
  .closing-copy {
    font-size: 20px;
  }
  .motion-toggle {
    font-size: 18px;
    bottom: 86px;
  }
  .story-dock {
    width: auto;
    padding: 7px 12px;
    gap: 6px;
    bottom: 18px;
  }
  .story-mark {
    width: 23px;
    height: 32px;
  }
  .hero-description {
    font-size: 19px;
  }
  .hero .intro-line {
    font-size: 18px;
  }
}
@media (max-width: 560px) {
  .care-chapter h2 {
    font-size: 37px;
  }
  .care-chapter p {
    font-size: 19px;
  }
  .page-width {
    width: 88%;
  }
  .voice-gap .gap-composition {
    padding-inline: 5%;
    min-height: 1250px;
  }
  .voice-gap .gap-message {
    padding: 25px;
  }
  .voice-gap h2 {
    font-size: 35px;
  }
  .voice-gap .gap-message > p {
    font-size: 19px;
  }
  .voice-gap .gap-seat {
    bottom: 100px;
  }
  .voice-listen {
    margin-top: 24px;
  }
  .app-topics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px 20px;
    padding-right: 75px;
  }
  .app-topics button {
    font-size: 18px;
  }
  .app-topics button:last-child {
    grid-column: 1/-1;
  }
  .app-detail {
    padding-right: 85px;
  }
  .app-detail p {
    font-size: 19px;
  }
  .app-detail h3 {
    font-size: 26px;
  }
  .app-reveal {
    height: 695px;
  }
  .app-surface {
    height: 625px;
    padding: 20px 12px;
    grid-template-columns: 1fr 70px;
    gap: 10px;
  }
  .app-device {
    height: 555px;
    border-width: 5px;
    border-radius: 27px;
  }
  .voice-seat {
    width: 90px;
    height: 125px;
    margin-left: -12px;
  }
  .app-side p {
    display: none;
  }
  .app-media-controls {
    gap: 14px;
    padding: 10px 18px;
  }
  .app-media-controls button {
    font-size: 18px;
    text-align: left;
  }
  .app-photo button {
    font-size: 20px;
    left: 15px;
    right: 15px;
  }
  .input-stack {
    gap: 12px;
  }
  .input-node {
    padding: 18px 14px;
  }
  .input-node strong {
    font-size: 22px;
  }
  .input-node > span > span {
    font-size: 18px;
  }
  .input-node svg {
    width: 42px;
    height: 42px;
  }
  .funnel-result {
    padding: 25px;
  }
  .funnel-result h3 {
    font-size: 30px;
  }
  .funnel-result p {
    font-size: 20px;
  }
  .scene-controls {
    gap: 12px;
    align-items: start;
  }
  .care-chapter .scene-controls p {
    font-size: 18px;
  }
  .scene-play {
    padding-left: 8px;
  }
  .workflow-rail {
    gap: 6px 14px;
  }
  .workflow-rail button {
    font-size: 18px;
  }
  .workflow-artifact {
    width: calc(100% - 90px);
    margin-left: 90px;
    padding: 24px;
  }
  .workflow-artifact > img {
    width: 125px;
    height: 125px;
  }
  .workflow-artifact > strong {
    font-size: 27px;
  }
  .workflow-artifact > p,
  .workflow-artifact > span {
    font-size: 18px;
  }
  .workflow-seat {
    width: 90px;
    height: 125px;
    top: 195px;
    left: -8px;
  }
  .workflow-explanation h3 {
    font-size: 30px;
  }
  .workflow-explanation .shared-benefit {
    padding: 20px;
    font-size: 19px;
  }
  .care-portrait > img {
    height: 300px;
  }
  .oversight-seat {
    top: 145px;
    width: 105px;
    height: 145px;
  }
  .portrait-note {
    font-size: 20px;
  }
  .responsibility-track {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-left: 40px;
  }
  .responsibility-track::before,
  .responsibility-track::after {
    left: 10px;
    top: 25px;
    width: 3px;
    height: 90%;
    right: auto;
  }
  .responsibility-track::after {
    height: 5%;
    transition: height 1s;
  }
  [data-step="1"] .responsibility-track::after {
    height: 48%;
    width: 3px;
  }
  [data-step="2"] .responsibility-track::after {
    height: 90%;
    width: 3px;
  }
  .responsibility-dot {
    position: absolute;
    top: 3px;
    left: -40px;
  }
  .responsibility-track h3 {
    font-size: 27px;
  }
  .responsibility-track p {
    font-size: 19px;
  }
  .scene-steps {
    gap: 15px;
    flex-wrap: wrap;
  }
  .patient-voice {
    padding: 30px 24px;
  }
  .patient-voice blockquote {
    font-size: 27px;
  }
  .evidence-chapter .outcomes-intro {
    grid-template-columns: 1fr 85px;
    gap: 25px 12px;
  }
  .evidence-chapter .outcomes-intro h2 {
    font-size: 37px;
  }
  .evidence-chapter .outcomes-intro > p {
    font-size: 19px;
  }
  .evidence-chapter .outcomes-intro .flow-seat {
    width: 85px;
    height: 120px;
  }
  .evidence-chapter .outcomes-evidence {
    padding: 26px 22px;
  }
  .evidence-chapter .outcome-result h3 {
    font-size: 29px;
  }
  .evidence-chapter .outcome-result p {
    font-size: 19px;
  }
  .practice-chapter .practice-layout > div:first-child {
    grid-template-columns: 1fr 85px;
    gap: 25px 12px;
  }
  .practice-chapter .section-description {
    font-size: 19px;
  }
  .practice-chapter .practice-layout .flow-seat {
    width: 85px;
    height: 120px;
  }
  .practice-chapter .revenue-calculator {
    padding: 30px 24px;
    border-radius: 30px;
  }
  .practice-chapter .revenue-calculator h3 {
    font-size: 29px;
  }
  .practice-chapter #revenue-total {
    font-size: 52px;
  }
  .aligned-value h3 {
    font-size: 29px;
  }
  .questions summary {
    font-size: 23px;
  }
  .questions details p,
  .questions details a,
  .closing-copy {
    font-size: 19px;
  }
  .story-dock {
    gap: 5px;
    padding-inline: 10px;
  }
  .story-mark {
    width: 20px;
  }
  #story-next {
    width: 28px;
  }
}
@media (max-width: 0px) {
  .care-chapter *,
  .app-photo {
    animation: none !important;
    transition: none !important;
  }
}
.scene-still * {
  animation: none !important;
  transition: none !important;
}

@media (min-width: 901px) {
  .funnel-chapter .chapter-heading {
    max-width: none;
    margin-bottom: 30px;
  }
  .funnel-chapter .chapter-heading h2 {
    max-width: none;
  }
  .funnel-scene {
    grid-template-columns: 1fr 230px 1fr;
    gap: 22px 5%;
  }
  .input-stack {
    display: contents;
  }
  .input-conversation {
    grid-column: 1;
    grid-row: 1;
  }
  .input-lab {
    grid-column: 3;
    grid-row: 1;
  }
  .input-wearable {
    grid-column: 1;
    grid-row: 2;
  }
  .input-logs {
    grid-column: 3;
    grid-row: 2;
  }
  .funnel-hub {
    grid-column: 2;
    grid-row: 1 / 3;
  }
  .funnel-hub > strong {
    font-size: 20px;
    margin-top: 15px;
  }
  .funnel-seat {
    width: 180px;
    height: 230px;
  }
  .funnel-hub::before {
    width: 240px;
    height: 240px;
  }
  .funnel-lines {
    top: 0;
    height: 325px;
  }
  .funnel-result {
    grid-column: 1/-1;
    display: grid;
    grid-template-columns: 0.65fr 1fr;
    gap: 35px;
    align-items: center;
    padding: 26px 32px;
  }
  .funnel-result h3 {
    margin: 0;
  }
  .funnel-scene .scene-controls {
    margin-top: 0;
  }
}
.scene-paused .workflow-artifact {
  animation: none !important;
}
.workflow-card[hidden] {
  display: grid;
}
.input-node {
  position: relative;
  z-index: 1;
}

.site-nav .button.small,
.skip {
  font-size: 18px;
}

.evidence-chapter .comparison-row i {
  z-index: 1;
}

.hero .text-link {
  font-size: 18px;
}
@media (max-width: 560px) {
  .funnel-scene {
    grid-template-columns: 80px minmax(0, 1fr);
    gap: 28px 14px;
  }
  .input-stack {
    grid-column: 2;
    grid-row: 1;
    grid-template-columns: minmax(0, 1fr);
  }
  .funnel-hub {
    grid-column: 1;
    grid-row: 1;
    align-self: center;
    padding: 0;
  }
  .funnel-seat {
    width: 80px;
    height: 115px;
  }
  .funnel-hub::before {
    width: 95px;
    height: 125px;
    top: 0;
  }
  .funnel-hub::after {
    top: -170px;
    height: 450px;
    opacity: 0.35;
  }
  .funnel-hub > strong {
    display: none;
  }
  .funnel-result {
    grid-column: 2;
    padding: 22px 18px;
  }
  .funnel-result h3 {
    font-size: 27px;
  }
  .funnel-scene .scene-controls {
    grid-column: 2;
    flex-wrap: wrap;
  }
}
@media (max-width: 560px) {
  .voice-gap .gap-value:last-child {
    padding-right: 70px;
  }
}

/* ---- panel 5: each step shows its own product view (2026-09-30) ---- */
.artifact-ui {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 148px;
  margin-bottom: 22px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid #cfe0ea;
  border-radius: 16px;
  box-shadow: 0 10px 24px rgb(14 59 71 / 8%);
  font-family: var(--text);
  color: var(--ink);
}
.ui-head {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
}
.ui-head b {
  font-weight: 600;
}
.ui-chip {
  margin-left: auto;
  padding: 4px 10px;
  border-radius: 999px;
  background: #e3f5f8;
  color: #076e82;
  font-size: 13px;
  font-style: normal;
  font-weight: 600;
  white-space: nowrap;
}
.ui-badge {
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #e8fbfd center / 20px no-repeat;
}
.ui-shield {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M24 6l14 5.5v10c0 9.5-6 16-14 20-8-4-14-10.5-14-20v-10z' stroke='%230e3b47'/%3E%3Cpath d='M17.5 24l4.5 4.5 8.5-9' stroke='%230c93b0'/%3E%3C/svg%3E");
}
.ui-doc {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 5h15l9 9v29H13z' stroke='%230e3b47'/%3E%3Cpath d='M28 5v9h9M19 25h12M19 32h8' stroke='%230c93b0'/%3E%3C/svg%3E");
}
.ui-chart svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}
.ui-band {
  fill: var(--teal);
  opacity: 0.1;
}
.ui-base {
  stroke: #d7e3ec;
  stroke-width: 1;
}
.ui-note {
  fill: var(--muted);
  font: 500 11px var(--text);
}
.ui-label {
  fill: var(--ink);
  font: 600 12px var(--text);
}
.ui-line {
  fill: none;
  stroke: var(--teal);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 340;
}
.ui-dot {
  fill: var(--teal);
  stroke: #fff;
  stroke-width: 2;
}
.ui-latest {
  fill: #e07a00;
  stroke: #fff;
  stroke-width: 2;
  transform-box: fill-box;
  transform-origin: center;
}
.ui-checks {
  display: grid;
  gap: 7px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 14px;
}
.ui-checks li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.ui-checks li::before {
  content: "";
  flex: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--teal)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-5'/%3E%3C/svg%3E")
    center / 12px no-repeat;
}
.ui-brief img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}
.ui-brief .ui-head > span {
  display: grid;
  gap: 1px;
}
.ui-brief small {
  color: #076e82;
  font-size: 13px;
}
.artifact-ui .ui-brief-text {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}
.ui-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}
.ui-actions span {
  display: grid;
  place-items: center;
  height: 38px;
  border: 1px solid #b9d3dd;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
}
.ui-actions .is-primary {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
}
.ui-progress {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 13px;
}
.ui-progress li {
  position: relative;
  padding-top: 20px;
}
.ui-progress li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 2px #fff;
}
.ui-progress li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 5px;
  left: 16px;
  right: 6px;
  height: 2px;
  border-radius: 2px;
  background: var(--teal);
  transform-origin: left;
}
.ui-progress li:last-child {
  color: var(--ink);
  font-weight: 600;
}
.ui-visit {
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
}
.ui-cal {
  flex: none;
  display: grid;
  width: 64px;
  overflow: hidden;
  border: 1px solid #cfe0ea;
  border-radius: 12px;
  text-align: center;
}
.ui-cal small {
  padding: 3px 0;
  background: var(--teal);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.ui-cal b {
  padding: 4px 0 6px;
  font: 600 28px/1.15 var(--display);
}
.ui-visit-text {
  display: grid;
  gap: 2px;
  font-size: 15px;
}
.ui-visit-text b {
  font-weight: 600;
}
.ui-visit-text small {
  color: var(--muted);
  font-size: 13px;
}
/* each view plays its small moment when its step comes up */
.workflow-card:not([hidden]) .ui-line {
  animation: ui-draw 0.9s 0.35s cubic-bezier(0.3, 0.7, 0.3, 1) both;
}
.workflow-card:not([hidden]) .ui-latest,
.workflow-card:not([hidden]) .ui-chip {
  animation: ui-pop 0.45s 1.15s cubic-bezier(0.3, 1.6, 0.5, 1) both;
}
.workflow-card:not([hidden]) .ui-label {
  animation: ui-fade 0.4s 1.3s both;
}
.workflow-card:not([hidden]) .ui-checks li {
  animation: ui-rise 0.4s both;
}
.workflow-card:not([hidden]) .ui-checks li:nth-child(1) { animation-delay: 0.45s; }
.workflow-card:not([hidden]) .ui-checks li:nth-child(2) { animation-delay: 0.65s; }
.workflow-card:not([hidden]) .ui-checks li:nth-child(3) { animation-delay: 0.85s; }
.workflow-card:not([hidden]) .ui-actions .is-primary {
  animation: ui-press 0.9s 1.2s both;
}
.workflow-card:not([hidden]) .ui-progress li:not(:last-child)::after {
  animation: ui-grow 0.4s both;
}
.workflow-card:not([hidden]) .ui-progress li:nth-child(1)::after { animation-delay: 0.5s; }
.workflow-card:not([hidden]) .ui-progress li:nth-child(2)::after { animation-delay: 0.85s; }
@keyframes ui-draw {
  from { stroke-dashoffset: 340; }
  to { stroke-dashoffset: 0; }
}
@keyframes ui-pop {
  from { opacity: 0; transform: scale(0.4); }
}
@keyframes ui-fade {
  from { opacity: 0; }
}
@keyframes ui-rise {
  from { opacity: 0; transform: translateX(-8px); }
}
@keyframes ui-grow {
  from { transform: scaleX(0); }
}
@keyframes ui-press {
  0%, 100% { box-shadow: 0 0 0 0 rgb(12 147 176 / 0%); }
  40% { box-shadow: 0 0 0 7px rgb(12 147 176 / 22%); transform: scale(0.97); }
}
.scene-still .artifact-ui,
.scene-still .artifact-ui *,
.scene-still .artifact-ui *::after {
  animation: none !important;
}
@media (max-width: 0px) {
  .artifact-ui,
  .artifact-ui *,
  .artifact-ui *::after {
    animation: none !important;
  }
}

/* ---- panel 6: the testimonial card rotates patient and physician voices ---- */
.voice-quotes {
  display: grid;
}
.voice-quotes figure {
  grid-area: 1 / 1;
  align-self: center;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease,
    visibility 0s linear 0.5s;
}
.voice-quotes figure.is-on {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition:
    opacity 0.6s ease 0.2s,
    transform 0.6s ease 0.2s;
}
.voice-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 16px;
}
.voice-dots button {
  position: relative;
  width: 34px;
  height: 22px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.voice-dots button::after {
  content: "";
  position: absolute;
  left: 3px;
  right: 3px;
  top: 8px;
  height: 6px;
  border-radius: 3px;
  background: #b5c9de;
  transition: background 0.3s;
}
.voice-dots button[aria-pressed="true"]::after {
  background: var(--teal);
}
.voice-dots button:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
  border-radius: 6px;
}
.voice-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid #c3d4ea;
}
.voice-logos span {
  max-width: 190px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.3;
  text-align: left;
}
.voice-logos img {
  width: auto;
  height: 36px;
  mix-blend-mode: multiply;
  opacity: 0.85;
}
@media (max-width: 0px) {
  .voice-quotes figure {
    transition: none;
  }
}
