:root{color-scheme:light}.theme-control{display:flex;align-items:center;gap:10px;font-size:12px}.theme-control select{font:inherit;padding:8px 26px 8px 10px;border:1px solid #bbc4d4;border-radius:7px;background:#fff;color:#34415b}.theme-control select:focus-visible{outline:2px solid #516bdf;outline-offset:3px}
html[data-theme=dark]{color-scheme:dark;--paper:#0b1220;--ink:#e5eaf5;--blue:#a5b7ff}
html[data-theme=dark] body{background:#0b1220;color:#e5eaf5}
html[data-theme=dark] :is(.situation-window,.service-card,.mini-file,.contact-box,dialog){background:#131e31;color:#e5eaf5;border-color:#34435d;box-shadow:0 20px 50px #0002}
html[data-theme=dark] :is(.panel-facts,.window-bottom,.file-caption,.window-label){background:#1b2941;color:#b9c7e0;border-color:#34435d}
html[data-theme=dark] :is(.service-visual,.resolution .service-visual){background:radial-gradient(ellipse at top,#2a3a62,#152139 75%)}
html[data-theme=dark] :is(.small-label,.window-head>span:nth-child(2),.mini-file-top,.file-row,.file-row>span:last-child,.journey-row small,.journey-row strong,.contact-box>.small-label){color:#b4c2dc}
html[data-theme=dark] :is(.section-title>p:last-child,.panel-main>p,.service-copy>p,.service-copy ul,.faq-items details p,.faq-heading>p:not(.small-label),.footer-main>div>p,.panel-facts>p,.service-copy .service-note,.contact-note,.metrics-note,.showcase-note,.footer-bottom,.footer-nav,.footer-nav>span,.contact-eligibility,dialog p){color:#b5c1d7}
html[data-theme=dark] :is(.metric strong,.text-link,.section-title h2 em,.window-brand>span){color:#aec0ff}
html[data-theme=dark] :is(.experience-first,.metric+.metric,.faq-items details,.footer-bottom,.file-row,.window-head){border-color:#34435d}
html[data-theme=dark] :is(.intent,.situation-tabs button,.email-button,.theme-control select){color:#c8d3eb;background:#17243a;border-color:#465575}
html[data-theme=dark] :is(.intent.active,.situation-tabs button[aria-selected=true]){color:#edf1ff;background:#2d4069;border-color:#9baef0}
html[data-theme=dark] :is(.intent:hover,.email-button:hover){background:#253858}
html[data-theme=dark] .contact-promise,html[data-theme=dark] .contact-promise>span{color:#91d5b6}
html[data-theme=dark] .visual-chip{background:#1b2941;color:#b9c7e0;border-color:#465575}
html[data-theme=dark] .panel-main .button{background:#dce5ff;color:#13213d}
html[data-theme=dark] .text-link{border-color:#657cba}
html[data-theme=dark] .footer-nav a:hover,html[data-theme=dark] .footer-nav button:hover{color:#fff}
html[data-theme=dark] .close{color:#c8d3eb}
html[data-theme=dark] #contact-status{background:#243858;color:#d9e4ff}
@media(prefers-color-scheme:dark){html:not([data-theme]){color-scheme:dark;background:#0b1220}}

/* Long legal notices remain readable and closable on small screens. */
dialog{max-height:85dvh;overflow-y:auto}dialog h3{font-size:16px;margin-top:24px}dialog p{line-height:1.75}dialog p a{text-decoration:underline;text-underline-offset:3px}dialog .dialog-head{position:sticky;top:-30px;background:var(--paper);padding:12px 0;z-index:1}dialog .legal-address{font-size:13px}
