/* Shared clinical identity and responsive navigation. */
:root {
  --ink:#122944; --body:#405571; --paper:#fff; --deep:#0b203a; --forest:#174fbc;
  --mint:#a5ccff; --ring:#1c59ce; --line:#cbd6e4; --mast-height:4.7rem;
  --edge:clamp(1.15rem,4.8vw,6rem);
  background:#fff;
}
body.global-site { color:var(--ink); background:#fff; }
.iv-mast { position:sticky; inset-block-start:0; z-index:30; color:#122944; background:#fff; border-block-end:1px solid #d8e1ed; --ring:#1c59ce; }
.iv-mast .mast-inner { display:flex; align-items:center; justify-content:space-between; gap:clamp(1rem,2vw,2.4rem); min-height:4.7rem; width:min(100%,120rem); }
.iv-mast .brand,.iv-footer .brand { flex:0 0 auto; padding:0; }
.iv-wordmark { display:block; width:clamp(12rem,14.5vw,15.5rem); height:auto; max-width:100%; }
.iv-mast .desktop-nav { align-items:center; justify-content:center; gap:clamp(.8rem,1.65vw,2.1rem); margin:0; }
.iv-mast nav a { color:#30465e; text-decoration:none; font-size:.92rem; font-weight:600; }
.iv-mast nav a:hover,.iv-mast nav [aria-current=page],.iv-footer nav a:hover,.iv-footer .share-page:hover { color:#1347aa; }
.iv-mast nav [aria-current=page] { text-decoration:underline; text-underline-offset:.5em; }
.iv-mast .mast-actions { gap:.5rem; margin:0; flex-shrink:0; }
.iv-locale-short { display:none; }
.iv-mast .locale-switch { border:1px solid #b7c6d8; border-radius:40px; padding-inline:.72rem .38rem; gap:.25rem; height:41px; color:#233d5a; background:#fff; }
.iv-mast .locale-switch label { border:0; padding:0; color:#315577; }
.iv-mast .locale-switch label span { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
.iv-mast .locale-switch select { border:0; padding:.22rem 1.25rem .22rem .12rem; min-height:36px; width:6.6rem; max-width:none; color:#243d5a; background-color:#fff; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23243d5a' stroke-linecap='round' stroke-width='1.6' d='m4 6 4 4 4-4'/%3E%3C/svg%3E"); background-size:14px; background-position:right .1rem center; }
[dir=rtl] .iv-mast .locale-switch select { padding-inline:.12rem 1.25rem; background-position:left .1rem center; }
.iv-mast .mobile-menu > summary { color:#183851; border-color:#b9c9dc; background:#fff; }
.iv-mast .mobile-menu > nav { background:white; color:var(--ink); border-bottom-color:#c9d6e4; box-shadow:0 15px 24px #21375b17; }
.iv-mast .mobile-menu > nav a { border-bottom-color:#dae3f0; }
.iv-footer { border-top:1px solid #d4dfed; background:#f6f9fc; color:#263c57; --ring:#1855c3; }
.iv-footer .foot { min-height:7.6rem; width:min(100%,120rem); }
.iv-foot-brand { display:flex; flex-direction:column; align-items:flex-start; gap:.45rem; }
.iv-foot-brand > span { color:#52677f; font-size:.84rem; }
.iv-footer .iv-wordmark { width:11.75rem; }
.iv-footer .share-page { color:#2c4563; border-color:#bacbe1; }
.global-site .button.dark,.global-site .button.form-submit,.global-site .guide-enroll,.global-site .directory-enroll { border-color:#174fb8; color:#fff; background:#174fb8; }
.global-site .button.dark:hover,.global-site .button.form-submit:hover,.global-site .guide-enroll:hover { background:#103b8c; border-color:#103b8c; }
.global-site main a.text-link,.global-site main .guide-doctor-link { color:#164aab; }
.global-site .paper { color:var(--ink); }
.global-site .form-wrap,.global-site .rights-panel { background:white; color:#18314d; border-color:#c7d5e4; border-radius:14px; }
.global-site .form-wrap input:not([type=checkbox]):not([type=hidden]),.global-site .form-wrap select,.global-site .form-wrap textarea,.global-site .rights-panel input,.global-site .rights-panel select,.global-site .starter-picker select,.global-site .starter-notes textarea { color:#18314d; background-color:white; border-color:#95a9bf; border-radius:6px; }
.global-site :is(input,select,textarea):focus-visible { outline:2px solid #2460d0; outline-offset:2px; }
.global-site input[type=checkbox] { accent-color:#194fba; }
.global-site .form-options,.global-site .form-options[open] { background:#f4f7fc; border-color:#d0ddec; }
.global-site .form-options > summary { color:#243f60; }
.global-site .data-note,.global-site .form-wrap .check,.global-site .form-wrap .role-offer { color:#3b526e; }
.global-site .guide-spread,.global-site .guide-body { max-width:min(100%,105rem); }
.global-site .guide-intro { color:#102b4b; background:#edf4fc; --ring:#1a54c3; }
.global-site .guide-intro .page-lead { color:#3a5472; }
.global-site .guide-spread { gap:clamp(1.5rem,5vw,5.8rem); }
.global-site .guide-spread picture,.iv-project-image,.global-site .investor-art { border-radius:clamp(12px,1.6vw,26px); overflow:hidden; background:#dfebf6; }
.global-site .guide-values .ui-icon { color:#1852b9; }
.global-site .starter-research { border-color:#427bcc; }
.iv-project-grid { display:grid; grid-template-columns:minmax(0,.98fr) minmax(0,1.12fr); align-items:center; gap:clamp(2rem,5vw,6rem); padding-block:clamp(2.6rem,5vw,6.2rem); }
.global-site .project-hero { color:#153253; background:#f1f6fc; --ring:#1354c8; }
.global-site .project-hero::before { display:none; }
.global-site .project-hero h1 { font-size:clamp(4.3rem,6.6vw,8.8rem); text-wrap:balance; }
.global-site .project-hero h1 em { display:block; color:#204fa0; }
.iv-project-copy p { margin:1.25rem 0 1.6rem; max-width:32ch; color:#34506d; font-size:clamp(1.15rem,1.7vw,1.65rem); line-height:1.45; }
.iv-project-actions { display:flex; flex-wrap:wrap; align-items:center; gap:.75rem 1.45rem; }
.iv-project-image { margin:0; aspect-ratio:1.4; }
.iv-project-image img { width:100%; height:100%; object-fit:cover; object-position:66% center; }
.global-site .project-brief { padding-block:clamp(3rem,5vw,5rem); }
.global-site .workflow-gallery { background:#f4f8ff; color:#122c4b; border-color:#d2deee; }
.global-site .journey-title,.global-site .source-pair h3,.global-site .study-invitation summary { color:#1a3555; }
.global-site :is(.journey-caption,.journey-body,.source-pair p,.study-invitation p) { color:#415974; }
.global-site .journey-step { border-color:#afbfd5; }
.global-site .journey-body .research-glyph,.global-site .journey-step > summary .expand-icon,.global-site .role-group > summary .expand-icon { color:#1c57a6; border-color:#afc2d9; }
.global-site .journey-step > summary:hover .journey-title { color:#1654ac; }
.global-site .research-brief { border-color:#c4d4e5; }
.global-site .study-invitation,.global-site .source-pair > div { color:#213e5c; background:#fff; border-color:#ccd9e8; }
.global-site .brief-link { color:#134b9e; }
.global-site .study-invitation .brief-action { color:white; background:#194faa; border-color:#194faa; }
.global-site .study-invitation .brief-action:hover { background:#123c86; }
.global-site .iv-selected-role { padding-block:clamp(2rem,4vw,4rem); }
.global-site .iv-selected-role .shell { max-width:56rem; }
.global-site .iv-selected-role .role-panel { background:#f3f7ff; color:#1b3555; padding:clamp(1rem,3vw,2.75rem); border-radius:16px; border:1px solid #cad9e9; }
.global-site .iv-selected-role .role-panel > summary,.global-site .iv-selected-role .role-offer,.global-site .iv-selected-role .role-offer > p,.global-site .iv-selected-role .patient-benefits :is(dt,dd) { color:#243f60; }
.global-site .iv-selected-role .registration-panel > summary { color:#174a9b; }
.global-site .iv-selected-role .patient-benefits > div { border-color:#bacbe0; }
.global-site .investor-layout { max-width:108rem; padding-block:clamp(2.25rem,4.5vw,5.8rem); gap:clamp(2.25rem,6vw,6rem); }
.global-site .investor-intro h1 { max-width:12ch; color:#133151; }
.global-site .investor-form { padding:clamp(1.2rem,2.6vw,2.75rem); border:1px solid #d4dfeb; border-radius:clamp(14px,2vw,26px); background:#f4f8fd; }
.global-site .investor-form .form-wrap { border:0; padding:0; background:transparent; }
.global-site .investor-form > h2 { color:#203d61; }
.global-site .investor-art { max-width:none; aspect-ratio:1.95; margin-block:1.8rem; }
.global-site .investor-art img { object-position:50% 42%; }
.iv-thesis { border-inline-start:3px solid #4684dd; padding-inline-start:1.05rem; }
.iv-thesis h2 { font:600 clamp(1.1rem,1.45vw,1.45rem)/1.3 var(--sans); letter-spacing:-.02em; }
.iv-thesis p { margin-block-start:.45rem; }
.iv-evidence-route { display:flex; align-items:flex-start; margin:1.65rem 0 .25rem; padding:0; list-style:none; }
.iv-evidence-route li { position:relative; flex:1; min-width:0; display:grid; grid-template-columns:1fr; gap:.55rem; align-content:start; font-size:.88rem; font-weight:600; color:#2e4969; }
.iv-evidence-route li .ui-icon { width:2.3rem; height:2.3rem; padding:.45rem; border:1px solid #a7c2e6; border-radius:50%; color:#1854ac; background:#f3f8ff; }
.iv-evidence-route li:not(:last-child)::after { content:""; position:absolute; inset-inline:2.7rem .5rem; inset-block-start:1.1rem; height:1px; background:#87abd7; }
.iv-evidence-route li span { padding-inline-end:.45rem; }
.global-site .investor-intro .iv-investor-jump { display:none; }
@media(prefers-reduced-motion:no-preference) {
 .iv-evidence-route li::after { animation:iv-evidence-trace 1.5s ease-out both; transform-origin:left; }
 .iv-evidence-route li:nth-child(2)::after { animation-delay:.6s; }
 [dir=rtl] .iv-evidence-route li::after { transform-origin:right; }
 @keyframes iv-evidence-trace { from { transform:scaleX(0); } to { transform:scaleX(1); } }
 .journey-step[open] .research-glyph { animation:iv-show-glyph .55s ease-out both; }
 @keyframes iv-show-glyph { from { opacity:.15; transform:translateY(5px); } to { opacity:1; transform:translateY(0); } }
}
@media(max-width:740px) {
 .global-site .investor-intro .iv-investor-jump { display:inline-flex; align-items:center; min-height:44px; margin-top:.45rem; color:#144baf; text-underline-offset:.25em; font-weight:600; }
}
.global-site .info-main,.global-site .join-main { background:#f4f8fc; }
.global-site .privacy-content { max-width:66rem; }
@media(max-width:1200px) {
 .iv-mast .desktop-nav { display:none; }
 .iv-mast .mobile-menu { display:block; }
}
@media(min-width:1201px) {
 .iv-mast .desktop-nav { display:flex; }
 .iv-mast .mobile-menu { display:none; }
}
@media(max-width:740px) {
 :root { --mast-height:3.95rem; }
 .iv-mast .mast-inner { min-height:var(--mast-height); gap:.4rem; }
 .iv-mast .iv-wordmark { width:clamp(11.65rem,49vw,13.5rem); }
 .iv-mast .mast-actions { gap:.38rem; }
 .iv-mast .locale-switch { height:40px; padding-inline:.55rem .2rem; }
 .iv-mast .locale-switch select { width:5.8rem; font-size:.82rem; }
 .iv-mast .mobile-menu > summary { width:40px; height:40px; }
 .iv-project-grid { grid-template-columns:1fr; gap:1.65rem; padding-block:2.4rem 1.75rem; }
 .global-site .project-hero h1 { font-size:clamp(3.15rem,11vw,5rem); }
 .iv-project-image { aspect-ratio:1.9; }
 .global-site .investor-layout { grid-template-columns:1fr; }
 .global-site .investor-intro h1 { font-size:clamp(3.3rem,12vw,5.5rem); }
 .iv-footer .foot { padding-block:1.6rem; }
}
@media(max-width:355px) {
 .iv-mast .mast-inner { padding-inline:12px; }
 .iv-mast .locale-switch { padding-inline:.3rem .15rem; }
 .iv-mast .locale-switch select { width:5rem; }
}
@media print { .iv-mast,.iv-footer { display:none; } }


/* The compact native language picker leaves a full-height signature on phones. */
@media(max-width:540px) and (scripting:enabled) {
 .iv-mast .locale-switch { position:relative; display:inline-flex; align-items:center; justify-content:center; height:44px; min-width:54px; padding-inline:.4rem; gap:.28rem; }
 .iv-mast .locale-switch .iv-locale-short { display:inline; font-size:.8rem; font-weight:600; }
 .iv-mast .locale-switch #site-lang { position:absolute; inset:0; width:100%; height:100%; opacity:0; margin:0; padding:0; }
 .iv-mast .locale-switch:focus-within { outline:2px solid #1c59ce; outline-offset:2px; }
 .iv-mast .mobile-menu > summary { width:44px; height:44px; }
}
@media(max-width:540px) and (scripting:none) {
 .iv-mast .mast-inner { flex-wrap:wrap; padding-block:.5rem; }
 .iv-mast .mast-actions { margin-inline-start:auto; }
}
.global-site .starter-intro::after { background-image:url("/media/iv-patient-journal.webp"); background-position:center 54%; }
@media(max-width:740px) {
 .global-site .starter-intro::after { background-image:url("/media/iv-patient-journal-small.webp"); }
}
