/* Shared semantic theme for all four supplied landing pages. */
body[data-landing]{--surface:#0b0f2a;--surface-soft:#121845;--panel:#182044;--ink:#f2f4fc;--secondary:#bdc6df;--accent-ink:#ff99aa;--on-brand:#10172e;--control:#263056;--control-border:#8d9abb;--night:var(--surface);--night-2:var(--surface-soft);--night-3:var(--panel);--text:var(--ink);--muted:var(--secondary);--teal:var(--accent-ink);--line:#485477;color:var(--ink);background:var(--surface);font-family:Inter,Arial,sans-serif;color-scheme:dark}
html[data-theme="light"] body[data-landing]{--surface:#fff;--surface-soft:#f1f4f9;--panel:#fff;--ink:#182136;--secondary:#475671;--accent-ink:#a81835;--on-brand:#10172e;--control:#f1f4f9;--control-border:#65758f;--coral:#a81835;--night:var(--surface);--night-2:var(--surface-soft);--night-3:var(--panel);--text:var(--ink);--muted:var(--secondary);--teal:var(--accent-ink);--line:#c5cddd;color-scheme:light}
body[data-landing] main>section{background-color:var(--surface)}
body[data-landing] :is(h1,h2,h3,.display){color:var(--ink)}
body[data-landing] :is(h1,h2,.display){font-family:Anton,Impact,sans-serif;font-weight:400;letter-spacing:.01em}
body[data-landing] :is(p.lead,.stat p,.char p,.char-out p,.result p,.pf-note,.pf-side>p,.pf-note,footer p,.f-bottom,details.qa .a){color:var(--secondary)}
body[data-landing] .glass{background:var(--panel);border-color:var(--line);box-shadow:0 14px 44px #00000015}
body[data-landing] :is(.stat .n,.qs li,.node .c,.node.act span,tbody th,td.us,td.us small,.vm p,.flow li,details.qa summary,details.qa .a b){color:var(--ink)}
body[data-landing] :is(.kicker,.stat small,.brief dt,.vm small,.pf-count,.char .sel){color:var(--accent-ink)}
body[data-landing] .grad{color:var(--accent-ink);background:none;-webkit-text-fill-color:currentColor;text-shadow:none;filter:none}
body[data-landing] .stroke{color:transparent;-webkit-text-stroke:2px var(--ink)}
body[data-landing] .huge p{color:var(--ink)}
/* Primary controls keep the brand background, with dark, accessible text. */
body[data-landing] .btn{color:var(--on-brand);background:#ff4f66;text-shadow:none;border:1px solid transparent}
body[data-landing] .btn:hover{color:var(--on-brand);background:#ff8797}
body[data-landing] .btn.ghost{color:var(--ink);background:var(--control);border:1px solid var(--control-border);box-shadow:none}
body[data-landing] .btn.ghost:hover{color:var(--ink);background:var(--panel);border-color:var(--ink)}
body[data-landing] .btn .key{color:var(--on-brand);background:#ffffff60}
body[data-landing] :is(.btn,.opt,.char,.pf-tabs button,.pf-points button,.pf-nav button,details.qa summary):focus-visible{outline:3px solid var(--ink);outline-offset:4px}
/* The sunset hero is an intentional dark illustration in both themes. */
body[data-landing] .hero{--surface:#0b0f2a;--surface-soft:#121845;--panel:#182044;--ink:#fff;--secondary:#e0e4f0;--accent-ink:#ff99aa;--control:#182044;--control-border:#aab6d2;--night:#0b0f2a;--night-2:#121845;--text:var(--ink);--muted:var(--secondary);--teal:var(--accent-ink);background-color:#0b0f2a;color:#fff}
body[data-landing] .hero :is(h1,h2,h3,.lead){color:#fff}
body[data-landing] .hero h1 .grad{color:#ff4f66;-webkit-text-fill-color:#ff4f66}
body[data-landing] .hero .stroke{color:transparent;-webkit-text-stroke-color:#fff}
body[data-landing] .mission{background:#182044;color:#fff;border-color:#8996b5}
body[data-landing] .mission b{color:#10172e;background:#ff4f66}
body[data-landing] .proof li{background:#182044;color:#fff}
body[data-landing] .proof b{color:#ff99aa}
body[data-landing] :is(.bubble,.q-say,.chest .prize){color:#10172e;background:#fff}
body[data-landing] .hero-viking .landing-ai-badge{color:#fff;background:#17202d}
/* Flip cards get a theme surface on the front and a stable brand back. */
body[data-landing] .face.front{background:var(--panel);border-color:var(--line);color:var(--ink)}
body[data-landing] .face.front :is(h3,.hint){color:var(--ink)}
body[data-landing] .face.front p{color:var(--secondary)}
body[data-landing] .face.front .warn{color:var(--accent-ink)}
body[data-landing] .face.back{background:#ff4f66;color:#10172e}
body[data-landing] .face.back :is(h3,.warn,.hint,p){color:#10172e!important;opacity:1}
body[data-landing] .face .no{pointer-events:none}
/* Product preview controls are themed; screenshots retain their original pixels. */
body[data-landing] .pf-tabs button{color:var(--ink);background:var(--control);border-color:var(--control-border)}
body[data-landing] .pf-tabs button:hover{color:var(--ink);background:var(--panel);border-color:var(--ink)}
body[data-landing] .pf-tabs button b{color:var(--ink);background:transparent}
body[data-landing] .pf-tabs button[aria-selected="true"]{color:#10172e;background:#ff4f66;border-color:#ff4f66}
body[data-landing] .pf-tabs button[aria-selected="true"] b{color:#10172e;background:#ffffff60}
body[data-landing] .pf-bar{background:#161d44;color:#e5eaf7}
body[data-landing] .pf-url{color:#d2daf0;background:#10162f}
body[data-landing] .pf-live{color:#ffb0bd;animation:none}
body[data-landing] .pf-zoom{color:#f2f4fc;background:#263056;border-color:#aab6d2}
body[data-landing] .pf-zoom:hover{color:#10172e;background:#ff8797}
body[data-landing] .pf-dot{color:#10172e;background:#ff4f66}
body[data-landing] .pf-dot.on{color:#a81835;background:#fff}
body[data-landing] .pf-tip{color:#182136;background:#fff}
body[data-landing] .pf-tip b{color:#a81835}
body[data-landing] .pf-points button{color:var(--ink);background:var(--control);border-color:var(--control-border)}
body[data-landing] .pf-points button:hover,body[data-landing] .pf-points button.on{color:var(--ink);background:var(--panel);border-color:var(--ink)}
body[data-landing] .pf-points button span,body[data-landing] .pf-points button.on span{color:#10172e;background:#ff4f66}
body[data-landing] .pf-nav button{color:var(--ink);background:var(--control);border-color:var(--control-border)}
body[data-landing] .pf-nav button:hover{color:#10172e;background:#ff8797}
/* The pink pricing card never inherits the page background as a button color. */
body[data-landing] .pass .r{background:#ff4f66;color:#10172e}
body[data-landing] .pass .r::before{opacity:.12}
body[data-landing] .pass .r :is(small,p,b,.price){color:#10172e;opacity:1}
body[data-landing] .pass .r a:not(.btn){color:#10172e;text-decoration:underline;text-underline-offset:4px}
body[data-landing] .pass .r .btn{background:#fff;color:#10172e;border:2px solid #10172e;box-shadow:none}
body[data-landing] .pass .r .btn:hover{background:#10172e;color:#fff;border-color:#10172e}
body[data-landing] .pass .r .btn:focus-visible{outline:3px solid #10172e;outline-offset:5px}
/* Tables, the three-question check, and expanded FAQ states. */
body[data-landing] th.us{color:#10172e;background:#ff4f66}
body[data-landing] .opt{color:var(--ink);background:var(--control);border-color:var(--control-border)}
body[data-landing] .opt:hover{color:var(--ink);background:var(--panel);border-color:var(--ink)}
body[data-landing] .opt kbd{color:var(--ink);background:var(--panel);border:1px solid var(--control-border)}
body[data-landing] .faq-cats button{color:var(--ink);background:var(--control);border-color:var(--control-border)}
body[data-landing] .faq-cats button.on,body[data-landing] .faq-cats button:hover{color:#10172e;background:#ff4f66;border-color:#ff4f66}
body[data-landing] details.qa summary{color:var(--ink)}
body[data-landing] details.qa summary h3{color:inherit}
body[data-landing] details.qa .a a{color:var(--accent-ink)!important;text-decoration:underline}
/* Mission scenery stays dark in both themes; all its controls have paired colors. */
body[data-landing] #quest{--surface:#0b0f2a;--surface-soft:#121845;--panel:#182044;--ink:#f2f4fc;--secondary:#cbd3e8;--accent-ink:#ffb0bd;--control:#263056;--control-border:#aab6d2;--night:#0b0f2a;--night-2:#121845;--text:var(--ink);--muted:var(--secondary);--teal:#ff4f66;color:#f2f4fc;background-color:#0b0f2a}
body[data-landing] #quest :is(h3,p){color:var(--ink)}
body[data-landing] #quest :is(.kicker,.lv){color:#ffb0bd}
body[data-landing] #quest :is(.q-panel,.q-start){background:#101632f5;color:#f2f4fc}
body[data-landing] #quest .q-panel p{color:#d2daf0}
body[data-landing] #quest .q-pills b{color:#f2f4fc;background:#263056}
body[data-landing] #quest .q-pills :is(b.done,b.act){color:#10172e;background:#ff8797}
body[data-landing] #quest .q-chips button{background:#263056;color:#f2f4fc;border-color:#aab6d2}
body[data-landing] #quest .q-chips button.on{color:#10172e;background:#ff8797}
body[data-landing] #quest .q-auto{color:#f2f4fc;background:#263056}
body[data-landing] #quest .q-auto.on{color:#10172e;background:#ff8797}
/* Notifications and the final CTA are dark islands, independent of Light/Dark. */
body[data-landing] .toast{--muted:#d2daf0;background:#161d44;color:#fff}
body[data-landing] .toast :is(b,p){color:#fff}
body[data-landing] .toast small{color:#ffb0bd}
body[data-landing] .final{--ink:#fff;--secondary:#e0e4f0;--accent-ink:#ffb0bd;--control:#182044;--panel:#121845;--control-border:#aab6d2;background:#121845;color:#fff}
body[data-landing] .final .sky{opacity:.16}
body[data-landing] .final :is(h2,h2 span,.lead){color:#fff!important}
body[data-landing] footer{background:var(--surface-soft);color:var(--ink)}
body[data-landing] footer :is(a,h4){color:var(--ink)}
body[data-landing] footer a:hover{color:var(--accent-ink);text-decoration:underline}
/* Shared navigation: no mixed foreground/background during a theme switch. */
#hdr.site-header,#hdr.site-header.scrolled{background:var(--nav-bg)!important;color:var(--nav-ink)!important;transition:none!important}
.site-header .site-locales a{opacity:1;color:var(--nav-ink)}
.site-header .site-locales a[aria-current="page"]{color:#a81835;text-decoration:underline;text-underline-offset:4px}
html[data-theme="dark"] .site-header .site-locales a[aria-current="page"]{color:#ff99aa}
.site-header :is(a,summary):hover{color:#a81835}
html[data-theme="dark"] .site-header :is(a,summary):hover{color:#ff99aa}
.site-header .site-start:hover{color:#10172e;background:#ff8797}
body[data-landing] #loader .logo-l{height:auto}
.landing-ai-badge{position:absolute;bottom:-24px;left:0;z-index:10;background:#17202d;color:#fff;border:1px solid #9aabc8;border-radius:6px;padding:5px 9px;font:600 13px/1.5 Manrope,sans-serif;white-space:nowrap}
.landing-ai-section{position:relative;margin:0 auto 20px;max-width:1240px;padding:0 24px;font-size:14px;color:var(--secondary)}
.landing-footer-links{display:flex;flex-wrap:wrap;gap:24px;padding:24px 0;border-top:1px solid var(--line);font-size:15px}
@media(max-width:560px){.landing-ai-badge{white-space:normal;max-width:100%;font-size:12px}.landing-footer-links{gap:14px}}
/* Text imported with inline white overrides must still follow its component. */
body[data-landing] strong{color:inherit!important}
body[data-landing] #warum p{color:var(--secondary)!important}
body[data-landing] .game .side{background:var(--panel);color:var(--ink)}
body[data-landing] .final .btn:not(.ghost){background:#ff4f66!important;color:#10172e}
body[data-landing] .final .btn:not(.ghost):hover{background:#ff8797!important;color:#10172e}
