/* V5: staging-inspired geometry and colour over the reviewed V4 content. */

.version-v5 {
  --container: 1440px;
  --gutter: 30px;
  --ink-display: #15191e;
  --ink-body: #404953;
  --ink-2: #505b66;
  --ink-dark: #3e4651;
  --ink-dark-2: #505966;
  --ink-on-dark: #e0e5eb;
  --band: #f4f7fa;
  --rule: #d9e2eb;
  --accent: #d17d32;
  --accent-hover: #b96b27;
  --accent-text: #ab5d1b;
  --accent-text-band: #a65717;
  --accent-on-dark-text: #ffbd7e;
  --r-card: 15px;
  --r-media: 15px;
}

.version-v5 h1,
.version-v5 h2,
.version-v5 h3 { letter-spacing: normal; }

.version-v5 h1 { font-size: 3rem; line-height: 1.12; }
.version-v5 h2 { max-width: 30ch; font-size: 2.25rem; line-height: 1.2; }
.version-v5 h3 { font-size: 1.4375rem; }
.version-v5 .lead { color: #424d58; font-size: 1.125rem; line-height: 1.6; }
.version-v5 .on-dark .lead { color: #f1f4f7; }
.version-v5 .eyebrow { letter-spacing: .12em; }

.version-v5 .site-header {
  background: rgba(255,255,255,.97);
  border-bottom-color: rgba(62,70,81,.09);
}
.version-v5 .site-header__cta {
  background: #3e4651;
  color: #fff;
  border-color: #3e4651;
}
.version-v5 .site-header__cta:hover,
.version-v5 .site-header__cta:focus-visible {
  background: #2f3741;
  border-color: #2f3741;
}

/* The staging page uses a real curved hero asset, layered over a textured band. */
.version-v5 main > .g-band,
.version-v5 main > .v4-proof-rail,
.version-v5 main > .v4-relationships,
.version-v5 main > .cta-band { position: relative; }

.version-v5 .hero-v3-home {
  z-index: 2;
  margin-bottom: -49px;
  background: url('/wp-content/uploads/2025/11/app-hero-bg2.svg') center bottom / cover no-repeat;
  padding-block: 120px 160px;
}
.version-v5 .hero-v3-home::after { display: none; }
.version-v5 .hero-v3-copy h1 {
  font-size: clamp(2.75rem, 3.5vw, 3.25rem);
  line-height: 1.12;
  max-width: 21ch;
}
.version-v5 .hero-v3-copy .lead { max-width: 52ch; }
.version-v5 .v3-hero-scene::before { background: #eef4fa; }
.version-v5 .v3-hero-scene__people { box-shadow: none; }
.version-v5 .v3-partner-lockup { margin-top: 28px; }

.version-v5 .v4-proof-rail {
  overflow: visible;
  padding-block: 135px 82px;
  background: #3e4651 url('/wp-content/uploads/2025/11/app-numbers-bg.jpg') center top / cover;
}
.version-v5 .v4-proof-rail__layout { display: block; text-align: center; }
.version-v5 .v4-proof-rail__intro { max-width: 820px; margin: 0 auto 46px; }
.version-v5 .v4-proof-rail__intro h2 {
  max-width: 30ch;
  margin-inline: auto;
  font-size: 2.25rem;
  line-height: 1.2;
}
.version-v5 .v4-relationship-note {
  max-width: 75ch;
  margin: 16px auto 0;
  color: rgba(255,255,255,.75);
  font-size: .75rem;
}
.version-v5 .v4-logo-window { max-width: 1160px; margin-inline: auto; }
.version-v5 .v4-logo-tile { flex-basis: 160px; width: 160px; height: 60px; }
.version-v5 .v4-logo-set { gap: 46px; padding-right: 46px; }
.version-v5 .v4-relationship-logo:is([alt="Neurology Academy"], [alt="PD Avengers"]) {
  filter: grayscale(1) brightness(0) invert(1);
  mix-blend-mode: normal;
}

.version-v5 #where-it-is-used,
.version-v5 #deployment,
.version-v5 #tested,
.version-v5 #publications,
.version-v5 #heritage,
.version-v5 .audience-hero-v3 + .g-band,
.version-v5 .v3-platform-hero + .g-band {
  padding-block: 122px 132px;
}
.version-v5 #where-it-is-used .section-head,
.version-v5 #deployment .section-head,
.version-v5 #tested .section-head {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}
.version-v5 #where-it-is-used .section-head h2,
.version-v5 #deployment .section-head h2,
.version-v5 #tested .section-head h2 { margin-inline: auto; }
.version-v5 #where-it-is-used .section-head .lead { margin-inline: auto; }
.version-v5 #where-it-is-used { background: #fff; }
.version-v5 #where-it-is-used .section-head { margin-bottom: 58px; }

.version-v5 .v3-audience-grid {
  grid-template-columns: repeat(3, minmax(0, 330px));
  justify-content: center;
  gap: 30px;
}
.version-v5 .v3-audience-card {
  border: 0;
  border-radius: 12px;
  background: #f4f8fe;
  box-shadow: none;
}
.version-v5 .v3-audience-card > img { height: 220px; }
.version-v5 .v3-audience-card h3 { font-size: 1.48rem; }

.version-v5 .v3-product-section { padding-block: 140px 150px; }
.version-v5 .v3-app-stage {
  min-height: 490px;
  background: #e6eef6;
  border-radius: 230px 24px 24px 230px;
}
.version-v5 .v3-app-stage img { max-height: 390px; }
.version-v5 .v3-science-teaser { border-radius: 24px 200px 24px 24px; }

.version-v5 .cards { gap: 26px; }
.version-v5 .card {
  border-color: transparent;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(44,56,70,.055);
}
.version-v5 .g-band .card { background: #fff; }
.version-v5 #deployment { background: #dae2e9; }
.version-v5 #deployment .cards--2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 360px));
  justify-content: center;
  gap: 32px;
}
.version-v5 #deployment .card,
.version-v5 #deployment.g-band .card {
  position: relative;
  min-height: 310px;
  padding: 46px 34px 34px;
  border: 0;
  border-radius: 0;
  background: url('/wp-content/uploads/2025/11/app-how-boxbackground.png') center / 100% 100% no-repeat;
  box-shadow: none;
}
.version-v5 #deployment .card:last-child,
.version-v5 #deployment.g-band .card:last-child {
  background-image: url('/wp-content/uploads/2025/11/app-how-boxbackground-3.png');
}
.version-v5 #deployment .card h3 { max-width: 16ch; }
.version-v5 #deployment .v5-route-badge {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  padding: 5px 11px;
  border-radius: 5px;
  background: #30363d;
  color: #fff;
  font-size: .6875rem;
  line-height: 1.3;
  letter-spacing: .05em;
  white-space: nowrap;
}
.version-v5 #deployment .v5-route-icon {
  width: 34px;
  height: 34px;
  margin-bottom: 16px;
  object-fit: contain;
}
.version-v5 #deployment .container > .u-mt-7 { max-width: 75ch; margin-inline: auto; text-align: center; }
.version-v5 #deployment .container > .cta-after { margin-inline: auto; text-align: center; }
.version-v5 .science-cards .card,
.version-v5.page-solutions-platform-partners .card,
.version-v5.page-solutions-remote-care-rtm .card {
  padding-top: 36px;
  border-top: 4px solid #d17d32;
}
.version-v5 .tiles { gap: 22px; }
.version-v5 .tile {
  border-color: transparent;
  border-radius: 12px;
  background: #f4f8fe;
}
.version-v5 .v4-more-measures-tile {
  background: #3e4651;
  border-color: #3e4651;
}

.version-v5 .v3-platform-hero,
.version-v5 .v3-science-hero,
.version-v5 .audience-hero-v3 {
  padding-block: 108px 156px;
  background: #fff;
}
.version-v5 .v3-platform-hero,
.version-v5 .audience-hero-v3 {
  position: relative;
  z-index: 2;
  margin-bottom: -49px;
  background: url('/wp-content/uploads/2025/11/app-hero-bg2.svg') center bottom / cover no-repeat;
}
.version-v5 .v3-science-hero { background: #f4f8fe; }
.version-v5 .v3-platform-scene::before { background: #edf3f8; }
.version-v5 .audience-hero-v3__media { background: #eef4fa; }
.version-v5 .v3-lab-figure { border-radius: 24px 220px 24px 24px; }
.version-v5 .v4-relationships {
  background: #343a42 url('/wp-content/uploads/2025/11/bg-footer-scaled.png') center / cover;
}
.version-v5 .v4-relationships__heading h2 { font-size: clamp(2rem, 2.5vw, 2.25rem); }
.version-v5 .v4-relationship-group > .eyebrow { color: #ffbd7e; }
.version-v5 .credential-card { border-radius: 22px; }
.version-v5 .cta-band {
  padding-block: 112px;
  background: #30363d url('/wp-content/uploads/2025/11/bg-footer-scaled.png') center / cover;
}
.version-v5 .cta-band__heading { font-size: clamp(2rem, 2.5vw, 2.25rem); line-height: 1.18; }
.version-v5 .cta-band__lede { color: #f1f4f7; font-size: 1.125rem; line-height: 1.55; }
.version-v5 .cta-band__quiet { color: #e1e7ec; }

/* The Science comparison uses the staging page's measured light setup,
   inset dark panel, source texture and compact metric-card proportions. */
.version-v5 .v5-measure-depth {
  padding-bottom: 64px;
  background: #f6f9fd;
}
.version-v5 .v5-measure-intro { padding-block: 105px 120px; }
.version-v5 .v5-measure-intro__heading {
  max-width: 760px;
  margin: 0 auto 52px;
  text-align: center;
}
.version-v5 .v5-measure-intro__heading h2 {
  max-width: none;
  margin: 10px auto 16px;
  font-size: 2.25rem;
  line-height: 1.2;
}
.version-v5 .v5-measure-intro__heading .eyebrow { max-width: none; }
.version-v5 .v5-measure-intro__heading .lead { max-width: 56ch; margin-inline: auto; }
.version-v5 .v5-measure-basic {
  max-width: 720px;
  margin-inline: auto;
  padding: 30px;
  border: 1px dashed #adb8c4;
  border-radius: 15px;
  background: #f4f7fa;
}
.version-v5 .v5-measure-basic__title { text-align: center; }
.version-v5 .v5-measure-basic h3 { margin: 8px 0 10px; font-size: 1.625rem; }
.version-v5 .v5-measure-basic__title > p:last-child { margin-inline: auto; font-size: 1rem; }
.version-v5 .v5-measure-basic ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 30px;
  max-width: 520px;
  margin: 24px auto 0;
}
.version-v5 .v5-measure-basic li {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #303942;
  font-size: 1rem;
}
.version-v5 .v5-measure-basic li img { width: 22px; height: 22px; flex: none; }
.version-v5 .v5-measure-field {
  position: relative;
  margin-inline: 30px;
  padding: 54px 0 42px;
  border-radius: 15px;
  color: #fff;
  background: #3e4651 url('/wp-content/uploads/2025/11/app-numbers-bg-1.jpg') center / cover;
}
.version-v5 .v5-measure-field__lead {
  display: grid;
  grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
  align-items: center;
  gap: 75px;
  max-width: 850px;
  min-height: 285px;
  margin: 0 auto 55px;
}
.version-v5 .v5-measure-field__screens {
  width: min(340px, 100%);
  max-height: 360px;
  object-fit: contain;
  margin: -108px auto 0;
  filter: none;
}
.version-v5 .v5-measure-field__logo { width: 174px; height: auto; margin-bottom: 22px; }
.version-v5 .v5-measure-field__statement .eyebrow { color: #f3b67d; }
.version-v5 .v5-measure-field__statement > p:last-child {
  display: flex;
  align-items: baseline;
  gap: 16px;
  max-width: none;
  margin-top: 12px;
}
.version-v5 .v5-measure-field__statement strong {
  color: #fff;
  font-size: 3.5rem;
  line-height: 1;
  letter-spacing: -.04em;
}
.version-v5 .v5-measure-field__statement span {
  max-width: 22ch;
  font-size: 1.375rem;
  line-height: 1.35;
}
.version-v5 .v5-measure-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 300px));
  gap: 20px;
  justify-content: center;
}
.version-v5 .v5-measure-card {
  min-height: 255px;
  padding: 30px;
  border-radius: 12px;
  background: #535c67;
}
.version-v5 .v5-measure-card img {
  width: auto;
  height: 30px;
  margin-bottom: 20px;
}
.version-v5 .v5-measure-card h3 {
  margin-bottom: 12px;
  color: #fff;
  font-size: 1.4375rem;
}
.version-v5 .v5-measure-card p {
  color: #e1e6ec;
  font-size: 1rem;
  line-height: 1.5;
}
.version-v5 .v5-measure-note {
  max-width: 85ch;
  margin: 30px auto 0;
  color: #f1f4f7;
  text-align: center;
}

@media (max-width: 980px) {
  .version-v5 .hero-v3-home { padding-block: 88px 145px; }
  .version-v5 .hero-v3-copy h1 { font-size: clamp(2.65rem, 5vw, 3.25rem); }
  .version-v5 .v3-audience-grid { grid-template-columns: repeat(2, minmax(0, 330px)); }
  .version-v5 .v5-measure-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .version-v5 .v5-measure-field__lead { gap: 34px; }
}

@media (max-width: 680px) {
  .version-v5 { --gutter: 16px; }
  .version-v5 h1 { font-size: 2.5rem; }
  .version-v5 h2 { font-size: 2rem; }
  .version-v5 .hero-v3-home { margin-bottom: 0; padding-block: 70px 88px; background: #fff; }
  .version-v5 .hero-v3-copy h1 { font-size: 2.65rem; }
  .version-v5 .v4-proof-rail { padding-block: 70px 64px; }
  .version-v5 .v4-proof-rail__intro { margin-bottom: 34px; }
  .version-v5 .v4-proof-rail__intro h2 { font-size: 1.9rem; }
  .version-v5 .v4-logo-tile { height: 52px; }
  .version-v5 .v3-audience-grid { grid-template-columns: 1fr; }
  .version-v5 #deployment .cards--2 { grid-template-columns: 1fr; justify-items: center; }
  .version-v5 #deployment .card,
  .version-v5 #deployment.g-band .card { width: min(100%, 360px); min-height: 300px; }
  .version-v5 #where-it-is-used,
  .version-v5 #deployment,
  .version-v5 #tested,
  .version-v5 #publications,
  .version-v5 #heritage,
  .version-v5 .audience-hero-v3 + .g-band,
  .version-v5 .v3-platform-hero + .g-band { padding-block: 84px 92px; }
  .version-v5 .v3-product-section { padding-block: 92px 105px; }
  .version-v5 .v3-app-stage { min-height: 385px; padding: 28px; }
  .version-v5 .v3-app-stage img { max-height: 315px; }
  .version-v5 .v3-platform-hero,
  .version-v5 .v3-science-hero,
  .version-v5 .audience-hero-v3 { padding-block: 80px 110px; }
  .version-v5 .v3-platform-hero,
  .version-v5 .audience-hero-v3 { margin-bottom: 0; background: #fff; }
  .version-v5 .v5-measure-intro { padding-block: 84px 90px; }
  .version-v5 .v5-measure-intro__heading { margin-bottom: 34px; text-align: center; }
  .version-v5 .v5-measure-intro__heading h2 { font-size: 2rem; }
  .version-v5 .v5-measure-basic { padding: 25px; }
  .version-v5 .v5-measure-basic__title { text-align: left; }
  .version-v5 .v5-measure-basic ul { grid-template-columns: 1fr; gap: 14px; max-width: none; }
  .version-v5 .v5-measure-basic li { font-size: 1rem; }
  .version-v5 .v5-measure-field { margin-inline: 16px; padding: 40px 0 55px; }
  .version-v5 .v5-measure-field > .container { padding-inline: 24px; }
  .version-v5 .v5-measure-field__lead { grid-template-columns: 1fr; gap: 16px; margin-bottom: 34px; }
  .version-v5 .v5-measure-field__screens { width: min(310px, 100%); max-height: 330px; margin-top: -90px; }
  .version-v5 .v5-measure-field__statement { text-align: center; }
  .version-v5 .v5-measure-field__logo { margin-inline: auto; }
  .version-v5 .v5-measure-field__statement > p:last-child { flex-direction: column; align-items: center; gap: 8px; }
  .version-v5 .v5-measure-field__statement strong { font-size: 3.2rem; }
  .version-v5 .v5-measure-field__statement span { max-width: 24ch; font-size: 1.125rem; }
  .version-v5 .v5-measure-grid { grid-template-columns: 1fr; gap: 14px; }
  .version-v5 .v5-measure-card { min-height: 0; padding: 25px; }
  .version-v5 .v5-measure-note { text-align: left; }
  .version-v5 .cta-band { padding-block: 85px; }
}
