/* Site-wide semantic theme. Loaded after page-specific styles. */
:root[data-theme="light"]{color-scheme:light;--page:#f7f5ef;--panel:#fffdf8;--alternate:#ecefe7;--ink:#18251d;--quiet:#4c5b50;--edge:#cdd4c9;--accent:#775519;--bg:var(--page);--bg-2:var(--alternate);--surface:var(--panel);--surface-2:var(--alternate);--text:var(--ink);--muted:var(--quiet);--muted-2:var(--quiet);--line:var(--edge)}
:root[data-theme="dark"]{color-scheme:dark;--page:#101713;--panel:#1a241d;--alternate:#152019;--ink:#f3f4ed;--quiet:#becabc;--edge:#3c4c40;--accent:#e7c884;--bg:var(--page);--bg-2:var(--alternate);--surface:var(--panel);--surface-2:var(--alternate);--text:var(--ink);--muted:var(--quiet);--muted-2:var(--quiet);--line:var(--edge)}
html[data-theme] body{--bg:var(--page);--text:var(--ink);--muted:var(--quiet);--muted-2:var(--quiet);--line:var(--edge);background:var(--page)!important;color:var(--ink)!important}
html[data-theme] :is(.product-intro,.app-cinematic,.offer-strip,.trust-band,.benefit-section,.chapter,.lead-section,.editorial-page,.ed-dark,.ed-contact,.ed-specs,.ed-location,.site-footer,.cookie-banner){background:var(--page)!important;color:var(--ink)!important;border-color:var(--edge)!important}
html[data-theme] :is(.offer-strip,.trust-band,.ed-contact,.connection-chapter,.site-footer){background:var(--alternate)!important}
html[data-theme] :is(.lead-form,.lead-orbit__card,.benefit-grid article,.trust-grid article,.offer-list li,.faq-list details,.card,.lead-card,.mobile-contact){background:var(--panel)!important;color:var(--ink)!important;border-color:var(--edge)!important}
html[data-theme] :is(.product-intro,.app-cinematic,.offer-strip,.trust-band,.benefit-section,.chapter,.lead-section,.editorial-page,.site-footer,.lead-orbit__card,.cookie-banner) :is(h1,h2,h3,h4,strong,b,dt,summary){color:var(--ink)!important}
html[data-theme] :is(.product-intro,.app-cinematic,.offer-strip,.trust-band,.benefit-section,.chapter,.lead-section,.editorial-page,.site-footer,.lead-orbit__card,.cookie-banner) :is(p,figcaption,dd,small,.kicker,.ed-kicker,.ed-number,.form-note){color:var(--quiet)!important}
html[data-theme] :is(.specification-rail span,.specification-rail strong,.connection-details span,.footer-bottom,.ed-task-list li>span,.ed-contact small,.lead-promise,.lead-section h2>span){color:var(--ink)!important}
html[data-theme] :is(.site-footer a,.text-link,.ed-link,.ed-crosslink a,.phone-link,.lead-orbit__link){color:var(--ink)!important;border-color:var(--edge)!important}
html[data-theme] :is(input,textarea,select){background:var(--panel)!important;color:var(--ink)!important;border:1px solid var(--edge)!important}
html[data-theme] input::placeholder{color:var(--quiet)!important;opacity:1}
html[data-theme] .btn-primary,html[data-theme] .btn-primary :is(span,strong){color:#1b211a!important}
html[data-theme] .btn-primary{background:linear-gradient(135deg,#f2d698,#dfb350)!important}
html[data-theme] .site-header{background:var(--panel)!important;border-color:var(--edge)!important;color:var(--ink)!important}
html[data-theme] .site-header :is(.nav-links a,.nav-tel,.header-mobile-brand,.burger){color:var(--ink)!important}
html[data-theme] .site-header :is(.nav-links,.nav-tel,.burger){background:var(--alternate)!important;border-color:var(--edge)!important}
html[data-theme] .site-header.mobile-open .nav-links a{color:var(--ink)!important}
html[data-theme] .site-header.mobile-open .nav-links{background:var(--panel)!important}
html[data-theme] .road-hero{background:var(--page)!important}
/* Keep the driving footage present in day mode: it is the hero's atmosphere, not a faint background texture. */
html[data-theme="light"] .road-film{filter:saturate(.82) contrast(1.08) brightness(.86)!important;opacity:.92!important}
html[data-theme="light"] .road-shade{background:linear-gradient(270deg,rgba(247,245,239,.82) 0%,rgba(247,245,239,.42) 49%,rgba(247,245,239,.12) 100%),linear-gradient(0deg,rgba(247,245,239,.70),transparent 57%)!important}
html[data-theme="light"] :is(.road-copy h1,.road-copy>p,.road-copy .kicker,.film-bottom){color:var(--ink)!important}
html[data-theme="light"] .film-bottom button{border-color:#5c6a5c!important;background:#ffffff88!important}
html[data-theme="dark"] :is(.road-copy h1,.road-copy>p,.road-copy .kicker,.film-bottom){color:var(--ink)!important}
html[data-theme] .visual-proof::after{background:linear-gradient(0deg,var(--page) 0%,transparent 100%)!important}
html[data-theme] .visual-proof-copy{background:linear-gradient(0deg,var(--page),transparent)!important;color:var(--ink)!important}
html[data-theme] .visual-proof-copy :is(h2,p,.kicker){color:var(--ink)!important;text-shadow:none!important}
html[data-theme] :is(.electronics-story,.electronics-story .assembly-sticky){background:var(--page)!important;color:var(--ink)!important}
html[data-theme] .electronics-story .assembly-heading h2{color:var(--ink)!important}
html[data-theme] .electronics-story .assembly-heading p{color:var(--quiet)!important}
html[data-theme] .electronics-story .assembly-foot{background:var(--panel)!important;color:var(--quiet)!important;border-color:var(--edge)!important}
html[data-theme] .electronics-labels{color:var(--quiet)!important}
html[data-theme="light"] .exploded-window{border-radius:24px;background:#06130f;mask-image:none;margin-inline:20px}
html[data-theme="dark"] .product-portrait img{mix-blend-mode:normal!important;border-radius:24px}
html[data-theme] :is(.reservist-original,.nav-reservist){background:transparent!important;box-shadow:none!important;border-radius:0!important}
html[data-theme="light"] :is(.reservist-original,.nav-reservist){filter:none!important;mix-blend-mode:multiply}
html[data-theme="dark"] :is(.reservist-original,.nav-reservist){filter:invert(1) hue-rotate(180deg)!important;mix-blend-mode:screen}
html[data-theme] .ed-button{background:var(--ink)!important;color:var(--page)!important;border-radius:16px}
html[data-theme] .editorial-home .burger::before{color:var(--ink)!important}
html[data-theme] .nav-tel,html[data-theme] .header-mobile-brand{text-shadow:none!important}
html[data-theme] :is(.reservist-original,.nav-reservist){mix-blend-mode:normal!important;background:none!important}
html[data-theme="dark"] :is(.reservist-original,.nav-reservist){filter:brightness(1.9) saturate(.6)!important}
html[data-theme="light"] :is(.reservist-original,.nav-reservist){filter:none!important}

/* Shared navigation and softer secondary-page surfaces. */
html[data-theme] .unified-header{position:relative!important;z-index:100;background:var(--panel)!important;border-bottom:1px solid var(--edge);padding:8px 0}
html[data-theme] .unified-header .nav{display:flex!important;align-items:center;gap:18px;min-height:64px;padding:0 20px;position:relative}
.unified-header .brand{display:block!important;margin:0!important}.unified-header .brand-logo{width:78px!important;height:52px!important;object-fit:contain}
.unified-header .nav-links{display:flex!important;gap:24px;margin-inline:auto!important;list-style:none}
html[data-theme] .unified-header .nav-links a{color:var(--ink)!important;text-decoration:none}
.unified-header .unified-order{display:flex;align-items:center;justify-content:center;border-radius:999px;background:#e7c36c;color:#17251c!important;padding:12px 20px;font-size:14px;font-weight:700;white-space:nowrap}
html[data-theme] .unified-header .theme-toggle,html[data-theme] .unified-header .burger{position:static!important;display:flex!important;align-items:center;justify-content:center;flex:none;width:44px!important;height:44px!important;min-width:44px!important;padding:0!important;border:1px solid var(--edge)!important;background:var(--alternate)!important;color:var(--ink)!important;border-radius:50%!important}
.unified-header .theme-label{display:none!important}.unified-header .burger{display:none!important}
.ed-seo-pills span{border-radius:999px!important;background:var(--panel)!important;border-color:var(--edge)!important;color:var(--ink)!important}
.ed-product img,.ed-app-intro figure img,.ed-app-frame img{border-radius:22px}
@media(min-width:981px){html[data-theme] .unified-header .burger{display:none!important}}
@media(max-width:980px){
.unified-header .nav{gap:10px!important}.unified-header .brand{margin-inline-end:auto!important}.unified-header .brand-logo{width:66px!important}.unified-header .unified-order{padding:11px 14px;font-size:13px}
html[data-theme] .unified-header .nav-links{display:none!important}
html[data-theme] .unified-header.mobile-open .nav-links{display:grid!important;position:absolute!important;top:calc(100% + 10px)!important;inset-inline:12px!important;margin:0!important;padding:12px!important;gap:4px!important;background:var(--panel)!important;border:1px solid var(--edge);border-radius:20px;z-index:110}
.unified-header.mobile-open .nav-links a{display:block;padding:14px;text-align:center;border-radius:12px}.unified-header.mobile-open .nav-links a[aria-current]{background:var(--alternate)}
.ed-intro,.ed-app-intro{padding-top:42px!important;padding-bottom:36px!important}.ed-chapter,.ed-specs,.ed-app-seo{padding-block:40px!important}.ed-app-intro figure{max-width:340px!important;margin-inline:auto!important}.ed-app-intro figure img{max-height:480px!important;object-fit:contain!important}.ed-task{padding-block:40px!important}.ed-task figure img{max-height:460px!important;object-fit:contain!important}
}

html[data-theme="dark"] body .unified-header{background:#1a241d!important}
html[data-theme="light"] body .unified-header{background:#fffdf8!important}
html[data-theme="dark"] body .unified-header :is(.nav-links a,.theme-toggle,.theme-toggle span,.burger){color:#f3f4ed!important;opacity:1!important}
html[data-theme="light"] body .unified-header :is(.nav-links a,.theme-toggle,.theme-toggle span,.burger){color:#18251d!important;opacity:1!important}
html[data-theme="dark"] body .unified-header :is(.theme-toggle,.burger){background:#26372b!important}
html[data-theme="light"] body .unified-header :is(.theme-toggle,.burger){background:#ecefe7!important}
html[data-theme] body .unified-header .nav-links a{visibility:visible!important;opacity:1!important}
html[data-theme] body .unified-header .theme-toggle span:not(.theme-label){font-size:20px!important;display:inline!important}
