:root {
  --ink: #183b44;
  --ink-soft: #406166;
  --blue: #0f6be8;
  --green: #2fbf71;
  --teal: #10bda7;
  --sky: #2892d7;
  --line: #d8e7e8;
  --mist: #f1f7f7;
  --mint: #d9f4ec;
  --pale-blue: #e7f1ff;
  --white: #ffffff;
  --gradient: linear-gradient(100deg, var(--green), var(--teal) 52%, var(--sky));
  --shadow: 0 24px 70px rgba(23, 59, 68, 0.12);
  --radius: 22px;
  --max: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Aptos", "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.58;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }

.skip-link {
  position: fixed;
  z-index: 100;
  left: 1rem;
  top: 1rem;
  padding: .7rem 1rem;
  border-radius: 8px;
  background: var(--ink);
  color: white;
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(216, 231, 232, .85);
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(18px);
}

.header-inner {
  width: min(calc(100% - 2.5rem), var(--max));
  min-height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand img { width: 190px; height: auto; }

.main-nav { display: flex; align-items: center; gap: 1.5rem; }
.main-nav a {
  text-decoration: none;
  font-size: .95rem;
  font-weight: 650;
  color: var(--ink-soft);
}
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--blue); }

.nav-cta, .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .75rem 1.1rem;
  border: 1px solid transparent;
  border-radius: 12px;
  background: var(--ink);
  color: white;
  text-decoration: none;
  font-weight: 700;
  line-height: 1.1;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.nav-cta { min-height: 42px; padding: .6rem .9rem; color: white !important; }
.button:hover, .nav-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(23,59,68,.18); }
.button--gradient { background: var(--gradient); color: #082f36; }
.button--light { background: white; color: var(--ink); border-color: var(--line); }
.button--text { background: transparent; color: var(--blue); border-color: transparent; padding-inline: 0; }

.menu-button {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  color: var(--ink);
}

.container { width: min(calc(100% - 2.5rem), var(--max)); margin: 0 auto; }
.section { padding: 5.6rem 0; }
.section--tight { padding: 3.6rem 0; }
.section--mist { background: var(--mist); }
.section--dark { background: var(--ink); color: white; }
.section--blue { background: var(--pale-blue); }

.eyebrow {
  margin: 0 0 1rem;
  color: var(--blue);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.section--dark .eyebrow { color: #79e0c1; }

h1, h2, h3 {
  margin: 0;
  font-family: "Aptos Display", "Segoe UI", Helvetica, Arial, sans-serif;
  line-height: 1.08;
  letter-spacing: -.035em;
}
h1 { font-size: clamp(2.75rem, 4.7vw, 4.8rem); max-width: 14ch; }
h2 { font-size: clamp(2.05rem, 3.6vw, 3.55rem); max-width: 18ch; }
h3 { font-size: clamp(1.25rem, 2vw, 1.65rem); letter-spacing: -.02em; }
p { margin: 0 0 1rem; }
.lead { font-size: clamp(1.15rem, 2vw, 1.42rem); line-height: 1.5; color: var(--ink-soft); max-width: 730px; }
.section--dark .lead { color: #d5e7e8; }
.fine-print { font-size: .88rem; color: #668084; }

.hero {
  min-height: 520px;
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(340px, .86fr);
  border-bottom: 1px solid var(--line);
}
.hero-copy {
  padding: 2.5rem max(2rem, calc((100vw - var(--max))/2)) 2.4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-copy h1 { font-size: clamp(2.55rem, 4vw, 4.05rem); }
.hero-copy .lead { margin: 1rem 0 1.25rem; max-width: 610px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero-media { position: relative; min-height: 520px; overflow: hidden; background: var(--mist); }
.hero-media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 52%; }
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(24,59,68,.03), rgba(15,107,232,.04));
}
.hero-note {
  position: absolute;
  z-index: 2;
  right: 2rem;
  bottom: 2rem;
  width: min(340px, calc(100% - 4rem));
  padding: 1.25rem 1.35rem;
  border-radius: 16px;
  background: rgba(255,255,255,.94);
  box-shadow: var(--shadow);
  color: var(--ink-soft);
  font-size: .94rem;
}

.hero-routes { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .7rem; max-width: 670px; }
.hero-route {
  min-height: 74px;
  padding: .95rem 1.05rem;
  border: 1px solid #87aeb3;
  border-radius: 14px;
  background: #e9f4f2;
  color: var(--ink);
  text-decoration: none;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.hero-route--patient { background: var(--pale-blue); }
.hero-route span { color: var(--blue); font-size: 1.1rem; font-weight: 800; }
.hero-route strong { max-width: 25ch; line-height: 1.2; font-size: 1.02rem; }
.hero-route:hover { transform: translateY(-2px); border-color: var(--blue); box-shadow: 0 12px 28px rgba(23,59,68,.1); }

.app-links { display: flex; flex-wrap: wrap; gap: .55rem; }
.app-links--hero { margin-top: 1rem; }
.app-links--hero .store-badge { min-width: 0; max-width: 155px; flex: 1 1 130px; }
.store-badge {
  min-width: 148px;
  padding: .55rem .75rem;
  border-radius: 10px;
  background: #102f37;
  color: white;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  line-height: 1.05;
}
.store-badge > span:last-child { display: flex; flex-direction: column; }
.store-icon { width: 1.1rem; text-align: center; font-size: 1.05rem; }
.store-icon--apple { font-family: -apple-system, BlinkMacSystemFont, sans-serif; font-size: 1.35rem; }
.store-badge small { font-size: .62rem; opacity: .82; }
.store-badge strong { margin-top: .18rem; font-size: 1rem; letter-spacing: -.01em; }
.store-badge:hover { background: #071f25; }

.collaborator-strip { padding: 2.25rem 0 2.45rem; border-bottom: 1px solid var(--line); background: white; }
.collaborator-strip .eyebrow { margin-bottom: 1.25rem; }
.carousel-heading { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.carousel-heading--section { align-items: end; margin-bottom: 2rem; }
.carousel-controls { display: flex; gap: .45rem; flex: 0 0 auto; }
.carousel-controls button { width: 42px; height: 42px; border: 1px solid #a8c5c8; border-radius: 50%; background: white; color: var(--ink); cursor: pointer; font-weight: 800; }
.carousel-controls button:hover { border-color: var(--blue); color: var(--blue); }
.logo-rail, .case-rail { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; scroll-behavior: smooth; }
.logo-rail { padding: .15rem 0 .8rem; }
.logo-card { flex: 0 0 250px; height: 118px; display: grid; place-items: center; padding: 1.2rem; border: 1px solid var(--line); border-radius: 14px; background: white; scroll-snap-align: start; }
.logo-card img { max-width: 100%; max-height: 72px; object-fit: contain; }
.logo-card--dark { background: #101a22; }
.logo-card--named { grid-template-columns: 54px 1fr; gap: .7rem; font-size: 1.15rem; text-decoration: none; }
.logo-card--named img { width: 52px; height: 52px; }

.split--balanced { grid-template-columns: 1fr 1fr; align-items: center; }
.recovery-chart { margin: 0; padding: 1.2rem; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: var(--shadow); overflow: hidden; }
.chart-header { display: flex; justify-content: space-between; gap: 1rem; color: var(--ink-soft); font-size: .78rem; font-weight: 750; letter-spacing: .05em; text-transform: uppercase; }
.recovery-chart svg { width: 100%; margin-top: .65rem; overflow: visible; }
.chart-grid path { fill: none; stroke: #dce7e8; stroke-width: 1; }
.chart-axis text { fill: #6d8589; font-size: 13px; }
.baseline-line { fill: none; stroke: #80979b; stroke-width: 1.5; stroke-dasharray: 7 6; }
.recovery-line { fill: none; stroke: var(--blue); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 900; stroke-dashoffset: 900; }
.recovery-line--range { stroke: #bed6f7; stroke-width: 28; opacity: .55; }
.chart-markers circle { fill: white; stroke: var(--blue); stroke-width: 3; opacity: 0; }
.chart-labels { opacity: 0; }
.chart-labels path { fill: none; stroke: #7f989c; stroke-width: 1; }
.chart-labels text { fill: var(--ink); font-size: 13px; font-weight: 750; }
.recovery-chart.is-visible .recovery-line { animation: draw-chart 1.7s ease-out forwards; }
.recovery-chart.is-visible .recovery-line--range { animation-delay: .05s; }
.recovery-chart.is-visible .chart-markers circle { animation: chart-fade .45s 1.25s ease-out forwards; }
.recovery-chart.is-visible .chart-labels { animation: chart-fade .6s 1.45s ease-out forwards; }
.recovery-chart figcaption { padding: .85rem .2rem .1rem; border-top: 1px solid var(--line); display: grid; gap: .3rem; }
.recovery-chart figcaption span { color: var(--ink-soft); }
.recovery-chart figcaption a { color: var(--blue); font-weight: 750; text-underline-offset: 3px; }
@keyframes draw-chart { to { stroke-dashoffset: 0; } }
@keyframes chart-fade { to { opacity: 1; } }
.fine-print--dark { color: #a9c1c4; margin-top: 2.2rem; }
.regulatory-note { display: flex; align-items: center; gap: 1.2rem; margin-top: 2.2rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.2); }
.regulatory-note img { width: 70px; height: 70px; object-fit: contain; filter: invert(1); }
.regulatory-note p { margin: 0; color: #a9c1c4; font-size: .9rem; }
.project-summary { margin-top: 1.25rem; }
.route-intro--compact { margin-bottom: 2rem; }

.route-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: end; margin-bottom: 2.4rem; }
.route-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1.2rem; }
.route-card {
  position: relative;
  min-height: 330px;
  padding: 2.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: 0 16px 40px rgba(23,59,68,.07);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.route-card::before {
  content: "";
  width: 100%; height: 7px;
  position: absolute; inset: 0 0 auto;
  background: var(--gradient);
}
.route-card .route-number { color: var(--blue); font-weight: 800; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; }
.route-card h3 { margin-top: 1.6rem; font-size: clamp(1.65rem, 3vw, 2.5rem); max-width: 15ch; }
.route-card p { color: var(--ink-soft); max-width: 47ch; margin: 1rem 0 1.8rem; }
.route-card .button { margin-top: auto; align-self: flex-start; }
.route-grid--compact { align-items: stretch; }
.route-card--compact { min-height: 0; }
.route-card--compact h3 { font-size: clamp(1.55rem, 2.5vw, 2.15rem); max-width: 19ch; }

.project-access { margin-top: auto; padding-top: .5rem; }
.project-access label { display: block; margin-bottom: .4rem; font-weight: 750; font-size: .9rem; }
.project-access > div { display: grid; grid-template-columns: 1fr auto; gap: .55rem; }
.project-access input { min-width: 0; border: 1px solid #acc4c7; border-radius: 10px; padding: .72rem .8rem; }
.project-access .button { min-height: 46px; }
.project-access .fine-print { margin: .65rem 0 0; }
.project-access [data-state="error"] { color: #a33636; }
.project-access [data-state="match"] { color: #176b49; }

.split { display: grid; grid-template-columns: .88fr 1.12fr; gap: 5rem; align-items: start; }
.split--reverse { grid-template-columns: 1.12fr .88fr; }
.split-copy > p:not(.eyebrow) { color: var(--ink-soft); }
.split-copy .lead { margin: 1.4rem 0 2rem; }
.image-frame { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: white; }
.image-frame img { width: 100%; max-height: 650px; object-fit: cover; object-position: top center; }
.image-frame--screen { max-width: 440px; margin-inline: auto; }

.page-hero--visual { padding: 4.2rem 0; }
.page-hero--short { padding: 4.4rem 0 3.7rem; }
.professional-hero-grid { display: grid; grid-template-columns: .88fr 1.12fr; gap: 3.5rem; align-items: center; }
.professional-hero-grid h1 { font-size: clamp(2.6rem, 4vw, 4.25rem); }
.data-suite { position: relative; min-height: 470px; margin: 0; }
.data-suite img { position: absolute; border: 1px solid var(--line); border-radius: 12px; background: white; box-shadow: 0 18px 45px rgba(23,59,68,.16); object-fit: contain; }
.data-suite__curve { inset: 0 7% auto 2%; width: 78%; height: 58%; }
.data-suite__summary { inset: 43% auto auto 0; width: 72%; height: 24%; }
.data-suite__dashboard { inset: 26% 0 auto auto; width: 48%; height: 64%; object-fit: cover !important; object-position: top left; }
.data-suite figcaption { position: absolute; left: 0; bottom: -1.1rem; color: #71878b; font-size: .78rem; font-weight: 700; }

.steps { list-style: none; padding: 0; margin: 2.5rem 0 0; border-top: 1px solid var(--line); }
.steps li { display: grid; grid-template-columns: 64px 1fr; gap: 1rem; padding: 1.2rem 0; border-bottom: 1px solid var(--line); }
.step-number { font-weight: 800; color: var(--blue); }
.steps strong { display: block; margin-bottom: .2rem; }
.steps span:last-child { color: var(--ink-soft); }

.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2.5rem; }
.proof-item { padding: 1.5rem 0; border-top: 3px solid #79e0c1; }
.proof-item p { color: #d5e7e8; margin: .8rem 0 0; }

.project-band { display: grid; grid-template-columns: .7fr 1.3fr; gap: 4rem; align-items: start; }
.project-list { display: grid; gap: .8rem; }
.project-link {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  padding: 1.35rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
  text-decoration: none;
}
.project-link:hover { border-color: #9cc5ff; }
.project-link span:last-child { color: var(--blue); font-weight: 800; }
.project-link small { display: block; color: #668084; margin-top: .25rem; }

.resource-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2rem; }
.resource-card { padding: 1.6rem; border: 1px solid var(--line); border-radius: 16px; background: white; }
.resource-card p { color: var(--ink-soft); margin: .7rem 0 1.1rem; }
.resource-card a { color: var(--blue); font-weight: 750; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.resource-card .store-badge { color: white; text-decoration: none; }
.resource-grid--two { grid-template-columns: 1fr 1fr !important; }

.case-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1rem; }
.case-card { padding: 1.5rem; border: 1px solid var(--line); border-radius: 18px; background: white; display: flex; flex-direction: column; }
.case-card > span { color: var(--blue); font-size: .78rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.case-card h3 { margin-top: 1.1rem; }
.case-card p, .case-card li { color: var(--ink-soft); }
.case-card p { margin-top: .85rem; }
.case-card ul { padding-left: 1.1rem; }
.video-placeholder { margin-top: auto; min-height: 82px; padding: 1rem; border: 1px dashed #9dbabc; border-radius: 12px; background: var(--mist); color: #607c80; font-size: .86rem; font-weight: 700; display: grid; place-items: center; text-align: center; }
.trial-mode-grid { display: grid; gap: 1rem; }
.trial-mode { display: grid; grid-template-columns: 210px minmax(0,1fr); gap: 2rem; align-items: center; padding: 1.7rem; border: 1px solid var(--line); border-radius: 18px; background: white; }
.trial-mode > div:last-child > span { color: var(--blue); font-size: .76rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.trial-mode h3 { margin-top: .7rem; }
.trial-mode p, .trial-mode li { color: var(--ink-soft); }
.trial-mode p { margin-top: .8rem; }
.trial-mode ul { padding-left: 1.15rem; }
.phone-frame { position: relative; margin-inline: auto; padding: 10px; border: 3px solid #172a31; border-radius: 34px; background: #172a31; box-shadow: 0 15px 34px rgba(23,59,68,.2); overflow: hidden; }
.phone-frame::before { content: ""; position: absolute; z-index: 2; top: 7px; left: 50%; width: 62px; height: 15px; border-radius: 0 0 10px 10px; background: #172a31; transform: translateX(-50%); }
.phone-frame img { width: 100%; height: 100%; border-radius: 22px; object-fit: cover; object-position: top center; }
.phone-frame--small { width: 158px; height: 310px; }
.mini-output { border: 1px solid var(--line); border-radius: 12px; background: var(--mist); overflow: hidden; box-shadow: 0 12px 28px rgba(23,59,68,.1); }
.mini-output img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: top left; }
.pathway-lead { margin-top: 1.25rem; max-width: 850px; }
.case-rail { padding-bottom: .9rem; }
.case-study { flex: 0 0 min(470px, 82vw); min-height: 300px; padding: 2rem; border: 1px solid var(--line); border-radius: 18px; background: white; box-shadow: 0 12px 32px rgba(23,59,68,.06); scroll-snap-align: start; display: flex; flex-direction: column; }
.case-study > span { color: var(--blue); font-size: .76rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.case-study h3 { margin-top: 1.4rem; font-size: clamp(1.55rem, 2.6vw, 2.2rem); }
.case-study p { color: var(--ink-soft); margin-top: 1rem; }
.case-study a { margin-top: auto; color: var(--blue); font-weight: 750; text-underline-offset: 4px; }
.publication-cards { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1rem; }
.publication-cards a { min-height: 260px; padding: 1.55rem; border: 1px solid var(--line); border-radius: 16px; background: white; color: var(--ink); text-decoration: none; display: flex; flex-direction: column; }
.publication-cards span { color: var(--blue); font-size: .76rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.publication-cards strong { margin-top: 1.1rem; font-size: 1.18rem; line-height: 1.35; }
.publication-cards small { margin-top: auto; color: var(--ink-soft); font-weight: 700; }
.publication-cards a:hover { border-color: var(--blue); transform: translateY(-2px); }
.evidence-button { margin-top: 1.4rem; }

.enquiry-intro { margin: 1.3rem 0 1.4rem; }

.app-choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1rem; }
.app-choice-card { position: relative; min-height: 540px; padding: 2rem; border: 1px solid var(--line); border-radius: 20px; background: white; box-shadow: 0 16px 40px rgba(23,59,68,.07); display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; }
.app-choice-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 7px; background: var(--gradient); }
.app-choice-card--outcomes { background: var(--pale-blue); }
.app-choice-card h2 { margin-top: .8rem; font-size: clamp(2rem, 3.2vw, 3.1rem); }
.app-choice-card p, .app-choice-card li { color: var(--ink-soft); }
.app-choice-card ul { padding-left: 1.2rem; }
.app-choice-inner { display: grid; grid-template-columns: minmax(0,1fr) 138px; gap: 1.4rem; align-items: start; }
.app-preview { width: 130px; height: 275px; padding: 7px; border-radius: 27px; }
.app-preview::before { top: 5px; width: 50px; height: 12px; }
.app-preview img { border-radius: 17px; }
.app-label { display: inline-block; color: var(--blue); font-size: .76rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.app-card-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem; margin-top: 1.25rem; }
.app-card-actions > a:not(.store-badge) { color: var(--blue); font-weight: 750; text-underline-offset: 3px; }

.metrics-inline { display: grid; grid-template-columns: minmax(210px, .8fr) 1.2fr; gap: 1.4rem; align-items: center; margin-top: 1.5rem; padding: 1.2rem; border: 1px solid var(--line); border-radius: 18px; background: var(--mist); }
.metrics-inline > img { width: 100%; border-radius: 12px; }
.metrics-screen { width: 180px; height: 380px; padding: 8px; }
.metrics-screen img { border-radius: 21px; }
.metrics-inline h3 { margin: .6rem 0 .35rem; }
.metrics-inline a { color: var(--blue); font-weight: 750; }

.app-summary-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1rem; }
.help-hero { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(320px,.85fr); gap: 4rem; align-items: center; }
.help-graphic { position: relative; min-height: 330px; }
.help-graphic .phone-frame { position: absolute; right: 1rem; top: 0; width: 158px; height: 320px; }
.help-graphic__card { position: absolute; left: 0; top: 3.2rem; width: 210px; padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: 14px; background: white; box-shadow: 0 14px 35px rgba(23,59,68,.12); }
.help-graphic__card--outcomes { top: 12.3rem; left: 1.6rem; }
.help-graphic__card span { display: block; color: var(--blue); font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.help-graphic__card strong { display: block; margin-top: .35rem; line-height: 1.3; }
.tag--link { text-decoration: none; }
.tag--link:hover { border-color: var(--blue); color: var(--blue); }
.download-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1rem; }
.download-card { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: white; text-decoration: none; box-shadow: 0 12px 34px rgba(23,59,68,.06); transition: transform .2s ease, box-shadow .2s ease; }
.download-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(23,59,68,.12); }
.download-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: top center; border-bottom: 1px solid var(--line); }
.download-card span { display: grid; gap: .25rem; padding: 1rem; }
.download-card small { color: var(--ink-soft); line-height: 1.35; }
.video-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1.2rem; }
.video-grid article { padding: 1rem; border: 1px solid var(--line); border-radius: 18px; background: white; box-shadow: 0 12px 32px rgba(23,59,68,.07); }
.video-grid video { width: 100%; aspect-ratio: 16 / 9; border-radius: 12px; background: #0d242b; object-fit: cover; }
.video-grid h3 { margin-top: 1rem; }
.video-grid p { color: var(--ink-soft); margin: .55rem 0 .7rem; }
.video-grid a { color: var(--blue); font-weight: 750; text-underline-offset: 4px; }
.faq-layout { display: grid; grid-template-columns: minmax(210px, .38fr) minmax(0, 1.62fr); gap: 4rem; align-items: start; }
.faq-content { min-width: 0; }
.faq-section + .faq-section { margin-top: 4.5rem; padding-top: 4.5rem; border-top: 1px solid var(--line); }
.faq-section h2 { font-size: clamp(2rem, 3.3vw, 3.2rem); }
.faq-list details[open] summary { color: var(--blue); }

.page-hero { padding: 5.2rem 0 4.2rem; background: linear-gradient(145deg, var(--mist), white 70%); border-bottom: 1px solid var(--line); }
.page-hero .lead { margin-top: 1.5rem; }
.page-hero__meta { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 2rem; }
.tag { display: inline-flex; padding: .45rem .7rem; border: 1px solid #bad5d7; border-radius: 999px; font-size: .83rem; font-weight: 700; color: var(--ink-soft); background: white; }

.choice-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2.3rem; }
.choice-card { padding: 1.6rem; border: 1px solid var(--line); border-radius: 16px; text-decoration: none; background: white; }
.choice-card:hover { border-color: #82b8ff; box-shadow: 0 14px 32px rgba(23,59,68,.08); }
.choice-card p { color: var(--ink-soft); margin: .75rem 0 1.2rem; }
.choice-card span { color: var(--blue); font-weight: 750; }

.content-grid { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: 5rem; align-items: start; }
.side-nav { position: sticky; top: 108px; padding: 1.25rem; border: 1px solid var(--line); border-radius: 14px; background: var(--mist); }
.side-nav a { display: block; padding: .55rem .65rem; text-decoration: none; color: var(--ink-soft); font-weight: 650; }
.side-nav a:hover { color: var(--blue); }
.prose { max-width: 790px; }
.prose h2 { margin: 0 0 1.2rem; font-size: clamp(2rem, 4vw, 3rem); }
.prose h3 { margin-top: 2rem; }
.prose p, .prose li { color: var(--ink-soft); }
.prose ul { padding-left: 1.2rem; }
.prose section + section { margin-top: 5rem; padding-top: 5rem; border-top: 1px solid var(--line); }
.legal-document { margin: 0 auto; }
.legal-document section + section { margin-top: 2.75rem; padding-top: 2.75rem; }
.legal-document h2 { font-size: clamp(1.55rem, 3vw, 2.1rem); }
.legal-document h3 { font-size: 1.15rem; }
.legal-document ol { padding-left: 1.35rem; }
.legal-document li + li { margin-top: .65rem; }

.publication-list { list-style: none; padding: 0; margin: 2rem 0 0; }
.publication-list li { padding: 1.1rem 0; border-top: 1px solid var(--line); }
.publication-list a { text-decoration: none; }
.publication-list a:hover strong { color: var(--blue); }
.publication-list strong { display: block; color: var(--ink); }
.publication-list span { font-size: .92rem; }
.evidence-regulatory { display: flex; align-items: center; gap: 1.2rem; margin: 1.4rem 0; padding: 1rem; border: 1px solid var(--line); border-radius: 14px; background: var(--mist); }
.evidence-regulatory img { width: 72px; height: 72px; object-fit: contain; }
.evidence-regulatory p { margin: 0; }

.faq-list { margin-top: 2rem; }
.faq-list details { border-top: 1px solid var(--line); padding: 1rem 0; }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { cursor: pointer; font-weight: 750; color: var(--ink); }
.faq-list p { margin: .8rem 0 0; max-width: 760px; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2rem; }
.field { display: grid; gap: .4rem; }
.field--wide { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: .92rem; }
.field input, .field select, .field textarea {
  width: 100%;
  border: 1px solid #acc4c7;
  border-radius: 10px;
  background: white;
  padding: .8rem .9rem;
  color: var(--ink);
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(15,107,232,.2); border-color: var(--blue); }
.form-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-feedback { margin: .2rem 0 0; padding: .9rem 1rem; border-radius: 10px; font-weight: 700; }
.form-feedback--success { color: #0c563f; background: #def5e9; }
.form-feedback--error { color: #8b2230; background: #fde7ea; }
.form-feedback a { color: inherit; }

.project-header { border-bottom: 1px solid var(--line); background: var(--mist); }
.project-header-inner { padding: 4.5rem 0; display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: end; }
.project-header h1 { font-size: clamp(2.7rem, 5vw, 4.8rem); }
.project-status { padding: .65rem .9rem; border-radius: 999px; background: var(--mint); font-weight: 750; white-space: nowrap; }
.project-actions { display: grid; gap: .75rem; margin-top: 1.5rem; }

.cta-band { padding: 4rem 0; background: var(--gradient); color: #082f36; }
.cta-inner { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; }
.cta-inner h2 { max-width: 18ch; font-size: clamp(2rem, 4vw, 3.3rem); }

.site-footer { background: #102f37; color: #dbe9ea; padding: 4.5rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .7fr .7fr; gap: 3rem; }
.footer-grid--wide { grid-template-columns: 1.25fr .6fr .72fr .93fr; gap: 2rem; }
.footer-grid img { width: 170px; filter: brightness(0) invert(1); opacity: .92; }
.footer-intro { margin-top: 1rem; max-width: 36ch; }
.footer-grid h3 { font-family: inherit; font-size: .9rem; letter-spacing: .08em; text-transform: uppercase; color: #7fe0c2; }
.footer-grid a { display: block; margin-top: .5rem; color: #dbe9ea; text-decoration: none; }
.footer-grid a:hover { color: white; text-decoration: underline; }
.app-links--footer { margin-top: .65rem; display: grid; grid-template-columns: 1fr; }
.app-links--footer .store-badge { margin-top: 0; width: 170px; }
.legal-links { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 2.2rem; }
.legal-links a { display: inline-flex; padding: .62rem .85rem; border: 1px solid rgba(255,255,255,.24); border-radius: 9px; color: white; text-decoration: none; font-size: .88rem; font-weight: 700; }
.legal-links a:hover { background: rgba(255,255,255,.08); }
.footer-bottom { margin-top: 3rem; padding-top: 1.4rem; border-top: 1px solid rgba(255,255,255,.16); display: flex; justify-content: space-between; gap: 1rem; color: #a9c1c4; font-size: .86rem; }

@media (max-width: 900px) {
  .menu-button { display: inline-grid; place-items: center; }
  .main-nav { display: none; position: absolute; top: 78px; left: 0; right: 0; padding: 1.25rem; background: white; border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px rgba(23,59,68,.1); flex-direction: column; align-items: stretch; }
  .main-nav[data-open="true"] { display: flex; }
  .main-nav .nav-cta { text-align: center; }
  .hero { min-height: auto; grid-template-columns: 1fr; }
  .hero-copy { padding: 4rem max(1.25rem, calc((100vw - var(--max))/2)) 3rem; }
  .hero-media { min-height: 500px; }
  .split, .split--reverse, .content-grid, .professional-hero-grid, .faq-layout, .help-hero { grid-template-columns: 1fr; gap: 3rem; }
  .split--reverse .split-copy { order: -1; }
  .project-band { grid-template-columns: 1fr; gap: 2rem; }
  .side-nav { position: static; }
  .footer-grid--wide { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .data-suite { min-height: 390px; }
  .download-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .faq-layout .side-nav { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); }
  .trial-mode { grid-template-columns: 180px minmax(0,1fr); }
  .help-graphic { max-width: 470px; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .section { padding: 4.5rem 0; }
  .route-intro, .route-grid, .proof-grid, .resource-grid, .choice-list, .form-grid, .footer-grid, .footer-grid--wide, .cta-inner, .project-header-inner, .hero-routes, .case-grid, .app-choice-grid, .app-summary-grid, .download-grid, .metrics-inline, .publication-cards, .video-grid { grid-template-columns: 1fr; }
  .route-card { min-height: 300px; padding: 1.6rem; }
  .hero-media { min-height: 410px; }
  .hero-note { left: 1.25rem; right: 1.25rem; bottom: 1.25rem; width: auto; }
  .header-inner, .container { width: min(calc(100% - 2rem), var(--max)); }
  .brand img { width: 156px; }
  .field--wide { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
  .project-status { justify-self: start; }
  .carousel-heading { align-items: flex-start; }
  .carousel-heading--section { flex-direction: column; align-items: stretch; }
  .logo-card { flex-basis: 210px; }
  .store-badge { flex: 1 1 142px; }
  .project-access > div { grid-template-columns: 1fr; }
  .project-access .button { width: 100%; }
  .resource-grid--two { grid-template-columns: 1fr !important; }
  .faq-layout .side-nav { grid-template-columns: 1fr; }
  .data-suite { min-height: 300px; }
  .data-suite__dashboard { width: 52%; }
  .trial-mode { grid-template-columns: 1fr; text-align: left; }
  .app-choice-inner { grid-template-columns: 1fr; }
  .app-preview { width: 150px; height: 315px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
  .recovery-line { stroke-dashoffset: 0; }
  .chart-markers circle, .chart-labels { opacity: 1; }
}

/* V4 */
.v4-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 82% 20%, rgba(47,191,113,.12), transparent 24rem),
    linear-gradient(145deg, #f7fbfb 0%, #fff 60%);
}
.v4-hero__grid {
  min-height: 670px;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(430px, 1.08fr);
  gap: 2.5rem;
  align-items: center;
}
.v4-hero__copy { position: relative; z-index: 3; padding: 4.5rem 0; }
.v4-hero__copy h1 { max-width: 10ch; font-size: clamp(3.2rem, 5.6vw, 5.8rem); }
.v4-hero__copy .lead { max-width: 590px; margin: 1.4rem 0 1.7rem; }
.phone-stage { position: relative; min-height: 620px; align-self: end; }
.phone-stage__glow { position: absolute; inset: 15% 3% 5% 8%; border-radius: 50%; background: radial-gradient(circle, rgba(16,189,167,.2), rgba(40,146,215,.08) 48%, transparent 70%); filter: blur(12px); }
.phone-product { position: absolute; margin: 0; }
.phone-product img { width: 100%; height: auto; filter: drop-shadow(0 28px 34px rgba(23,59,68,.22)); }
.phone-product figcaption { position: absolute; z-index: 3; padding: .65rem .8rem; border: 1px solid rgba(216,231,232,.9); border-radius: 10px; background: rgba(255,255,255,.94); box-shadow: 0 12px 30px rgba(23,59,68,.12); color: var(--ink); font-size: .8rem; font-weight: 750; white-space: nowrap; }
.phone-product--front { z-index: 2; width: 315px; left: 4%; bottom: -4.5%; }
.phone-product--front figcaption { left: -1.25rem; bottom: 10%; }
.phone-product--back { z-index: 1; width: 260px; right: 3%; top: 2%; transform: rotate(6deg); transform-origin: center; }
.phone-product--back figcaption { right: -1rem; top: 21%; transform: rotate(-6deg); }
.official-badges { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem; margin-top: 1.25rem; }
.official-badges a { display: inline-flex; align-items: center; height: 46px; }
.official-badges img { width: auto; height: 100%; object-fit: contain; }
.footer-grid .official-badges img { width: auto; filter: none; opacity: 1; }
.official-badges--small a { height: 40px; }
.official-badges--footer { display: grid; justify-items: start; gap: .55rem; margin-top: .7rem; }
.official-badges--footer a { height: 38px; margin: 0; }
.site-footer { padding: 3.5rem 0 1.5rem; }
.footer-bottom { margin-top: 2rem; }
.store-badge.is-official-store { min-width: 0; width: auto; height: 42px; padding: 0; border: 0; border-radius: 0; background: transparent; display: inline-flex; flex: 0 0 auto; }
.store-badge.is-official-store:hover { background: transparent; transform: translateY(-1px); }
.store-badge.is-official-store img { width: auto; height: 100%; object-fit: contain; }

.logo-marquee { overflow: hidden; padding: .15rem 0 .8rem; outline-offset: 5px; }
.logo-track { display: flex; width: max-content; gap: 1rem; will-change: transform; }
.logo-track .logo-card { flex: 0 0 230px; user-select: none; }
.logo-card--citius { padding: .65rem; background: #3e4a44; }
.logo-card--citius img { width: 96px; height: 96px; object-fit: cover; }
.logo-card--dark img { max-width: 190px; }

.recovery-score-layout { gap: 4rem; align-items: center; }
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1.25rem; }
.product-panel { min-height: 520px; padding: 2.2rem 2.2rem 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: grid; grid-template-columns: minmax(0,1fr) 190px; gap: 1.5rem; align-items: end; box-shadow: 0 16px 42px rgba(23,59,68,.08); }
.product-panel--patient { background: linear-gradient(145deg, #effaf5, #fff); }
.product-panel--professional { background: linear-gradient(145deg, #edf5ff, #fff); }
.product-panel > div { align-self: center; padding-bottom: 2rem; }
.product-panel h3 { margin-top: .8rem; font-size: clamp(1.7rem, 2.8vw, 2.5rem); }
.product-panel p { color: var(--ink-soft); margin: 1rem 0 1.5rem; }
.product-panel > img { width: 190px; max-height: 500px; object-fit: contain; object-position: bottom center; filter: drop-shadow(0 20px 28px rgba(23,59,68,.18)); }
.product-actions { display: grid; justify-items: start; gap: .15rem; }
.product-actions .official-badges { margin-top: .85rem; }

.evidence-feature { display: grid; grid-template-columns: minmax(0,.82fr) minmax(420px,1.18fr); gap: 3.5rem; align-items: center; }
.evidence-feature .proof-grid { grid-template-columns: 1fr; gap: 0; margin-top: 1.8rem; }
.evidence-feature .proof-item { padding: 1rem 0; }
.evidence-feature__visual { margin: 0; border-radius: 18px; overflow: hidden; background: white; box-shadow: 0 24px 60px rgba(0,0,0,.2); }
.evidence-feature__visual img { width: 100%; }
.evidence-feature__visual figcaption { padding: .75rem 1rem; color: #bcd1d4; background: #183b44; font-size: .82rem; }

.paper-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1.1rem; margin-top: 2rem; }
.paper-grid--home { grid-template-columns: repeat(3, minmax(0,1fr)); }
.paper-preview { position: relative; min-height: 330px; padding: 1.8rem 1.65rem 1.5rem; border: 1px solid #cfdcde; border-radius: 5px; background: #fff; color: var(--ink); text-decoration: none; box-shadow: 0 12px 30px rgba(23,59,68,.08); display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.paper-preview::before { content: ""; position: absolute; inset: 9px -7px -7px 9px; z-index: -1; border: 1px solid #e1e8e9; border-radius: 4px; background: #f8fbfb; }
.paper-preview:hover { transform: translateY(-3px); border-color: var(--blue); box-shadow: 0 18px 40px rgba(23,59,68,.14); }
.paper-preview__journal { min-height: 2.6em; color: var(--ink-soft); font-family: Georgia, "Times New Roman", serif; font-size: .84rem; line-height: 1.3; text-transform: uppercase; letter-spacing: .045em; }
.paper-preview__rule { width: 48px; height: 3px; margin: 1rem 0 1.2rem; background: var(--gradient); }
.paper-preview strong { font-family: Georgia, "Times New Roman", serif; font-size: 1.12rem; line-height: 1.35; letter-spacing: -.01em; }
.paper-preview__authors { margin-top: 1rem; color: var(--ink-soft); font-family: Georgia, "Times New Roman", serif; font-size: .9rem; line-height: 1.45; }
.paper-preview small { margin-top: .7rem; color: #668084; }
.paper-preview__link { margin-top: auto; padding-top: 1rem; color: var(--blue); font-size: .83rem; font-weight: 800; }

.team-heading { margin: .5rem 0 1.2rem; color: var(--ink-soft); font-family: inherit; font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; }
.team-heading--advisors { margin-top: 2.5rem; }
.team-grid { display: grid; gap: 1rem; }
.team-grid--leadership { grid-template-columns: repeat(3, minmax(0,1fr)); }
.team-card { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: white; box-shadow: 0 12px 32px rgba(23,59,68,.06); }
.team-card img { width: 100%; aspect-ratio: 1.35 / 1; object-fit: cover; object-position: center 30%; }
.team-card > div { padding: 1.3rem 1.35rem 1.45rem; }
.team-card h3 { font-size: 1.35rem; }
.team-card p { color: var(--ink-soft); font-size: .93rem; }
.team-card .team-role { margin: .35rem 0 .8rem; color: var(--blue); font-weight: 750; }
.advisor-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1rem; }
.advisor-card { padding: .8rem; border: 1px solid var(--line); border-radius: 14px; background: var(--mist); display: grid; grid-template-columns: 78px minmax(0,1fr); gap: .9rem; align-items: center; }
.advisor-card img { width: 78px; height: 78px; border-radius: 11px; object-fit: cover; }
.advisor-card h3 { font-size: 1rem; }
.advisor-card p { margin: .35rem 0 0; color: var(--ink-soft); font-size: .78rem; line-height: 1.35; }

.clinician-phone { margin: 0 auto; max-width: 365px; text-align: center; }
.clinician-phone img { width: 100%; max-height: 560px; object-fit: contain; filter: drop-shadow(0 26px 35px rgba(23,59,68,.2)); }
.clinician-phone figcaption { margin-top: .8rem; color: var(--ink-soft); font-size: .8rem; }
.phone-frame--supplied { padding: 0; border: 0; background: transparent; box-shadow: none; overflow: visible; }
.phone-frame--supplied::before { display: none; }
.phone-frame--supplied img { border-radius: 0; object-fit: contain; filter: drop-shadow(0 14px 22px rgba(23,59,68,.18)); }
.analysis-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.analysis-gallery figure { margin: 0; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: white; box-shadow: 0 14px 36px rgba(23,59,68,.08); }
.analysis-gallery__wide { grid-column: 1 / -1; }
.analysis-gallery img { width: 100%; }
.analysis-gallery figcaption, .patient-recovery-graphic figcaption, .evidence-curve figcaption { padding: .75rem 1rem; color: var(--ink-soft); font-size: .82rem; background: #f7fafa; }
.patient-recovery-graphic, .evidence-curve { margin: 2rem 0 0; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: white; box-shadow: 0 14px 34px rgba(23,59,68,.08); }
.patient-recovery-graphic img, .evidence-curve img { width: 100%; }
.evidence-curve { margin: 2rem 0; }

.download-card { background: #fbfcfc; }
.download-card img { filter: grayscale(.78) saturate(.45) contrast(.95); opacity: .78; }
.download-card:hover img { filter: grayscale(.35) saturate(.7); opacity: .9; }
.shorts-frame { width: min(100%, 310px); margin-inline: auto; aspect-ratio: 9 / 16; border-radius: 14px; overflow: hidden; background: #0d242b; }
.shorts-frame iframe { width: 100%; height: 100%; border: 0; }

@media (max-width: 1000px) {
  .v4-hero__grid { grid-template-columns: minmax(0,.9fr) minmax(380px,1.1fr); }
  .phone-product--front { width: 280px; }
  .phone-product--back { width: 230px; }
  .product-panel { grid-template-columns: 1fr 150px; padding-inline: 1.7rem; }
  .product-panel > img { width: 150px; }
  .advisor-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 900px) {
  .v4-hero__grid { grid-template-columns: 1fr; min-height: auto; }
  .v4-hero__copy { padding-bottom: 1rem; }
  .phone-stage { width: min(100%, 600px); min-height: 560px; margin-inline: auto; }
  .phone-product--front { left: 15%; }
  .phone-product--back { right: 13%; }
  .product-grid, .evidence-feature { grid-template-columns: 1fr; }
  .product-panel { min-height: 460px; grid-template-columns: minmax(0,1fr) 180px; }
  .product-panel > img { width: 180px; }
  .team-grid--leadership { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .paper-grid--home { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 720px) {
  .v4-hero__grid { gap: 0; }
  .v4-hero__copy { padding: 3.4rem 0 1.5rem; }
  .v4-hero__copy h1 { font-size: clamp(3rem, 14vw, 4.25rem); }
  .phone-stage { min-height: 450px; }
  .phone-product--front { width: 220px; left: 4%; bottom: -2%; }
  .phone-product--back { width: 180px; right: 2%; top: 5%; }
  .phone-product figcaption { font-size: .7rem; }
  .phone-product--front figcaption { left: .25rem; }
  .phone-product--back figcaption { right: .15rem; }
  .official-badges a { height: 42px; }
  .logo-track .logo-card { flex-basis: 190px; height: 100px; }
  .recovery-score-layout { gap: 2rem; }
  .product-grid, .paper-grid, .paper-grid--home, .team-grid--leadership, .advisor-grid, .analysis-gallery { grid-template-columns: 1fr; }
  .product-panel { min-height: 440px; grid-template-columns: minmax(0,1fr) 125px; padding: 1.6rem 1.3rem 0; }
  .product-panel > img { width: 125px; }
  .analysis-gallery__wide { grid-column: auto; }
  .paper-preview { min-height: 300px; }
  .advisor-card { grid-template-columns: 68px minmax(0,1fr); }
  .advisor-card img { width: 68px; height: 68px; }
  .clinician-phone { max-width: 285px; }
  .app-preview.phone-frame--supplied { width: 150px; height: 300px; }
  .metrics-screen.phone-frame--supplied { width: 170px; height: 335px; }
}

@media (max-width: 430px) {
  .phone-stage { min-height: 405px; }
  .phone-product--front { width: 195px; }
  .phone-product--back { width: 158px; }
  .phone-product figcaption { display: none; }
  .product-panel { grid-template-columns: 1fr 105px; gap: .7rem; }
  .product-panel > img { width: 105px; }
}

@media (prefers-reduced-motion: reduce) {
  .logo-track { transform: none !important; }
}

/* V5 refinements */
.gain-area { fill: rgba(47, 191, 113, .2); stroke: none; }

.official-badges { --badge-height: 46px; }
.official-badges--small { --badge-height: 40px; }
.official-badges--footer { --badge-height: 38px; }
.official-badges a {
  position: relative;
  width: calc(var(--badge-height) * 2.992);
  height: var(--badge-height);
  overflow: hidden;
}
.official-badges a[href*="apps.apple"] img {
  width: 100%;
  height: 100%;
  object-fit: fill;
}
.official-badges a[href*="play.google"] { width: calc(var(--badge-height) * 3.365); }
.official-badges a[href*="play.google"] img {
  position: absolute;
  left: calc(var(--badge-height) * -.251);
  top: calc(var(--badge-height) * -.251);
  width: auto;
  height: calc(var(--badge-height) * 1.497);
  max-width: none;
}

.store-badge.is-official-store {
  --badge-height: 42px;
  position: relative;
  width: calc(var(--badge-height) * 2.992);
  height: var(--badge-height);
  overflow: hidden;
}
.store-badge.is-official-store[href*="apps.apple"] img { width: 100%; height: 100%; object-fit: fill; }
.store-badge.is-official-store[href*="play.google"] { width: calc(var(--badge-height) * 3.365); }
.store-badge.is-official-store[href*="play.google"] img {
  position: absolute;
  left: calc(var(--badge-height) * -.251);
  top: calc(var(--badge-height) * -.251);
  width: auto;
  height: calc(var(--badge-height) * 1.497);
  max-width: none;
}

.logo-card--matortho { background: white; }
.matortho-mark {
  width: 192px;
  aspect-ratio: 696 / 261;
  display: block;
  background: linear-gradient(90deg, #d3202d 0 28%, #191f22 28% 100%);
  -webkit-mask: url('/assets/partners/matortho-v4.png') center / contain no-repeat;
  mask: url('/assets/partners/matortho-v4.png') center / contain no-repeat;
}
.logo-card--citius { padding: 0; overflow: hidden; background: #3e4a44; }
.logo-card--citius img { width: 145px; height: 145px; max-height: none; object-fit: cover; transform: scale(1.12); }

.evidence-visual-stack { position: relative; min-height: 480px; }
.evidence-figure { position: absolute; margin: 0; border: 1px solid rgba(216,231,232,.7); border-radius: 16px; overflow: hidden; background: white; box-shadow: 0 24px 60px rgba(0,0,0,.22); }
.evidence-figure img { width: 100%; display: block; }
.evidence-figure figcaption { padding: .7rem .9rem; color: var(--ink-soft); background: #f7fafa; font-size: .78rem; font-weight: 700; }
.evidence-figure--primary { z-index: 1; top: 0; left: 0; width: 79%; }
.evidence-figure--secondary { z-index: 2; right: 0; bottom: 0; width: 61%; }

.paper-rail { display: flex; gap: 1.15rem; overflow-x: auto; padding: .4rem .6rem 1.5rem .1rem; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: thin; }
.paper-rail .paper-preview { flex: 0 0 min(390px, 82vw); scroll-snap-align: start; }
.paper-preview--image { min-height: 390px; padding: 0; overflow: hidden; }
.paper-preview--image::before { display: none; }
.paper-preview--image > img { width: 100%; height: 255px; object-fit: cover; object-position: top center; border-bottom: 1px solid var(--line); }
.paper-preview__caption { flex: 1; display: flex; flex-direction: column; gap: .45rem; padding: 1.15rem 1.25rem; }
.paper-preview__caption strong { font-family: inherit; font-size: 1.05rem; line-height: 1.28; }
.paper-preview__caption > span:not(.paper-preview__link) { color: var(--ink-soft); font-size: .8rem; line-height: 1.4; }
.paper-preview__caption .paper-preview__link { margin-top: auto; padding-top: .4rem; }

.team-card img { aspect-ratio: 2 / 1; object-position: center 28%; }

.professional-hero-visual { position: relative; min-height: 475px; }
.professional-hero-figure { position: absolute; margin: 0; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: white; box-shadow: 0 22px 55px rgba(23,59,68,.16); }
.professional-hero-figure img { width: 100%; display: block; }
.professional-hero-figure figcaption { padding: .65rem .8rem; color: var(--ink-soft); background: white; font-size: .76rem; font-weight: 700; }
.professional-hero-figure--analysis { z-index: 1; top: 0; left: 0; width: 83%; }
.professional-hero-figure--patterns { z-index: 2; right: 0; bottom: 0; width: 63%; }
.route-grid--compact .route-card { height: 100%; }
.route-grid--compact .button { min-height: 46px; }
@media (min-width: 721px) {
  .route-grid--compact > .route-card:not(#existing-project) > .button { margin-bottom: 55px; }
}

.patient-choice-hero h1 { max-width: 22ch; }
.patient-choice-hero .lead { max-width: 900px; }

.download-card { border-radius: 14px; background: white; box-shadow: 0 10px 28px rgba(23,59,68,.07); }
.download-card img, .download-card:hover img { filter: none; opacity: 1; }
.download-card span { padding: 1.15rem 1.2rem 1.25rem; border-top: 4px solid transparent; border-image: var(--gradient) 1; }

@media (max-width: 900px) {
  .professional-hero-visual { width: min(100%, 670px); margin-inline: auto; }
  .evidence-visual-stack { width: min(100%, 680px); margin-inline: auto; }
}

@media (max-width: 720px) {
  .official-badges { --badge-height: 42px; }
  .official-badges--small { --badge-height: 40px; }
  .official-badges--footer { --badge-height: 38px; }
  .store-badge.is-official-store { --badge-height: 40px; flex: 0 0 auto; }
  .professional-hero-visual { min-height: 350px; }
  .evidence-visual-stack { min-height: 360px; }
  .paper-preview--image { min-height: 350px; }
  .paper-preview--image > img { height: 220px; }
}

@media (max-width: 430px) {
  .professional-hero-visual { min-height: 285px; }
  .evidence-visual-stack { min-height: 300px; }
}

/* V6 refinements */
.v4-hero {
  background:
    radial-gradient(circle at 83% 22%, rgba(47,191,113,.3), transparent 22rem),
    radial-gradient(circle at 69% 78%, rgba(40,146,215,.2), transparent 25rem),
    linear-gradient(140deg, #edf9f5 0%, #f6fbff 58%, #e8f3ff 100%);
}
.phone-stage { align-self: center; min-height: 610px; transform: translateY(-26px); }
.phone-stage__glow { inset: 7% 0 8% 3%; background: radial-gradient(circle, rgba(16,189,167,.32), rgba(40,146,215,.14) 49%, transparent 72%); }
.phone-product--front { bottom: 1%; }
.phone-product--back { top: 0; }

.hero-route { min-height: 88px; align-items: flex-start; justify-content: center; flex-direction: column; gap: .28rem; border-color: transparent; color: #082f36; }
.hero-route--patients { background: linear-gradient(135deg, #c7f1dc, #e7f9f0); box-shadow: inset 0 0 0 1px rgba(28,135,81,.18); }
.hero-route--professionals { background: linear-gradient(135deg, #d4e7ff, #eef5ff); box-shadow: inset 0 0 0 1px rgba(15,107,232,.18); }
.hero-route .hero-route__audience { color: var(--ink); font-size: 1.05rem; font-weight: 850; letter-spacing: -.01em; line-height: 1.15; }
.hero-route strong { color: var(--ink-soft); font-size: .78rem; font-weight: 700; line-height: 1.25; }
.hero-route--patients:hover { border-color: var(--green); }
.hero-route--professionals:hover { border-color: var(--blue); }

.chart-axis .baseline-label { fill: var(--ink); font-size: 12px; font-weight: 800; }
.chart-labels text { paint-order: stroke; stroke: white; stroke-width: 5px; stroke-linejoin: round; }

.team-card { display: flex; flex-direction: column; }
.team-card img {
  width: 100%;
  height: 188px;
  aspect-ratio: auto;
  padding: .65rem .65rem 0;
  background: linear-gradient(180deg, #f3f8f8, #fff);
  object-fit: contain;
  object-position: center bottom;
}
.team-card > div { flex: 1; }
.team-credentials { display: inline; margin-left: .2em; color: var(--ink-soft); font-size: .66em; font-weight: 650; letter-spacing: 0; }

.official-badges--footer a,
.official-badges--footer a[href*="play.google"] { width: 114px; height: 38px; }
.official-badges--footer a[href*="play.google"] img {
  left: -7px;
  top: -7px;
  height: 52px;
}

.evidence-page-hero { display: grid; grid-template-columns: minmax(0,.92fr) minmax(390px,1.08fr); gap: 3.5rem; align-items: center; }
.evidence-page-visual { position: relative; min-height: 340px; }
.evidence-page-visual img { position: absolute; border: 1px solid var(--line); border-radius: 14px; background: white; box-shadow: 0 18px 44px rgba(23,59,68,.16); }
.evidence-page-visual__primary { z-index: 1; top: 0; left: 0; width: 78%; }
.evidence-page-visual__secondary { z-index: 2; right: 0; bottom: 0; width: 63%; }

.help-hero { grid-template-columns: minmax(0,1fr) minmax(360px,.86fr); gap: 3rem; }
.help-hero-image { margin: 0; height: 380px; overflow: hidden; border-radius: 22px; box-shadow: 0 24px 60px rgba(23,59,68,.18); }
.help-hero-image img { width: 100%; height: 100%; object-fit: cover; object-position: center 48%; }

.download-card { display: flex; flex-direction: column; padding-top: 1rem; }
.download-card img {
  width: 74%;
  max-height: 150px;
  margin: 0 auto;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  border-radius: 9px;
  object-fit: cover;
  object-position: top center;
}
.download-card span { margin-top: 1rem; border-top-width: 3px; }

.faq-groups { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1rem; margin-top: 2rem; }
.faq-group { padding: 1.25rem; border: 1px solid var(--line); border-radius: 16px; background: #fbfdfd; }
.faq-group h3 { min-height: 2.4em; color: var(--blue); font-family: inherit; font-size: 1rem; letter-spacing: .01em; }
.faq-group .faq-list { margin-top: .8rem; }
.faq-group .faq-list details { padding: .85rem 0; }
.faq-group .faq-list summary { font-size: .93rem; line-height: 1.35; }
.faq-group .faq-list p { font-size: .9rem; line-height: 1.5; }

.support-contact-band { display: grid; grid-template-columns: .8fr 1.2fr; gap: 4rem; align-items: center; }
.support-contacts { display: grid; gap: 1rem; }
.support-contacts p { margin: 0; padding: 1.1rem 1.2rem; border-left: 4px solid var(--blue); border-radius: 10px; background: rgba(255,255,255,.75); }
.support-contacts strong { display: block; margin-bottom: .2rem; }
.support-contacts a { color: var(--blue); font-size: 1.06rem; font-weight: 800; text-underline-offset: 4px; }

@media (max-width: 1000px) {
  .faq-groups { grid-template-columns: 1fr; }
  .faq-group h3 { min-height: 0; }
}

@media (max-width: 900px) {
  .phone-stage { transform: translateY(-10px); }
  .evidence-page-hero { grid-template-columns: 1fr; }
  .evidence-page-visual { width: min(100%, 680px); min-height: 380px; margin-inline: auto; }
  .help-hero { grid-template-columns: 1fr; }
  .help-hero-image { width: min(100%, 640px); height: 420px; }
  .support-contact-band { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 720px) {
  .phone-stage { min-height: 430px; transform: translateY(0); }
  .phone-product--front { bottom: 0; }
  .hero-route { min-height: 80px; }
  .team-card img { height: 175px; }
  .evidence-page-visual { min-height: 300px; }
  .help-hero-image { height: 340px; }
  .download-card img { width: min(68%, 240px); max-height: 180px; }
}

@media (max-width: 430px) {
  .evidence-page-visual { min-height: 235px; }
  .help-hero-image { height: 285px; }
}

/* V7 refinements */
.v4-hero__copy h1 { max-width: 12ch; }
.phone-stage { transform: translateY(-58px); }

.logo-card--cambridge { background: #153d37; }
.logo-card--cambridge img { width: 190px; max-width: 100%; max-height: 72px; }

.product-panel > img {
  align-self: center;
  max-height: 430px;
  object-position: center;
  transform: translateY(-10px);
}

.team-card img { border-radius: 16px 16px 10px 10px; }

.case-study-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1rem; }
.case-study-card {
  min-height: 280px;
  padding: 1.8rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
  box-shadow: 0 14px 36px rgba(23,59,68,.07);
}
.case-study-card::before { content: ""; display: block; width: 46px; height: 4px; margin-bottom: 1.35rem; border-radius: 9px; background: var(--gradient); }
.case-study-card__type { color: var(--blue); font-size: .76rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.case-study-card h3 { margin-top: .75rem; font-size: clamp(1.45rem, 2.1vw, 1.9rem); }
.case-study-card p { margin-top: .9rem; color: var(--ink-soft); }
.case-study-brand {
  height: 76px;
  margin: -1.8rem -1.8rem 1.45rem;
  padding: 1rem 1.45rem;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.case-study-brand img { width: auto; max-width: 100%; height: 48px; object-fit: contain; }
.case-study-brand--matortho { background: #fff; }
.case-study-brand--matortho .matortho-mark { width: 175px; max-width: 100%; }
.case-study-brand--frimley img { width: min(100%, 240px); height: auto; }
.case-study-brand--citius { overflow: hidden; background: #3e4a44; }
.case-study-brand--citius img { width: 170px; max-width: none; height: 170px; flex: 0 0 170px; object-fit: cover; }
.case-study-card:has(.case-study-brand)::before { display: none; }

.app-choice-inner { grid-template-columns: minmax(0,1fr) 175px; }
.app-preview.phone-frame--supplied {
  width: 170px;
  height: 345px;
  margin-top: 2rem;
  align-self: center;
}

.evidence-page-hero { grid-template-columns: minmax(0,.78fr) minmax(440px,1.22fr); gap: 3rem; }
.evidence-page-visual { min-height: 410px; }
.evidence-page-visual__primary { width: 84%; }
.evidence-page-visual__secondary { width: 70%; }

.help-hero { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 3.5rem; }
.help-hero-image { height: 500px; background: linear-gradient(145deg, #dce9e6, #eef5f3); }
.help-hero-image img { object-fit: contain; object-position: center; }

.download-card img {
  width: 58%;
  max-height: none;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  object-fit: contain;
}

@media (max-width: 1000px) {
  .case-study-grid { grid-template-columns: 1fr; }
  .case-study-card { min-height: 0; }
}

@media (max-width: 900px) {
  .phone-stage { transform: translateY(-24px); }
  .evidence-page-hero { grid-template-columns: 1fr; }
  .evidence-page-visual { min-height: 410px; }
  .help-hero { grid-template-columns: 1fr; }
  .help-hero-image { width: min(100%, 640px); height: 560px; }
}

@media (max-width: 720px) {
  .phone-stage { transform: none; }
  .app-choice-inner { grid-template-columns: 1fr; }
  .app-preview.phone-frame--supplied { width: 170px; height: 340px; margin: 1.5rem auto 0; }
  .evidence-page-visual { min-height: 315px; }
  .help-hero-image { height: 460px; }
  .download-card img { width: min(54%, 210px); max-height: none; }
}

@media (max-width: 430px) {
  .evidence-page-visual { min-height: 245px; }
  .help-hero-image { height: 390px; }
}

/* V9 interactive recovery metrics */
.recovery-score-layout {
  grid-template-columns: minmax(300px, .78fr) minmax(560px, 1.22fr);
  gap: 3rem;
  align-items: start;
}
.recovery-score-layout .split-copy { position: sticky; top: 112px; }
.recovery-instruction {
  margin-top: 1.5rem;
  padding: 1rem 1.1rem;
  border-left: 3px solid var(--mint);
  border-radius: 0 12px 12px 0;
  background: rgba(255,255,255,.72);
  color: var(--ink-soft);
}
.recovery-instruction strong { display: block; margin-bottom: .2rem; color: var(--ink); }
.chart-header__hint { color: var(--blue); }
.recovery-chart__plot { position: relative; margin-top: .35rem; }
.recovery-chart__plot > svg { display: block; margin: 0; }
.operation-line { fill: none; stroke: #9eb2b5; stroke-width: 1.5; stroke-dasharray: 3 5; }
.baseline-window { fill: rgba(16,189,167,.09); stroke: rgba(16,189,167,.35); stroke-width: 1.5; }
.biosignature-line,
.stage-path,
.benefit-bracket {
  fill: none;
  stroke: var(--mint);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.biosignature-line { stroke-width: 4; }
.stage-path--gain { stroke: #20bb79; }
.benefit-bracket { stroke: #6e9994; stroke-width: 1.5; }
.benefit-label,
.milestone-labels text {
  fill: var(--ink);
  font-size: 12px;
  font-weight: 800;
  paint-order: stroke;
  stroke: white;
  stroke-width: 5px;
  stroke-linejoin: round;
}
.stage-node { fill: white; stroke: var(--mint); stroke-width: 4; }
.stage-layer { opacity: .18; transition: opacity .28s ease, filter .28s ease; }
.recovery-chart[data-active-stage="baseline"] [data-graph-stage="baseline"],
.recovery-chart[data-active-stage="dip"] [data-graph-stage="dip"],
.recovery-chart[data-active-stage="milestones"] [data-graph-stage="milestones"],
.recovery-chart[data-active-stage="beyond"] [data-graph-stage="beyond"] {
  opacity: 1;
  filter: drop-shadow(0 5px 8px rgba(16,189,167,.18));
}
.recovery-chart .gain-area { fill: rgba(47,191,113,.22); }
.chart-hotspot {
  position: absolute;
  left: var(--hotspot-x);
  top: var(--hotspot-y);
  z-index: 3;
  min-width: 34px;
  min-height: 34px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transform: translate(-50%, -50%);
  display: grid;
  justify-items: center;
  gap: .2rem;
}
.chart-hotspot span {
  width: 32px;
  height: 32px;
  border: 2px solid white;
  border-radius: 50%;
  background: #758d91;
  box-shadow: 0 4px 12px rgba(23,59,68,.22);
  color: white;
  display: grid;
  place-items: center;
  font-size: .78rem;
  font-weight: 850;
  transition: transform .2s ease, background .2s ease;
}
.chart-hotspot strong {
  padding: .18rem .35rem;
  border-radius: 6px;
  background: rgba(255,255,255,.9);
  font-size: .68rem;
  line-height: 1;
  white-space: nowrap;
}
.chart-hotspot:hover span,
.chart-hotspot:focus-visible span,
.chart-hotspot.is-active span { background: var(--blue); transform: scale(1.12); }
.chart-hotspot:focus-visible { outline: 3px solid rgba(40,146,215,.35); outline-offset: 5px; border-radius: 8px; }
.metric-stage-selector {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: .55rem;
  margin: .35rem 0 .85rem;
}
.metric-stage {
  min-width: 0;
  padding: .7rem .65rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f8fbfb;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  display: grid;
  grid-template-columns: 34px minmax(0,1fr);
  gap: .55rem;
  align-items: center;
  transition: border-color .2s ease, background .2s ease, transform .2s ease, box-shadow .2s ease;
}
.metric-stage:hover { border-color: #99c6cd; transform: translateY(-1px); }
.metric-stage.is-active {
  border-color: var(--blue);
  background: linear-gradient(145deg, rgba(47,191,113,.09), rgba(40,146,215,.1));
  box-shadow: 0 8px 18px rgba(23,59,68,.08);
}
.metric-stage:focus-visible { outline: 3px solid rgba(40,146,215,.32); outline-offset: 2px; }
.metric-stage__icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(145deg, var(--mint), var(--blue));
  display: grid;
  place-items: center;
}
.metric-stage__icon svg { width: 23px; height: 23px; margin: 0; }
.metric-stage__icon path,
.metric-stage__icon circle { fill: none; stroke: white; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.metric-stage strong { display: block; font-size: .78rem; line-height: 1.2; }
.metric-stage small { display: block; margin-top: .15rem; color: var(--ink-soft); font-size: .66rem; line-height: 1.25; }
.metric-detail {
  min-height: 244px;
  padding: 1.2rem 1.25rem 1.15rem;
  border: 1px solid #d5e6e7;
  border-radius: 14px;
  background: linear-gradient(145deg, #f5fbf8, #f4f8fd);
}
.metric-detail__panel { animation: metric-detail-in .28s ease both; }
.metric-detail__panel .eyebrow { margin-bottom: .35rem; font-size: .66rem; }
.metric-detail__panel h3 { font-size: 1.35rem; }
.metric-detail__panel > p:not(.eyebrow) { margin: .55rem 0 1rem; color: var(--ink-soft); font-size: .9rem; line-height: 1.55; }
.metric-detail__facts { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: .55rem; }
.metric-detail__facts span {
  min-width: 0;
  padding: .7rem .75rem;
  border: 1px solid rgba(145,181,185,.5);
  border-radius: 10px;
  background: rgba(255,255,255,.75);
  color: var(--ink-soft);
  font-size: .72rem;
  line-height: 1.35;
}
.metric-detail__facts strong { display: block; margin-bottom: .18rem; color: var(--ink); font-size: .78rem; }
.metric-detail__facts:not(.metric-detail__facts--three):has(span:nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0,1fr)); }
.metric-detail__facts--four { grid-template-columns: repeat(2, minmax(0,1fr)); }
.recovery-chart figcaption { margin-top: .9rem; }
@keyframes metric-detail-in { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }

@media (max-width: 1100px) {
  .recovery-score-layout { grid-template-columns: minmax(280px,.72fr) minmax(520px,1.28fr); gap: 2rem; }
  .metric-stage { grid-template-columns: 30px minmax(0,1fr); padding-inline: .5rem; }
  .metric-stage__icon { width: 30px; height: 30px; }
  .metric-stage__icon svg { width: 20px; height: 20px; }
}
@media (max-width: 900px) {
  .recovery-score-layout { grid-template-columns: 1fr; }
  .recovery-score-layout .split-copy { position: static; }
  .recovery-chart { width: min(100%, 720px); margin-inline: auto; }
}
@media (max-width: 620px) {
  .metric-stage-selector { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .metric-detail { min-height: 310px; }
  .metric-detail__facts,
  .metric-detail__facts:not(.metric-detail__facts--three):has(span:nth-child(2):last-child) { grid-template-columns: 1fr; }
  .chart-hotspot strong { display: none; }
  .chart-hotspot span { width: 28px; height: 28px; }
}
@media (max-width: 430px) {
  .recovery-chart { padding: .85rem; }
  .metric-stage { grid-template-columns: 28px minmax(0,1fr); gap: .45rem; }
  .metric-stage__icon { width: 28px; height: 28px; border-radius: 8px; }
  .metric-stage small { font-size: .62rem; }
  .metric-detail { min-height: 355px; padding: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  .metric-detail__panel { animation: none; }
  .stage-layer,
  .metric-stage,
  .chart-hotspot span { transition: none; }
}

/* V10 product imagery and recovery-curve refinements */
.hero-product-stage {
  width: 100%;
  min-height: 560px;
  margin: 0;
  align-self: center;
  overflow: hidden;
  background: transparent;
}
.hero-product-stage img {
  display: block;
  width: 100%;
  height: 560px;
  object-fit: cover;
  object-position: 60% 50%;
  -webkit-mask-image: radial-gradient(ellipse 54% 74% at 58% 50%, #000 48%, rgba(0,0,0,.84) 64%, transparent 100%);
  mask-image: radial-gradient(ellipse 54% 74% at 58% 50%, #000 48%, rgba(0,0,0,.84) 64%, transparent 100%);
}
.logo-card--frimley { background: white; }
.logo-card--frimley img {
  width: 185px;
  max-width: 94%;
  max-height: 82px;
  object-fit: contain;
}
.case-study-brand--frimley { overflow: hidden; }
.case-study-brand--frimley img {
  width: 225px;
  max-width: 100%;
  height: 64px;
  object-fit: contain;
  object-position: left center;
}
.metrics-inline--product {
  grid-template-columns: minmax(220px,.78fr) minmax(0,1.22fr);
  min-height: 430px;
  overflow: hidden;
  background: linear-gradient(145deg, #eefaf6, #f3f8fd);
}
.patient-metrics-phone {
  width: min(100%, 280px);
  height: 390px;
  margin: 0 auto;
  display: grid;
  place-items: center;
}
.patient-metrics-phone img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 24px 30px rgba(23,59,68,.22));
}
.phone-frame--aftersurgeon {
  width: 165px;
  height: 338px;
  background: transparent;
  box-shadow: none;
}
.phone-frame--aftersurgeon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 18px 22px rgba(23,59,68,.2));
}

@media (max-width: 1000px) {
  .hero-product-stage,
  .hero-product-stage img { min-height: 510px; height: 510px; }
}
@media (max-width: 900px) {
  .hero-product-stage {
    width: min(100%, 680px);
    min-height: 500px;
    margin-inline: auto;
  }
  .hero-product-stage img { height: 500px; }
}
@media (max-width: 720px) {
  .hero-product-stage {
    min-height: 410px;
  }
  .hero-product-stage img {
    height: 410px;
    object-position: 60% 50%;
  }
  .metrics-inline--product {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .patient-metrics-phone { width: min(75%, 260px); height: 350px; }
}
@media (max-width: 430px) {
  .hero-product-stage { min-height: 340px; }
  .hero-product-stage img { height: 340px; }
  .patient-metrics-phone { width: min(82%, 235px); height: 320px; }
}

/* V11 evidence journey, collaborator and mobile refinements */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

.evidence-process-figure {
  margin: 0;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(216,231,232,.74);
  border-radius: 20px;
  background: #f7fbfc;
  box-shadow: 0 26px 64px rgba(0,0,0,.22);
}
.evidence-process-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2055 / 765;
  object-fit: cover;
}
.evidence-process-figure figcaption {
  display: flex;
  gap: .55rem;
  align-items: baseline;
  padding: .9rem 1rem 1rem;
  color: #c5dadd;
  background: #173d46;
  font-size: .82rem;
}
.evidence-process-figure figcaption strong {
  flex: 0 0 auto;
  color: white;
  font-size: .86rem;
}

.logo-card--chelwest img {
  width: 210px;
  max-width: 96%;
  max-height: 78px;
  object-fit: contain;
}
.logo-card--imperial-healthcare {
  overflow: hidden;
}
.logo-card--imperial-healthcare img {
  width: 280px;
  max-width: none;
  max-height: none;
  transform: scale(1.55);
}

.team-name-link {
  color: inherit;
  text-decoration-color: transparent;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  transition: color .18s ease, text-decoration-color .18s ease;
}
.team-name-link:hover,
.team-name-link:focus-visible {
  color: var(--blue);
  text-decoration-color: currentColor;
}

.hero-product-stage img {
  -webkit-mask-image: radial-gradient(ellipse 53% 69% at 58% 55%, #000 47%, rgba(0,0,0,.82) 63%, transparent 100%);
  mask-image: radial-gradient(ellipse 53% 69% at 58% 55%, #000 47%, rgba(0,0,0,.82) 63%, transparent 100%);
}

.evidence-page-hero,
.evidence-page-visual,
.content-grid,
.prose,
.paper-rail,
.paper-preview,
.evidence-curve {
  min-width: 0;
  max-width: 100%;
}

@media (max-width: 720px) {
  .hero-product-stage {
    height: 370px;
    min-height: 370px;
  }
  .hero-product-stage img {
    height: 370px;
    min-height: 370px;
  }
  .evidence-process-figure figcaption {
    display: block;
  }
  .evidence-process-figure figcaption span {
    display: block;
    margin-top: .3rem;
  }
  .paper-rail .paper-preview {
    flex-basis: min(320px, calc(100vw - 3.1rem));
  }
}

@media (max-width: 430px) {
  .hero-product-stage {
    height: 305px;
    min-height: 305px;
  }
  .hero-product-stage img {
    height: 305px;
    min-height: 305px;
  }
  .evidence-page-visual {
    width: 100%;
  }
}

/* V12 evidence balance, partner branding, social links and mobile navigation */
.evidence-feature {
  grid-template-columns: minmax(0,.63fr) minmax(560px,1.37fr);
  gap: 3rem;
  align-items: start;
}
.evidence-feature__copy {
  padding-top: .6rem;
}
.evidence-process-column {
  min-width: 0;
  padding-top: 1.1rem;
}
.evidence-process-column .proof-grid {
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: .75rem;
  margin-top: .85rem;
}
.evidence-process-column .proof-item {
  padding: 1rem;
  border: 1px solid rgba(216,231,232,.2);
  border-radius: 14px;
  background: rgba(255,255,255,.055);
}
.evidence-process-column .proof-item h3 {
  font-size: 1rem;
}
.evidence-process-column .proof-item p {
  margin-top: .45rem;
  color: #c5dadd;
  font-size: .82rem;
  line-height: 1.45;
}

.logo-card--chelwest img {
  width: 216px;
  max-width: 96%;
  max-height: 72px;
}
.logo-card--imperial-healthcare img {
  width: 220px;
  max-width: 96%;
  max-height: 76px;
  object-fit: contain;
  transform: none;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: .55rem;
  margin-top: 1rem;
}
.footer-grid .footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin: 0;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 10px;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.footer-grid .footer-socials a:hover,
.footer-grid .footer-socials a:focus-visible {
  border-color: rgba(255,255,255,.6);
  background: rgba(255,255,255,.08);
  text-decoration: none;
  transform: translateY(-2px);
}
.footer-socials svg,
.footer-grid .footer-socials img {
  width: 18px;
  height: 18px;
  filter: none;
  opacity: 1;
  fill: #dbe9ea;
}

@media (max-width: 900px) {
  .evidence-feature {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .evidence-process-column { padding-top: 0; }
  .menu-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: auto;
    min-width: 72px;
    height: 44px;
    padding: 0 1rem;
    color: var(--ink);
    font-size: .9rem;
    font-weight: 750;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
  }
}

@media (max-width: 720px) {
  .evidence-process-column .proof-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 430px) {
  .menu-button {
    min-width: 68px;
    padding-inline: .85rem;
  }
}

/* V13 final content, pathway and mobile refinements */
.professional-audiences {
  gap: 0;
  color: var(--ink-soft);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .055em;
  line-height: 1.4;
  text-transform: uppercase;
}
.professional-audiences span {
  display: inline-flex;
  align-items: center;
}
.professional-audiences span + span::before {
  content: "";
  width: 4px;
  height: 4px;
  margin: 0 .8rem;
  border-radius: 50%;
  background: var(--mint);
}

.project-pathway-section {
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 18%, rgba(47,191,113,.13), transparent 19rem),
    radial-gradient(circle at 92% 78%, rgba(40,146,215,.14), transparent 22rem),
    #102f37;
}
.project-pathway {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(6,minmax(0,1fr));
  gap: 1rem;
  margin: 2.7rem 0 0;
  padding: 0;
  list-style: none;
  counter-reset: pathway;
}
.project-pathway::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 42px;
  right: 3%;
  left: 3%;
  height: 2px;
  background: linear-gradient(90deg,rgba(47,191,113,.8),rgba(40,146,215,.8));
}
.project-pathway li {
  position: relative;
  min-width: 0;
  min-height: 300px;
  padding: 1.1rem 1rem 1.2rem;
  border: 1px solid rgba(216,231,232,.2);
  border-radius: 16px;
  background: rgba(255,255,255,.075);
  backdrop-filter: blur(8px);
}
.project-pathway li:not(:last-child)::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: 37px;
  right: -.72rem;
  width: 9px;
  height: 9px;
  border-top: 2px solid #7fe0c2;
  border-right: 2px solid #7fe0c2;
  transform: rotate(45deg);
}
.project-pathway__number {
  position: absolute;
  top: .9rem;
  right: .95rem;
  color: #9ab9bd;
  font-size: .67rem;
  font-weight: 850;
  letter-spacing: .1em;
}
.project-pathway__icon {
  width: 54px;
  height: 54px;
  border: 1px solid rgba(127,224,194,.48);
  border-radius: 15px;
  background: linear-gradient(145deg,rgba(47,191,113,.18),rgba(40,146,215,.18));
  display: grid;
  place-items: center;
}
.project-pathway__icon svg {
  width: 29px;
  height: 29px;
}
.project-pathway__icon path,
.project-pathway__icon rect,
.project-pathway__icon circle {
  fill: none;
  stroke: #dff8f0;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.project-pathway h3 {
  margin-top: 1.2rem;
  color: white;
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.25;
}
.project-pathway p {
  margin-top: .7rem;
  color: #c5dadd;
  font-size: .79rem;
  line-height: 1.5;
}
.project-pathway__note {
  margin: 1.2rem 0 0;
  color: #abc6c9;
  font-size: .83rem;
}

.project-help-grid .resource-card {
  position: relative;
  padding-top: 1.3rem;
}
.resource-card__step {
  display: block;
  margin-bottom: .7rem;
  color: var(--blue);
  font-size: .71rem;
  font-weight: 850;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.evidence-page-visual__primary {
  width: 86%;
}
.evidence-page-visual__secondary {
  width: 67%;
}
.evidence-curve img {
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #fff;
}

@media (max-width: 1100px) {
  .project-pathway {
    grid-template-columns: repeat(3,minmax(0,1fr));
  }
  .project-pathway::before,
  .project-pathway li:not(:last-child)::after {
    display: none;
  }
  .project-pathway li {
    min-height: 250px;
  }
}

@media (max-width: 720px) {
  .v4-hero__grid,
  .v4-hero__copy,
  .v4-hero__copy .lead {
    min-width: 0;
    max-width: 100%;
  }
  .v4-hero__copy h1 {
    max-width: 100%;
    font-size: clamp(3rem,12.6vw,4.25rem);
  }
  .v4-hero__copy .lead {
    overflow-wrap: break-word;
  }
  .project-pathway {
    grid-template-columns: 1fr;
    gap: .75rem;
    margin-top: 2rem;
  }
  .project-pathway li {
    min-height: 0;
    padding: 1rem 1rem 1rem 5.3rem;
  }
  .project-pathway__icon {
    position: absolute;
    top: 1.05rem;
    left: 1rem;
    width: 52px;
    height: 52px;
  }
  .project-pathway h3 {
    margin-top: 0;
  }
  .professional-audiences {
    display: grid;
    gap: .55rem;
  }
  .professional-audiences span + span::before {
    width: 18px;
    height: 2px;
    margin: 0 .55rem 0 0;
    border-radius: 2px;
  }
  .logo-track .logo-card {
    flex-basis: 168px;
    height: 92px;
    padding: .9rem;
  }
  .logo-card img,
  .logo-card--chelwest img,
  .logo-card--imperial-healthcare img,
  .logo-card--frimley img {
    max-width: 94%;
    max-height: 62px;
  }
  .logo-card--citius img {
    width: 116px;
    height: 116px;
  }
  .matortho-mark {
    width: 145px;
  }
  .app-preview.phone-frame--supplied {
    width: 142px;
    height: 286px;
  }
  .app-card-actions {
    align-items: center;
  }
  .store-badge.is-official-store {
    --badge-height: 40px;
  }
}

@media (max-width: 430px) {
  .product-panel--professional {
    grid-template-columns: minmax(0,1fr) 88px;
  }
  .product-panel--professional > img {
    width: 88px;
    max-height: 350px;
  }
  .app-choice-card {
    min-height: 0;
    padding: 1.5rem;
  }
  .app-preview.phone-frame--supplied {
    width: 132px;
    height: 266px;
  }
  .app-card-actions {
    gap: .55rem;
  }
  .store-badge.is-official-store {
    --badge-height: 38px;
  }
  .evidence-page-visual {
    min-height: 225px;
  }
  .evidence-page-visual__primary {
    width: 90%;
  }
  .evidence-page-visual__secondary {
    width: 70%;
  }
}

/* V14 focused layout refinements */
.product-grid {
  align-items: stretch;
}
.product-panel {
  align-items: stretch;
}
.product-panel > div {
  align-self: stretch;
  padding-block: 2rem;
  display: flex;
  flex-direction: column;
}
.product-actions {
  margin-top: auto;
}
.product-actions .button {
  width: 230px;
  max-width: 100%;
}

.professional-audiences {
  width: min(100%, 780px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.professional-audiences span {
  min-width: 0;
  padding-left: .75rem;
  border-left: 2px solid var(--mint);
}
.professional-audiences span + span::before {
  display: none;
}

.patient-metrics-phone {
  width: min(100%, 310px);
  height: 430px;
}

@media (max-width: 720px) {
  .hero-product-stage img {
    width: 110%;
    max-width: none;
    margin-left: -11%;
  }
  .product-panel > div {
    padding-block: 1.55rem 1.75rem;
  }
  .product-actions .button {
    width: auto;
    min-height: 44px;
    padding: .65rem .9rem;
    font-size: .86rem;
  }
  .professional-audiences {
    grid-template-columns: 1fr;
    gap: .55rem;
  }
  .app-preview.phone-frame--supplied {
    width: 154px;
    height: 310px;
  }
  .patient-metrics-phone {
    width: min(86%, 275px);
    height: 375px;
  }
}

@media (max-width: 430px) {
  .product-panel .button {
    max-width: 175px;
    min-height: 42px;
    padding: .58rem .72rem;
    font-size: .8rem;
  }
  .app-choice-card {
    padding-inline: 1.35rem;
  }
  .app-preview.phone-frame--supplied {
    width: 148px;
    height: 298px;
  }
  .patient-metrics-phone {
    width: min(90%, 260px);
    height: 355px;
  }
}

/* V15 project pages and project directory */
.case-study-card {
  display: flex;
  flex-direction: column;
}
.case-study-card__link,
.project-directory-link a,
.project-directory-inline {
  color: var(--blue);
  font-weight: 800;
  text-underline-offset: 4px;
}
.case-study-card__link {
  margin-top: auto;
  padding-top: 1.15rem;
}
.project-directory-link {
  margin: 1.4rem 0 0;
  text-align: right;
}
.case-study-brand--mrc img,
.case-study-brand--imperial img {
  width: min(100%, 220px);
  height: 54px;
  object-fit: contain;
  object-position: left center;
}
.case-study-brand--mrc {
  background: #102f37;
}
.case-study-brand--mrc img {
  width: min(100%, 250px);
  height: 58px;
}
.project-directory-inline {
  margin-top: .85rem;
  align-self: flex-start;
}
.project-access [data-state="error"] a {
  color: inherit;
}

.project-directory-hero {
  background:
    radial-gradient(circle at 85% 20%, rgba(47,191,113,.14), transparent 22rem),
    linear-gradient(145deg, #f2f9f8, #fff);
}
.project-directory-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 1rem;
}
.project-directory-card {
  min-height: 310px;
  padding: 1.6rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
  box-shadow: 0 14px 34px rgba(23,59,68,.07);
  display: flex;
  flex-direction: column;
}
.project-directory-card__brand {
  height: 70px;
  display: flex;
  align-items: center;
}
.project-directory-card__brand img {
  width: auto;
  max-width: 205px;
  max-height: 58px;
  object-fit: contain;
  object-position: left center;
}
.project-directory-card__brand .matortho-mark {
  width: 205px;
  max-width: 100%;
}
.project-directory-card__brand--mrc {
  margin: -1.6rem -1.6rem 1rem;
  padding: .8rem 1.6rem;
  height: 86px;
  background: #102f37;
  border-radius: 18px 18px 0 0;
}
.project-directory-card__brand--mrc img {
  width: 230px;
  max-width: 100%;
  max-height: 58px;
}
.project-directory-card__brand--citius {
  margin: -1.6rem -1.6rem 1rem;
  padding: .45rem 1.6rem;
  height: 86px;
  overflow: hidden;
  background: #3e4a44;
  border-radius: 18px 18px 0 0;
}
.project-directory-card__brand--citius img {
  width: 120px;
  max-height: 120px;
}
.project-directory-card .app-label {
  margin-top: .75rem;
}
.project-directory-card h2 {
  margin-top: .65rem;
  font-size: 1.65rem;
}
.project-directory-card p {
  color: var(--ink-soft);
}
.project-directory-card a {
  margin-top: auto;
  color: var(--blue);
  font-weight: 800;
  text-underline-offset: 4px;
}

.project-page-hero {
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 76% 16%, rgba(40,146,215,.12), transparent 22rem),
    linear-gradient(145deg, #f3faf8, #fff);
}
.project-page-hero__inner {
  min-height: 430px;
  padding-block: 4.5rem;
  display: grid;
  grid-template-columns: minmax(0,1.2fr) minmax(280px,.8fr);
  gap: 4rem;
  align-items: center;
}
.project-page-hero h1 {
  max-width: 13ch;
}
.project-page-hero .lead {
  max-width: 700px;
}
.project-page-brand {
  box-sizing: border-box;
  margin: 0;
  min-height: 230px;
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255,255,255,.9);
  box-shadow: 0 22px 50px rgba(23,59,68,.11);
  display: grid;
  place-items: center;
}
.project-page-brand--mrc {
  background: #102f37;
}
.project-page-brand--mrc img {
  width: min(100%, 330px);
  max-height: 100px;
}
.project-page-brand img {
  width: min(100%, 300px);
  max-height: 120px;
  object-fit: contain;
}
.project-page-brand--citius {
  background: #3e4a44;
}
.project-page-brand--citius img {
  width: 180px;
  max-height: 180px;
}
.project-page-brand .matortho-mark {
  width: 245px;
  max-width: 100%;
}
.project-meta-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 1rem;
  margin-top: 2rem;
}
.project-meta-item {
  padding: 1.2rem 1.25rem;
  border-top: 3px solid var(--mint);
  background: var(--mist);
}
.project-meta-item span {
  display: block;
  color: var(--blue);
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.project-meta-item strong {
  display: block;
  margin-top: .35rem;
  line-height: 1.35;
}
.project-guidance {
  margin-top: 1.6rem;
  padding: 1.3rem 1.4rem;
  border-left: 4px solid var(--blue);
  background: var(--pale-blue);
}
.project-guidance p {
  margin: 0;
}
.project-support {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}
.project-support .resource-card {
  display: flex;
  flex-direction: column;
}
.project-support .resource-card a {
  margin-top: auto;
}
.project-page-footer-note {
  color: #a9c1c4;
}

@media (max-width: 900px) {
  .project-directory-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .project-page-hero__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .project-page-brand {
    width: min(100%, 520px);
    min-height: 190px;
  }
}
@media (max-width: 720px) {
  .case-study-grid,
  .project-directory-grid,
  .project-meta-grid,
  .project-support {
    grid-template-columns: 1fr;
  }
  .project-directory-link {
    text-align: left;
  }
  .project-page-hero__inner {
    min-height: 0;
    padding-block: 3.5rem;
  }
  .project-page-brand {
    min-height: 160px;
    padding: 1.5rem;
  }
}
