/* =============================================================
   Biomarkers + Science pages — page-only styles.
   Linked only from globalhealth-ai-biomarkers.php and
   globalhealth-ai-science.php, never from the shared header, so nothing
   here can reach any other page. Every selector is either a new class
   (.bmk-*, .sci-*, .ghx-*) or scoped under one, so the shared components
   these pages reuse (.page-hero, .disclaimer-section, .heading-accent)
   keep their stock rules from style.css.

   Built from this site's own vocabulary: the #0f2338 / #55677a / #f7fafc
   palette, the clamp(1.7rem…2.4rem) section titles, the 52–76px section
   rhythm, the .fs-features card (14px radius, hairline border, lift and
   soft shadow on hover), the .growth-block micro-label, the
   .steps-block numbered badge and the navy footer / stat-band plate.
   ============================================================= */

/* ---------- Biomarkers hero: copy left, phone face-scan right ----------
   The standard .page-hero--full, grown to fit the phone: it keeps the
   full-screen floor but lets the height follow the content so the phone
   is never clipped on a short laptop screen. */
.bmk-hero {
	height: auto;
	min-height: max(100vh, 680px);
	padding-top: calc(var(--header-height) + 36px);
	padding-bottom: 72px;
}
.bmk-hero__layout {
	display: flex;
	align-items: center;
	gap: clamp(32px, 4vw, 64px);
}
.bmk-hero__layout .page-hero__content { flex: 1 1 0; min-width: 0; max-width: 600px; }

/* The phone's column: everything right of the copy, phone centred in it. */
.bmk-hero__visual {
	position: relative;
	flex: 1 1 0;
	display: flex;
	align-items: center;
	justify-content: center;
}
/* A soft brand-blue bloom behind the phone, the same glow the page-hero
   scrim carries, so the phone reads as lit from within the scene. */
.bmk-hero__visual::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 600px;
	height: 600px;
	border-radius: 50%;
	transform: translate(-50%, -50%);
	background: radial-gradient(circle, rgba(42,162,222,.22) 0%, rgba(42,162,222,.08) 42%, rgba(42,162,222,0) 68%);
	pointer-events: none;
}

/* Phone mock-up: the GlobalHealth AI App scan screen, in the site's navy
   frame with a brand-blue rim. */
.ghx-phone {
	--phone-ink: #0d2436;
	--phone-text: #0f2338;
	--phone-dim: #55677a;
	--phone-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	position: relative;
	flex: 0 0 auto;
	/* 320 x 635; steps down at the breakpoints below (the screen height
	   follows the width, see .ghx-phone__screen). */
	--phone-w: 320px;
	width: var(--phone-w);
	padding: 10px;
	border-radius: 48px;
	background: var(--phone-ink);
	box-shadow:
		0 40px 80px -30px rgba(0,0,0,.75),
		0 0 70px -12px rgba(42,162,222,.55),
		0 0 0 1px rgba(42,162,222,.35),
		inset 0 0 0 1.5px rgba(255,255,255,.14);
	animation: ghxPhoneIn 1s cubic-bezier(.16,1,.3,1) .3s both;
}
/* Hardware buttons. */
.ghx-phone::before,
.ghx-phone::after {
	content: "";
	position: absolute;
	width: 3px;
	background: var(--phone-ink);
}
.ghx-phone::before { right: -3px; top: 128px; height: 64px; border-radius: 0 3px 3px 0; }
.ghx-phone::after { left: -3px; top: 100px; height: 34px; border-radius: 3px 0 0 3px; box-shadow: 0 52px 0 var(--phone-ink); }

.ghx-phone__screen {
	position: relative;
	display: flex;
	flex-direction: column;
	/* 615px at 320px wide (635 with the frame). Only the camera flexes, so
	   the panel keeps its size and the camera takes the rest. */
	height: calc(292px + 1.077 * (var(--phone-w) - 20px));
	padding: 12px 0 8px;
	border-radius: 38px;
	background: #fff;
	overflow: hidden;
}
.ghx-phone__island {
	position: absolute;
	top: 10px;
	left: 50%;
	width: 86px;
	height: 24px;
	border-radius: 14px;
	background: var(--phone-ink);
	transform: translateX(-50%);
}
.ghx-phone__statusbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 24px;
	margin: 0 26px 4px;
	color: var(--phone-text);
	font-size: 12.5px;
	font-weight: 600;
}
.ghx-phone__screen > :not(.ghx-phone__camera) { flex-shrink: 0; }
.ghx-phone__statusbar-icons { display: flex; align-items: center; gap: 5px; }

/* App bar: close, logo, mute — the app's scan screen header. */
.ghx-phone__appbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 14px 8px;
}
.ghx-phone__appbtn {
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: #f3f6fa;
	border: 1px solid #dde5ee;
	box-shadow: 0 2px 6px -3px rgba(15,35,55,.18);
	color: #4a5a6b;
}
.ghx-phone__appbtn--sound { color: var(--color-primary); border-color: #c9e3f3; background: #f0f8fd; }
.ghx-phone__logo { display: block; width: auto; height: 22px; }

/* Camera view: portrait, filling the space between the app bar and the
   panel. The photo fills a square stage as tall as the camera and centred
   in it, so it is cover-cropped on the sides and nothing else shows. */
.ghx-phone__camera {
	position: relative;
	flex: 1 1 auto;
	min-height: 0;
	overflow: hidden;
	background: #1b1f24;
}
.ghx-phone__stage {
	position: absolute;
	top: 0;
	left: 50%;
	height: 100%;
	aspect-ratio: 1;
	transform: translateX(-50%);
}
.ghx-phone__stage img,
.ghx-phone__mesh {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}
.ghx-phone__stage img { object-fit: cover; }
/* Face mesh: a fine white net that gently breathes in and out, so the
   face reads as actively tracked. */
.ghx-phone__mesh path {
	fill: none;
	stroke: rgba(255,255,255,.42);
	stroke-width: .3;
	animation: ghxMeshDot 2.4s ease-in-out infinite;
}
/* Face guide: a green oval round the whole head (x 45–202, y 25–225 of
   the 250 grid). Its huge spread shadow dims the camera outside it. */
.ghx-phone__oval {
	position: absolute;
	left: 18.2%;
	top: 10%;
	width: 62.7%;
	height: 80%;
	border-radius: 50%;
	border: 2px solid #1fbf8f;
	overflow: hidden;
	box-shadow:
		0 0 16px rgba(31,191,143,.55),
		0 0 0 400px rgba(8,10,12,.58);
}
.ghx-phone__scanline {
	position: absolute;
	left: 0;
	right: 0;
	top: 10%;
	height: 1.5px;
	background: linear-gradient(90deg, transparent, #1fbf8f 20%, #1fbf8f 80%, transparent);
	box-shadow: 0 0 8px rgba(31,191,143,.9);
	animation: ghxScan 2.6s ease-in-out infinite;
}
.ghx-phone__scanline::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 1.5px;
	height: 22px;
	background: linear-gradient(0deg, rgba(31,191,143,.22), rgba(31,191,143,0));
}
.ghx-phone__fps {
	position: absolute;
	top: 10px;
	left: 10px;
	margin: 0;
	padding: 3px 7px;
	border-radius: 4px;
	border: 1px solid rgba(31,191,143,.45);
	background: rgba(13,60,44,.7);
	color: #3ddc9e;
	font-family: var(--phone-mono);
	font-size: 8px;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: .06em;
}
.ghx-phone__corner { position: absolute; width: 12px; height: 12px; border: 0 solid rgba(255,255,255,.85); }
.ghx-phone__corner--tl { top: 8px; left: 8px; border-top-width: 1.5px; border-left-width: 1.5px; border-top-left-radius: 3px; }
.ghx-phone__corner--tr { top: 8px; right: 8px; border-top-width: 1.5px; border-right-width: 1.5px; border-top-right-radius: 3px; }
.ghx-phone__corner--bl { bottom: 8px; left: 8px; border-bottom-width: 1.5px; border-left-width: 1.5px; border-bottom-left-radius: 3px; }
.ghx-phone__corner--br { bottom: 8px; right: 8px; border-bottom-width: 1.5px; border-right-width: 1.5px; border-bottom-right-radius: 3px; }

/* Panel under the camera: status, countdown, progress, live signal. */
.ghx-phone__panel { padding: 10px 16px 0; }
.ghx-phone__status {
	margin: 0;
	color: var(--phone-text);
	font-size: 12px;
	font-weight: 700;
	line-height: 1.4;
	text-align: center;
}
.ghx-phone__countdown {
	margin: 0 0 6px;
	color: var(--phone-dim);
	font-size: 11px;
	line-height: 1.4;
	text-align: center;
}
.ghx-phone__countdown strong {
	color: var(--color-primary);
	font-size: 26px;
	font-weight: 800;
	line-height: 1;
	font-variant-numeric: tabular-nums;
}
.ghx-phone__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin: 0 0 4px;
	color: var(--phone-text);
	font-size: 11.5px;
	font-weight: 600;
	line-height: 1.4;
}
.ghx-phone__row b { color: var(--color-primary); font-weight: 700; font-variant-numeric: tabular-nums; }
.ghx-phone__row em {
	display: flex;
	align-items: center;
	gap: 4px;
	color: #16a37a;
	font-size: 10.5px;
	font-style: normal;
	font-weight: 600;
}
.ghx-phone__row em::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
/* Scan progress, filled by biomarkers-science.js (static at 22% without it). */
.ghx-phone__progress {
	display: block;
	height: 5px;
	margin-bottom: 9px;
	border-radius: 3px;
	background: #edf1f7;
	overflow: hidden;
}
.ghx-phone__progress-fill {
	display: block;
	height: 100%;
	border-radius: inherit;
	background: linear-gradient(90deg, #1c86bd, var(--color-primary) 55%, #2fd0a0);
	transform: scaleX(.22);
	transform-origin: left center;
	transition: transform .9s linear;
}
.ghx-phone__signal {
	padding: 4px 6px;
	border-radius: 7px;
	background: #f7f9fb;
	border: 1px solid #e3e9ef;
}
.ghx-phone__signal svg { display: block; width: 100%; height: 28px; overflow: visible; }
.ghx-phone__signal path {
	fill: none;
	stroke: var(--color-primary);
	stroke-width: 1.3;
	stroke-linecap: round;
	stroke-linejoin: round;
	vector-effect: non-scaling-stroke;
}
.ghx-phone__stop {
	display: block;
	margin-top: 8px;
	padding: 9px 0;
	border-radius: 10px;
	background: linear-gradient(180deg, #ef4444, #dc2626);
	box-shadow: 0 6px 14px -6px rgba(220,38,38,.6);
	color: #fff;
	font-size: 12.5px;
	font-weight: 700;
	line-height: 1.4;
	text-align: center;
}
.ghx-phone__home {
	display: block;
	width: 108px;
	height: 4px;
	margin: 8px auto 0;
	border-radius: 3px;
	background: var(--phone-ink);
	opacity: .85;
}

@keyframes ghxPhoneIn {
	from { opacity: 0; transform: translateY(40px) scale(.96); }
	to   { opacity: 1; transform: none; }
}
@keyframes ghxScan {
	0%, 100% { top: 5%; opacity: .2; }
	50%      { top: 90%; opacity: 1; }
}
@keyframes ghxMeshDot {
	0%, 100% { opacity: .55; }
	50%      { opacity: 1; }
}

/* ---------- Shared section title (both pages) ----------
   The same title treatment as .tech-stack / .steps-block / .growth-block. */
.bmk-overview__head h2,
.sci-rppg__body h2,
.sci-research__head h2 {
	margin: 0 0 14px;
	color: #0f2338;
	font-size: clamp(1.7rem, 1.35rem + 1.7vw, 2.4rem);
	font-weight: 600;
	line-height: 1.25;
	letter-spacing: -.01em;
}
/* Bold lead line under a title, as .feature-block__lede / .steps-block__lede. */
.bmk-overview__lede,
.sci-research__head .sci-research__lede {
	margin: 0;
	color: #0f2338;
	font-size: 1.12rem;
	font-weight: 600;
	line-height: 1.5;
}

/* "Under Research" label, on research categories and biomarkers. */
.bmk-research {
	display: inline-block;
	margin-left: 6px;
	padding: 2px 9px;
	border-radius: 999px;
	background: #fff4e0;
	color: #9a5b00;
	font-size: .62rem;
	font-weight: 700;
	line-height: 1.6;
	letter-spacing: .06em;
	text-transform: uppercase;
	vertical-align: middle;
	white-space: nowrap;
}

/* ---------- Biomarkers: overview (index of the five categories) ---------- */
.bmk-overview { padding: clamp(52px, 5.5vw, 76px) 0; background: #fff; }
.bmk-overview__inner { max-width: var(--container-max); margin: 0 auto; padding: 0 20px; }
.bmk-overview__head { max-width: 720px; margin: 0 auto clamp(30px, 3.4vw, 44px); text-align: center; }
/* One card per category: all five in a row on desktop; when they wrap,
   the short last row is centred (the .fs-features flex-wrap approach). */
.bmk-overview__list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 18px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.bmk-overview__list li { display: flex; flex: 0 0 calc((100% - 72px) / 5); min-width: 0; }
.bmk-overview__link {
	display: flex;
	flex-direction: column;
	width: 100%;
	padding: 22px 20px 20px;
	border-radius: 14px;
	background: #fff;
	border: 1px solid var(--color-border);
	transition: border-color .28s ease, box-shadow .28s ease, transform .28s ease;
}
/* Icon left, "Under Research" badge in the top-right corner. */
.bmk-overview__top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 8px;
	margin-bottom: 16px;
}
.bmk-overview__top .bmk-research { margin: 2px 0 0; }
.bmk-overview__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 46px;
	height: 46px;
	border-radius: 11px;
	color: var(--color-primary);
	background: rgba(42,162,222,.1);
	transition: background-color .28s ease, color .28s ease;
}
.bmk-overview__icon svg { width: 22px; height: 22px; display: block; }
.bmk-overview__link strong {
	margin-bottom: 6px;
	color: #0f2338;
	font-size: 1.04rem;
	font-weight: 600;
	line-height: 1.38;
	transition: color .28s ease;
}
.bmk-overview__desc { color: #55677a; font-size: .88rem; line-height: 1.65; }
/* Pinned to the card's foot so the counts line up across the row. */
.bmk-overview__count {
	margin-top: auto;
	padding-top: 16px;
	color: var(--color-primary);
	font-size: .7rem;
	font-weight: 700;
	line-height: 1.3;
	text-transform: uppercase;
	letter-spacing: .13em;
}
.bmk-overview__link:hover,
.bmk-overview__link:focus-visible {
	color: inherit;
	border-color: rgba(42,162,222,.35);
	box-shadow: 0 20px 44px -18px rgba(15,35,55,.22);
	transform: translateY(-4px);
}
.bmk-overview__link:hover .bmk-overview__icon,
.bmk-overview__link:focus-visible .bmk-overview__icon { background: var(--color-primary); color: #fff; }
.bmk-overview__link:hover strong,
.bmk-overview__link:focus-visible strong { color: var(--color-primary); }

/* ---------- Biomarkers: one section per category ---------- */
.bmk-system {
	padding: clamp(52px, 5.5vw, 76px) 0;
	background: #fff;
	/* The header turns fixed on scroll, so anchor jumps land below it. */
	scroll-margin-top: 70px;
}
.bmk-system--tint { background: #f7fafc; }
.bmk-system__inner { max-width: var(--container-max); margin: 0 auto; padding: 0 20px; }

/* Icon, title + intro, count — closed by the soft brand underline the
   .growth-block column heads use. */
.bmk-system__head {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	gap: 18px;
	align-items: center;
	margin-bottom: clamp(24px, 2.6vw, 32px);
	padding-bottom: clamp(18px, 2vw, 24px);
	border-bottom: 2px solid rgba(42,162,222,.4);
}
.bmk-system__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: 12px;
	color: #fff;
	background: linear-gradient(135deg, #35b0e8 0%, var(--color-primary) 55%, #1c86bd 100%);
	box-shadow: 0 6px 14px rgba(42,162,222,.32), inset 0 1px 0 rgba(255,255,255,.25);
}
.bmk-system__icon svg { width: 24px; height: 24px; display: block; }
.bmk-system__intro h2 {
	margin: 0 0 4px;
	color: #0f2338;
	font-size: clamp(1.45rem, 1.2rem + 1vw, 1.9rem);
	font-weight: 600;
	line-height: 1.25;
	letter-spacing: -.01em;
}
.bmk-system__intro p { margin: 0; color: #55677a; font-size: 1rem; line-height: 1.7; }
.bmk-system__count {
	margin: 0;
	color: var(--color-primary);
	font-size: .75rem;
	font-weight: 700;
	line-height: 1.3;
	text-transform: uppercase;
	letter-spacing: .13em;
	white-space: nowrap;
}

.bmk-system__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(16px, 1.8vw, 22px);
	margin: 0;
	padding: 0;
	list-style: none;
}
.bmk-marker {
	display: flex;
	flex-direction: column;
	padding: clamp(22px, 2.4vw, 28px);
	border-radius: 14px;
	background: #fff;
	border: 1px solid var(--color-border);
	transition: border-color .28s ease, box-shadow .28s ease;
}
.bmk-system--tint .bmk-marker { border-color: rgba(15,35,55,.08); }
/* Title row: an "Under Research" badge sits in the card's top-right corner. */
.bmk-marker__top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	margin: 0 0 10px;
}
.bmk-marker h3 {
	margin: 0;
	color: #0f2338;
	font-size: 1.04rem;
	font-weight: 600;
	line-height: 1.38;
	letter-spacing: -.01em;
	transition: color .28s ease;
}
.bmk-marker__top .bmk-research { flex-shrink: 0; margin: 2px 0 0; }
.bmk-marker p { margin: 0; color: #55677a; font-size: .9rem; line-height: 1.72; }
/* Unit line, set as the .compass-block__card-meta micro-label pairing. */
.bmk-marker .bmk-marker__range {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 8px;
	margin: 0 0 12px;
	padding-bottom: 12px;
	border-bottom: 1px solid rgba(15,35,55,.1);
	color: #0f2338;
	font-size: .88rem;
	font-weight: 600;
	line-height: 1.4;
}
.bmk-marker__range span {
	color: var(--color-primary);
	font-size: .68rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .1em;
}
.bmk-marker:hover {
	border-color: rgba(42,162,222,.35);
	box-shadow: 0 20px 44px -18px rgba(15,35,55,.22);
}
.bmk-marker:hover h3 { color: var(--color-primary); }

/* Collapsed category (class set by biomarkers-science.js): one row of
   cards — three on desktop, two where the grid drops to two columns. */
.bmk-system.is-collapsed .bmk-marker:nth-child(n+4) { display: none; }
.bmk-system__more { display: flex; justify-content: center; margin-top: clamp(24px, 2.6vw, 32px); }
.bmk-system__more[hidden] { display: none; }
/* The site's .btn shape (14px / 700 / uppercase / 3px radius / 2px
   border), as an outline in the brand blue that fills on hover. */
.bmk-system__toggle {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 12px 28px;
	border: 2px solid var(--color-primary);
	border-radius: 3px;
	background: transparent;
	color: var(--color-primary);
	font: inherit;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .5px;
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color .2s, color .2s, box-shadow .2s;
}
.bmk-system__toggle:hover,
.bmk-system__toggle:focus-visible {
	background: var(--color-primary);
	color: #fff;
	box-shadow: 0 3px 0 0 var(--color-primary-shadow);
}
.bmk-system__chevron {
	width: 8px;
	height: 8px;
	margin-top: -4px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg);
	transition: transform .2s;
}
.bmk-system__toggle[aria-expanded="true"] .bmk-system__chevron { margin-top: 4px; transform: rotate(-135deg); }

/* ---------- Science: what is rPPG ----------
   The .steps-block split: copy in the wider left track, a navy panel in the
   right one. */
.sci-rppg { padding: clamp(52px, 5.5vw, 76px) 0; background: #fff; }
.sci-rppg__inner {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
	gap: clamp(40px, 5vw, 72px);
	align-items: center;
	max-width: var(--container-max);
	margin: 0 auto;
	padding: 0 20px;
}
.sci-rppg__body h2 { margin-bottom: 16px; }
.sci-rppg__body p { margin: 0 0 16px; color: #55677a; font-size: 1.02rem; line-height: 1.8; }
.sci-rppg__body p:last-child { margin-bottom: 0; }
.sci-rppg__body strong { color: #0f2338; font-weight: 600; }
/* "Why it matters" and "How it works": the .growth-block micro-label over
   short, hairline-separated points. */
.sci-rppg__body .sci-rppg__subhead {
	margin: 26px 0 10px;
	color: var(--color-primary);
	font-size: .75rem;
	font-weight: 700;
	line-height: 1.3;
	text-transform: uppercase;
	letter-spacing: .13em;
}
.sci-rppg__points {
	margin: 0 0 22px;
	padding: 0;
	list-style: none;
	counter-reset: rppg-point;
	border-bottom: 1px solid rgba(15,35,55,.1);
}
.sci-rppg__points li {
	position: relative;
	padding: 14px 0 14px 46px;
	border-top: 1px solid rgba(15,35,55,.1);
	color: #55677a;
	font-size: .96rem;
	line-height: 1.7;
	counter-increment: rppg-point;
}
/* Numbered badge: a small version of the .steps-block__num station. */
.sci-rppg__points li::before {
	content: counter(rppg-point);
	position: absolute;
	left: 0;
	top: 13px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: linear-gradient(135deg, #35b0e8 0%, var(--color-primary) 55%, #1c86bd 100%);
	box-shadow: 0 4px 10px rgba(42,162,222,.28), inset 0 1px 0 rgba(255,255,255,.25);
	color: #fff;
	font-size: .82rem;
	font-weight: 700;
	line-height: 1;
}
/* "Why it matters" lists benefits rather than steps, so ticks, not numbers. */
.sci-rppg__points--ticks li::before { content: "\2713"; }
.sci-rppg__body .sci-rppg__points:last-child { margin-bottom: 0; }

/* The navy plate the footer and the dark stat band use, with the footer's
   faint dot grid and one brand-blue bloom. */
.sci-rppg__visual {
	margin: 0;
	padding: clamp(26px, 3vw, 38px);
	border-radius: 14px;
	background:
		radial-gradient(circle at 1px 1px, rgba(255,255,255,.05) 1px, transparent 1.4px) 0 0 / 30px 30px,
		radial-gradient(60% 80% at 80% 15%, rgba(42,162,222,.22) 0%, rgba(42,162,222,0) 70%),
		linear-gradient(160deg, #081420 0%, #0d2436 55%, #081420 100%);
	box-shadow: 0 34px 70px -30px rgba(8,20,32,.6);
}
/* Live rPPG signal, as the GlobalHealth AI App shows it during a scan:
   a label row, then the trace in a framed box. Animated by
   biomarkers-science.js; static without it. */
.sci-rppg__signal-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin: 0 0 12px;
	color: rgba(255,255,255,.7);
	font-size: .72rem;
	font-weight: 700;
	line-height: 1.3;
	text-transform: uppercase;
	letter-spacing: .13em;
}
.sci-rppg__signal-head em {
	display: flex;
	align-items: center;
	gap: 7px;
	color: #3ddc9e;
	font-style: normal;
	letter-spacing: .08em;
	text-transform: none;
}
.sci-rppg__signal-head em::before {
	content: "";
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: currentColor;
	box-shadow: 0 0 8px rgba(61,220,158,.8);
}
.sci-rppg__signal {
	margin: 0 0 22px;
	padding: 14px 12px;
	border-radius: 10px;
	background:
		repeating-linear-gradient(0deg, rgba(255,255,255,.05) 0 1px, transparent 1px 22px),
		rgba(255,255,255,.03);
	border: 1px solid rgba(255,255,255,.1);
}
.sci-rppg__signal svg { display: block; width: 100%; height: 96px; overflow: visible; }
.sci-rppg__signal path {
	fill: none;
	stroke: var(--color-primary);
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
	vector-effect: non-scaling-stroke;
	filter: drop-shadow(0 0 5px rgba(42,162,222,.6));
}
.sci-rppg__visual-caption { margin: 0; color: rgba(255,255,255,.78); font-size: .92rem; line-height: 1.7; }

/* Stats along the foot of the panel: the .fs-highlight stat type (white
   value over an uppercase label), hairline-separated. Value above label
   visually; the label stays first in the DOM as <dt>. */
.ghx-stats {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	width: 100%;
	margin: 24px 0 0;
	padding-top: 20px;
	border-top: 1px solid rgba(255,255,255,.12);
}
.ghx-stats__item {
	display: flex;
	flex-direction: column-reverse;
	justify-content: flex-end;
	gap: 8px;
	min-width: 0;
	padding: 0 12px;
}
.ghx-stats__item:first-child { padding-left: 0; }
.ghx-stats__item + .ghx-stats__item { border-left: 1px solid rgba(255,255,255,.12); }
.ghx-stats__item dd {
	margin: 0;
	color: #fff;
	font-size: clamp(1.3rem, 1.1rem + .7vw, 1.7rem);
	font-weight: 700;
	line-height: 1;
	white-space: nowrap;
}
.ghx-stats__item dt {
	color: rgba(255,255,255,.7);
	font-size: .66rem;
	font-weight: 600;
	line-height: 1.4;
	text-transform: uppercase;
	letter-spacing: .07em;
}

/* ---------- Science: research papers ---------- */
.sci-research { padding: clamp(52px, 5.5vw, 76px) 0; background: #f7fafc; }
.sci-research__inner { max-width: var(--container-max); margin: 0 auto; padding: 0 20px; }
.sci-research__head { max-width: 720px; margin: 0 auto clamp(28px, 3.2vw, 40px); text-align: center; }
.sci-research__head .sci-research__lede { margin: 0 0 12px; }
.sci-research__head p { margin: 0; color: #55677a; font-size: 1.02rem; line-height: 1.8; }

.sci-research__toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 14px 24px;
	margin-bottom: clamp(22px, 2.6vw, 30px);
	padding: 16px 0;
	border-top: 1px solid rgba(15,35,55,.1);
	border-bottom: 1px solid rgba(15,35,55,.1);
}
.sci-research__count { margin: 0; color: #55677a; font-size: .92rem; }
.sci-research__count [data-research-count] { color: #0f2338; font-weight: 700; }
.sci-research__filter { display: flex; align-items: center; gap: 12px; }
.sci-research__filter span {
	color: var(--color-primary);
	font-size: .75rem;
	font-weight: 700;
	line-height: 1.3;
	text-transform: uppercase;
	letter-spacing: .13em;
}
/* The contact form's field: 10px radius, soft border, brand focus ring. */
.sci-research__filter select {
	min-width: 240px;
	padding: 11px 40px 11px 16px;
	border-radius: 10px;
	border: 1px solid rgba(15,35,55,.16);
	background: #fff url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 8"><path d="M1 1.5l5 5 5-5" fill="none" stroke="%232aa2de" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"/></svg>') no-repeat right 16px center / 11px 8px;
	color: #0f2338;
	font: inherit;
	font-size: .94rem;
	font-weight: 600;
	-webkit-appearance: none;
	appearance: none;
	cursor: pointer;
	transition: border-color .2s ease, box-shadow .2s ease;
}
.sci-research__filter select:hover { border-color: rgba(42,162,222,.6); }
.sci-research__filter select:focus,
.sci-research__filter select:focus-visible {
	outline: none;
	border-color: var(--color-primary);
	box-shadow: 0 0 0 3px rgba(42,162,222,.16);
}

.sci-research__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(16px, 1.8vw, 22px);
	margin: 0;
	padding: 0;
	list-style: none;
}
/* Research card: paper title with its year, then short dot points — who did
   it, what they found in plain words, and the key number — and the link. */
.sci-paper {
	display: flex;
	flex-direction: column;
	padding: clamp(22px, 2.4vw, 28px);
	border-radius: 14px;
	background: #fff;
	border: 1px solid var(--color-border);
	transition: border-color .28s ease, box-shadow .28s ease;
}
.sci-paper[hidden] { display: none; }
.sci-paper__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 14px; }
.sci-paper__top h3 {
	margin: 0;
	color: #0f2338;
	font-size: 1.02rem;
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: -.01em;
	transition: color .28s ease;
}
.sci-paper__tag {
	flex-shrink: 0;
	padding: 3px 10px;
	border-radius: 999px;
	background: rgba(42,162,222,.1);
	color: #1c86bd;
	font-size: .72rem;
	font-weight: 700;
	line-height: 1.6;
	letter-spacing: .04em;
}
.sci-paper__meta { margin: 0 0 18px; padding: 0; list-style: none; }
.sci-paper__meta li {
	position: relative;
	padding-left: 16px;
	color: #55677a;
	font-size: .88rem;
	line-height: 1.65;
}
.sci-paper__meta li + li { margin-top: 6px; }
/* The site's list bullet (.feature-block__list): a small brand-blue dot. */
.sci-paper__meta li::before {
	content: "";
	position: absolute;
	left: 0;
	top: .62em;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: var(--color-primary);
}
.sci-paper__meta strong { color: #0f2338; font-weight: 700; }
.sci-paper__link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: auto;
	color: var(--color-primary);
	font-size: .78rem;
	font-weight: 700;
	letter-spacing: .075em;
	text-transform: uppercase;
}
.sci-paper__link svg { transition: transform .28s cubic-bezier(.2,.7,.3,1); }
.sci-paper__link:hover { color: #1c86bd; }
.sci-paper:hover {
	border-color: rgba(42,162,222,.35);
	box-shadow: 0 20px 44px -18px rgba(15,35,55,.22);
}
.sci-paper:hover h3 { color: var(--color-primary); }
.sci-paper:hover .sci-paper__link svg { transform: translate(2px, -2px); }

/* ---------- Scroll reveals (opted in by biomarkers-science.js) ----------
   The same rise every other section on the site uses. */
.bmk-overview.reveal-ready .bmk-overview__head,
.bmk-overview.reveal-ready .bmk-overview__list,
.bmk-system.reveal-ready .bmk-system__head,
.bmk-system.reveal-ready .bmk-marker,
.sci-rppg.reveal-ready .sci-rppg__body,
.sci-rppg.reveal-ready .sci-rppg__visual,
.sci-research.reveal-ready .sci-research__head,
.sci-research.reveal-ready .sci-research__toolbar,
.sci-research.reveal-ready .sci-research__grid {
	opacity: 0;
	transform: translateY(22px);
	transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.3,1);
}
.bmk-overview.reveal-ready.is-visible .bmk-overview__head,
.bmk-overview.reveal-ready.is-visible .bmk-overview__list,
.bmk-system.reveal-ready.is-visible .bmk-system__head,
.bmk-system.reveal-ready.is-visible .bmk-marker,
.sci-rppg.reveal-ready.is-visible .sci-rppg__body,
.sci-rppg.reveal-ready.is-visible .sci-rppg__visual,
.sci-research.reveal-ready.is-visible .sci-research__head,
.sci-research.reveal-ready.is-visible .sci-research__toolbar,
.sci-research.reveal-ready.is-visible .sci-research__grid { opacity: 1; transform: none; }
/* Cards keep their hover transitions alongside the reveal. */
.bmk-system.reveal-ready .bmk-marker {
	transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.3,1), border-color .28s ease, box-shadow .28s ease;
}
.bmk-system.reveal-ready .bmk-marker:nth-child(3n+2) { transition-delay: .08s, .08s, 0s, 0s; }
.bmk-system.reveal-ready .bmk-marker:nth-child(3n) { transition-delay: .16s, .16s, 0s, 0s; }
.bmk-overview.reveal-ready .bmk-overview__list { transition-delay: .1s; }
.sci-rppg.reveal-ready .sci-rppg__visual { transition-delay: .1s; }
.sci-research.reveal-ready .sci-research__toolbar { transition-delay: .06s; }
.sci-research.reveal-ready .sci-research__grid { transition-delay: .12s; }

/* ---------- Responsive ----------
   Section insets follow the site's own tablet/mobile rhythm (52 / 44 /
   36px at 1024 / 900 / 600). */
@media (max-width: 1200px) {
	.ghx-phone { --phone-w: 300px; }
	.bmk-overview__list li { flex-basis: calc((100% - 36px) / 3); }
}
@media (max-width: 1024px) {
	/* Same 70vh-class floor as the site's other page heroes at this size,
	   with room under the header for the phone. */
	.bmk-hero { min-height: 70vh; padding-top: calc(var(--header-height) + 28px); padding-bottom: 60px; }
	.bmk-hero__layout { gap: 24px; }
	.bmk-hero__visual::before { width: 480px; height: 480px; }
	.ghx-phone { --phone-w: 280px; }
	.bmk-overview,
	.bmk-system,
	.sci-rppg,
	.sci-research { padding: 52px 0; }
	.bmk-system__grid,
	.sci-research__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.bmk-system.is-collapsed .bmk-marker:nth-child(3) { display: none; }
}
@media (max-width: 900px) {
	.sci-rppg__inner { grid-template-columns: 1fr; gap: 32px; }
	.bmk-overview,
	.bmk-system,
	.sci-rppg,
	.sci-research { padding: 44px 0; }
}
@media (max-width: 767px) {
	/* The phone mock-up is decorative and does not fit beside the copy on a
	   phone, so it is dropped and the hero matches the site's other page
	   heroes at this size. */
	.bmk-hero { padding-top: 90px; padding-bottom: 60px; }
	.bmk-hero__visual { display: none; }
	.bmk-hero__layout .page-hero__content { max-width: 660px; }
	.bmk-overview__list { gap: 14px; }
	.bmk-overview__list li { flex-basis: calc((100% - 14px) / 2); }
	.bmk-system__head { grid-template-columns: auto minmax(0, 1fr); }
	.bmk-system__count { grid-column: 2; }
}
@media (max-width: 600px) {
	.bmk-overview,
	.bmk-system,
	.sci-rppg,
	.sci-research { padding: 36px 0; }
	.bmk-system__grid,
	.sci-research__grid { grid-template-columns: 1fr; }
	.bmk-system__icon { width: 44px; height: 44px; }
	/* Two rows of two on phones, so labels keep a readable width. */
	.ghx-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 18px; }
	.ghx-stats__item:nth-child(odd) { padding-left: 0; border-left: none; }
	.sci-research__filter { width: 100%; }
	.sci-research__filter select { flex: 1; min-width: 0; }
}
@media (max-width: 480px) {
	.bmk-overview__list li { flex-basis: 100%; }
}

@media (prefers-reduced-motion: reduce) {
	.sci-paper,
	.sci-paper:hover,
	.bmk-overview__link { transition: none; }
	.bmk-overview__link:hover,
	.bmk-overview__link:focus-visible { transform: none; }
	.ghx-phone,
	.ghx-phone__scanline,
	.ghx-phone__mesh path { animation: none; }
	.ghx-phone__progress-fill { transition: none; }
	.bmk-overview.reveal-ready .bmk-overview__head,
	.bmk-overview.reveal-ready .bmk-overview__list,
	.bmk-system.reveal-ready .bmk-system__head,
	.bmk-system.reveal-ready .bmk-marker,
	.sci-rppg.reveal-ready .sci-rppg__body,
	.sci-rppg.reveal-ready .sci-rppg__visual,
	.sci-research.reveal-ready .sci-research__head,
	.sci-research.reveal-ready .sci-research__toolbar,
	.sci-research.reveal-ready .sci-research__grid {
		opacity: 1; transform: none; transition: none;
	}
}
