/* Shared shell theme: scoped to the existing html[data-theme] toggle. */
html[data-theme="dark"] {
 --site-header-bg:#101a33;--site-footer-bg:#101a33;--site-shell-surface:#15213b;
 --site-shell-elevated:#1b2a48;--site-shell-text:#f5f8ff;
 --site-shell-muted:#b6c5df;--site-shell-border:#30415e;
 color-scheme:dark;
}
html[data-theme="dark"] .site-header,
html[data-theme="dark"] .site-header .nav-wrap {background:#101a33!important;color:#f5f8ff!important;border-color:#30415e!important}
html[data-theme="dark"] .site-header .brand-name,
html[data-theme="dark"] .site-header .main-nav>a,
html[data-theme="dark"] .site-header .mega-toggle,
html[data-theme="dark"] .site-header .nav-toggle {color:#f5f8ff!important}
html[data-theme="dark"] .site-header .gtl-brand-blue{color:#80adff!important}
html[data-theme="dark"] .site-header .main-nav>a:hover,
html[data-theme="dark"] .site-header .mega-toggle:hover,
html[data-theme="dark"] .site-header .main-nav>a:focus-visible,
html[data-theme="dark"] .site-header .mega-toggle:focus-visible{background:#243654!important;color:#fff!important}
html[data-theme="dark"] .site-header .mega-menu,
html[data-theme="dark"] .site-header .language-menu,
html[data-theme="dark"] .site-header .enterprise-search-results,
html[data-theme="dark"] .site-header .main-nav.open {background:#15213b!important;border-color:#30415e!important;color:#f5f8ff!important}
html[data-theme="dark"] .site-header .mega-menu a,
html[data-theme="dark"] .site-header .mega-menu strong,
html[data-theme="dark"] .site-header .language-menu a,
html[data-theme="dark"] .site-header .enterprise-search-results a{color:#f5f8ff!important}
html[data-theme="dark"] .site-header .mega-menu small{color:#b6c5df!important}
html[data-theme="dark"] .site-header .mega-menu a:hover,
html[data-theme="dark"] .site-header .language-menu a:hover,
html[data-theme="dark"] .site-header .language-menu a.active{background:#243654!important;color:#fff!important}
html[data-theme="dark"] .site-header .icon-button,
html[data-theme="dark"] .site-header .language-button,
html[data-theme="dark"] .site-header .enterprise-search,
html[data-theme="dark"] .site-header .enterprise-search input{background:#1b2a48!important;color:#f5f8ff!important;border-color:#30415e!important}
html[data-theme="dark"] .site-header .language-icon,
html[data-theme="dark"] .site-header .language-chevron{color:#f5f8ff!important;stroke:currentColor!important}
html[data-theme="dark"] .site-header input::placeholder{color:#b6c5df!important;opacity:1}
html[data-theme="dark"] .site-header .gtl-get-started,
html[data-theme="dark"] .site-header .gtl-get-started:hover,
html[data-theme="dark"] .site-header .gtl-get-started:focus-visible{color:#fff!important;-webkit-text-fill-color:#fff!important}
html[data-theme="dark"] .site-header :is(a,button,input):focus-visible,
html[data-theme="dark"] .site-footer :is(a,button,input):focus-visible{outline:3px solid #80adff!important;outline-offset:2px}
html[data-theme="dark"] .site-footer{background:#101a33!important;color:#f5f8ff!important;border-color:#30415e!important}
html[data-theme="dark"] .site-footer .brand-name,
html[data-theme="dark"] .site-footer strong,
html[data-theme="dark"] .site-footer .footer-grid>div>strong,
html[data-theme="dark"] .site-footer .footer-newsletter strong{color:#f5f8ff!important}
html[data-theme="dark"] .site-footer p,
html[data-theme="dark"] .site-footer .footer-bottom,
html[data-theme="dark"] .site-footer .footer-payments,
html[data-theme="dark"] .site-footer .form-status{color:#b6c5df!important}
html[data-theme="dark"] .site-footer a,
html[data-theme="dark"] .site-footer .footer-install{color:#c8d7f4!important}
html[data-theme="dark"] .site-footer a:hover{color:#80adff!important}
html[data-theme="dark"] .site-footer .footer-newsletter,
html[data-theme="dark"] .site-footer .trust-card{background:#1b2a48!important;border:1px solid #30415e!important}
html[data-theme="dark"] .site-footer .trust-card strong{color:#f5f8ff!important}
html[data-theme="dark"] .site-footer .trust-card span{color:#b6c5df!important}
html[data-theme="dark"] .site-footer .newsletter-form input[type="email"]{background:#15213b!important;color:#f5f8ff!important;border:1px solid #526786!important}
html[data-theme="dark"] .site-footer .newsletter-form input[type="email"]::placeholder{color:#b6c5df!important;opacity:1}
html[data-theme="dark"] .site-footer .newsletter-form .button,
html[data-theme="dark"] .site-footer .newsletter-form .button:hover{color:#fff!important;-webkit-text-fill-color:#fff!important}
html[data-theme="dark"] .site-footer .footer-bottom{border-color:#30415e!important}
@media(max-width:900px){html[data-theme="dark"] .site-header .main-nav{background:#15213b!important;color:#f5f8ff!important;border-color:#30415e!important}}
@media(max-width:390px){html[data-theme="dark"] .site-footer .newsletter-form{min-width:0;max-width:100%}html[data-theme="dark"] .site-footer .newsletter-form input[type="email"]{min-width:0;max-width:100%}}

/* Root-cause repair: full-width parents and their own background painting.
   Footer's late inline CSS defines a background image, so background-color alone
   does not remove the light/different gradient. */
html[data-theme="dark"] {
 --gtl-shell-bg:#101a33; --gtl-shell-surface:#1b2a48;
 --gtl-shell-text:#f5f8ff; --gtl-shell-muted:#b6c5df;
 --gtl-shell-border:#30415e;
}
html[data-theme="dark"] body .site-header,
html[data-theme="dark"] body .site-header>.nav-wrap,
html[data-theme="dark"] body .site-header .main-nav {
 background-color:var(--gtl-shell-bg);background-image:none;
 border-color:var(--gtl-shell-border);
}
html[data-theme="dark"] body .site-header {box-shadow:none;}
html[data-theme="dark"] body .site-footer,
html[data-theme="dark"] body .site-footer>.container,
html[data-theme="dark"] body .site-footer .footer-grid {
 background-image:none;
 border-color:var(--gtl-shell-border);
}
html[data-theme="dark"] body .site-footer {background-color:var(--gtl-shell-bg);}
html[data-theme="dark"] body .site-footer>.container:not(.footer-newsletter):not(.qc-footer-trust) {background-color:transparent;}
html[data-theme="dark"] body .site-footer .footer-newsletter,
html[data-theme="dark"] body .site-footer .trust-card {background-color:var(--gtl-shell-surface);}
html[data-theme="dark"] body .site-footer .footer-brand .brand-name,
html[data-theme="dark"] body .site-header .brand-name {color:#fff;}
html[data-theme="dark"] body .site-header .gtl-brand-blue {color:#5b91ff;}
html[data-theme="dark"] body .site-footer :is(a,strong,.brand-name) {color:#f5f8ff;}
html[data-theme="dark"] body .site-footer :is(p,small,.footer-bottom,.trust-card span) {color:#b6c5df;}
html[data-theme="dark"] body .site-footer .newsletter-form input[type="email"] {background:#101a33;color:#fff;border-color:#465a7c;}
html[data-theme="dark"] body .site-footer .newsletter-form input[type="email"]::placeholder {color:#b6c5df;opacity:1;}
html[data-theme="dark"] body .site-footer .newsletter-form .button {color:#fff;-webkit-text-fill-color:#fff;}
html[data-theme="dark"] body .site-header .main-nav.open {background-color:#15213b;}
html[data-theme="dark"] body .site-header .mega-menu,
html[data-theme="dark"] body .site-header .language-menu {background-color:#15213b;}
html[data-theme="dark"] body .site-header .brand-name,
html[data-theme="dark"] body .site-footer .brand-name {text-shadow:none;}
html[data-theme="dark"] body .gtla-hero input[type="search"],
html[data-theme="dark"] body .gtla-hero input[type="text"] {color:#f5f8ff;}
html[data-theme="dark"] body .gtla-hero input::placeholder {color:#b6c5df;opacity:1;}
html[data-theme="dark"] body .gtla-hero .gtla-trust {background-color:#15213b;color:#f5f8ff;}
@media(max-width:900px){html[data-theme="dark"] body .site-header .main-nav{background-color:#15213b;}}

/* Dark shell repair: target the real shared header and footer descendants. */
html[data-theme="dark"] body .site-header .brand-name{color:#fff;-webkit-text-fill-color:#fff}
html[data-theme="dark"] body .site-header .brand-name .gtl-brand-blue{color:#70a2ff;-webkit-text-fill-color:#70a2ff}
html[data-theme="dark"] body .site-header,html[data-theme="dark"] body .site-header .nav-wrap{background:#101a33;background-image:none}
html[data-theme="dark"] body .site-header::after,html[data-theme="dark"] body .site-header .nav-wrap::after{background:#101a33}
html[data-theme="dark"] body .site-footer .brand-name{color:#fff;-webkit-text-fill-color:#fff}
html[data-theme="dark"] body .site-footer .footer-grid p{color:#c9d6ec}
html[data-theme="dark"] body .site-footer .footer-grid a,html[data-theme="dark"] body .site-footer .footer-seo-links a,html[data-theme="dark"] body .site-footer .footer-bottom a{color:#d1dcf0;-webkit-text-fill-color:#d1dcf0}
html[data-theme="dark"] body .site-footer .footer-grid a:hover,html[data-theme="dark"] body .site-footer .footer-seo-links a:hover{color:#80adff;-webkit-text-fill-color:#80adff}
html[data-theme="dark"] body .site-footer .footer-bottom,html[data-theme="dark"] body .site-footer .footer-bottom *,html[data-theme="dark"] body .site-footer .footer-seo-links{color:#b6c5df}
html[data-theme="dark"] body .site-footer :is(a,button,input):focus-visible{outline:3px solid #80adff;outline-offset:3px}

/* Full-bleed shell: the container only constrains content, never its paint. */
html[data-theme="dark"] body .site-header{width:100%;max-width:none;box-sizing:border-box;background-color:#101a33!important;background-image:none!important;border-color:#30415e}
html[data-theme="dark"] body .site-header>.nav-wrap{background-color:transparent!important;background-image:none!important}
html[data-theme="dark"] body .site-header::before,html[data-theme="dark"] body .site-header::after{background-color:#101a33}
