/* A shared three-choice theme for all healthcare website pages. */
:root{--surface:#fff;--page-text:var(--ink);--review-tint:#e8eff3}
.theme-control{display:flex;align-items:center;gap:6px;color:#344a57;font-size:12px;font-weight:700;white-space:nowrap}
.theme-control select{border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--page-text);padding:6px 23px 6px 8px;font-size:12px;cursor:pointer}
.theme-control select:focus-visible{outline:2px solid var(--teal);outline-offset:3px}
.trust-principles{display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);align-items:center;gap:40px;background:var(--sky);border:1px solid var(--line);border-radius:28px;margin-block:26px;padding-block:36px}
.trust-principles h2{font-size:clamp(1.45rem,2.4vw,2.4rem);line-height:1.12}
.trust-principles ul{list-style:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0;padding:0}
.trust-principles li{background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:16px;font-weight:750;font-size:13px}
.proof-section .section-heading,.architecture-preview .section-heading{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:40px;align-items:start}
.proof-section .section-heading>p{margin:2.2rem 0 0;max-width:unset}
.proof-section .section-heading>p .text-link{display:inline-block;margin-top:12px}
.action-links{display:flex;gap:20px;flex-wrap:wrap;align-items:center;margin-top:20px}
.action-links .text-link{font-size:14px}
.architecture-preview .evidence-chain{grid-template-columns:minmax(0,1fr);justify-items:stretch;gap:8px;max-width:470px;width:100%;justify-self:center}
.architecture-preview .evidence-chain span{width:100%;max-width:360px;justify-self:center}
.architecture-preview .evidence-chain i{grid-column:1;justify-self:center;height:17px}
.review-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;padding-top:18px}
.review-grid article{background:var(--surface);border:1px solid var(--line);border-radius:18px;padding:26px}
.review-grid article>span{font-size:12px;color:var(--teal);font-weight:850}
.review-grid h2{font-size:1.35rem;margin:20px 0 12px}
.review-grid p{color:var(--slate);font-size:14px}
.review-status{background:var(--sky);border:1px solid var(--line);border-radius:28px;max-width:calc(var(--max) - 56px);padding:48px;margin-block:32px}
.review-status>p:not(.eyebrow){max-width:760px;color:var(--slate)}
@media(max-width:1450px){.site-header .theme-control{margin-left:auto}.site-header .nav-toggle{margin-left:0}}
@media(max-width:820px){.trust-principles,.proof-section .section-heading,.architecture-preview .section-heading{grid-template-columns:1fr}.proof-section .section-heading>p{margin:0}.review-grid{grid-template-columns:1fr}.review-status{max-width:calc(100% - 24px);padding:28px}}
@media(max-width:560px){.trust-principles ul{grid-template-columns:1fr}.theme-control span{display:none}.site-header .theme-control{margin-left:auto}}
html[data-theme="dark"]{--warm:#0a1926;--surface:#142b3a;--page-text:#e9f2f5;--slate:#b6cbd3;--sky:#19374a;--mint:#1b3e40;--line:#3c5a69;--shadow:0 24px 60px rgba(0,0,0,.25);background:#0a1926}
html[data-theme="dark"] .site-header .site-nav a{color:#c3d6de}
html[data-theme="dark"] .site-header .site-nav a::before{background:#28485c}
html[data-theme="dark"] .site-header .site-nav a:is(.active,[aria-current="page"])::before{background:#31556b}
html[data-theme="dark"] .site-header .site-nav a:is(:hover,:focus-visible,.active,[aria-current="page"]){color:#fff!important}
html[data-theme="dark"] .site-header .site-nav a::after{background:#8bc6df}
html[data-theme="dark"] .theme-control{color:#c3d6de}
html[data-theme="dark"] .eyebrow,html[data-theme="dark"] .text-link,html[data-theme="dark"] .review-grid article>span,html[data-theme="dark"] .source-grid article>span{color:#79d3c7}
html[data-theme="dark"] .portal-nav-link{color:#79d3c7!important}
html[data-theme="dark"] .button-quiet,html[data-theme="dark"] .button-light{background:var(--surface);color:var(--page-text);border-color:var(--line)}
html[data-theme="dark"] .nonclaims{background:#3b3024;border-color:#8b6740}
html[data-theme="dark"] .nonclaims ul{color:#f2d7ad}
html[data-theme="dark"] .dsgtm1-evidence-note{background:#193b3a;border-color:#447c78}
html[data-theme="dark"] .site-header .nav-toggle,html[data-theme="dark"] .site-header .site-nav{background:var(--surface);color:var(--page-text)}
html[data-theme="dark"] .site-footer,html[data-theme="dark"] .hero-system,html[data-theme="dark"] .wedge-panel,html[data-theme="dark"] .phase-band,html[data-theme="dark"] .contact-panel{background:#102a3d}
html[data-theme="dark"] .article-aside,html[data-theme="dark"] .article-qualifier,html[data-theme="dark"] .article-mid-cta{background:var(--surface);color:var(--page-text)}

@media(min-width:821px) and (max-width:1450px){.site-header .header-cta{display:none}}
html[data-theme="dark"] .soft-warning{background:#443927;color:#f3dfb5}
html[data-theme="dark"] .proof-card strong{color:#9ed0e5}
/* Presentation and portal access live in a distinct utility row. */
.site-utility{max-width:var(--max);margin:0 auto;padding:10px 28px 0;min-height:42px;display:flex;align-items:center;justify-content:flex-end;gap:20px}
.site-utility .portal-nav-link{font-size:12px;font-weight:700;color:var(--teal);text-decoration:none;white-space:nowrap}
.site-utility .portal-nav-link:hover,.site-utility .portal-nav-link:focus-visible{text-decoration:underline;text-underline-offset:3px}
.site-utility .theme-control{border-left:1px solid var(--line);padding-left:18px;color:var(--slate);font-size:11px}
.site-utility .theme-control select{font-size:11px;padding:5px 22px 5px 8px}
.site-header{width:100%;max-width:var(--max)}
.site-header .site-nav{min-width:0}
@media(max-width:560px){.site-utility{padding-inline:18px;gap:10px}.site-utility .theme-control{padding-left:10px}.site-utility .portal-nav-link{font-size:11px}}
html[data-theme="dark"] .site-utility .theme-control{color:#c3d6de}
/* Anchor the primary destinations beside the brand; reserve spare room for the CTA. */
.site-header .site-nav{margin-left:0}
.site-header .header-cta{margin-left:auto}
/* Align the explanatory copy with the title line below the eyebrow across pages. */
.section-heading{align-items:flex-start}
.section-heading>p{margin:2.2rem 0 0}
@media(max-width:820px){.section-heading{display:block}.section-heading>p{margin:12px 0 0;max-width:720px}}
/* Equal-weight service routes. Progression lives in the labels and copy. */
.engagement-routes article,.engagement-routes article:nth-child(2),.engagement-routes article:nth-child(3){background:var(--surface);color:var(--page-text);border:1px solid var(--line);border-radius:var(--radius)}
.engagement-routes article:nth-child(3) p,.engagement-routes article:nth-child(3) li,.engagement-routes article:nth-child(3) span{color:var(--slate)}
.engagement-routes article>span,.engagement-routes article:nth-child(3)>span{color:var(--teal)}
.engagement-routes article{display:flex;flex-direction:column}
.engagement-routes article>a{margin-top:auto;align-self:flex-start}
/* One visible treatment for contextual content links, without the nav hover effect. */
main .text-link{display:inline-block;color:var(--teal);font-weight:800;text-decoration:none;border-bottom:1px solid currentColor;padding-bottom:3px;line-height:1.4}
main .text-link:hover,main .text-link:focus-visible{color:var(--navy);border-bottom-width:2px}
main .text-link:focus-visible{outline:2px solid currentColor;outline-offset:4px}
html[data-theme="dark"] main .text-link,html[data-theme="dark"] .engagement-routes a.text-link{color:#79d3c7}
html[data-theme="dark"] main .text-link:hover,html[data-theme="dark"] main .text-link:focus-visible{color:#afe9df}
/* Legacy classless content anchors use the same link component. */
main :not(.page-subnav)>a:not([class]){display:inline-block;color:var(--teal);font-weight:800;text-decoration:none;border-bottom:1px solid currentColor;padding-bottom:3px;line-height:1.4}
main :not(.page-subnav)>a:not([class]):is(:hover,:focus-visible){color:var(--navy);border-bottom-width:2px}
main :not(.page-subnav)>a:not([class]):focus-visible{outline:2px solid currentColor;outline-offset:4px}
html[data-theme="dark"] main :not(.page-subnav)>a:not([class]){color:#79d3c7}
html[data-theme="dark"] main :not(.page-subnav)>a:not([class]):is(:hover,:focus-visible){color:#afe9df}
/* Three direct theme choices with a restrained sliding selection. */
.theme-switch{--segment:69px;position:relative;display:grid;grid-template-columns:repeat(3,var(--segment));padding:3px;border:1px solid var(--line);border-radius:999px;background:var(--sky);isolation:isolate}
.theme-switch::before{content:"";position:absolute;z-index:-1;top:3px;bottom:3px;left:3px;width:var(--segment);border-radius:999px;background:var(--surface);box-shadow:0 1px 5px rgba(11,31,51,.15);transform:translateX(100%);transition:transform .22s ease}
.theme-switch[data-choice="light"]::before{transform:translateX(0)}
.theme-switch[data-choice="dark"]::before{transform:translateX(200%)}
.theme-option{border:0;background:transparent;color:var(--slate);border-radius:999px;min-height:31px;padding:4px 5px;display:flex;align-items:center;justify-content:center;gap:4px;cursor:pointer;font:700 10px Inter,ui-sans-serif,system-ui,sans-serif;white-space:nowrap}
.theme-option[aria-pressed="true"]{color:var(--page-text)}
.theme-option:hover{color:var(--page-text)}
.theme-option:focus-visible{outline:2px solid var(--teal);outline-offset:3px}
.theme-icon{display:inline-flex;align-items:center;justify-content:center}
.theme-icon svg{width:14px;height:14px}
@media(max-width:560px){.theme-switch{--segment:35px}.theme-control .theme-icon{display:inline-flex}.theme-control .theme-name{display:none}}
@media(prefers-reduced-motion:reduce){.theme-switch::before{transition:none}}
html[data-theme="dark"] .theme-switch{background:#19374a}
/* The primary header stays available; the separate utility row scrolls away. */
html{scroll-padding-top:84px}
.site-header-shell{position:sticky;top:0;z-index:50;width:100%;background:rgba(248,250,249,.96);border-bottom:1px solid rgba(202,216,221,.72);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
.site-header-shell.is-scrolled{box-shadow:0 5px 18px rgba(11,31,51,.07)}
.site-header-shell .site-header{min-height:70px;padding-block:10px}
html[data-theme="dark"] .site-header-shell{background:rgba(10,25,38,.96);border-bottom-color:#3c5a69}
html[data-theme="dark"] .site-header-shell.is-scrolled{box-shadow:0 5px 18px rgba(0,0,0,.2)}
@media(max-width:1250px){.site-header-shell .site-header{min-height:68px}}

/* Tablet navigation: compact two-column panel with full-size touch targets. */
@media (min-width:621px) and (max-width:1250px) {
  .site-header .site-nav.open {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2px 12px;max-width:640px;padding:12px}
  .site-header .site-nav a {display:flex;align-items:center;min-height:44px;padding:10px 14px}
}
