/* 2026 public storytelling refresh --------------------------------------- */

/* Keep the complete supplied artwork visible in the public header. */
.public-body .site-header {
  gap: 18px;
  min-height: 82px;
  background: rgba(255, 255, 255, 0.86);
  border-bottom-color: rgba(102, 82, 163, 0.12);
  box-shadow: 0 10px 30px rgba(32, 39, 65, 0.05);
  backdrop-filter: blur(22px) saturate(1.18);
}

.public-body .public-brand {
  gap: 9px;
}

.public-body .public-logo-frame {
  flex-basis: 138px;
  width: 138px;
  height: 68px;
  overflow: visible;
  background: transparent;
}

.public-body .public-logo-frame :is(img, svg) {
  position: static;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: none;
}

.public-body .public-logo-frame picture,
.public-body .footer-logo-frame picture {
  display: block;
  width: 100%;
  height: 100%;
}

.public-body .footer-logo-frame {
  overflow: visible;
}

.public-body .footer-logo-frame :is(img, svg) {
  position: static;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: none;
}

.public-body .public-home-icon {
  flex-basis: 44px;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(14px);
}

.public-body .site-nav {
  justify-content: flex-end;
  gap: 8px;
}

.public-body .site-nav .site-nav-item,
.public-body .site-nav .site-nav-login,
.public-body .site-nav .site-nav-demo {
  min-height: 46px;
  padding-inline: 12px;
  border-radius: 14px;
  font-size: 0.82rem;
  line-height: 1;
}

.public-body .site-nav .site-nav-item,
.public-body .site-nav .site-nav-login,
.public-body .site-nav .site-nav-demo {
  position: relative;
  overflow: visible;
  color: #3f4760;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.82), rgba(244, 241, 250, 0.68));
  border-color: rgba(102, 82, 163, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.94), 0 8px 22px rgba(44, 45, 82, 0.07);
  backdrop-filter: blur(16px) saturate(1.14);
}

.public-body .site-nav .site-nav-item:hover,
.public-body .site-nav .site-nav-item:focus-visible,
.public-body .site-nav .site-nav-login:hover,
.public-body .site-nav .site-nav-login:focus-visible,
.public-body .site-nav .site-nav-demo:hover,
.public-body .site-nav .site-nav-demo:focus-visible {
  color: #594575;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(238, 233, 247, 0.9));
  border-color: rgba(102, 82, 163, 0.34);
  box-shadow: 0 12px 28px rgba(63, 43, 84, 0.12);
  transform: translateY(-1px);
}

.public-body .site-nav .site-nav-login::before {
  display: none;
}

.public-body .site-nav .site-nav-demo {
  margin-left: 0;
}

.landing-page .public-hero {
  min-height: 0;
  padding-top: clamp(78px, 8vw, 116px);
  scroll-margin-top: 98px;
}

/* Let every changing explanation remain inside its visual card. */
.landing-page .universe-activity-card {
  top: 77%;
  width: min(176px, 25%);
  min-height: 130px;
  align-content: start;
}

.landing-page .universe-activity-heading {
  align-items: start;
  flex-wrap: wrap;
}

.landing-page .universe-activity-heading strong,
.landing-page .universe-activity-heading span {
  max-width: 100%;
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
}

.landing-page .universe-activity-card p {
  display: block;
  overflow: visible;
  overflow-wrap: anywhere;
  -webkit-line-clamp: initial;
}

.landing-page .universe-scenario-list button {
  min-height: 142px;
}

@media (max-width: 1040px) {
  .public-body .site-header {
    min-height: 76px;
  }

  .public-body .public-logo-frame {
    flex-basis: 124px;
    width: 124px;
    height: 62px;
  }

  .landing-page .public-hero {
    scroll-margin-top: 92px;
  }

  .public-body .site-nav-menu summary,
  .public-body .site-nav .site-nav-demo {
    min-height: 44px;
    font-size: 0.78rem;
  }
}

@media (max-width: 760px) {
  .landing-page .public-hero {
    scroll-margin-top: 88px;
  }
}

@media (max-width: 620px) {
  .public-body .site-header {
    min-height: 70px;
    padding: 8px 10px;
  }

  .public-body .public-brand {
    gap: 5px;
  }

  .public-body .public-logo-frame {
    flex-basis: 94px;
    width: 94px;
    height: 54px;
  }

  .public-body .public-home-icon {
    flex-basis: 38px;
    width: 38px;
    height: 38px;
  }

  .public-body .site-nav {
    gap: 5px;
  }

  .public-body .site-nav-menu summary,
  .public-body .site-nav .site-nav-demo {
    padding-inline: 8px;
    font-size: 0.71rem;
  }

  .landing-page .public-hero {
    scroll-margin-top: 72px;
  }

  .landing-page .universe-activity-card,
  .landing-page .universe-activity-card[data-activity-actor="practitioner"],
  .landing-page .universe-activity-card[data-activity-actor="client"],
  .landing-page .universe-activity-card[data-activity-actor="teacher"],
  .landing-page .universe-activity-card[data-activity-actor="parent"],
  .landing-page .universe-activity-card[data-activity-actor="all"] {
    top: 81.5%;
    width: 90%;
    min-height: 128px;
  }
}

@media (max-width: 380px) {
  .public-body .site-header {
    gap: 4px;
    padding-inline: 6px;
  }

  .public-body .public-logo-frame {
    flex-basis: 80px;
    width: 80px;
    height: 48px;
  }

  .public-body .public-home-icon {
    flex-basis: 34px;
    width: 34px;
    height: 34px;
  }

  .public-body .public-home-icon svg {
    width: 18px;
    height: 18px;
  }

  .public-body .site-nav-menu summary,
  .public-body .site-nav .site-nav-demo {
    padding-inline: 6px;
    font-size: 0.66rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .public-body .site-nav a,
  .public-body .public-home-icon {
    animation: none !important;
    transition: none !important;
  }
}

@media (min-width: 621px) and (max-width: 760px) {
  .landing-page .feature-universe-surface {
    aspect-ratio: 700 / 760;
  }

  .landing-page .universe-activity-card {
    width: min(190px, 29%);
  }

  .landing-page .universe-activity-card[data-activity-actor="practitioner"] {
    left: 14.5%;
  }

  .landing-page .universe-activity-card[data-activity-actor="parent"] {
    left: 85.5%;
  }

  .landing-page .universe-activity-card[data-activity-actor="all"] {
    left: 50%;
    width: min(390px, 58%);
  }
}

/* Connected Home scene mosaic and the full Solution film ------------------ */
.landing-scene-intro {
  position: relative;
  padding: clamp(28px, 4vw, 58px) var(--page-pad) clamp(38px, 5vw, 72px);
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 18%, rgba(49, 181, 205, 0.2), transparent 29rem),
    radial-gradient(circle at 88% 74%, rgba(158, 111, 207, 0.23), transparent 32rem),
    linear-gradient(145deg, #10182e 0%, #18213f 54%, #241c3a 100%);
}

.landing-scene-intro::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(135deg, #000, transparent 78%);
  pointer-events: none;
}

.cinematic-story-mosaic {
  max-width: 1320px;
  margin: 0 auto;
}

.story-mosaic-heading {
  position: relative;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 16px;
}

.story-mosaic-heading > p {
  display: grid;
  gap: 5px;
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: clamp(0.72rem, 1vw, 0.86rem);
  font-weight: 760;
}

.story-mosaic-heading .eyebrow {
  color: #94e2ea;
  font-size: clamp(0.75rem, 1vw, 0.9rem);
}

.cinematic-story-mosaic .story-pathway-toolbar {
  position: static;
  flex: 0 0 auto;
}

.cinematic-story-mosaic .story-pathway-toggle {
  color: #fff;
  background: rgba(16, 24, 46, 0.72);
  border-color: rgba(255, 255, 255, 0.34);
  box-shadow: 0 12px 34px rgba(4, 7, 18, 0.3);
}

.cinematic-story-mosaic .story-pathway-toggle:hover {
  background: rgba(110, 82, 158, 0.96);
}

.cinematic-story-mosaic .story-pathway-stage {
  position: relative;
  isolation: isolate;
  width: 100%;
  min-height: 520px;
  aspect-ratio: 1200 / 620;
  padding: clamp(14px, 1.7vw, 24px);
  overflow: hidden;
  background:
    radial-gradient(circle at 67% 48%, rgba(107, 78, 158, 0.42), transparent 34%),
    radial-gradient(circle at 22% 50%, rgba(38, 166, 190, 0.2), transparent 30%),
    linear-gradient(135deg, rgba(31, 43, 75, 0.98), rgba(15, 22, 43, 0.99));
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: clamp(26px, 3vw, 42px);
  box-shadow: 0 40px 100px rgba(3, 7, 19, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.cinematic-story-mosaic .story-pathway-stage::before {
  display: none;
}

.story-mosaic-orbit {
  position: absolute;
  z-index: 0;
  display: block;
  border: 1px solid rgba(161, 216, 228, 0.16);
  border-radius: 50%;
  pointer-events: none;
}

.story-mosaic-orbit-one {
  top: -38%;
  right: -4%;
  width: 68%;
  aspect-ratio: 1;
}

.story-mosaic-orbit-two {
  right: 14%;
  bottom: -62%;
  width: 74%;
  aspect-ratio: 1;
  border-color: rgba(193, 153, 224, 0.14);
}

.story-mosaic-transition-sweep {
  position: absolute;
  top: -42%;
  bottom: -42%;
  left: 36%;
  z-index: 8;
  width: 13%;
  opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(151, 232, 239, 0.52), rgba(214, 180, 237, 0.42), transparent);
  filter: blur(2px);
  transform: translate3d(-620%, 0, 0) rotate(13deg);
  pointer-events: none;
}

.cinematic-story-mosaic[data-story-direction="backward"] .story-mosaic-transition-sweep {
  transform: translate3d(620%, 0, 0) rotate(-13deg);
}

.cinematic-story-mosaic.is-transitioning .story-mosaic-transition-sweep {
  animation: story-mosaic-sweep-forward 760ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.cinematic-story-mosaic.is-transitioning[data-story-direction="backward"] .story-mosaic-transition-sweep {
  animation-name: story-mosaic-sweep-backward;
}

.cinematic-story-mosaic .story-pathway-route {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0.72;
  pointer-events: none;
}

.cinematic-story-mosaic .story-pathway-segment,
.cinematic-story-mosaic.is-ready .story-pathway-segment,
.cinematic-story-mosaic.is-ready .story-pathway-segment.is-complete {
  opacity: 1;
  fill: none;
  stroke: rgba(166, 197, 214, 0.36);
  stroke-dasharray: 0.025 0.035;
  stroke-dashoffset: 0;
  stroke-linecap: round;
  stroke-width: 3;
  filter: none;
  animation: none;
  transition: stroke 240ms ease, filter 240ms ease;
  vector-effect: non-scaling-stroke;
}

.cinematic-story-mosaic.is-transitioning .story-pathway-segment {
  stroke: url(#story-path-gradient);
  filter: drop-shadow(0 0 7px rgba(121, 206, 221, 0.72));
  animation: story-mosaic-route-pulse 760ms ease-out both;
}

.cinematic-story-mosaic .story-pathway-steps {
  position: absolute;
  inset: clamp(14px, 1.7vw, 24px);
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(185px, 0.33fr) minmax(0, 1fr);
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: clamp(10px, 1.3vw, 17px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.cinematic-story-mosaic .story-pathway-step,
.cinematic-story-mosaic.hero-story-pathway.is-enhancing:not(.is-ready) .story-pathway-step,
.cinematic-story-mosaic.hero-story-pathway.is-ready .story-pathway-step,
.cinematic-story-mosaic.hero-story-pathway.is-ready .story-pathway-step.is-active,
.cinematic-story-mosaic.hero-story-pathway.is-ready .story-pathway-step.is-complete {
  position: relative;
  inset: auto;
  width: auto;
  min-width: 0;
  min-height: 0;
  justify-self: stretch;
  align-self: stretch;
  opacity: 1;
  filter: none;
  transform: none;
  transition: none;
}

.cinematic-story-mosaic .story-pathway-step[data-story-position="0"] {
  z-index: 6;
  grid-column: 2;
  grid-row: 1 / 4;
}

.cinematic-story-mosaic .story-pathway-step[data-story-position="1"] {
  z-index: 5;
  grid-column: 1;
  grid-row: 1;
}

.cinematic-story-mosaic .story-pathway-step[data-story-position="2"] {
  z-index: 4;
  grid-column: 1;
  grid-row: 2;
}

.cinematic-story-mosaic .story-pathway-step[data-story-position="3"] {
  z-index: 3;
  grid-column: 1;
  grid-row: 3;
}

.cinematic-story-mosaic .story-pathway-card,
.cinematic-story-mosaic.hero-story-pathway.is-ready .story-pathway-step.is-active .story-pathway-card {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  aspect-ratio: auto;
  padding: 0;
  overflow: hidden;
  color: #fff;
  text-align: left;
  background: #10162b;
  border: 3px solid rgba(255, 255, 255, 0.78);
  border-radius: clamp(16px, 2vw, 28px);
  box-shadow: 0 22px 54px rgba(3, 7, 19, 0.34);
  cursor: default;
  transition: border-color 220ms ease, box-shadow 220ms ease, filter 220ms ease;
}

.cinematic-story-mosaic .story-pathway-step[data-story-position="0"] .story-pathway-card {
  border-width: 6px;
  border-color: rgba(255, 255, 255, 0.96);
  box-shadow: 0 34px 78px rgba(3, 7, 19, 0.48), 0 0 0 1px rgba(142, 220, 231, 0.18);
}

.cinematic-story-mosaic .story-pathway-step:not([data-story-position="0"]) .story-pathway-card {
  filter: saturate(0.72) contrast(0.94) brightness(0.78);
}

.cinematic-story-mosaic .story-pathway-step:not([data-story-position="0"]) .story-pathway-card:hover {
  filter: saturate(0.96) contrast(1) brightness(0.94);
  border-color: #a9e6eb;
}

.cinematic-story-mosaic .story-pathway-card:disabled {
  cursor: default;
}

.cinematic-story-mosaic .story-pathway-card::after {
  position: absolute;
  inset: 35% 0 0;
  z-index: 3;
  display: block;
  content: "";
  background: linear-gradient(180deg, transparent, rgba(7, 12, 28, 0.94));
  pointer-events: none;
}

.cinematic-story-mosaic .story-pathway-media,
.cinematic-story-mosaic .story-pathway-media img,
.cinematic-story-mosaic .story-pathway-media video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.cinematic-story-mosaic .story-pathway-media img,
.cinematic-story-mosaic .story-pathway-media video {
  object-fit: cover;
}

.cinematic-story-mosaic .story-pathway-media video {
  z-index: 1;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.cinematic-story-mosaic .story-pathway-step.is-video-ready .story-pathway-media video {
  opacity: 1;
}

.cinematic-story-mosaic .story-pathway-motion-mark {
  top: 14px;
  right: 14px;
  z-index: 5;
  width: 38px;
  height: 38px;
  opacity: 0;
  color: #17213f;
  background: #9ce1e7;
  border-color: rgba(255, 255, 255, 0.84);
  transform: scale(0.76);
  transition: opacity 180ms ease, transform 280ms cubic-bezier(0.22, 1, 0.36, 1);
}

.cinematic-story-mosaic .story-pathway-step.is-video-playing .story-pathway-motion-mark {
  opacity: 1;
  transform: scale(1);
}

.cinematic-story-mosaic .story-pathway-step:not([data-story-position="0"]) .story-pathway-motion-mark {
  display: none;
}

.cinematic-story-mosaic .story-pathway-caption {
  position: absolute;
  right: clamp(14px, 2.2vw, 28px);
  bottom: clamp(14px, 2.2vw, 26px);
  left: clamp(14px, 2.2vw, 28px);
  z-index: 5;
  display: flex;
  gap: 13px;
  align-items: end;
  min-height: 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  backdrop-filter: none;
}

.story-pathway-caption-number {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  color: #17213f;
  background: linear-gradient(145deg, #a4e6eb, #d9bef0);
  border-radius: 50%;
  box-shadow: 0 8px 22px rgba(6, 12, 29, 0.28);
  font-size: 0.7rem;
  font-weight: 900;
}

.cinematic-story-mosaic .story-pathway-caption > span:last-child {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.cinematic-story-mosaic .story-pathway-caption small {
  display: block;
  color: rgba(255, 255, 255, 0.74);
  font-size: clamp(0.72rem, 1vw, 0.88rem);
  font-weight: 720;
  line-height: 1.4;
}

.cinematic-story-mosaic .story-pathway-caption strong {
  display: block;
  color: #fff;
  font-size: clamp(1.05rem, 2vw, 1.65rem);
  line-height: 1.16;
  text-shadow: 0 2px 16px rgba(3, 7, 19, 0.7);
}

.cinematic-story-mosaic .story-pathway-step:not([data-story-position="0"]) .story-pathway-caption {
  right: 10px;
  bottom: 10px;
  left: 10px;
  gap: 8px;
  align-items: center;
}

.cinematic-story-mosaic .story-pathway-step:not([data-story-position="0"]) .story-pathway-caption-number {
  width: 28px;
  height: 28px;
  font-size: 0.56rem;
}

.cinematic-story-mosaic .story-pathway-step:not([data-story-position="0"]) .story-pathway-caption small {
  display: none;
}

.cinematic-story-mosaic .story-pathway-step:not([data-story-position="0"]) .story-pathway-caption strong {
  overflow: hidden;
  font-size: clamp(0.69rem, 1vw, 0.82rem);
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cinematic-story-mosaic .story-pathway-toggle:focus-visible {
  outline: 3px solid #8ce0e8;
  outline-offset: 4px;
}

.solution-film {
  margin: 0;
}

.solution-film-stage {
  position: relative;
  isolation: isolate;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #10162b;
  border: 7px solid rgba(255, 255, 255, 0.94);
  border-radius: clamp(20px, 2.4vw, 30px);
  box-shadow: 0 32px 78px rgba(32, 39, 65, 0.24), 0 0 0 1px rgba(102, 82, 163, 0.1);
}

.solution-film-video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  background: #10162b;
  object-fit: contain;
}

.solution-film figcaption {
  margin-top: 12px;
  color: #626b7d;
  font-size: 0.78rem;
  font-weight: 760;
  text-align: center;
}

@keyframes story-mosaic-sweep-forward {
  0% {
    opacity: 0;
    transform: translate3d(-620%, 0, 0) rotate(13deg);
  }
  30% {
    opacity: 0.72;
  }
  100% {
    opacity: 0;
    transform: translate3d(620%, 0, 0) rotate(13deg);
  }
}

@keyframes story-mosaic-sweep-backward {
  0% {
    opacity: 0;
    transform: translate3d(620%, 0, 0) rotate(-13deg);
  }
  30% {
    opacity: 0.72;
  }
  100% {
    opacity: 0;
    transform: translate3d(-620%, 0, 0) rotate(-13deg);
  }
}

@keyframes story-mosaic-route-pulse {
  0% {
    stroke-dashoffset: 0.3;
  }
  100% {
    stroke-dashoffset: -0.3;
  }
}

@media (max-width: 760px) {
  .landing-scene-intro {
    padding: 20px 12px 34px;
  }

  .story-mosaic-heading {
    align-items: center;
    margin-inline: 4px;
  }

  .story-mosaic-heading > p > span:last-child {
    display: none;
  }

  .cinematic-story-mosaic .story-pathway-toggle {
    min-height: 44px;
    padding-inline: 12px;
  }

  .cinematic-story-mosaic .story-pathway-stage {
    min-height: 0;
    height: clamp(400px, 118vw, 520px);
    aspect-ratio: auto;
    padding: 12px;
    border-radius: 26px;
  }

  .cinematic-story-mosaic .story-pathway-route {
    display: none;
  }

  .cinematic-story-mosaic .story-pathway-steps {
    inset: 12px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: minmax(0, 1fr) 92px;
    gap: 9px;
  }

  .cinematic-story-mosaic .story-pathway-step[data-story-position="0"] {
    grid-column: 1 / 4;
    grid-row: 1;
  }

  .cinematic-story-mosaic .story-pathway-step[data-story-position="1"] {
    grid-column: 1;
    grid-row: 2;
  }

  .cinematic-story-mosaic .story-pathway-step[data-story-position="2"] {
    grid-column: 2;
    grid-row: 2;
  }

  .cinematic-story-mosaic .story-pathway-step[data-story-position="3"] {
    grid-column: 3;
    grid-row: 2;
  }

  .cinematic-story-mosaic .story-pathway-card,
  .cinematic-story-mosaic.hero-story-pathway.is-ready .story-pathway-step.is-active .story-pathway-card {
    display: block;
    border-width: 3px;
    border-radius: 17px;
  }

  .cinematic-story-mosaic .story-pathway-step[data-story-position="0"] .story-pathway-card {
    border-width: 4px;
  }

  .cinematic-story-mosaic .story-pathway-media {
    position: absolute;
    inset: 0;
    height: 100%;
    aspect-ratio: auto;
  }

  .cinematic-story-mosaic .story-pathway-caption {
    position: absolute;
    right: 14px;
    bottom: 14px;
    left: 14px;
    min-height: 0;
    padding: 0;
    background: transparent;
  }

  .cinematic-story-mosaic .story-pathway-caption-number {
    width: 36px;
    height: 36px;
  }

  .cinematic-story-mosaic .story-pathway-caption small {
    font-size: 0.7rem;
  }

  .cinematic-story-mosaic .story-pathway-caption strong {
    font-size: clamp(0.98rem, 4.7vw, 1.34rem);
  }

  .cinematic-story-mosaic .story-pathway-step:not([data-story-position="0"]) .story-pathway-caption {
    right: 5px;
    bottom: 5px;
    left: 5px;
    justify-content: center;
  }

  .cinematic-story-mosaic .story-pathway-step:not([data-story-position="0"]) .story-pathway-caption-number {
    width: 26px;
    height: 26px;
  }

  .cinematic-story-mosaic .story-pathway-step:not([data-story-position="0"]) .story-pathway-caption > span:last-child {
    display: none;
  }

  .cinematic-story-mosaic .story-pathway-motion-mark {
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
  }
}

@media (max-width: 380px) {
  .story-mosaic-heading .eyebrow {
    max-width: 150px;
    line-height: 1.25;
  }

  .cinematic-story-mosaic .story-pathway-toggle {
    padding-inline: 10px;
    font-size: 0.67rem;
  }

  .cinematic-story-mosaic .story-pathway-stage {
    height: 410px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cinematic-story-mosaic .story-pathway-card,
  .cinematic-story-mosaic .story-pathway-media video,
  .cinematic-story-mosaic .story-pathway-motion-mark,
  .cinematic-story-mosaic .story-pathway-segment,
  .story-mosaic-transition-sweep {
    animation: none !important;
    transition: none !important;
  }

  .cinematic-story-mosaic.is-transitioning .story-mosaic-transition-sweep {
    display: none;
  }
}

/* Site-wide public type and spacing system -------------------------------
   Keep the marketing pages, account surfaces, header, and footer on the
   same type scale, content edge, and vertical rhythm. */

.public-body {
  --public-content-max: 1240px;
  --public-gutter: clamp(18px, 4vw, 64px);
  --public-edge: max(var(--public-gutter), calc((100vw - var(--public-content-max)) / 2));
  --public-header-height: 80px;
  --public-space-1: 8px;
  --public-space-2: 12px;
  --public-space-3: 16px;
  --public-space-4: 24px;
  --public-space-5: 32px;
  --public-space-6: 48px;
  --public-space-7: 64px;
  --public-space-8: 96px;
  --public-section-space: clamp(32px, 4vw, 56px);
  --public-section-compact: clamp(28px, 3.5vw, 44px);
  --page-pad: var(--public-edge);
  --section-pad: var(--public-section-space);
  font-size: 1rem;
  line-height: 1.62;
}

.public-body .site-header {
  gap: 16px;
  min-height: var(--public-header-height);
  padding: 6px var(--public-edge);
}

.public-body .public-brand {
  gap: 8px;
  min-height: 48px;
}

.public-body .public-logo-frame {
  flex-basis: 124px;
  width: 124px;
  height: 56px;
}

.public-body .public-home-icon {
  flex-basis: 42px;
  width: 42px;
  height: 42px;
}

.public-body .site-nav {
  gap: 8px;
}

.public-body .site-nav .site-nav-item,
.public-body .site-nav .site-nav-login,
.public-body .site-nav .site-nav-demo,
.public-body .site-nav-menu summary {
  min-height: 46px;
  padding-inline: 13px;
  border-radius: 14px;
  font-size: 0.9rem;
  font-weight: 750;
  line-height: 1.1;
}

.public-body .site-nav-menu > div {
  right: var(--public-edge);
}

.public-body .site-nav-menu .site-nav-menu-request {
  display: none;
}

.public-page {
  font-size: 1rem;
  line-height: 1.62;
}

.public-page :is(h1, h2, h3),
.public-body .auth-story-title,
.public-body .auth-panel h1 {
  text-wrap: balance;
}

.public-page p,
.public-body .auth-shell p {
  text-wrap: pretty;
}

.public-page h1,
.about-page h1 {
  font-size: clamp(1.625rem, 2.4vw, 2.125rem);
  font-weight: 750;
  line-height: 1.2;
  letter-spacing: -0.04em;
}

.public-page h2 {
  font-size: clamp(1.5rem, 2vw, 1.75rem);
  font-weight: 720;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.public-page h3 {
  font-size: clamp(1.2rem, 1.5vw, 1.5rem);
  font-weight: 720;
  line-height: 1.25;
  letter-spacing: -0.018em;
}

.public-page .eyebrow,
.public-body .auth-shell .eyebrow {
  margin-bottom: 12px;
  font-size: 0.8rem;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0.09em;
}

.public-section {
  padding: var(--public-section-space) var(--public-edge);
}

.public-section-heading,
.home-feature-heading {
  gap: clamp(24px, 4vw, 64px);
  max-width: var(--public-content-max);
  margin-bottom: clamp(32px, 4vw, 48px);
}

.public-section-heading > p,
.mission-copy > p,
.public-hero-text,
.outcomes-copy > p,
.story-copy > p,
.team-teaser p,
.lab-section p,
.about-hero-copy > p,
.public-detail-hero > div > p:last-child,
.landing-statement p:not(.eyebrow),
.detail-note p,
.compact-public-cta > div:first-child > p:not(.eyebrow),
.home-feature-heading > p,
.home-feature-copy > p:not(.feature-kicker) {
  font-size: clamp(1.03rem, 1.2vw, 1.125rem);
  line-height: 1.65;
}

.public-section-heading > p,
.public-hero-text,
.about-hero-copy > p,
.public-detail-hero > div > p:last-child,
.home-feature-heading > p {
  max-width: 68ch;
}

.public-detail-hero,
.about-hero {
  gap: clamp(40px, 6vw, 88px);
  min-height: 560px;
  padding: clamp(72px, 7vw, 104px) var(--public-edge);
}

.public-detail-points li,
.about-hero-principles p {
  gap: 6px 14px;
  padding-block: 18px;
}

.public-detail-points span,
.about-hero-principles small {
  font-size: 0.9rem;
  line-height: 1.55;
}

.public-hero,
.landing-page .public-hero {
  column-gap: clamp(32px, 5vw, 72px);
  row-gap: 24px;
  min-height: min(760px, calc(100svh - var(--public-header-height)));
  padding: clamp(64px, 7vw, 96px) var(--public-edge);
  scroll-margin-top: var(--public-header-height);
}

.public-hero-text {
  margin-top: 20px;
}

.public-hero-actions,
.public-cta-actions,
.hero-actions {
  gap: 12px;
}

.public-body .button,
.public-body button.button {
  min-height: 48px;
  padding-inline: 20px;
  border-radius: 14px;
  font-size: 0.94rem;
  font-weight: 750;
  line-height: 1.2;
}

.public-hero-actions .button {
  min-height: 50px;
}

.trust-list {
  gap: 12px 18px;
  font-size: 0.84rem;
  line-height: 1.45;
}

.public-cta {
  gap: 32px;
  padding: var(--public-section-compact) var(--public-edge);
}

.public-cta > div:first-child {
  max-width: 760px;
}

.landing-scene-intro {
  padding: clamp(32px, 4vw, 52px) var(--public-edge) clamp(42px, 5vw, 64px);
}

.cinematic-story-mosaic {
  max-width: var(--public-content-max);
}

.story-mosaic-heading {
  margin-bottom: 20px;
}

.story-mosaic-heading > p,
.story-mosaic-heading .eyebrow {
  font-size: 0.82rem;
  line-height: 1.45;
}

.cinematic-story-mosaic .story-pathway-toggle {
  min-height: 46px;
  font-size: 0.8rem;
}

.cinematic-story-mosaic .story-pathway-step:not([data-story-position="0"]) .story-pathway-caption strong {
  display: -webkit-box;
  overflow: hidden;
  font-size: 0.78rem;
  line-height: 1.28;
  text-overflow: clip;
  white-space: normal;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.landing-link-grid {
  gap: 20px;
  max-width: var(--public-content-max);
}

.landing-link-grid > a {
  min-height: 220px;
  padding: clamp(24px, 2.4vw, 32px);
  border-radius: 20px;
}

.landing-link-grid > a > span {
  margin-bottom: 24px;
}

.landing-link-grid strong {
  font-size: clamp(1.18rem, 1.5vw, 1.35rem);
  line-height: 1.28;
}

.landing-link-grid small {
  margin-top: 10px;
  font-size: 0.92rem;
  line-height: 1.55;
}

.audience-grid,
.capability-grid,
.responsibility-grid,
.team-grid,
.team-name-grid,
.collaborator-grid,
.care-model-grid,
.steps-grid,
.home-feature-stack {
  max-width: var(--public-content-max);
}

.audience-grid,
.responsibility-grid,
.team-grid,
.capability-grid,
.process-steps-grid {
  gap: 20px;
}

.capability-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.audience-card {
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 14px;
  min-height: 320px;
  padding: clamp(26px, 2.8vw, 36px);
  border-radius: 24px;
}

.audience-card :is(.eyebrow, h3, p),
.capability-grid article :is(h3, p),
.responsibility-grid article :is(h3, p) {
  margin: 0;
}

.audience-card h3,
.capability-grid h3,
.responsibility-grid h3 {
  font-size: clamp(1.25rem, 1.65vw, 1.55rem);
  line-height: 1.25;
}

.audience-card > p:last-child,
.capability-grid p,
.responsibility-grid p {
  font-size: 0.98rem;
  line-height: 1.62;
}

.capability-grid article {
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 12px;
  min-height: 240px;
  padding: 26px;
}

.capability-grid article > span {
  margin-bottom: 8px;
}

.responsibility-section > div:first-child {
  margin-bottom: 36px;
}

.responsibility-grid article {
  display: grid;
  align-content: start;
  gap: 14px;
  min-height: 220px;
  padding: 28px;
}

.home-feature-showcase {
  padding-inline: var(--public-edge);
}

.home-feature-story {
  gap: clamp(28px, 4vw, 56px);
  min-height: 560px;
  padding: clamp(28px, 4vw, 52px);
  border-radius: 30px;
}

.home-feature-copy h3 {
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.home-feature-copy > p:not(.feature-kicker) {
  margin-top: 20px;
}

.feature-proof-list {
  margin-top: 24px;
}

.process-steps-grid .process-step,
.process-steps-grid .process-step:first-child,
.process-steps-grid .process-step:last-child {
  min-height: 520px;
  padding: 26px;
  border-radius: 22px;
}

.process-steps-grid .process-step h3 {
  margin-top: 22px;
  font-size: 1.35rem;
  line-height: 1.24;
}

.process-steps-grid .process-step > p {
  margin: 12px 0 22px;
  font-size: 0.94rem;
  line-height: 1.6;
}

.process-boundary-note,
.project-stage-note,
.boundary-callout {
  padding: 24px 28px;
  border-radius: 18px;
}

.method-comparison-wrap,
.universe-scenario-list {
  scrollbar-color: #8c7cad #ece8f2;
  scrollbar-width: auto;
}

.method-comparison-wrap::-webkit-scrollbar,
.universe-scenario-list::-webkit-scrollbar {
  height: 10px;
}

.method-comparison-wrap::-webkit-scrollbar-track,
.universe-scenario-list::-webkit-scrollbar-track {
  background: #ece8f2;
  border-radius: 999px;
}

.method-comparison-wrap::-webkit-scrollbar-thumb,
.universe-scenario-list::-webkit-scrollbar-thumb {
  background: #8c7cad;
  border: 2px solid #ece8f2;
  border-radius: 999px;
}

.universe-scenario-list > * {
  scroll-snap-align: start;
}

.universe-scenario-list {
  scroll-snap-type: x proximity;
}

.public-body .auth-shell,
.public-body .auth-shell.story {
  min-height: 0;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  padding: var(--public-section-compact) var(--public-edge);
}

.public-body .auth-story {
  min-height: 320px;
  padding: clamp(28px, 3vw, 40px);
  border-radius: 24px;
}

.public-body .auth-story h2,
.public-body .auth-story .auth-story-title {
  font-size: clamp(1.5rem, 2vw, 1.75rem);
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.public-body .auth-story p {
  font-size: 1.05rem;
  line-height: 1.62;
}

.public-body .auth-panel,
.public-body .auth-panel.wide {
  align-self: center;
  padding: clamp(26px, 3vw, 36px);
  border-radius: 20px;
}

.public-body .auth-panel h1 {
  font-size: clamp(1.625rem, 2.4vw, 2.125rem);
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.public-body .auth-panel > .muted {
  font-size: 1rem;
  line-height: 1.62;
}

.public-body .auth-form {
  gap: 16px;
  margin-top: 24px;
}

.public-body .auth-form label {
  gap: 8px;
  font-size: 0.94rem;
  font-weight: 750;
}

.public-body .auth-form :is(input, select, textarea) {
  min-height: 50px;
  padding: 11px 13px;
  border-radius: 12px;
}

.public-body .form-note,
.public-body .auth-switch {
  font-size: 0.9rem;
  line-height: 1.55;
}

.public-body .auth-help {
  width: fit-content;
}

.public-body .auth-help summary {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: #554174;
  background: #f2eef8;
  border: 1px solid rgba(102, 82, 163, 0.22);
  border-radius: 50%;
  cursor: pointer;
  font-size: 0.92rem;
  font-weight: 850;
  list-style: none;
}

.public-body .auth-help summary::-webkit-details-marker {
  display: none;
}

.public-body .auth-help summary:hover,
.public-body .auth-help summary:focus-visible {
  color: #fff;
  background: #6652a3;
}

.public-body .auth-help summary:focus-visible {
  outline: 3px solid #2a9bb8;
  outline-offset: 2px;
}

.public-body .auth-help[open] {
  width: 100%;
}

.public-body .auth-help p {
  max-width: 34rem;
  margin: 10px 0 0;
  padding: 12px 14px;
  color: #596178;
  background: #f8f6fb;
  border-left: 3px solid #7e67b2;
  border-radius: 0 10px 10px 0;
  font-size: 0.86rem;
  line-height: 1.55;
}

.site-footer {
  position: relative;
  padding: clamp(52px, 6vw, 72px) var(--public-edge) 48px;
  color: #4f5870;
  background:
    radial-gradient(circle at 8% 16%, rgba(74, 193, 210, 0.2), transparent 24rem),
    radial-gradient(circle at 90% 82%, rgba(149, 103, 201, 0.18), transparent 26rem),
    linear-gradient(180deg, #ebf7f6 0%, #ebeaf5 48%, #e3e8f2 100%);
  border-top: 1px solid rgba(102, 82, 163, 0.1);
}

.site-footer-main,
.site-footer-meta {
  width: 100%;
  max-width: var(--public-content-max);
  margin-inline: auto;
}

.site-footer-main {
  gap: clamp(28px, 4vw, 56px);
  padding-bottom: 36px;
}

.site-footer-main > p {
  font-size: 1rem;
  line-height: 1.65;
}

.site-footer nav {
  gap: 14px 24px;
}

.site-footer nav a {
  color: #26324e;
  min-height: 32px;
  font-size: 0.9rem;
  line-height: 1.4;
}

.site-footer nav a:hover,
.site-footer nav a:focus-visible {
  color: #5a407f;
}

.site-footer-meta {
  color: #586178;
  border-top-color: rgba(62, 72, 105, 0.16);
  font-size: 0.8rem;
  line-height: 1.5;
}

.footer-brand {
  padding: 0;
  background: transparent;
  border-radius: 0;
}

.footer-logo-frame {
  height: auto;
  background: transparent;
}

@media (min-width: 621px) and (max-width: 1100px) {
  .capability-grid,
  .responsibility-grid,
  .people-page .audience-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .capability-grid article,
  .responsibility-grid article,
  .audience-card {
    min-height: 0;
  }
}

@media (max-width: 820px) {
  .method-comparison-wrap {
    overflow: visible;
    padding-bottom: 0;
  }

  .method-comparison-table {
    display: block;
    min-width: 0;
    border-collapse: separate;
  }

  .method-comparison-table caption {
    display: block;
    width: 100%;
    padding: 20px;
  }

  .method-comparison-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
  }

  .method-comparison-table tbody {
    display: grid;
    gap: 12px;
    padding: 14px;
  }

  .method-comparison-table tbody tr {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: hidden;
    background: #fff;
    border: 1px solid #e2dde8;
    border-radius: 16px;
  }

  .method-comparison-table tbody th,
  .method-comparison-table tbody td {
    display: grid;
    width: auto;
    border: 0;
  }

  .method-comparison-table tbody th {
    grid-column: 1 / -1;
    padding: 16px;
    background: #faf9fc;
    border-bottom: 1px solid #e6e2ea;
    font-size: 0.94rem;
  }

  .method-comparison-table tbody td {
    gap: 9px;
    align-content: start;
    padding: 14px 16px 16px;
  }

  .method-comparison-table tbody td + td {
    background: #faf8fd;
    border-left: 1px solid #e6e2ea;
  }

  .method-comparison-table tbody td::before {
    color: #676071;
    content: attr(data-label);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    line-height: 1.35;
    text-transform: uppercase;
  }

  .comparison-table-note {
    min-width: 0;
    padding: 14px 18px 18px;
  }
}

@media (max-width: 760px) {
  .public-body {
    --public-header-height: 72px;
    --public-gutter: 18px;
    --public-section-space: 56px;
    --public-section-compact: 50px;
  }

  .public-body .site-header {
    min-height: var(--public-header-height);
    padding: 7px var(--public-edge);
  }

  .public-body .public-logo-frame {
    flex-basis: 100px;
    width: 100px;
    height: 52px;
  }

  .public-body .public-home-icon {
    flex-basis: 38px;
    width: 38px;
    height: 38px;
  }

  .public-body .site-nav-menu summary,
  .public-body .site-nav .site-nav-demo {
    min-height: 44px;
    padding-inline: 10px;
    font-size: 0.8rem;
  }

  .public-body .site-nav-menu > div {
    right: var(--public-edge);
    left: var(--public-edge);
    width: auto;
  }

  .public-page h1,
  .about-page h1 {
    font-size: clamp(1.625rem, 2.4vw, 2.125rem);
    line-height: 1.2;
    letter-spacing: -0.035em;
  }

  .public-page h2 {
    font-size: clamp(1.5rem, 2vw, 1.75rem);
    line-height: 1.2;
  }

  .public-page h3 {
    font-size: clamp(1.18rem, 5.3vw, 1.38rem);
  }

  .public-section-heading,
  .home-feature-heading {
    gap: 16px;
    margin-bottom: 32px;
  }

  .public-detail-hero,
  .about-hero {
    gap: 32px;
    min-height: 0;
    padding: 56px var(--public-edge);
  }

  .public-hero,
  .landing-page .public-hero {
    gap: 22px;
    min-height: 0;
    padding: 56px var(--public-edge);
  }

  .public-hero-text,
  .about-hero-copy > p,
  .public-detail-hero > div > p:last-child,
  .public-section-heading > p,
  .home-feature-heading > p,
  .home-feature-copy > p:not(.feature-kicker) {
    font-size: 1.03rem;
    line-height: 1.62;
  }

  .landing-scene-intro {
    padding: 24px var(--public-edge) 38px;
  }

  .story-mosaic-heading {
    margin-inline: 0;
  }

  .cinematic-story-mosaic .story-pathway-toggle {
    padding-inline: 12px;
    font-size: 0.78rem;
  }

  .public-cta {
    padding: var(--public-section-compact) var(--public-edge);
  }

  .audience-card,
  .capability-grid article,
  .responsibility-grid article,
  .landing-link-grid > a {
    min-height: 0;
    padding: 22px;
    border-radius: 20px;
  }

  .home-feature-showcase {
    padding-inline: var(--public-edge);
  }

  .home-feature-story {
    gap: 28px;
    min-height: 0;
    padding: 22px;
    border-radius: 24px;
  }

  .home-feature-copy h3 {
    font-size: clamp(1.8rem, 8vw, 2.1rem);
    line-height: 1.1;
  }

  .process-steps-grid .process-step,
  .process-steps-grid .process-step:first-child,
  .process-steps-grid .process-step:last-child {
    min-height: 0;
    padding: 22px;
    border-radius: 20px;
  }

  .process-steps-grid .process-step h3 {
    font-size: 1.3rem;
  }

  .method-comparison-wrap {
    padding-bottom: 6px;
  }

  .universe-scenario-list {
    padding-bottom: 14px;
  }

  .public-body .chatbot-launcher,
  .public-body:has(.landing-page) .chatbot-launcher {
    top: auto;
    right: 10px;
    bottom: calc(14px + env(safe-area-inset-bottom));
  }

  .public-body .auth-shell,
  .public-body .auth-shell.story {
    gap: 28px;
    padding: 44px var(--public-edge);
  }

  .public-body .auth-story {
    min-height: 280px;
    padding: 28px;
    border-radius: 20px;
  }

  .public-body .auth-story h2,
  .public-body .auth-story .auth-story-title {
    font-size: clamp(1.5rem, 2vw, 1.75rem);
  }

  .public-body .auth-panel,
  .public-body .auth-panel.wide {
    padding: 26px;
  }

  .public-body .auth-panel h1 {
    font-size: clamp(1.625rem, 2.4vw, 2.125rem);
  }

  .site-footer {
    padding: 48px var(--public-edge) 28px;
  }

  .site-footer-main {
    gap: 26px;
    padding-bottom: 28px;
  }

  .footer-brand {
    width: min(172px, 70%);
  }

  .footer-logo-frame {
    height: 72px;
  }

  .site-footer nav {
    gap: 8px 20px;
  }

  .site-footer nav a {
    min-height: 28px;
  }
}

@media (max-width: 420px) {
  .public-body {
    --public-header-height: 68px;
    --public-gutter: 16px;
  }

  .public-body .site-header {
    gap: 6px;
    padding-inline: var(--public-edge);
  }

  .public-body .public-logo-frame {
    flex-basis: 86px;
    width: 86px;
    height: 48px;
  }

  .public-body .public-home-icon {
    display: none;
  }

  .public-body .site-nav {
    gap: 5px;
  }

  .public-body .site-nav-menu summary,
  .public-body .site-nav .site-nav-demo {
    min-height: 44px;
    padding-inline: 8px;
    font-size: 0.8125rem;
  }

  .public-body .site-nav-menu > div {
    right: 10px;
    left: 10px;
  }

  .public-body .auth-shell,
  .public-body .auth-shell.story {
    padding-block: 36px;
  }

  .public-body .auth-panel,
  .public-body .auth-panel.wide,
  .public-body .auth-story {
    padding: 22px;
  }

  .process-boundary-note,
  .project-stage-note,
  .boundary-callout {
    padding: 20px;
  }

  .care-model-node strong,
  .care-model-centre strong {
    font-size: 0.7rem;
  }

  .care-model-node small,
  .care-model-centre small {
    font-size: 0.64rem;
  }
}

@media (max-width: 480px) {
  .method-comparison-table tbody tr {
    grid-template-columns: minmax(0, 1fr);
  }

  .method-comparison-table tbody th {
    grid-column: 1;
  }

  .method-comparison-table tbody td + td {
    border-top: 1px solid #e6e2ea;
    border-left: 0;
  }
}

@media (max-width: 360px) {
  .public-body .site-nav > .site-nav-demo {
    display: none;
  }

  .public-body .site-nav-menu .site-nav-menu-request {
    display: flex;
    grid-column: 1 / -1;
  }
}

/* Media copy and Solution film packaging ---------------------------------
   Keep explanatory copy beside or above motion instead of covering it. */

.solution-story-section {
  grid-template-columns: minmax(0, 1fr);
  gap: 30px;
  align-items: start;
}

.team-name-card {
  align-content: center;
  gap: 8px;
}

.team-name-card .team-role {
  margin: 0;
  color: #687187;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.4;
}

.solution-story-copy {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: end;
  justify-self: center;
  width: min(1040px, 100%);
  max-width: none;
}

.solution-story-copy > p:last-child {
  margin: 0 0 4px;
}

.solution-story-beats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  width: min(1040px, 100%);
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.solution-story-beats li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 74px;
  padding: 13px 15px;
  color: #26324e;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(102, 82, 163, 0.14);
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(45, 53, 89, 0.08);
}

.solution-story-beats span {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  color: #25304c;
  background: linear-gradient(145deg, #a4e6eb, #dac1ef);
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 850;
}

.solution-story-beats strong {
  font-size: 0.88rem;
  line-height: 1.35;
}

.solution-story-visual {
  justify-self: center;
  width: min(1040px, 100%);
}

.solution-film figcaption {
  width: fit-content;
  max-width: 100%;
  margin: 14px auto 0;
  padding: 8px 13px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(102, 82, 163, 0.12);
  border-radius: 999px;
  line-height: 1.4;
}

.cinematic-story-mosaic .story-pathway-card,
.cinematic-story-mosaic.hero-story-pathway.is-ready .story-pathway-step.is-active .story-pathway-card {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  color: #26324e;
  background: #f7f5fb;
}

.cinematic-story-mosaic .story-pathway-card::after {
  display: none;
}

.cinematic-story-mosaic .story-pathway-media {
  position: relative;
  inset: auto;
  grid-row: 2;
  min-height: 0;
  overflow: hidden;
}

.cinematic-story-mosaic .story-pathway-media img,
.cinematic-story-mosaic .story-pathway-media video {
  position: absolute;
  inset: 0;
}

.cinematic-story-mosaic .story-pathway-caption,
.cinematic-story-mosaic .story-pathway-step:not([data-story-position="0"]) .story-pathway-caption {
  position: static;
  grid-row: 1;
  gap: 11px;
  align-items: center;
  min-height: 76px;
  padding: 14px 18px;
  color: #26324e;
  background:
    radial-gradient(circle at 100% 0, rgba(75, 193, 210, 0.13), transparent 8rem),
    linear-gradient(145deg, #ffffff, #f0ecf7);
  border-bottom: 1px solid rgba(102, 82, 163, 0.14);
}

.cinematic-story-mosaic .story-pathway-caption-number,
.cinematic-story-mosaic .story-pathway-step:not([data-story-position="0"]) .story-pathway-caption-number {
  width: 34px;
  height: 34px;
  font-size: 0.68rem;
  box-shadow: none;
}

.cinematic-story-mosaic .story-pathway-caption small {
  color: #687187;
  font-size: 0.76rem;
}

.cinematic-story-mosaic .story-pathway-caption strong,
.cinematic-story-mosaic .story-pathway-step:not([data-story-position="0"]) .story-pathway-caption strong {
  overflow: visible;
  color: #1f2b48;
  font-size: clamp(1rem, 1.5vw, 1.28rem);
  line-height: 1.25;
  text-overflow: clip;
  text-shadow: none;
  white-space: normal;
}

.cinematic-story-mosaic .story-pathway-step:not([data-story-position="0"]) .story-pathway-caption {
  min-height: 64px;
  padding: 9px 11px;
}

.cinematic-story-mosaic .story-pathway-step:not([data-story-position="0"]) .story-pathway-caption small {
  display: none;
}

.cinematic-story-mosaic .story-pathway-step:not([data-story-position="0"]) .story-pathway-caption strong {
  display: -webkit-box;
  font-size: 0.75rem;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.cinematic-story-mosaic .story-pathway-step:not([data-story-position="0"]) .story-pathway-card {
  filter: none;
}

.cinematic-story-mosaic .story-pathway-step:not([data-story-position="0"]) .story-pathway-media {
  filter: saturate(0.76) contrast(0.95) brightness(0.82);
  transition: filter 220ms ease;
}

.cinematic-story-mosaic .story-pathway-step:not([data-story-position="0"]) .story-pathway-card:hover {
  filter: none;
}

.cinematic-story-mosaic .story-pathway-step:not([data-story-position="0"]) .story-pathway-card:hover .story-pathway-media {
  filter: saturate(0.98) contrast(1) brightness(0.96);
}

@media (max-width: 760px) {
  .solution-story-copy {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .solution-story-beats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cinematic-story-mosaic .story-pathway-stage {
    height: clamp(470px, 140vw, 600px);
  }

  .cinematic-story-mosaic .story-pathway-steps {
    grid-template-rows: minmax(0, 1fr) 124px;
  }

  .cinematic-story-mosaic .story-pathway-card,
  .cinematic-story-mosaic.hero-story-pathway.is-ready .story-pathway-step.is-active .story-pathway-card {
    display: grid;
  }

  .cinematic-story-mosaic .story-pathway-media {
    position: relative;
    inset: auto;
    height: auto;
  }

  .cinematic-story-mosaic .story-pathway-caption,
  .cinematic-story-mosaic .story-pathway-step:not([data-story-position="0"]) .story-pathway-caption {
    position: static;
    min-height: 68px;
    padding: 10px 12px;
  }

  .cinematic-story-mosaic .story-pathway-caption small {
    font-size: 0.7rem;
  }

  .cinematic-story-mosaic .story-pathway-caption strong {
    font-size: clamp(0.92rem, 4.3vw, 1.16rem);
  }

  .cinematic-story-mosaic .story-pathway-step:not([data-story-position="0"]) .story-pathway-caption {
    justify-content: start;
    gap: 6px;
    min-height: 52px;
    padding: 6px;
  }

  .cinematic-story-mosaic .story-pathway-step:not([data-story-position="0"]) .story-pathway-caption-number {
    width: 22px;
    height: 22px;
    font-size: 0.58rem;
  }

  .cinematic-story-mosaic .story-pathway-step:not([data-story-position="0"]) .story-pathway-caption > span:last-child {
    display: grid;
  }

  .cinematic-story-mosaic .story-pathway-step:not([data-story-position="0"]) .story-pathway-caption strong {
    font-size: 0.64rem;
    line-height: 1.18;
  }
}

@media (max-width: 380px) {
  .cinematic-story-mosaic .story-pathway-stage {
    height: 500px;
  }

  .cinematic-story-mosaic .story-pathway-toggle {
    font-size: 0.8125rem;
  }
}

@media (max-width: 430px) {
  .cinematic-story-mosaic .story-pathway-step:not([data-story-position="0"]) .story-pathway-caption {
    justify-content: center;
    min-height: 40px;
    padding: 6px;
  }

  .cinematic-story-mosaic .story-pathway-step:not([data-story-position="0"]) .story-pathway-caption > span:last-child {
    display: none;
  }

  .cinematic-story-mosaic .story-pathway-step:not([data-story-position="0"]) .story-pathway-caption-number {
    width: 26px;
    height: 26px;
    font-size: 0.62rem;
  }
}

@media (max-width: 340px) {
  .solution-story-beats {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Public navigation, project network, and audience Solution pages -------- */

.public-body .site-nav .site-nav-signup,
.public-body .site-nav-solution > summary {
  position: relative;
  display: inline-flex;
  gap: 7px;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding-inline: 13px;
  color: #3f4760;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.82), rgba(244, 241, 250, 0.68));
  border: 1px solid rgba(102, 82, 163, 0.16);
  border-radius: 14px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.94), 0 8px 22px rgba(44, 45, 82, 0.07);
  font-size: 0.9rem;
  font-weight: 750;
  line-height: 1.1;
  list-style: none;
  cursor: pointer;
  backdrop-filter: blur(16px) saturate(1.14);
  transition: color 170ms ease, background 170ms ease, border-color 170ms ease, box-shadow 170ms ease, transform 170ms ease;
}

.public-body .site-nav-solution {
  position: relative;
  flex: 0 0 auto;
}

.public-body .site-nav-solution > summary::-webkit-details-marker {
  display: none;
}

.public-body .site-nav .site-nav-signup:hover,
.public-body .site-nav .site-nav-signup:focus-visible,
.public-body .site-nav-solution > summary:hover,
.public-body .site-nav-solution > summary:focus-visible,
.public-body .site-nav-solution[open] > summary,
.public-body .site-nav-solution.is-current > summary {
  color: #594575;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(238, 233, 247, 0.9));
  border-color: rgba(102, 82, 163, 0.34);
  box-shadow: 0 12px 28px rgba(63, 43, 84, 0.12);
}

.public-body .site-nav .site-nav-signup:hover,
.public-body .site-nav .site-nav-signup:focus-visible,
.public-body .site-nav-solution > summary:hover,
.public-body .site-nav-solution > summary:focus-visible {
  transform: translateY(-1px);
}

.site-nav-chevron {
  width: 14px;
  height: 14px;
  margin-left: 1px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  transition: transform 170ms ease;
}

.site-nav-solution[open] .site-nav-chevron {
  transform: rotate(180deg);
}

.site-nav-solution-panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  z-index: 80;
  display: grid;
  gap: 7px;
  width: min(340px, calc(100vw - 32px));
  padding: 10px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(102, 82, 163, 0.18);
  border-radius: 18px;
  box-shadow: 0 24px 58px rgba(35, 31, 64, 0.2);
  backdrop-filter: blur(20px) saturate(1.12);
}

.public-body .site-nav .site-nav-solution-panel a {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 11px;
  align-items: center;
  min-height: 66px;
  padding: 10px 12px;
  color: #35405a;
  background: #faf9fc;
  border: 1px solid transparent;
  border-radius: 13px;
  text-decoration: none;
  white-space: normal;
}

.public-body .site-nav .site-nav-solution-panel a:hover,
.public-body .site-nav .site-nav-solution-panel a:focus-visible,
.public-body .site-nav .site-nav-solution-panel a[aria-current="page"] {
  color: #544174;
  background: #f3eef8;
  border-color: #d8cce7;
}

.site-nav-solution-panel a > span:last-child {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.site-nav-solution-panel strong {
  font-size: 0.84rem;
  line-height: 1.25;
}

.site-nav-solution-panel small {
  color: #72798a;
  font-size: 0.7rem;
  font-weight: 650;
  line-height: 1.3;
}

.site-nav-solution-index {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: #58457b;
  background: linear-gradient(145deg, #dff6f6, #eee2f6);
  border-radius: 11px;
  font-size: 0.64rem;
  font-weight: 900;
}

.site-nav-menu-solution-group {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  padding: 8px;
  background: linear-gradient(145deg, #f5fbfb, #f7f2fa);
  border: 1px solid #e0d9e9;
  border-radius: 13px;
}

.site-nav-menu-heading {
  display: flex;
  grid-column: 1 / -1;
  gap: 8px;
  align-items: center;
  padding: 3px 5px 5px;
  color: #514071;
  font-size: 0.78rem;
}

.site-nav-menu-heading svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.public-body .site-nav-menu-solution-group > a {
  display: grid;
  align-content: center;
  min-height: 62px;
  padding: 9px 10px;
  color: #3d4760;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(102, 82, 163, 0.12);
  border-radius: 11px;
  white-space: normal;
}

.site-nav-menu-solution-group > a span {
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1.25;
}

.site-nav-menu-solution-group > a small {
  margin-top: 3px;
  color: #737a8a;
  font-size: 0.63rem;
  line-height: 1.3;
}

.team-name-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 1100px;
}

.team-name-card h3 {
  max-width: 100%;
  font-size: clamp(0.98rem, 1.2vw, 1.18rem);
  letter-spacing: -0.025em;
  overflow-wrap: normal;
  white-space: nowrap;
}

.collaborator-card {
  grid-template-columns: minmax(138px, 0.42fr) minmax(0, 1fr) auto;
}

.collaborator-logo {
  display: grid;
  place-items: center;
  width: 100%;
  height: 68px;
  padding: 7px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(78, 86, 105, 0.1);
  border-radius: 13px;
}

.collaborator-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.solution-audience-chooser {
  background:
    radial-gradient(circle at 12% 15%, rgba(47, 178, 197, 0.14), transparent 25rem),
    radial-gradient(circle at 90% 88%, rgba(135, 91, 183, 0.16), transparent 28rem),
    linear-gradient(145deg, #f5fbfb, #f7f2fa);
}

.solution-audience-heading {
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  text-align: center;
}

.solution-audience-heading > p {
  max-width: 620px;
}

.solution-audience-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 1120px;
}

.solution-audience-grid > .solution-audience-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto auto 1fr auto;
  gap: 7px 18px;
  align-items: start;
  min-height: 310px;
  padding: clamp(28px, 3.4vw, 42px);
}

.solution-audience-card > .solution-audience-icon {
  display: grid;
  grid-row: 1 / 4;
  place-items: center;
  width: 76px;
  height: 76px;
  margin: 0;
  color: #fff;
  background: linear-gradient(145deg, #299ab5, #6652a3);
  border-radius: 22px;
  box-shadow: 0 18px 34px rgba(76, 67, 129, 0.2);
}

.solution-audience-card--clients > .solution-audience-icon {
  background: linear-gradient(145deg, #3eb5b6, #7d5aa7);
}

.solution-audience-icon svg {
  width: 48px;
  height: 48px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.solution-audience-card > strong {
  align-self: end;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  line-height: 1.1;
}

.solution-audience-card > small {
  margin: 5px 0 0;
  color: #626b7e;
  font-size: 0.95rem;
  line-height: 1.55;
}

.solution-audience-card > .solution-audience-link {
  grid-column: 1 / -1;
  align-self: end;
  width: fit-content;
  margin: 26px 0 0;
  color: #58427f;
  font-size: 0.82rem;
  font-weight: 850;
}

.provider-solution-hero,
.client-solution-hero {
  background:
    radial-gradient(circle at 8% 8%, rgba(46, 166, 190, 0.16), transparent 28rem),
    radial-gradient(circle at 94% 90%, rgba(132, 92, 178, 0.18), transparent 30rem),
    linear-gradient(145deg, #f4fbfb, #f7f2fa);
}

.provider-solution-hero h1,
.client-solution-hero h1 {
  max-width: 920px;
}

.provider-system-comparison {
  background: #fff;
  scroll-margin-top: calc(var(--public-header-height) + 20px);
}

.provider-system-heading {
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  text-align: center;
}

.provider-system-heading > p {
  max-width: 700px;
}

.provider-system-map {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(140px, 0.28fr) minmax(0, 1fr);
  gap: clamp(16px, 3vw, 34px);
  align-items: center;
  width: min(1120px, 100%);
  margin: 0 auto;
}

.provider-system-node {
  display: grid;
  justify-items: center;
  min-width: 0;
  min-height: 300px;
  padding: clamp(26px, 3.5vw, 42px);
  text-align: center;
  background: #f7f8fa;
  border: 1px solid #dce0e5;
  border-radius: 28px;
  box-shadow: 0 22px 54px rgba(39, 48, 68, 0.09);
}

.provider-system-node--autisync {
  background: linear-gradient(145deg, #eefafa, #f4eff9);
  border-color: #d5cde2;
}

.provider-system-icon {
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  color: #fff;
  background: linear-gradient(145deg, #69717d, #3e4652);
  border-radius: 24px;
}

.provider-system-node--autisync .provider-system-icon {
  background: linear-gradient(145deg, #299db8, #6652a3);
}

.provider-system-icon svg {
  width: 56px;
  height: 56px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.provider-system-node .eyebrow {
  margin: 22px 0 6px;
}

.provider-system-node > strong {
  font-size: clamp(1.35rem, 2.3vw, 1.85rem);
  line-height: 1.15;
}

.provider-system-node > span:last-child {
  max-width: 35ch;
  margin-top: 12px;
  color: #60697b;
  font-size: 0.92rem;
  line-height: 1.55;
}

.provider-system-bridge {
  display: grid;
  justify-items: center;
  color: #675388;
}

.provider-system-bridge span {
  padding: 7px 11px;
  background: #fff;
  border: 1px solid #d9d0e4;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 850;
  white-space: nowrap;
}

.provider-system-bridge svg {
  width: 100%;
  max-width: 180px;
  height: 44px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.provider-comparison-qualifier {
  max-width: 760px;
  margin: 28px auto 0;
  text-align: center;
}

.provider-method-comparison-wrap {
  width: min(1180px, 100%);
  margin: clamp(32px, 5vw, 58px) auto 0;
}

.provider-method-comparison-table td {
  color: #525d70;
  font-size: 0.88rem;
  line-height: 1.55;
}

.provider-workflow-section,
.client-care-path-section {
  background: linear-gradient(145deg, #f6fafb, #f6f2f9);
}

.provider-workflow-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.client-care-path {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.provider-workflow-step,
.client-care-step {
  min-height: 300px;
}

.client-solution-page .solution-comparison {
  scroll-margin-top: calc(var(--public-header-height) + 20px);
}

.provider-solution-cta,
.client-solution-cta {
  background:
    radial-gradient(circle at 14% 18%, rgba(46, 167, 190, 0.14), transparent 24rem),
    linear-gradient(145deg, #eef8f9, #f3edf8);
}

@media (max-width: 1120px) {
  .provider-workflow-grid,
  .client-care-path {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1040px) {
  .public-body .site-nav > .site-nav-solution,
  .public-body .site-nav > .site-nav-signup {
    display: none;
  }

  .public-body .site-nav-menu .site-nav-menu-signup {
    display: flex;
  }
}

@media (max-width: 820px) {
  .provider-system-map {
    grid-template-columns: minmax(0, 1fr);
    max-width: 620px;
  }

  .provider-system-bridge {
    transform: rotate(90deg);
  }

  .provider-system-bridge span {
    transform: rotate(-90deg);
  }

  .provider-system-bridge svg {
    width: 120px;
  }
}

@media (max-width: 720px) {
  .team-name-grid,
  .solution-audience-grid,
  .provider-workflow-grid,
  .client-care-path {
    grid-template-columns: minmax(0, 1fr);
  }

  .solution-audience-grid > .solution-audience-card {
    min-height: 270px;
  }
}

@media (max-width: 620px) {
  .site-nav-menu-solution-group {
    grid-template-columns: minmax(0, 1fr);
  }

  .collaborator-card {
    grid-template-columns: 108px minmax(0, 1fr) auto;
  }

  .collaborator-logo {
    height: 58px;
    padding: 5px;
  }

  .team-name-card h3 {
    font-size: clamp(0.78rem, 4vw, 0.98rem);
  }

  .solution-audience-grid > .solution-audience-card {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
  }

  .solution-audience-card > .solution-audience-icon {
    grid-row: auto;
    width: 66px;
    height: 66px;
  }

  .solution-audience-card > .solution-audience-link {
    grid-column: 1;
  }

  .provider-system-node {
    min-height: 0;
  }
}

@media (max-width: 380px) {
  .collaborator-card {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .collaborator-logo {
    grid-column: 1 / -1;
    justify-self: start;
    width: min(180px, 100%);
    height: 62px;
  }

  .team-name-card {
    padding-inline: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .public-body .site-nav .site-nav-signup,
  .public-body .site-nav-solution > summary,
  .site-nav-chevron {
    transition: none;
  }
}

/* Keep the compact Menu control in the same action family as its neighbour. */
.public-body .site-nav-menu summary {
  position: relative;
  overflow: visible;
  color: #3f4760;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.82), rgba(244, 241, 250, 0.68));
  border-color: rgba(102, 82, 163, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.94), 0 8px 22px rgba(44, 45, 82, 0.07);
  backdrop-filter: blur(16px) saturate(1.14);
}

.public-body .site-nav-menu summary:hover,
.public-body .site-nav-menu summary:focus-visible,
.public-body .site-nav-menu[open] summary {
  color: #594575;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(238, 233, 247, 0.9));
  border-color: rgba(102, 82, 163, 0.34);
  box-shadow: 0 12px 28px rgba(63, 43, 84, 0.12);
}

@media (max-width: 380px) {
  .public-body .site-footer {
    padding-bottom: calc(112px + env(safe-area-inset-bottom));
  }
}

/* Seven-scene story orbit: one feature with six previews moving around it. */
.cinematic-story-mosaic[data-story-count="7"] .story-pathway-stage {
  height: clamp(520px, 42vw, 570px);
  min-height: 0;
  aspect-ratio: auto;
}

.cinematic-story-mosaic[data-story-count="7"] .story-pathway-steps {
  grid-template-columns: minmax(178px, 0.28fr) minmax(0, 1fr) minmax(178px, 0.28fr);
  grid-template-rows: repeat(3, minmax(0, 1fr));
}

.cinematic-story-mosaic[data-story-count="7"] .story-pathway-step[data-story-position="0"] {
  grid-column: 2;
  grid-row: 1 / 4;
}

.cinematic-story-mosaic[data-story-count="7"] .story-pathway-step[data-story-position="1"] {
  grid-column: 1;
  grid-row: 1;
}

.cinematic-story-mosaic[data-story-count="7"] .story-pathway-step[data-story-position="2"] {
  grid-column: 1;
  grid-row: 2;
}

.cinematic-story-mosaic[data-story-count="7"] .story-pathway-step[data-story-position="3"] {
  grid-column: 1;
  grid-row: 3;
}

.cinematic-story-mosaic[data-story-count="7"] .story-pathway-step[data-story-position="4"] {
  grid-column: 3;
  grid-row: 3;
}

.cinematic-story-mosaic[data-story-count="7"] .story-pathway-step[data-story-position="5"] {
  grid-column: 3;
  grid-row: 2;
}

.cinematic-story-mosaic[data-story-count="7"] .story-pathway-step[data-story-position="6"] {
  grid-column: 3;
  grid-row: 1;
}

.cinematic-story-mosaic[data-story-count="7"] .story-pathway-step:not([data-story-position="0"]) .story-pathway-caption {
  min-height: 48px;
  padding: 7px 9px;
  overflow: hidden;
}

.cinematic-story-mosaic[data-story-count="7"] .story-pathway-step:not([data-story-position="0"]) .story-pathway-caption strong {
  overflow: hidden;
  font-size: 0.75rem;
  line-height: 1.16;
}

.cinematic-story-mosaic[data-story-count="7"] .story-pathway-step::after {
  display: none;
  content: none;
}

/* Other scene counts keep the same active-stage motion and show the six
   nearest scenes. Farther scenes remain in the sequence and rotate into view. */
.cinematic-story-mosaic:not([data-story-count="7"]) .story-pathway-stage {
  height: clamp(520px, 42vw, 570px);
  min-height: 0;
  aspect-ratio: auto;
}

.cinematic-story-mosaic:not([data-story-count="7"]) .story-pathway-route {
  display: none;
}

.cinematic-story-mosaic:not([data-story-count="7"]) .story-pathway-steps {
  grid-template-columns: minmax(178px, 0.28fr) minmax(0, 1fr) minmax(178px, 0.28fr);
  grid-template-rows: repeat(3, minmax(0, 1fr));
}

.cinematic-story-mosaic:not([data-story-count="7"]) .story-pathway-step[data-story-position="0"] {
  grid-column: 2;
  grid-row: 1 / 4;
}

.cinematic-story-mosaic:not([data-story-count="7"]) .story-pathway-step[data-story-position="1"] {
  grid-column: 1;
  grid-row: 1;
}

.cinematic-story-mosaic:not([data-story-count="7"]) .story-pathway-step[data-story-position="2"] {
  grid-column: 1;
  grid-row: 2;
}

.cinematic-story-mosaic:not([data-story-count="7"]) .story-pathway-step[data-story-position="3"] {
  grid-column: 1;
  grid-row: 3;
}

.cinematic-story-mosaic:not([data-story-count="7"]) .story-pathway-step[data-story-position="4"] {
  grid-column: 3;
  grid-row: 3;
}

.cinematic-story-mosaic:not([data-story-count="7"]) .story-pathway-step[data-story-position="5"] {
  grid-column: 3;
  grid-row: 2;
}

.cinematic-story-mosaic:not([data-story-count="7"]) .story-pathway-step[data-story-position="6"] {
  grid-column: 3;
  grid-row: 1;
}

.cinematic-story-mosaic .story-pathway-step.is-outside-orbit {
  display: none;
}

.cinematic-story-mosaic:not([data-story-count="7"]) .story-pathway-step:not([data-story-position="0"]) .story-pathway-caption {
  min-height: 48px;
  padding: 7px 9px;
  overflow: hidden;
}

.cinematic-story-mosaic:not([data-story-count="7"]) .story-pathway-step:not([data-story-position="0"]) .story-pathway-caption strong {
  overflow: hidden;
  font-size: 0.75rem;
  line-height: 1.16;
}

.cinematic-story-mosaic:not([data-story-count="7"]) .story-pathway-step::after {
  display: none;
  content: none;
}

@media (max-width: 960px) {
  .cinematic-story-mosaic[data-story-count="7"] .story-pathway-stage {
    height: clamp(464px, calc(67vw + 241px), 752px);
  }

  .cinematic-story-mosaic[data-story-count="7"] .story-pathway-route {
    display: none;
  }

  .cinematic-story-mosaic[data-story-count="7"] .story-pathway-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: minmax(0, 1fr) repeat(2, clamp(104px, 16vw, 124px));
  }

  .cinematic-story-mosaic[data-story-count="7"] .story-pathway-step[data-story-position="0"] {
    grid-column: 1 / 4;
    grid-row: 1;
  }

  .cinematic-story-mosaic[data-story-count="7"] .story-pathway-step[data-story-position="1"] {
    grid-column: 1;
    grid-row: 2;
  }

  .cinematic-story-mosaic[data-story-count="7"] .story-pathway-step[data-story-position="2"] {
    grid-column: 2;
    grid-row: 2;
  }

  .cinematic-story-mosaic[data-story-count="7"] .story-pathway-step[data-story-position="3"] {
    grid-column: 3;
    grid-row: 2;
  }

  .cinematic-story-mosaic[data-story-count="7"] .story-pathway-step[data-story-position="4"] {
    grid-column: 1;
    grid-row: 3;
  }

  .cinematic-story-mosaic[data-story-count="7"] .story-pathway-step[data-story-position="5"] {
    grid-column: 2;
    grid-row: 3;
  }

  .cinematic-story-mosaic[data-story-count="7"] .story-pathway-step[data-story-position="6"] {
    grid-column: 3;
    grid-row: 3;
  }

  .cinematic-story-mosaic[data-story-count="7"] .story-pathway-step:not([data-story-position="0"]) .story-pathway-caption strong {
    font-size: 0.75rem;
  }

  .cinematic-story-mosaic:not([data-story-count="7"]) .story-pathway-stage {
    height: clamp(464px, calc(67vw + 241px), 752px);
  }

  .cinematic-story-mosaic:not([data-story-count="7"]) .story-pathway-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: minmax(0, 1fr) repeat(2, clamp(104px, 16vw, 124px));
  }

  .cinematic-story-mosaic:not([data-story-count="7"]) .story-pathway-step[data-story-position="0"] {
    grid-column: 1 / 4;
    grid-row: 1;
  }

  .cinematic-story-mosaic:not([data-story-count="7"]) .story-pathway-step[data-story-position="1"] {
    grid-column: 1;
    grid-row: 2;
  }

  .cinematic-story-mosaic:not([data-story-count="7"]) .story-pathway-step[data-story-position="2"] {
    grid-column: 2;
    grid-row: 2;
  }

  .cinematic-story-mosaic:not([data-story-count="7"]) .story-pathway-step[data-story-position="3"] {
    grid-column: 3;
    grid-row: 2;
  }

  .cinematic-story-mosaic:not([data-story-count="7"]) .story-pathway-step[data-story-position="4"] {
    grid-column: 1;
    grid-row: 3;
  }

  .cinematic-story-mosaic:not([data-story-count="7"]) .story-pathway-step[data-story-position="5"] {
    grid-column: 2;
    grid-row: 3;
  }

  .cinematic-story-mosaic:not([data-story-count="7"]) .story-pathway-step[data-story-position="6"] {
    grid-column: 3;
    grid-row: 3;
  }
}

@media (max-width: 620px) {
  .cinematic-story-mosaic[data-story-count="7"] .story-pathway-step[data-story-position="0"] .story-pathway-caption small,
  .cinematic-story-mosaic:not([data-story-count="7"]) .story-pathway-step[data-story-position="0"] .story-pathway-caption small {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .cinematic-story-mosaic[data-story-count="7"] .story-pathway-step:not([data-story-position="0"]) .story-pathway-caption,
  .cinematic-story-mosaic:not([data-story-count="7"]) .story-pathway-step:not([data-story-position="0"]) .story-pathway-caption {
    justify-content: center;
    min-height: 40px;
    padding: 6px;
  }

  .cinematic-story-mosaic[data-story-count="7"] .story-pathway-step:not([data-story-position="0"]) .story-pathway-caption > span:last-child,
  .cinematic-story-mosaic:not([data-story-count="7"]) .story-pathway-step:not([data-story-position="0"]) .story-pathway-caption > span:last-child {
    display: none;
  }

  .cinematic-story-mosaic[data-story-count="7"] .story-pathway-step:not([data-story-position="0"]) .story-pathway-caption-number,
  .cinematic-story-mosaic:not([data-story-count="7"]) .story-pathway-step:not([data-story-position="0"]) .story-pathway-caption-number {
    width: 26px;
    height: 26px;
    font-size: 0.62rem;
  }
}

/* If an editor publishes more than seven scenes, motion-sensitive and
   script-free visitors get every scene as a readable static collection. */
.cinematic-story-mosaic.has-overflow-scenes:is(.is-static-sequence, :not(.is-enhancing)) .story-pathway-stage {
  height: auto;
  min-height: 0;
  padding: clamp(14px, 2vw, 24px);
  overflow: visible;
}

.cinematic-story-mosaic.has-overflow-scenes:is(.is-static-sequence, :not(.is-enhancing)) .story-pathway-steps {
  position: relative;
  inset: auto;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  grid-template-rows: none;
  grid-auto-rows: auto;
}

.cinematic-story-mosaic.has-overflow-scenes:is(.is-static-sequence, :not(.is-enhancing)) .story-pathway-step,
.cinematic-story-mosaic.has-overflow-scenes:is(.is-static-sequence, :not(.is-enhancing)) .story-pathway-step[data-story-position] {
  display: block;
  grid-column: auto;
  grid-row: auto;
  min-height: 0;
}

.cinematic-story-mosaic.has-overflow-scenes:is(.is-static-sequence, :not(.is-enhancing)) .story-pathway-card,
.cinematic-story-mosaic.has-overflow-scenes:is(.is-static-sequence, :not(.is-enhancing)) .story-pathway-step[data-story-position="0"] .story-pathway-card {
  display: grid;
  grid-template-rows: auto 1fr;
  height: 100%;
  border-width: 3px;
}

.cinematic-story-mosaic.has-overflow-scenes:is(.is-static-sequence, :not(.is-enhancing)) .story-pathway-media {
  position: relative;
  inset: auto;
  aspect-ratio: 16 / 9;
}

.cinematic-story-mosaic.has-overflow-scenes:is(.is-static-sequence, :not(.is-enhancing)) .story-pathway-caption,
.cinematic-story-mosaic.has-overflow-scenes:is(.is-static-sequence, :not(.is-enhancing)) .story-pathway-step:not([data-story-position="0"]) .story-pathway-caption {
  position: static;
  display: flex;
  min-height: 96px;
  padding: 14px;
}

.cinematic-story-mosaic.has-overflow-scenes:is(.is-static-sequence, :not(.is-enhancing)) .story-pathway-caption > span:last-child,
.cinematic-story-mosaic.has-overflow-scenes:is(.is-static-sequence, :not(.is-enhancing)) .story-pathway-caption small,
.cinematic-story-mosaic.has-overflow-scenes:is(.is-static-sequence, :not(.is-enhancing)) .story-pathway-caption strong {
  display: grid;
  overflow: visible;
  color: inherit;
  text-overflow: clip;
  white-space: normal;
}

/* Film-first Solution and product-led How It Works ----------------------- */

.solution-film-hero {
  padding: clamp(38px, 5vw, 72px) var(--public-edge) clamp(56px, 7vw, 96px);
  color: #fff;
  background:
    radial-gradient(circle at 14% 5%, rgba(71, 202, 216, 0.2), transparent 25rem),
    radial-gradient(circle at 88% 92%, rgba(160, 111, 213, 0.26), transparent 30rem),
    linear-gradient(145deg, #111a37, #28204d 66%, #352259);
  scroll-margin-top: calc(var(--public-header-height) + 24px);
}

.solution-film-intro {
  width: min(920px, 100%);
  margin: 0 auto clamp(26px, 4vw, 44px);
  text-align: center;
}

.solution-film-intro .eyebrow {
  color: #9fe7ed;
}

.solution-film-intro h1 {
  max-width: 900px;
  margin: 12px auto 0;
  color: #fff;
  font-size: clamp(2.55rem, 6.4vw, 5.7rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.solution-film-intro > p:last-child {
  margin: 18px auto 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1rem, 1.55vw, 1.25rem);
  line-height: 1.55;
}

.solution-film-hero-player {
  width: min(1240px, 100%);
  margin: 0 auto;
}

.solution-film-hero .solution-film-stage {
  border-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 42px 100px rgba(4, 8, 26, 0.46), 0 0 0 1px rgba(177, 213, 234, 0.22);
}

.solution-film-hero .solution-film figcaption {
  color: rgba(255, 255, 255, 0.7);
  background: rgba(10, 16, 40, 0.48);
  border-color: rgba(255, 255, 255, 0.12);
}

.solution-comparison {
  background:
    radial-gradient(circle at 8% 9%, rgba(90, 103, 120, 0.08), transparent 26rem),
    radial-gradient(circle at 92% 78%, rgba(102, 82, 163, 0.13), transparent 30rem),
    #fff;
}

.solution-comparison .coordination-comparison-heading {
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  margin-bottom: clamp(32px, 5vw, 58px);
  text-align: center;
}

.solution-comparison .coordination-comparison-heading h2 {
  max-width: 930px;
  margin-inline: auto;
}

.solution-comparison .comparison-context-note {
  max-width: 680px;
  margin: 14px auto 0;
  color: #687083;
  font-size: 0.86rem;
  line-height: 1.5;
}

.solution-comparison .care-model-grid {
  align-items: stretch;
}

.solution-comparison .care-model-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.solution-comparison .care-model-intro,
.solution-comparison .care-model-summary {
  min-height: 0;
}

.solution-comparison .care-model-intro {
  margin-top: 16px;
}

.solution-comparison .care-model-summary {
  margin-top: auto;
  padding-top: 18px;
}

.solution-comparison .method-comparison-wrap {
  margin-top: clamp(30px, 5vw, 56px);
}

.solution-comparison .method-comparison-table caption {
  font-size: clamp(1.15rem, 2vw, 1.55rem);
}

.solution-comparison .comparison-table-note {
  text-align: center;
}

.solution-ad-cta {
  background:
    radial-gradient(circle at 15% 20%, rgba(42, 155, 184, 0.14), transparent 22rem),
    linear-gradient(145deg, #f4f9fa, #f5f0fa);
}

.how-product-hero {
  background:
    radial-gradient(circle at 10% 4%, rgba(48, 174, 198, 0.16), transparent 25rem),
    radial-gradient(circle at 92% 90%, rgba(143, 97, 193, 0.18), transparent 30rem),
    linear-gradient(145deg, #f4fbfb, #f6f2fa);
}

.how-product-heading {
  width: min(900px, 100%);
  margin: 0 auto clamp(30px, 5vw, 54px);
  text-align: center;
}

.how-product-heading h1 {
  max-width: 880px;
  margin: 12px auto 0;
  font-size: clamp(2.55rem, 6vw, 5.35rem);
  line-height: 0.99;
  letter-spacing: -0.055em;
}

.how-product-heading > p:last-child {
  max-width: 720px;
  margin: 18px auto 0;
  color: #5b6478;
  font-size: clamp(1rem, 1.45vw, 1.2rem);
  line-height: 1.58;
}

.how-workspace-preview {
  width: min(1320px, 100%);
  margin: 0 auto;
  overflow: hidden;
  color: #26324e;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(102, 82, 163, 0.18);
  border-radius: clamp(22px, 3vw, 34px);
  box-shadow: 0 38px 88px rgba(39, 45, 79, 0.18), inset 0 1px 0 #fff;
}

.workspace-preview-bar {
  display: grid;
  grid-template-columns: minmax(88px, 1fr) auto minmax(88px, 1fr);
  gap: 16px;
  align-items: center;
  min-height: 58px;
  padding: 12px 20px;
  background: linear-gradient(145deg, #f4f2f8, #eef7f8);
  border-bottom: 1px solid #ddd8e5;
}

.workspace-preview-bar > strong {
  font-size: 0.82rem;
  letter-spacing: 0.015em;
}

.workspace-preview-lights {
  display: flex;
  gap: 7px;
}

.workspace-preview-lights i {
  width: 9px;
  height: 9px;
  background: #63bdca;
  border-radius: 50%;
}

.workspace-preview-lights i:nth-child(2) {
  background: #a58bc3;
}

.workspace-preview-lights i:nth-child(3) {
  background: #d5c5e4;
}

.workspace-preview-status {
  justify-self: end;
  color: #536078;
  font-size: 0.7rem;
  font-weight: 800;
}

.workspace-preview-status i {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 5px;
  background: #2a9bb8;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(42, 155, 184, 0.13);
}

.workspace-preview-body {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) 280px;
  min-height: 520px;
}

.workspace-preview-nav {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 26px 18px;
  background: #f8f7fa;
  border-right: 1px solid #e1dde7;
}

.workspace-preview-nav > strong {
  margin: 0 10px 10px;
  color: #6a7181;
  font-size: 0.67rem;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.workspace-preview-nav > span {
  display: flex;
  gap: 9px;
  align-items: center;
  min-height: 38px;
  padding: 8px 10px;
  color: #667085;
  border-radius: 10px;
  font-size: 0.72rem;
  font-weight: 760;
}

.workspace-preview-nav > span i {
  width: 9px;
  height: 9px;
  border: 2px solid #8d7aaa;
  border-radius: 3px;
}

.workspace-preview-nav > span.is-active {
  color: #4c3d73;
  background: #ece7f4;
}

.workspace-preview-nav > span.is-active i {
  background: #6652a3;
  border-color: #6652a3;
}

.workspace-preview-main {
  min-width: 0;
  padding: clamp(24px, 3vw, 38px);
}

.workspace-preview-profile {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.workspace-preview-avatar {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: #fff;
  background: linear-gradient(145deg, #2a9bb8, #6652a3);
  border-radius: 15px;
  font-size: 1.1rem;
  font-weight: 900;
}

.workspace-preview-profile > span:nth-child(2) {
  display: grid;
  gap: 3px;
}

.workspace-preview-profile small {
  color: #737a89;
  font-size: 0.65rem;
  font-weight: 740;
}

.workspace-preview-profile strong {
  font-size: clamp(0.9rem, 1.2vw, 1.05rem);
}

.workspace-preview-team {
  padding: 7px 10px;
  color: #226f7f;
  background: #e7f5f6;
  border: 1px solid #cce7e9;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 850;
}

.workspace-preview-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 22px;
}

.workspace-preview-tags span {
  padding: 7px 10px;
  color: #5a4d7b;
  background: #f0ebf6;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 800;
}

.workspace-preview-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.workspace-preview-cards article {
  display: grid;
  align-content: start;
  min-height: 120px;
  padding: 14px;
  background: #fff;
  border: 1px solid #e2dee8;
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(50, 54, 88, 0.07);
}

.workspace-preview-cards small,
.workspace-preview-cards em {
  color: #72798a;
  font-size: 0.58rem;
  font-style: normal;
  font-weight: 760;
}

.workspace-preview-cards strong {
  margin-top: 6px;
  font-size: 0.72rem;
  line-height: 1.35;
}

.workspace-preview-cards article > span {
  height: 7px;
  margin-top: 18px;
  overflow: hidden;
  background: #e5e1ea;
  border-radius: 999px;
}

.workspace-preview-cards article > span i {
  display: block;
  width: 72%;
  height: 100%;
  background: linear-gradient(90deg, #2a9bb8, #7860ad);
  border-radius: inherit;
}

.workspace-preview-cards em {
  margin-top: 16px;
}

.workspace-preview-timeline {
  display: grid;
  gap: 0;
  margin-top: 18px;
  padding: 4px 16px;
  background: #f9f8fb;
  border: 1px solid #e5e1e9;
  border-radius: 14px;
}

.workspace-preview-timeline > span {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr) auto;
  gap: 9px;
  align-items: center;
  min-height: 45px;
  border-bottom: 1px solid #e6e2ea;
}

.workspace-preview-timeline > span:last-child {
  border-bottom: 0;
}

.workspace-preview-timeline i {
  width: 8px;
  height: 8px;
  background: #2a9bb8;
  border-radius: 50%;
  box-shadow: 0 0 0 3px #dff1f3;
}

.workspace-preview-timeline strong {
  font-size: 0.67rem;
}

.workspace-preview-timeline small {
  color: #777e8e;
  font-size: 0.56rem;
  font-weight: 680;
}

.workspace-preview-assistant {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 26px 20px;
  background:
    radial-gradient(circle at 90% 10%, rgba(49, 178, 198, 0.16), transparent 14rem),
    linear-gradient(160deg, #f2edf8, #eef7f8);
  border-left: 1px solid #ded8e6;
}

.workspace-preview-assistant header {
  display: flex;
  gap: 10px;
  align-items: center;
}

.workspace-preview-assistant header span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #fff;
  background: linear-gradient(145deg, #2a9bb8, #6652a3);
  border-radius: 13px;
}

.workspace-preview-assistant header svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.workspace-preview-assistant header strong {
  font-size: 0.82rem;
}

.workspace-preview-context {
  width: fit-content;
  margin-top: 20px;
  padding: 6px 9px;
  color: #5c4b7e;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid #ddd3e7;
  border-radius: 999px;
  font-size: 0.58rem;
  font-weight: 820;
}

.workspace-preview-assistant > p {
  max-width: 90%;
  margin: 12px 0 0;
  padding: 11px 12px;
  font-size: 0.68rem;
  line-height: 1.45;
}

.preview-chat-question {
  align-self: end;
  color: #fff;
  background: #6652a3;
  border-radius: 14px 14px 3px 14px;
}

.preview-chat-answer {
  align-self: start;
  color: #37415a;
  background: #fff;
  border: 1px solid #ddd9e5;
  border-radius: 14px 14px 14px 3px;
}

.preview-chat-review {
  margin-top: auto;
  color: #6d7484;
  font-size: 0.58rem;
  font-weight: 760;
  text-align: center;
}

.workspace-preview-key {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: min(880px, 100%);
  margin: 22px auto 0;
  padding: 0;
  list-style: none;
}

.workspace-preview-key li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 2px 10px;
  align-items: center;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(102, 82, 163, 0.13);
  border-radius: 14px;
}

.workspace-preview-key li > span {
  grid-row: 1 / 3;
  color: #6652a3;
  font-size: 0.65rem;
  font-weight: 900;
}

.workspace-preview-key strong {
  font-size: 0.75rem;
}

.workspace-preview-key small {
  color: #747b8a;
  font-size: 0.61rem;
  font-weight: 680;
}

.app-workflow-section {
  background: #fff;
}

.app-workflow-heading {
  margin-bottom: clamp(30px, 5vw, 54px);
}

.app-workflow-heading > div {
  max-width: 860px;
}

.app-workflow-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: var(--public-content-max);
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.app-workflow-step {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 440px;
  padding: clamp(22px, 2.4vw, 30px);
  background:
    radial-gradient(circle at 100% 0, rgba(69, 190, 208, 0.1), transparent 13rem),
    #fff;
  border: 1px solid #ddd8e5;
  border-radius: 24px;
  box-shadow: 0 18px 44px rgba(42, 35, 65, 0.08);
  scroll-margin-top: calc(var(--public-header-height) + 24px);
}

.app-workflow-step:nth-child(even) {
  background:
    radial-gradient(circle at 100% 0, rgba(133, 98, 180, 0.12), transparent 13rem),
    #faf8fc;
}

.app-workflow-step-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.app-workflow-step-heading > span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #fff;
  background: linear-gradient(145deg, #2a9bb8, #6652a3);
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 900;
}

.app-workflow-step-heading > svg {
  width: 48px;
  height: 48px;
  padding: 8px;
  color: #6652a3;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  background: #f0ebf7;
  border-radius: 14px;
}

.app-workflow-step h3 {
  margin: 24px 0 0;
  font-size: clamp(1.25rem, 1.8vw, 1.55rem);
  line-height: 1.18;
}

.app-workflow-step > p {
  margin: 12px 0 22px;
  color: #626a79;
  font-size: 0.92rem;
  line-height: 1.55;
}

.workflow-preview {
  min-height: 154px;
  margin-top: auto;
  padding: 14px;
  color: #35405a;
  background: #f7f6f9;
  border: 1px solid #ded9e6;
  border-radius: 16px;
  box-shadow: inset 0 1px 0 #fff;
}

.workflow-profile-preview {
  display: grid;
  align-content: center;
  gap: 12px;
}

.workflow-profile-preview > span {
  display: grid;
  grid-template-columns: minmax(76px, 0.45fr) minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.workflow-profile-preview small {
  font-size: 0.62rem;
  font-weight: 800;
}

.workflow-profile-preview i {
  height: 7px;
  background: linear-gradient(90deg, #d6cfdf 64%, #ece9ef 64%);
  border-radius: 999px;
}

.workflow-sharing-preview {
  display: grid;
  gap: 8px;
}

.workflow-sharing-preview > span {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  gap: 9px;
  align-items: center;
  min-height: 35px;
  padding: 5px 7px;
  background: #fff;
  border-radius: 9px;
}

.workflow-sharing-preview i {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: #fff;
  background: linear-gradient(145deg, #2a9bb8, #6652a3);
  border-radius: 9px;
  font-size: 0.55rem;
  font-style: normal;
  font-weight: 900;
}

.workflow-sharing-preview strong {
  font-size: 0.62rem;
}

.workflow-sharing-preview small {
  color: #737b8a;
  font-size: 0.52rem;
  font-weight: 760;
}

.workflow-tools-preview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.workflow-tools-preview span {
  display: grid;
  place-items: center;
  gap: 5px;
  min-height: 56px;
  color: #514276;
  background: #fff;
  border: 1px solid #e1dce8;
  border-radius: 11px;
  font-size: 0.59rem;
  font-weight: 850;
}

.workflow-tools-preview svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: #2a91a8;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.workflow-progress-preview {
  display: flex;
  gap: 9px;
  align-items: end;
  justify-content: center;
  min-height: 154px;
  padding-bottom: 10px;
}

.workflow-progress-preview > span {
  display: grid;
  grid-template-rows: 100px auto;
  gap: 7px;
  align-items: end;
  width: 30px;
  text-align: center;
}

.workflow-progress-preview i {
  display: block;
  width: 100%;
  height: 38%;
  background: linear-gradient(180deg, #45b6c8, #6d55a4);
  border-radius: 7px 7px 3px 3px;
}

.workflow-progress-preview span:nth-child(2) i {
  height: 56%;
}

.workflow-progress-preview span:nth-child(3) i {
  height: 48%;
}

.workflow-progress-preview span:nth-child(4) i {
  height: 74%;
}

.workflow-progress-preview span:nth-child(5) i {
  height: 82%;
}

.workflow-progress-preview small {
  color: #737a89;
  font-size: 0.52rem;
  font-weight: 760;
}

.workflow-assistant-preview {
  display: grid;
  align-content: center;
  gap: 10px;
}

.workflow-assistant-preview p {
  width: 88%;
  margin: 0;
  padding: 10px 11px;
  font-size: 0.62rem;
  line-height: 1.4;
}

.workflow-assistant-preview p:first-child {
  justify-self: end;
  color: #fff;
  background: #6652a3;
  border-radius: 12px 12px 3px 12px;
}

.workflow-assistant-preview p:last-child {
  background: #fff;
  border: 1px solid #ddd8e5;
  border-radius: 12px 12px 12px 3px;
}

.workflow-followup-preview {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 7px;
  align-content: center;
}

.workflow-followup-preview > span {
  display: grid;
  grid-column: 1 / -1;
  gap: 4px;
  padding: 10px 11px;
  background: #fff;
  border-radius: 10px;
}

.workflow-followup-preview small {
  color: #6d7484;
  font-size: 0.55rem;
  font-weight: 760;
}

.workflow-followup-preview strong {
  font-size: 0.68rem;
}

.workflow-followup-preview > i {
  height: 26px;
  background: #e4e0e8;
  border-radius: 7px;
}

.workflow-followup-preview > i.is-current {
  background: linear-gradient(145deg, #2a9bb8, #6652a3);
  box-shadow: 0 0 0 4px rgba(102, 82, 163, 0.1);
}

.workflow-followup-preview em {
  grid-column: 1 / -1;
  justify-self: end;
  color: #22778a;
  font-size: 0.55rem;
  font-style: normal;
  font-weight: 850;
}

.assistant-how-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.58fr) minmax(0, 1.42fr);
  gap: clamp(34px, 6vw, 86px);
  align-items: center;
  background:
    radial-gradient(circle at 7% 8%, rgba(51, 178, 198, 0.16), transparent 25rem),
    radial-gradient(circle at 93% 92%, rgba(135, 95, 183, 0.18), transparent 27rem),
    linear-gradient(145deg, #edf8f9, #f3edf8);
  scroll-margin-top: calc(var(--public-header-height) + 24px);
}

.assistant-how-heading h2 {
  margin-top: 12px;
}

.assistant-how-heading > p:last-child {
  margin: 18px 0 0;
  color: #5c6578;
  font-size: 1rem;
  line-height: 1.62;
}

.assistant-mode-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.assistant-mode-flow li {
  position: relative;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  justify-items: start;
  min-width: 0;
  min-height: 230px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid #dcd6e4;
  border-radius: 20px;
  box-shadow: 0 16px 36px rgba(46, 47, 84, 0.09);
}

.assistant-mode-flow li:not(:last-child)::after {
  position: absolute;
  top: 50%;
  right: -17px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  color: #6652a3;
  content: "→";
  background: #fff;
  border: 1px solid #d7cee2;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 900;
  transform: translateY(-50%);
}

.assistant-mode-flow li > span {
  color: #6652a3;
  font-size: 0.65rem;
  font-weight: 900;
}

.assistant-mode-flow svg {
  width: 52px;
  height: 52px;
  margin-top: 18px;
  padding: 9px;
  color: #fff;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
  background: linear-gradient(145deg, #2a9bb8, #6652a3);
  border-radius: 16px;
}

.assistant-mode-flow strong {
  margin-top: 18px;
  font-size: 0.9rem;
  line-height: 1.3;
}

.assistant-mode-flow small {
  margin-top: 9px;
  color: #6c7484;
  font-size: 0.68rem;
  font-weight: 690;
  line-height: 1.4;
}

@media (hover: hover) and (pointer: fine) {
  .app-workflow-step,
  .assistant-mode-flow li {
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
  }

  .app-workflow-step:hover,
  .assistant-mode-flow li:hover {
    border-color: #c7b9d8;
    box-shadow: 0 24px 54px rgba(42, 35, 65, 0.13);
    transform: translateY(-3px);
  }
}

@media (max-width: 1120px) {
  .workspace-preview-body {
    grid-template-columns: 156px minmax(0, 1fr);
  }

  .workspace-preview-assistant {
    grid-column: 1 / -1;
    min-height: 250px;
    border-top: 1px solid #ded8e6;
    border-left: 0;
  }

  .preview-chat-review {
    margin-top: 18px;
  }

  .app-workflow-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .assistant-how-section {
    grid-template-columns: minmax(0, 1fr);
  }

  .assistant-how-heading {
    max-width: 780px;
  }
}

@media (max-width: 760px) {
  .solution-film-hero {
    min-height: 0;
    padding-top: 30px;
    padding-bottom: calc(136px + env(safe-area-inset-bottom));
  }

  .solution-film-intro h1,
  .how-product-heading h1 {
    font-size: clamp(2.35rem, 12vw, 3.8rem);
  }

  .solution-film-hero .solution-film-stage {
    border-width: 4px;
    border-radius: 18px;
  }

  .workspace-preview-body {
    grid-template-columns: minmax(0, 1fr);
  }

  .workspace-preview-nav {
    display: none;
  }

  .workspace-preview-assistant {
    grid-column: 1;
  }

  .workspace-preview-key {
    grid-template-columns: minmax(0, 1fr);
  }

  .assistant-mode-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .assistant-mode-flow li:nth-child(2)::after {
    top: auto;
    right: 50%;
    bottom: -18px;
    display: grid;
    content: "↓";
    transform: translateX(50%);
  }
}

@media (max-width: 620px) {
  .solution-comparison .care-model-grid,
  .app-workflow-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .solution-comparison .care-model-card {
    padding: 16px;
  }

  .workspace-preview-bar {
    grid-template-columns: minmax(0, 1fr) auto;
    padding-inline: 14px;
  }

  .workspace-preview-lights {
    display: none;
  }

  .workspace-preview-bar > strong {
    justify-self: start;
  }

  .workspace-preview-main,
  .workspace-preview-assistant {
    padding: 20px 16px;
  }

  .workspace-preview-cards {
    grid-template-columns: minmax(0, 1fr);
  }

  .workspace-preview-cards article {
    min-height: 96px;
  }

  .workspace-preview-tags span,
  .workspace-preview-cards small,
  .workspace-preview-cards em,
  .workspace-preview-timeline small,
  .workspace-preview-context,
  .preview-chat-review {
    font-size: 0.66rem;
  }

  .workspace-preview-timeline strong,
  .workflow-profile-preview small,
  .workflow-sharing-preview small,
  .workflow-tools-preview span,
  .workflow-progress-preview small,
  .workflow-assistant-preview p,
  .workflow-followup-preview small,
  .workflow-followup-preview em {
    font-size: 0.68rem;
  }

  .workflow-sharing-preview strong,
  .workflow-followup-preview strong {
    font-size: 0.72rem;
  }

  .workspace-preview-timeline > span {
    grid-template-columns: 10px minmax(0, 1fr);
    padding-block: 8px;
  }

  .workspace-preview-timeline small {
    grid-column: 2;
  }

  .app-workflow-step {
    min-height: 0;
    padding: 22px;
  }
}

@media (max-width: 480px) {
  .solution-film-intro > p:last-child,
  .how-product-heading > p:last-child {
    font-size: 0.95rem;
  }

  .workspace-preview-profile {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .workspace-preview-team {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .assistant-mode-flow {
    grid-template-columns: minmax(0, 1fr);
  }

  .assistant-mode-flow li {
    min-height: 0;
  }

  .assistant-mode-flow li:not(:last-child)::after {
    top: auto;
    right: 50%;
    bottom: -18px;
    content: "↓";
    transform: translateX(50%);
  }

  .assistant-mode-flow li:nth-child(2)::after {
    display: grid;
  }
}

@media (max-width: 360px) {
  .solution-film-hero .solution-film figcaption {
    width: calc(100% - 58px);
    margin-right: 0;
    margin-left: 0;
    border-radius: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .app-workflow-step,
  .assistant-mode-flow li {
    transition: none;
  }
}

/* Solution comparison: card-sized diagrams ------------------------------- */

.solution-comparison .care-model-card {
  container-type: inline-size;
}

.solution-comparison .care-model-universe {
  width: min(620px, 100%);
}

.solution-comparison .care-model-diagram--traditional,
.solution-comparison .feature-universe--comparison .feature-universe-surface {
  height: clamp(560px, 47vw, 660px);
  height: clamp(560px, 111cqi, 660px);
  min-height: 0;
  aspect-ratio: auto;
}

.solution-comparison .care-model-diagram--traditional {
  width: min(620px, 100%);
  margin-inline: auto;
  background:
    radial-gradient(circle at 50% 43%, rgba(255, 255, 255, 0.9), transparent 31%),
    repeating-linear-gradient(-8deg, transparent 0 41px, rgba(104, 109, 114, 0.035) 42px 43px),
    linear-gradient(148deg, rgba(250, 250, 249, 0.94), rgba(229, 230, 230, 0.8));
}

.care-model-diagram--traditional .care-model-routes > .handoff-arm {
  opacity: 0.68;
  marker-start: url(#fragmented-handoff-arrow);
  marker-end: url(#fragmented-handoff-arrow);
  stroke: #7d858d;
  stroke-dasharray: 7 10;
  stroke-width: 2.5;
}

.care-model-diagram--traditional .care-model-routes > .handoff-arm:nth-of-type(2n) {
  animation-duration: 1.85s;
  animation-delay: -620ms;
}

.care-model-diagram--traditional .care-model-node {
  width: min(142px, 38%);
}

.care-model-diagram--traditional .care-model-node-north-west,
.care-model-diagram--traditional .care-model-node-north-east {
  top: 3%;
}

.care-model-diagram--traditional .care-model-node-south-west,
.care-model-diagram--traditional .care-model-node-south-east {
  bottom: 3%;
}

.care-model-diagram--traditional .care-model-node-north-west,
.care-model-diagram--traditional .care-model-node-south-west {
  left: 3%;
}

.care-model-diagram--traditional .care-model-node-north-east,
.care-model-diagram--traditional .care-model-node-south-east {
  right: 3%;
}

.care-model-diagram--traditional .care-model-node {
  transform: none;
}

.care-model-diagram--traditional .traditional-care-centre {
  top: 41.5%;
  width: min(204px, 52%);
  min-height: 132px;
}

.handoff-channel {
  position: absolute;
  z-index: 4;
  display: inline-flex;
  gap: 6px;
  align-items: center;
  justify-content: center;
  max-width: 42%;
  min-height: 34px;
  padding: 6px 9px;
  color: #4f565d;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid #c7cbd0;
  border-radius: 999px;
  box-shadow: 0 7px 17px rgba(53, 58, 64, 0.13);
  font-size: 0.68rem;
  font-weight: 850;
  line-height: 1.15;
  white-space: nowrap;
  transform: translate(-50%, -50%);
}

.handoff-channel svg {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: #616970;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.handoff-channel-clinic,
.handoff-channel-community {
  left: 24%;
}

.handoff-channel-school,
.handoff-channel-specialist {
  left: 76%;
}

.handoff-channel-clinic,
.handoff-channel-school {
  top: 23%;
}

.handoff-channel-community,
.handoff-channel-specialist {
  top: 75.5%;
}

.handoff-records {
  position: absolute;
  top: 55%;
  left: 50%;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px;
  width: min(288px, 62%);
  padding: 9px;
  background: rgba(246, 246, 245, 0.96);
  border: 1px solid #c8ccd0;
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(53, 58, 64, 0.12);
  transform: translateX(-50%);
}

.handoff-records small {
  grid-column: 1 / -1;
  color: #646b72;
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.035em;
  text-align: center;
  text-transform: uppercase;
}

.handoff-records span {
  min-width: 0;
  padding: 6px;
  color: #51585f;
  background: #fff;
  border: 1px solid #d8dadd;
  border-radius: 8px;
  font-size: 0.64rem;
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
}

.feature-universe--comparison .universe-desktop-paths {
  display: none;
}

.feature-universe--comparison .universe-compact-paths {
  display: inline;
}

.feature-universe--comparison .feature-universe-logo {
  top: 0;
  left: 32%;
  width: 36%;
}

.feature-universe--comparison .feature-universe-hub {
  width: min(142px, 42%);
  height: 88px;
  min-height: 88px;
  padding: 7px;
  border-radius: 18px;
}

.feature-universe--comparison .universe-hub-icon {
  width: 40px;
  height: 40px;
  border-radius: 13px;
}

.feature-universe--comparison .universe-hub-icon svg {
  width: 32px;
  height: 32px;
}

.feature-universe--comparison .feature-universe-hub strong {
  min-height: 0;
  font-size: 0.7rem;
}

.feature-universe--comparison .universe-hub-sharing,
.feature-universe--comparison .universe-hub-chatbot,
.feature-universe--comparison .universe-actor-practitioner,
.feature-universe--comparison .universe-actor-teacher {
  left: 26%;
}

.feature-universe--comparison .universe-hub-drafting,
.feature-universe--comparison .universe-hub-followup,
.feature-universe--comparison .universe-actor-client,
.feature-universe--comparison .universe-actor-parent {
  left: 74%;
}

.feature-universe--comparison .universe-hub-sharing,
.feature-universe--comparison .universe-hub-drafting {
  top: 30%;
}

.feature-universe--comparison .universe-hub-chatbot,
.feature-universe--comparison .universe-hub-followup {
  top: 48%;
}

.feature-universe--comparison .universe-actor {
  width: min(132px, 39%);
  min-height: 58px;
  padding: 6px 8px;
}

.feature-universe--comparison .universe-actor svg {
  width: 24px;
  height: 24px;
}

.feature-universe--comparison .universe-actor span {
  font-size: 0.7rem;
}

.feature-universe--comparison .universe-actor-practitioner,
.feature-universe--comparison .universe-actor-client {
  top: 62%;
}

.feature-universe--comparison .universe-actor-teacher,
.feature-universe--comparison .universe-actor-parent {
  top: 74%;
}

.care-model-universe .feature-universe--comparison .universe-activity-card,
.care-model-universe .feature-universe--comparison .universe-activity-card[data-activity-actor="practitioner"],
.care-model-universe .feature-universe--comparison .universe-activity-card[data-activity-actor="client"],
.care-model-universe .feature-universe--comparison .universe-activity-card[data-activity-actor="teacher"],
.care-model-universe .feature-universe--comparison .universe-activity-card[data-activity-actor="parent"],
.care-model-universe .feature-universe--comparison .universe-activity-card[data-activity-actor="all"] {
  top: 80%;
  bottom: auto;
  left: 50%;
  width: 90%;
  min-height: 92px;
  padding: 9px 11px;
}

.feature-universe--comparison .universe-activity-heading strong {
  font-size: 0.68rem;
}

.feature-universe--comparison .universe-activity-heading span {
  font-size: 0.6rem;
}

.feature-universe--comparison .universe-activity-card p {
  font-size: 0.66rem;
  line-height: 1.25;
}

.feature-universe--comparison .universe-scenario-list {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-columns: auto;
  grid-auto-flow: row;
  gap: 8px;
  padding: 3px 2px 0;
  overflow: visible;
  scroll-snap-type: none;
}

.care-model-universe .feature-universe--comparison .universe-scenario-list button {
  min-height: 112px;
}

.feature-universe--comparison .universe-scenario-list strong {
  font-size: 0.74rem;
}

.feature-universe--comparison .universe-scenario-list small {
  font-size: 0.68rem;
}

@media (max-width: 620px) {
  .feature-universe--comparison .universe-scenario-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .care-model-universe .feature-universe--comparison .universe-scenario-list button {
    min-height: 104px;
  }

  .handoff-channel {
    gap: 4px;
    padding-inline: 7px;
    font-size: 0.64rem;
  }

  .handoff-channel svg {
    flex-basis: 16px;
    width: 16px;
    height: 16px;
  }

  .handoff-records {
    width: 68%;
    padding: 7px;
  }
}

@media (max-width: 480px) {
  .feature-universe--comparison .feature-universe-logo {
    left: 25%;
    width: 50%;
  }
}

@media (max-width: 340px) {
  .solution-comparison .care-model-diagram--traditional .traditional-care-centre {
    width: 56%;
  }

  .solution-comparison .care-model-diagram--traditional .handoff-records {
    width: 72%;
  }

  .care-model-universe .feature-universe--comparison .universe-activity-card,
  .care-model-universe .feature-universe--comparison .universe-activity-card[data-activity-actor="practitioner"],
  .care-model-universe .feature-universe--comparison .universe-activity-card[data-activity-actor="client"],
  .care-model-universe .feature-universe--comparison .universe-activity-card[data-activity-actor="teacher"],
  .care-model-universe .feature-universe--comparison .universe-activity-card[data-activity-actor="parent"],
  .care-model-universe .feature-universe--comparison .universe-activity-card[data-activity-actor="all"] {
    gap: 3px;
    padding: 7px 9px;
  }

  .feature-universe--comparison .universe-activity-response {
    padding: 4px 5px;
  }

  .handoff-channel {
    padding-inline: 6px;
  }

  .handoff-channel-school span {
    font-size: 0;
  }

  .handoff-channel-school span::after {
    content: "Email";
    font-size: 0.64rem;
  }

  .handoff-channel-specialist span {
    font-size: 0;
  }

  .handoff-channel-specialist span::after {
    content: "Portal";
    font-size: 0.64rem;
  }
}

/* How It Works: interactive workspace and responsive-web guides ---------- */

.how-product-page {
  --how-ink: #26324e;
  --how-muted: #667085;
  --how-purple: #6652a3;
  --how-purple-dark: #4d3d78;
  --how-teal: #2a9bb8;
  --how-line: rgba(102, 82, 163, 0.17);
  --how-surface: #f8f7fb;
  overflow-x: clip;
}

.how-product-page :where(
  .how-guide-deck,
  .how-guide-layout,
  .how-guide-navigation,
  .how-guide-tabs,
  .how-guide-viewport,
  .how-guide-track,
  .how-guide-panel,
  .how-guide-panel-copy,
  .how-guide-screen,
  .how-mobile-panel-copy,
  .how-phone-frame,
  .how-phone-screen
) {
  min-width: 0;
}

.how-product-page :where(.how-guide-panel-copy, .how-mobile-panel-copy, .how-guide-screen) :is(h2, h3, p, strong, small, span) {
  overflow-wrap: anywhere;
}

.how-product-page .how-product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 24px;
}

.how-product-page .how-product-actions .button {
  min-width: 118px;
  min-height: 46px;
}

.how-product-page .how-workspace-preview {
  isolation: isolate;
  overflow: clip;
}

.how-guide-deck {
  position: relative;
  color: var(--how-ink);
}

.how-workspace-guide .how-guide-bar {
  position: relative;
  z-index: 2;
  min-height: 60px;
  background:
    radial-gradient(circle at 12% 50%, rgba(42, 155, 184, 0.12), transparent 13rem),
    linear-gradient(145deg, rgba(250, 249, 252, 0.98), rgba(239, 246, 248, 0.98));
}

.how-guide-layout {
  display: grid;
  grid-template-columns: minmax(222px, 0.3fr) minmax(0, 1fr);
  align-items: stretch;
  min-height: 660px;
}

.how-guide-navigation {
  position: relative;
  z-index: 2;
  padding: 28px 18px;
  background:
    linear-gradient(180deg, rgba(102, 82, 163, 0.04), transparent 13rem),
    #f7f6fa;
  border-right: 1px solid var(--how-line);
}

.how-guide-tabs-label {
  display: block;
  margin: 0 10px 14px;
  color: #717789;
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.how-product-page .how-workspace-guide-tabs {
  display: grid;
  gap: 7px;
  padding: 0;
  background: transparent;
  border: 0;
}

.how-guide-tabs a {
  position: relative;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 48px;
  padding: 7px 11px;
  color: #596277;
  border: 1px solid transparent;
  border-radius: 13px;
  font-size: 0.75rem;
  font-weight: 800;
  line-height: 1.24;
  scroll-margin-top: calc(var(--public-header-height) + 12px);
  scroll-margin-bottom: 16px;
  text-decoration: none;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.how-guide-tabs a > i {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  color: #766594;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(102, 82, 163, 0.15);
  border-radius: 10px;
  font-size: 0.62rem;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.03em;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.how-guide-tabs a:hover {
  color: var(--how-purple-dark);
  background: rgba(255, 255, 255, 0.74);
  border-color: rgba(102, 82, 163, 0.13);
}

.how-guide-tabs a[aria-selected="true"],
.how-guide-tabs a.is-how-guide-active {
  color: #fff;
  background: linear-gradient(135deg, #725fa9, #554181);
  border-color: rgba(73, 55, 118, 0.42);
  box-shadow: 0 12px 24px rgba(73, 55, 118, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.how-guide-tabs a[aria-selected="true"] > i,
.how-guide-tabs a.is-how-guide-active > i {
  color: #554181;
  background: #fff;
  border-color: rgba(255, 255, 255, 0.72);
  transform: rotate(-4deg);
}

.how-guide-tabs a:focus-visible,
.how-guide-control:focus-visible,
.how-guide-panel:focus-visible {
  outline: 3px solid rgba(42, 155, 184, 0.52);
  outline-offset: 3px;
}

.how-guide-panel:focus:not(:focus-visible) {
  outline: 0;
}

.how-guide-panel {
  scroll-margin-top: calc(var(--public-header-height) + 20px);
}

.how-guide-viewport {
  position: relative;
  overflow: clip;
  background:
    radial-gradient(circle at 92% 8%, rgba(42, 155, 184, 0.11), transparent 19rem),
    radial-gradient(circle at 12% 96%, rgba(102, 82, 163, 0.09), transparent 23rem),
    #fff;
  perspective: 1400px;
}

.how-guide-track {
  position: relative;
}

/* Hidden is progressive enhancement here: without JavaScript, every
   instructional panel remains available in normal document flow. */
.how-guide-deck:not(.is-how-guide-enhanced) .how-guide-panel[hidden] {
  display: grid !important;
}

.how-guide-deck:not(.is-how-guide-enhanced) .how-guide-panel + .how-guide-panel {
  border-top: 1px solid var(--how-line);
}

.how-guide-deck.is-how-guide-enhanced .how-guide-panel[hidden] {
  display: none !important;
}

.how-workspace-guide-panel {
  grid-template-rows: auto minmax(0, 1fr);
  gap: 26px;
  min-height: 660px;
  padding: clamp(28px, 4vw, 48px);
  transform-origin: 50% 50%;
}

.how-guide-panel-copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
  align-content: start;
  max-width: 780px;
}

.how-guide-step {
  width: fit-content;
  padding: 6px 9px;
  color: var(--how-purple);
  background: #f0ebf7;
  border: 1px solid rgba(102, 82, 163, 0.13);
  border-radius: 999px;
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
}

.how-guide-panel-copy h2,
.how-mobile-panel-copy h3 {
  margin: 2px 0 0;
  color: #28334f;
  font-size: clamp(1.45rem, 2.35vw, 2.25rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.how-guide-panel-copy p,
.how-mobile-panel-copy p {
  max-width: 710px;
  margin: 1px 0 0;
  color: var(--how-muted);
  font-size: clamp(0.88rem, 1.2vw, 1rem);
  line-height: 1.58;
}

.how-guide-anchor {
  position: absolute;
  top: calc((var(--public-header-height) + 20px) * -1);
  left: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.how-guide-screen {
  position: relative;
  align-self: stretch;
  min-height: 360px;
  padding: clamp(20px, 3vw, 32px);
  overflow: hidden;
  background:
    radial-gradient(circle at 100% 0, rgba(42, 155, 184, 0.1), transparent 15rem),
    linear-gradient(150deg, #fbfbfd, #f5f3f9);
  border: 1px solid rgba(102, 82, 163, 0.16);
  border-radius: 22px;
  box-shadow: 0 18px 42px rgba(47, 47, 79, 0.09), inset 0 1px 0 #fff;
}

.how-guide-screen::before {
  position: absolute;
  top: -34px;
  right: -24px;
  width: 132px;
  height: 132px;
  content: "";
  background: radial-gradient(circle, rgba(42, 155, 184, 0.13), transparent 69%);
  border-radius: 50%;
  pointer-events: none;
}

.how-guide-welcome-card,
.how-guide-connection-heading,
.how-guide-session-card {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #e1dce8;
  border-radius: 16px;
  box-shadow: 0 10px 22px rgba(42, 44, 78, 0.07);
}

.how-guide-welcome-card > span:nth-child(2),
.how-guide-connection-heading > span:nth-child(2) {
  display: grid;
  gap: 3px;
}

.how-guide-welcome-card small,
.how-guide-connection-heading small,
.how-guide-session-card small,
.how-guide-plan-card small,
.how-guide-progress-summary small {
  color: #7a8090;
  font-size: 0.61rem;
  font-weight: 760;
}

.how-guide-welcome-card strong,
.how-guide-connection-heading strong,
.how-guide-session-card strong,
.how-guide-plan-card strong,
.how-guide-progress-summary strong {
  color: #34405a;
  font-size: 0.78rem;
}

.how-guide-welcome-card > i,
.how-guide-connection-heading > i,
.how-guide-session-card > i {
  padding: 7px 9px;
  color: #237588;
  background: #e7f5f6;
  border: 1px solid #cce8eb;
  border-radius: 999px;
  font-size: 0.58rem;
  font-style: normal;
  font-weight: 850;
}

.how-guide-start-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  margin-top: 14px;
}

.how-guide-start-steps > span {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 2px 9px;
  align-items: center;
  min-height: 62px;
  padding: 10px;
  color: #48536b;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid #e4e0e9;
  border-radius: 13px;
}

.how-guide-start-steps i {
  display: grid;
  grid-row: 1 / 3;
  place-items: center;
  width: 28px;
  height: 28px;
  color: #fff;
  background: linear-gradient(145deg, var(--how-teal), var(--how-purple));
  border-radius: 9px;
  font-size: 0.58rem;
  font-style: normal;
  font-weight: 900;
}

.how-guide-start-steps strong {
  font-size: 0.68rem;
}

.how-guide-start-steps small {
  color: #7b8190;
  font-size: 0.55rem;
  font-weight: 700;
}

.how-product-page .how-guide-screen .workspace-preview-cards {
  margin-top: 14px;
}

.how-product-page .how-guide-screen .workspace-preview-cards article {
  min-height: 108px;
}

.how-guide-form-preview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.how-guide-form-preview > span {
  display: grid;
  gap: 10px;
  min-height: 92px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #e1dde7;
  border-radius: 14px;
}

.how-guide-form-preview small {
  color: #556077;
  font-size: 0.64rem;
  font-weight: 820;
}

.how-guide-form-preview i {
  height: 8px;
  margin-top: auto;
  background: linear-gradient(90deg, #ccc4db 68%, #ece9f0 68%);
  border-radius: 999px;
}

.how-product-page .how-guide-connection-list {
  margin-top: 14px;
}

.how-product-page .how-guide-connection-list > span {
  min-height: 48px;
  padding: 7px 9px;
  border: 1px solid #e5e0ea;
}

.how-guide-message-preview {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  margin-top: 14px;
  padding: 12px 14px;
  background: #eef7f8;
  border: 1px solid #d4eaed;
  border-radius: 14px;
}

.how-guide-message-preview > span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: #fff;
  background: var(--how-teal);
  border-radius: 11px;
  font-size: 0.65rem;
  font-weight: 900;
}

.how-guide-message-preview p {
  display: grid;
  gap: 3px;
  margin: 0;
}

.how-guide-message-preview strong {
  font-size: 0.7rem;
}

.how-guide-message-preview small {
  color: #657285;
  font-size: 0.6rem;
  line-height: 1.35;
}

.how-guide-plan-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 5px 14px;
  padding: 15px;
  background: #fff;
  border: 1px solid #e0dbe7;
  border-radius: 15px;
}

.how-guide-plan-card small,
.how-guide-plan-card strong {
  grid-column: 1;
}

.how-guide-plan-card > span {
  grid-column: 1 / -1;
  height: 8px;
  margin-top: 8px;
  overflow: hidden;
  background: #e8e4ec;
  border-radius: 999px;
}

.how-guide-plan-card > span i {
  display: block;
  width: 72%;
  height: 100%;
  background: linear-gradient(90deg, var(--how-teal), var(--how-purple));
  border-radius: inherit;
}

.how-guide-plan-card em {
  grid-row: 1 / 3;
  grid-column: 2;
  align-self: center;
  padding: 7px 9px;
  color: #22778a;
  background: #e9f6f7;
  border-radius: 999px;
  font-size: 0.57rem;
  font-style: normal;
  font-weight: 820;
}

.how-guide-task-list,
.how-guide-form-questions,
.how-guide-document-list {
  display: grid;
  gap: 8px;
  margin-top: 13px;
}

.how-guide-task-list > span,
.how-guide-form-questions > span,
.how-guide-document-list > span {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 48px;
  padding: 8px 11px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid #e5e1e9;
  border-radius: 12px;
}

.how-guide-task-list > span > i {
  width: 20px;
  height: 20px;
  background: #fff;
  border: 2px solid #8d7aaa;
  border-radius: 7px;
}

.how-guide-task-list strong,
.how-guide-form-questions strong,
.how-guide-document-list strong {
  font-size: 0.66rem;
}

.how-guide-task-list small,
.how-guide-form-questions small,
.how-guide-document-list small,
.how-guide-document-list em {
  color: #777f8f;
  font-size: 0.56rem;
  font-style: normal;
  font-weight: 720;
}

.how-guide-progress-summary {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  padding: 13px 15px;
  background: #fff;
  border: 1px solid #e2dde8;
  border-radius: 14px;
}

.how-guide-progress-summary > span {
  display: grid;
  gap: 3px;
}

.how-guide-progress-summary > i {
  padding: 7px 9px;
  color: #5b4b7d;
  background: #f0ebf7;
  border-radius: 999px;
  font-size: 0.58rem;
  font-style: normal;
  font-weight: 850;
}

.how-product-page .how-guide-progress-chart {
  min-height: 178px;
  margin-top: 9px;
  padding-bottom: 0;
}

.how-product-page .how-guide-progress-chart > span {
  grid-template-rows: 118px auto;
  width: clamp(28px, 6vw, 44px);
}

.how-product-page .how-guide-screen-progress .workspace-preview-timeline {
  margin-top: 9px;
}

.how-product-page .how-guide-followup-card {
  min-height: 132px;
  padding: 0;
}

.how-guide-form-questions > span > i {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  color: #fff;
  background: linear-gradient(145deg, var(--how-teal), var(--how-purple));
  border-radius: 8px;
  font-size: 0.56rem;
  font-style: normal;
  font-weight: 900;
}

.how-guide-form-result {
  display: flex;
  gap: 9px;
  align-items: center;
  margin-top: 12px;
  padding: 10px 12px;
  color: #286d7d;
  background: #e8f5f6;
  border: 1px solid #d1e8eb;
  border-radius: 12px;
  font-size: 0.64rem;
}

.how-guide-form-result > i {
  width: 10px;
  height: 10px;
  background: var(--how-teal);
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(42, 155, 184, 0.24);
}

.how-guide-session-card > span {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: #fff;
  background: linear-gradient(145deg, var(--how-teal), var(--how-purple));
  border-radius: 14px;
  font-size: 0.88rem;
  font-weight: 900;
}

.how-guide-session-card p,
.how-guide-document-list p {
  display: grid;
  gap: 3px;
  margin: 0;
}

.how-guide-session-card em {
  color: #777f8f;
  font-size: 0.57rem;
  font-style: normal;
}

.how-guide-document-list > span > i {
  position: relative;
  width: 24px;
  height: 29px;
  background: #eee9f5;
  border: 1px solid #cfc5dc;
  border-radius: 5px;
}

.how-guide-document-list > span > i::after {
  position: absolute;
  top: 7px;
  left: 5px;
  width: 12px;
  height: 2px;
  content: "";
  background: #8976a6;
  box-shadow: 0 5px 0 #b5a8c6, 0 10px 0 #b5a8c6;
  border-radius: 999px;
}

.how-guide-document-list em {
  padding: 6px 8px;
  color: #5e4e80;
  background: #f0ebf7;
  border-radius: 999px;
}

.how-product-page .how-guide-screen-sessions .workspace-preview-tags {
  margin-top: 13px;
}

.how-product-page .how-guide-screen-assistant {
  display: flex;
  min-height: 360px;
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid rgba(102, 82, 163, 0.16);
  border-radius: 22px;
  box-shadow: 0 18px 42px rgba(47, 47, 79, 0.09), inset 0 1px 0 #fff;
}

.how-guide-context-switch {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px;
  margin-top: 18px;
  padding: 4px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid #dcd5e5;
  border-radius: 12px;
}

.how-guide-context-switch span {
  padding: 8px 10px;
  color: #687084;
  border-radius: 9px;
  font-size: 0.62rem;
  font-weight: 800;
  text-align: center;
}

.how-guide-context-switch .is-selected {
  color: #fff;
  background: var(--how-purple);
  box-shadow: 0 6px 14px rgba(73, 55, 118, 0.18);
}

.how-product-page .how-guide-screen-assistant .workspace-preview-context {
  margin-top: 13px;
}

.how-guide-controls {
  position: relative;
  z-index: 3;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: flex-end;
  min-height: 68px;
  padding: 11px clamp(16px, 3vw, 30px);
  background: rgba(249, 248, 251, 0.97);
  border-top: 1px solid var(--how-line);
}

.how-guide-control {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  min-width: 118px;
  min-height: 44px;
  padding: 9px 14px;
  color: #fff;
  background: linear-gradient(135deg, #705da7, #554181);
  border: 1px solid #514078;
  border-radius: 13px;
  box-shadow: 0 9px 20px rgba(73, 55, 118, 0.17);
  font: inherit;
  font-size: 0.75rem;
  font-weight: 850;
  cursor: pointer;
  transition: box-shadow 180ms ease, transform 180ms ease, opacity 180ms ease;
}

.how-guide-control:hover:not(:disabled) {
  box-shadow: 0 13px 27px rgba(73, 55, 118, 0.23);
  transform: translateY(-1px);
}

.how-guide-control:disabled {
  color: #7b8190;
  background: #ece9ef;
  border-color: #ddd8e4;
  box-shadow: none;
  cursor: not-allowed;
  opacity: 0.72;
}

.how-guide-count {
  order: -1;
  margin-right: auto;
  color: #707789;
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.04em;
}

.how-product-page .workspace-preview-key {
  gap: 10px;
  margin-top: 20px;
}

.how-product-page .workspace-preview-key li {
  min-width: 0;
  min-height: 64px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 9px 22px rgba(45, 47, 79, 0.05);
}

/* A short directional page-turn makes manual changes feel spatial while the
   selected panel stays in normal flow and determines the viewport height. */
@keyframes how-guide-enter-forward {
  0% {
    opacity: 0;
    filter: blur(4px);
    transform: translate3d(38px, 0, 0) rotateY(-3deg) scale(0.988);
  }
  55% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    filter: blur(0);
    transform: translate3d(0, 0, 0) rotateY(0) scale(1);
  }
}

@keyframes how-guide-enter-backward {
  0% {
    opacity: 0;
    filter: blur(4px);
    transform: translate3d(-38px, 0, 0) rotateY(3deg) scale(0.988);
  }
  55% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    filter: blur(0);
    transform: translate3d(0, 0, 0) rotateY(0) scale(1);
  }
}

@keyframes how-guide-visual-forward {
  from {
    opacity: 0;
    clip-path: inset(0 12% 0 0 round 22px);
    transform: translateX(24px) scale(0.985);
  }
  to {
    opacity: 1;
    clip-path: inset(0 0 0 0 round 22px);
    transform: translateX(0) scale(1);
  }
}

@keyframes how-guide-visual-backward {
  from {
    opacity: 0;
    clip-path: inset(0 0 0 12% round 22px);
    transform: translateX(-24px) scale(0.985);
  }
  to {
    opacity: 1;
    clip-path: inset(0 0 0 0 round 22px);
    transform: translateX(0) scale(1);
  }
}

.how-guide-deck[data-how-guide-direction="forward"] .how-guide-panel.is-how-guide-entering {
  animation: how-guide-enter-forward 520ms cubic-bezier(0.2, 0.72, 0.24, 1) both;
}

.how-guide-deck[data-how-guide-direction="backward"] .how-guide-panel.is-how-guide-entering {
  animation: how-guide-enter-backward 520ms cubic-bezier(0.2, 0.72, 0.24, 1) both;
}

.how-guide-deck[data-how-guide-direction="forward"] .how-guide-panel.is-how-guide-entering :is(.how-guide-screen, .how-phone-frame) {
  animation: how-guide-visual-forward 560ms 70ms cubic-bezier(0.2, 0.72, 0.24, 1) both;
}

.how-guide-deck[data-how-guide-direction="backward"] .how-guide-panel.is-how-guide-entering :is(.how-guide-screen, .how-phone-frame) {
  animation: how-guide-visual-backward 560ms 70ms cubic-bezier(0.2, 0.72, 0.24, 1) both;
}

/* Responsive-web phone guide. */
.how-mobile-section {
  overflow: hidden;
  background:
    radial-gradient(circle at 7% 16%, rgba(42, 155, 184, 0.14), transparent 26rem),
    radial-gradient(circle at 92% 88%, rgba(102, 82, 163, 0.16), transparent 29rem),
    linear-gradient(145deg, #eff8f9, #f4eff9);
}

.how-mobile-heading {
  gap: 24px;
  align-items: end;
  max-width: var(--public-content-max);
  margin: 0 auto clamp(28px, 5vw, 52px);
}

.how-mobile-heading > p {
  max-width: 510px;
  margin: 0;
  color: #5f687b;
  font-size: 0.98rem;
  line-height: 1.58;
}

.how-mobile-guide {
  width: min(1120px, 100%);
  margin: 0 auto;
  overflow: clip;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(102, 82, 163, 0.18);
  border-radius: clamp(22px, 3vw, 32px);
  box-shadow: 0 30px 72px rgba(39, 45, 79, 0.15), inset 0 1px 0 #fff;
  backdrop-filter: blur(18px) saturate(1.08);
}

.how-mobile-guide-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding: 12px;
  overflow-x: auto;
  background: rgba(248, 247, 251, 0.94);
  border-bottom: 1px solid var(--how-line);
  scrollbar-width: thin;
}

.how-mobile-guide-tabs a {
  grid-template-columns: 32px minmax(0, 1fr);
  min-height: 50px;
  padding-inline: 10px;
  background: rgba(255, 255, 255, 0.66);
  border-color: rgba(102, 82, 163, 0.1);
  scroll-snap-align: center;
}

.how-mobile-guide-viewport {
  background:
    radial-gradient(circle at 90% 7%, rgba(42, 155, 184, 0.1), transparent 18rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(247, 245, 250, 0.97));
}

.how-mobile-guide-panel {
  grid-template-columns: minmax(0, 1fr) minmax(258px, 320px);
  gap: clamp(32px, 7vw, 94px);
  align-items: center;
  min-height: 690px;
  padding: clamp(30px, 5vw, 58px) clamp(24px, 6vw, 72px);
}

.how-mobile-panel-copy {
  display: grid;
  gap: 10px;
  align-content: center;
  max-width: 560px;
}

.how-mobile-panel-copy h3 {
  font-size: clamp(1.65rem, 3.8vw, 3.15rem);
}

.how-mobile-panel-copy p {
  margin-top: 4px;
  font-size: clamp(0.92rem, 1.4vw, 1.07rem);
}

.how-phone-frame {
  position: relative;
  display: grid;
  grid-template-rows: 17px minmax(0, 1fr);
  justify-self: center;
  width: min(310px, 100%);
  aspect-ratio: 9 / 18.35;
  padding: 10px 8px 8px;
  overflow: hidden;
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.24), transparent 28%),
    linear-gradient(155deg, #303650, #161b2d 58%, #43375d);
  border: 1px solid rgba(17, 22, 39, 0.8);
  border-radius: 42px;
  box-shadow: 0 30px 54px rgba(31, 34, 59, 0.25), 0 0 0 2px rgba(255, 255, 255, 0.72), inset 0 1px 2px rgba(255, 255, 255, 0.28);
}

.how-phone-frame::before,
.how-phone-frame::after {
  position: absolute;
  left: -2px;
  width: 3px;
  content: "";
  background: #31364c;
  border-radius: 2px 0 0 2px;
}

.how-phone-frame::before {
  top: 91px;
  height: 38px;
}

.how-phone-frame::after {
  top: 143px;
  height: 64px;
}

.how-phone-speaker {
  z-index: 2;
  justify-self: center;
  width: 68px;
  height: 5px;
  margin-top: 1px;
  background: #090d18;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 999px;
}

.how-phone-screen {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 9px;
  height: 100%;
  padding: 12px 11px 57px;
  overflow: hidden;
  color: #323d58;
  background:
    radial-gradient(circle at 95% 1%, rgba(42, 155, 184, 0.14), transparent 10rem),
    #f8f7fa;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 31px;
  box-shadow: inset 0 0 0 1px rgba(19, 23, 39, 0.14);
}

.how-phone-app-bar {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) 32px;
  gap: 7px;
  align-items: center;
  min-height: 36px;
}

.how-phone-app-bar > :first-child,
.how-phone-app-bar > :last-child {
  display: grid;
  place-items: center;
  min-width: 28px;
  min-height: 28px;
  margin: 0;
  color: #5c4b7d;
  background: #eee9f5;
  border-radius: 9px;
  font-size: 0.61rem;
  font-style: normal;
  font-weight: 900;
}

.how-phone-app-bar > :last-child {
  justify-self: end;
}

.how-phone-app-bar > strong {
  overflow: hidden;
  font-size: 0.68rem;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.how-phone-welcome {
  display: grid;
  gap: 3px;
  padding: 14px;
  color: #fff;
  background:
    radial-gradient(circle at 100% 0, rgba(77, 211, 220, 0.33), transparent 8rem),
    linear-gradient(145deg, #2b99b4, #5e4a94);
  border-radius: 16px;
  box-shadow: 0 10px 20px rgba(65, 55, 105, 0.17);
}

.how-phone-welcome small,
.how-phone-welcome p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.53rem;
}

.how-phone-welcome strong {
  font-size: 0.87rem;
}

.how-phone-metrics,
.how-phone-snapshot {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.how-phone-metrics > span,
.how-phone-snapshot > span {
  display: grid;
  gap: 2px;
  justify-items: center;
  min-width: 0;
  padding: 8px 4px;
  background: #fff;
  border: 1px solid #e0dbe7;
  border-radius: 11px;
}

.how-phone-metrics strong,
.how-phone-snapshot strong {
  color: var(--how-purple);
  font-size: 0.75rem;
}

.how-phone-metrics small,
.how-phone-snapshot small {
  color: #747b8c;
  font-size: 0.49rem;
  font-weight: 750;
}

.how-phone-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  min-height: 54px;
  padding: 8px;
  background: #fff;
  border: 1px solid #e1dce8;
  border-radius: 12px;
  box-shadow: 0 7px 16px rgba(46, 47, 76, 0.06);
}

.how-phone-card-icon {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  color: #fff;
  background: linear-gradient(145deg, var(--how-teal), var(--how-purple));
  border-radius: 10px;
  font-size: 0.62rem;
  font-weight: 900;
}

.how-phone-card p,
.how-phone-profile-heading p {
  display: grid;
  gap: 2px;
  min-width: 0;
  margin: 0;
}

.how-phone-card small,
.how-phone-profile-heading small {
  color: #7a8190;
  font-size: 0.48rem;
  font-weight: 730;
}

.how-phone-card strong,
.how-phone-profile-heading strong {
  font-size: 0.61rem;
  line-height: 1.25;
}

.how-phone-card > i,
.how-phone-card > em {
  color: #6a588c;
  font-size: 0.52rem;
  font-style: normal;
  font-weight: 820;
}

.how-phone-profile-heading {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  padding: 10px;
  background: #fff;
  border: 1px solid #e1dce8;
  border-radius: 13px;
}

.how-phone-profile-heading > span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: #fff;
  background: linear-gradient(145deg, var(--how-teal), var(--how-purple));
  border-radius: 12px;
  font-size: 0.72rem;
  font-weight: 900;
}

.how-phone-profile-heading > i {
  padding: 5px 6px;
  color: #237588;
  background: #e7f5f6;
  border-radius: 999px;
  font-size: 0.46rem;
  font-style: normal;
  font-weight: 850;
}

.how-phone-profile-tags,
.how-phone-context {
  display: flex;
  gap: 5px;
  min-width: 0;
}

.how-phone-profile-tags span,
.how-phone-context span {
  flex: 1 1 0;
  min-width: 0;
  padding: 6px 4px;
  overflow: hidden;
  color: #655587;
  background: #eee9f5;
  border-radius: 999px;
  font-size: 0.48rem;
  font-weight: 800;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.how-phone-snapshot {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.how-phone-snapshot > span {
  padding-inline: 2px;
}

.how-phone-due-card {
  display: grid;
  gap: 4px;
  padding: 13px;
  color: #fff;
  background: linear-gradient(145deg, #2a9bb8, #61509a);
  border-radius: 15px;
  box-shadow: 0 10px 20px rgba(68, 56, 107, 0.18);
}

.how-phone-due-card small {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.51rem;
}

.how-phone-due-card strong {
  font-size: 0.78rem;
}

.how-phone-due-card > span {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 5px;
  margin-top: 5px;
}

.how-phone-due-card > span i {
  height: 8px;
  background: rgba(255, 255, 255, 0.24);
  border-radius: 999px;
}

.how-phone-due-card > span i.is-current {
  background: #fff;
}

.how-phone-question {
  display: grid;
  gap: 7px;
  padding: 11px;
  background: #fff;
  border: 1px solid #e1dce8;
  border-radius: 13px;
}

.how-phone-question small {
  color: #7a8190;
  font-size: 0.49rem;
  font-weight: 750;
}

.how-phone-question strong {
  font-size: 0.64rem;
  line-height: 1.3;
}

.how-phone-question > span {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 5px;
}

.how-phone-question > span i {
  display: grid;
  place-items: center;
  min-height: 27px;
  color: #675488;
  background: #f0ebf7;
  border-radius: 8px;
  font-size: 0.5rem;
  font-style: normal;
  font-weight: 850;
}

.how-phone-question > p {
  height: 31px;
  margin: 0;
  background: linear-gradient(#eeeaf2 1px, transparent 1px) 0 9px / 100% 11px;
}

.how-phone-primary-action {
  display: grid;
  place-items: center;
  min-height: 34px;
  color: #fff;
  background: var(--how-purple);
  border-radius: 10px;
  font-size: 0.57rem;
  font-weight: 850;
}

.how-phone-context {
  padding: 4px;
  background: #ebe7f0;
  border-radius: 11px;
}

.how-phone-context span {
  background: transparent;
  border-radius: 8px;
}

.how-phone-context span.is-current {
  color: #fff;
  background: var(--how-purple);
}

.how-phone-context-label,
.how-phone-review {
  color: #777f8f;
  font-size: 0.48rem;
  font-weight: 760;
  text-align: center;
}

.how-phone-chat-question,
.how-phone-chat-answer {
  max-width: 88%;
  margin: 0;
  padding: 10px;
  font-size: 0.57rem;
  line-height: 1.42;
}

.how-phone-chat-question {
  align-self: end;
  color: #fff;
  background: var(--how-purple);
  border-radius: 13px 13px 3px 13px;
}

.how-phone-chat-answer {
  align-self: start;
  background: #fff;
  border: 1px solid #dfdae6;
  border-radius: 13px 13px 13px 3px;
}

.how-phone-composer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  min-height: 42px;
  margin-top: auto;
  padding: 6px 7px 6px 11px;
  color: #858b99;
  background: #fff;
  border: 1px solid #dcd7e3;
  border-radius: 12px;
  font-size: 0.53rem;
}

.how-phone-composer i {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  color: #fff;
  background: var(--how-purple);
  border-radius: 9px;
  font-style: normal;
}

.how-phone-dock {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2px;
  min-height: 48px;
  padding: 8px 7px 7px;
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid #dfdae5;
  box-shadow: 0 -7px 18px rgba(44, 45, 72, 0.04);
}

.how-phone-dock span {
  display: grid;
  place-items: end center;
  min-width: 0;
  padding-bottom: 2px;
  overflow: hidden;
  color: #7a8190;
  background: radial-gradient(circle at 50% 5px, #d8d2e1 0 3px, transparent 3.5px);
  font-size: 0.45rem;
  font-weight: 780;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.how-phone-dock span.is-current {
  color: var(--how-purple);
  background: radial-gradient(circle at 50% 5px, var(--how-purple) 0 3px, transparent 3.5px);
}

.how-mobile-guide-controls {
  justify-content: center;
}

@media (max-width: 980px) {
  .how-guide-layout {
    grid-template-columns: minmax(190px, 0.29fr) minmax(0, 1fr);
  }

  .how-guide-navigation {
    padding-inline: 13px;
  }

  .how-guide-tabs a {
    gap: 7px;
    padding-inline: 8px;
  }

  .how-mobile-guide-panel {
    grid-template-columns: minmax(0, 1fr) minmax(250px, 292px);
    gap: 32px;
  }
}

@media (max-width: 760px) {
  .how-guide-layout {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
  }

  .how-guide-navigation {
    padding: 16px 14px 14px;
    border-right: 0;
    border-bottom: 1px solid var(--how-line);
  }

  .how-guide-tabs-label {
    margin: 0 2px 10px;
  }

  .how-product-page .how-workspace-guide-tabs,
  .how-mobile-guide-tabs {
    display: grid;
    grid-auto-columns: minmax(148px, 42%);
    grid-auto-flow: column;
    grid-template-columns: none;
    gap: 8px;
    max-width: 100%;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-padding-inline: 2px;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
  }

  .how-product-page .how-workspace-guide-tabs {
    padding-bottom: 4px;
  }

  .how-guide-tabs a {
    scroll-snap-align: start;
  }

  .how-workspace-guide-panel {
    min-height: 0;
    padding: 26px 22px 30px;
  }

  .how-guide-screen,
  .how-product-page .how-guide-screen-assistant {
    min-height: 390px;
  }

  .how-product-page .workspace-preview-key {
    grid-template-columns: minmax(0, 1fr);
  }

  .how-mobile-heading {
    display: grid;
    gap: 14px;
    align-items: start;
  }

  .how-mobile-guide-panel {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    min-height: 0;
    padding: 34px 24px 42px;
  }

  .how-mobile-panel-copy {
    max-width: 620px;
  }

  .how-phone-frame {
    width: min(306px, 100%);
  }
}

@media (max-width: 620px) {
  .how-product-page .how-workspace-preview,
  .how-mobile-guide {
    border-radius: 22px;
  }

  .how-workspace-guide .how-guide-bar {
    min-height: 56px;
  }

  .how-guide-tabs a {
    min-height: 46px;
  }

  .how-workspace-guide-panel {
    gap: 20px;
    padding: 22px 16px 26px;
  }

  .how-guide-screen,
  .how-product-page .how-guide-screen-assistant {
    min-height: 0;
    padding: 16px;
    border-radius: 17px;
  }

  .how-guide-welcome-card,
  .how-guide-connection-heading,
  .how-guide-session-card {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .how-guide-welcome-card > i,
  .how-guide-connection-heading > i,
  .how-guide-session-card > i {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .how-guide-start-steps,
  .how-guide-form-preview {
    grid-template-columns: minmax(0, 1fr);
  }

  .how-product-page .how-guide-screen .workspace-preview-cards {
    grid-template-columns: minmax(0, 1fr);
  }

  .how-product-page .how-guide-screen .workspace-preview-cards article {
    min-height: 92px;
  }

  .how-guide-controls {
    gap: 8px;
    padding-inline: 12px;
  }

  .how-guide-control {
    min-width: 104px;
    padding-inline: 10px;
  }

  .how-mobile-guide-tabs {
    grid-auto-columns: minmax(142px, 52%);
    padding: 10px;
  }

  .how-mobile-guide-panel {
    padding: 28px 16px 34px;
  }

  .how-mobile-panel-copy h3 {
    font-size: clamp(1.55rem, 8vw, 2.25rem);
  }
}

@media (max-width: 420px) {
  .how-product-page .how-product-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .how-product-page .how-product-actions .button {
    min-width: 0;
  }

  .how-workspace-guide .workspace-preview-bar {
    gap: 8px;
    padding-inline: 12px;
  }

  .how-workspace-guide .workspace-preview-bar > strong {
    font-size: 0.72rem;
  }

  .how-workspace-guide .workspace-preview-status {
    font-size: 0.62rem;
  }

  .how-product-page .how-workspace-guide-tabs,
  .how-mobile-guide-tabs {
    grid-auto-columns: minmax(136px, 64%);
  }

  .how-guide-panel-copy h2 {
    font-size: 1.42rem;
  }

  .how-guide-welcome-card,
  .how-guide-connection-heading,
  .how-guide-session-card {
    gap: 9px;
    padding: 11px;
  }

  .how-guide-welcome-card .workspace-preview-avatar,
  .how-guide-connection-heading .workspace-preview-avatar {
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }

  .how-guide-plan-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .how-guide-plan-card em {
    grid-row: auto;
    grid-column: 1;
    justify-self: start;
    margin-top: 4px;
  }

  .how-guide-task-list > span,
  .how-guide-form-questions > span,
  .how-guide-document-list > span {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .how-guide-task-list small,
  .how-guide-form-questions small,
  .how-guide-document-list em {
    grid-column: 2;
    justify-self: start;
  }

  .how-product-page .how-guide-progress-chart {
    min-height: 158px;
  }

  .how-product-page .how-guide-progress-chart > span {
    grid-template-rows: 96px auto;
    width: clamp(22px, 10vw, 34px);
  }

  .how-guide-controls {
    flex-wrap: wrap;
  }

  .how-guide-count {
    flex-basis: 100%;
    order: -1;
    margin: 0;
    text-align: center;
  }

  .how-guide-control {
    flex: 1 1 calc(50% - 4px);
  }

  .how-mobile-guide-panel {
    padding-inline: 10px;
  }

  .how-phone-frame {
    width: min(292px, calc(100% - 4px));
    border-radius: 36px;
  }

  .how-phone-screen {
    border-radius: 27px;
  }
}

@media (max-width: 340px) {
  .how-workspace-guide .workspace-preview-status {
    font-size: 0;
  }

  .how-workspace-guide .workspace-preview-status i {
    margin-right: 0;
  }

  .how-workspace-guide-panel {
    padding-inline: 12px;
  }

  .how-guide-screen,
  .how-product-page .how-guide-screen-assistant {
    padding: 13px;
  }

  .how-guide-start-steps > span {
    padding-inline: 8px;
  }

  .how-guide-session-card > span {
    width: 42px;
    height: 42px;
  }

  .how-guide-control {
    min-width: 0;
    font-size: 0.7rem;
  }

  .how-phone-frame {
    width: min(276px, 100%);
  }

  .how-phone-screen {
    padding-inline: 9px;
  }

  .how-phone-profile-heading > i {
    display: none;
  }

  .how-phone-profile-heading {
    grid-template-columns: auto minmax(0, 1fr);
  }
}

.how-guide-deck.is-how-guide-reduced-motion *,
.how-guide-deck.is-how-guide-reduced-motion *::before,
.how-guide-deck.is-how-guide-reduced-motion *::after {
  scroll-behavior: auto !important;
  animation-duration: 0.01ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.01ms !important;
}

@media (prefers-reduced-motion: reduce) {
  .how-guide-deck *,
  .how-guide-deck *::before,
  .how-guide-deck *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .how-guide-panel.is-how-guide-entering,
  .how-guide-panel.is-how-guide-entering :is(.how-guide-screen, .how-phone-frame) {
    filter: none !important;
    transform: none !important;
  }
}

/* Audience-page readability and compact-header audit fixes --------------- */

.provider-solution-page .provider-solution-hero,
.client-solution-page .client-solution-hero {
  color: #fff;
  background:
    radial-gradient(circle at 88% 12%, rgba(54, 192, 211, 0.24), transparent 25rem),
    radial-gradient(circle at 5% 92%, rgba(190, 139, 224, 0.2), transparent 28rem),
    linear-gradient(135deg, #172340, #33264d 72%, #28324f);
}

.provider-solution-page .provider-solution-hero :is(h1, .eyebrow, .public-detail-points strong),
.client-solution-page .client-solution-hero :is(h1, .eyebrow, .public-detail-points strong) {
  color: #fff;
}

.provider-solution-page .provider-solution-hero > div > p:last-of-type,
.client-solution-page .client-solution-hero > div > p:last-of-type,
.provider-solution-page .provider-solution-hero .public-detail-points span,
.client-solution-page .client-solution-hero .public-detail-points span {
  color: rgba(255, 255, 255, 0.76);
}

.provider-solution-page .provider-solution-hero .public-detail-points li,
.client-solution-page .client-solution-hero .public-detail-points li {
  border-color: rgba(255, 255, 255, 0.2);
}

.provider-solution-page .provider-solution-hero .button.secondary,
.client-solution-page .client-solution-hero .button.secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.34);
}

.provider-solution-page .provider-solution-hero .button.secondary:hover,
.provider-solution-page .provider-solution-hero .button.secondary:focus-visible,
.client-solution-page .client-solution-hero .button.secondary:hover,
.client-solution-page .client-solution-hero .button.secondary:focus-visible {
  color: #2f2845;
  background: #fff;
  border-color: #fff;
}

/* These selectors intentionally follow the generic .app-workflow rules. */
.provider-solution-page .provider-workflow-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 1320px;
}

.client-solution-page .client-care-path {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  max-width: 1400px;
}

.provider-solution-page .provider-workflow-step,
.client-solution-page .client-care-step {
  min-height: 330px;
}

@media (max-width: 1120px) {
  .public-body .site-nav > .site-nav-solution,
  .public-body .site-nav > .site-nav-signup,
  .public-body .site-nav > .site-nav-secondary,
  .public-body .site-nav > .site-nav-about,
  .public-body .site-nav > .site-nav-login {
    display: none;
  }

  .public-body .site-nav-menu {
    position: static;
    display: block;
  }

  .public-body .site-nav-menu .site-nav-menu-signup {
    display: flex;
  }

  .provider-solution-page .provider-workflow-grid,
  .client-solution-page .client-care-path {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* app.css introduces the compact Menu at 1040px. Mirror that established
   behaviour through 1120px so the expanded public actions never wrap. */
@media (min-width: 1041px) and (max-width: 1120px) {
  .public-body .site-header {
    display: flex;
    flex-direction: row;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
  }

  .public-body .site-nav {
    display: flex;
    flex: 0 0 auto;
    flex-wrap: nowrap;
    width: auto;
    min-width: 0;
    margin: 0;
    padding: 0;
    overflow: visible;
    border: 0;
  }

  .public-body .site-nav-menu summary {
    display: inline-flex;
    gap: 6px;
    align-items: center;
    min-height: 44px;
    padding: 0 12px;
    list-style: none;
    cursor: pointer;
  }

  .public-body .site-nav-menu summary::-webkit-details-marker {
    display: none;
  }

  .public-body .site-nav-menu summary::after {
    margin-left: 6px;
    content: "\25BE";
    font-size: 0.72em;
  }

  .public-body .site-nav-menu > div {
    position: absolute;
    top: calc(100% + 8px);
    right: var(--public-edge);
    z-index: 80;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    width: min(520px, calc(100vw - var(--public-edge) - var(--public-edge)));
    padding: 12px;
    background: #fff;
    border: 1px solid rgba(22, 33, 31, 0.12);
    border-radius: 14px;
    box-shadow: 0 18px 45px rgba(23, 33, 63, 0.2);
  }

  .public-body .site-nav-menu > div > a {
    display: flex;
    gap: 9px;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    min-height: 44px;
    font-size: 0.82rem;
  }

  .public-body .site-nav-menu > div > a svg {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 820px) {
  .provider-solution-page .provider-system-bridge {
    display: grid;
    gap: 9px;
    justify-items: center;
    min-height: 132px;
    transform: none;
  }

  .provider-solution-page .provider-system-bridge span {
    transform: none;
  }

  .provider-solution-page .provider-system-bridge svg {
    display: none;
  }

  .provider-solution-page .provider-system-bridge::after {
    width: 20px;
    height: 88px;
    content: "";
    background: currentColor;
    clip-path: polygon(50% 0, 100% 12%, 59% 12%, 59% 88%, 100% 88%, 50% 100%, 0 88%, 41% 88%, 41% 12%, 0 12%);
  }
}

@media (max-width: 720px) {
  .provider-solution-page .provider-workflow-grid,
  .client-solution-page .client-care-path {
    grid-template-columns: minmax(0, 1fr);
  }

  .provider-solution-page .provider-workflow-step,
  .client-solution-page .client-care-step {
    min-height: 0;
  }
}

/* Active panels remain in normal flow; explicitly establish their authored
   grids after all legacy article rules. Enhanced hidden panels still use the
   !important display override above. */
.how-product-page .how-workspace-guide-panel,
.how-product-page .how-mobile-guide-panel {
  display: grid;
}
