:root { --nx-bg:#fff; --nx-panel:#f7f7f8; --nx-ink:#171717; --nx-muted:#62626b; --nx-line:#ddd; }
html[data-nx-theme='dark'] { color-scheme:dark; --nx-bg:#0a0a0a; --nx-panel:#171719; --nx-ink:#f5f5f5; --nx-muted:#aaaab4; --nx-line:#343438; }
html[data-nx-theme='light'] { color-scheme:light; }
html[data-nx-theme] body { background:var(--nx-bg); }
html[data-nx-theme='dark'] .nx-light-surface { background-color:#151517 !important; }
html[data-nx-theme='dark'] .nx-dark-ink { color:#e6e6eb !important; }
html[data-nx-theme='dark'] main { background:#0e0e10; color:#eee; }
html[data-nx-theme='light'] .nav-25_outer-wrap,
html[data-nx-theme='light'] .nav-25_component { background:#fff !important; border-color:#e6e6e6 !important; }
html[data-nx-theme='light'] .nav-25_component .nav-25_dpdown-toggle,
html[data-nx-theme='light'] .nav-25_component > .page-padding .is-text-signinblack { color:#555 !important; }
html[data-nx-theme='light'] .nav-25_component .mobile-nav_icon_line-top,
html[data-nx-theme='light'] .nav-25_component .mobile-nav_icon_line-middle,
html[data-nx-theme='light'] .nav-25_component .mobile-nav_icon_line-bottom { background:#222; }
.nx-search-open,.nx-theme-toggle { display:flex; align-items:center; justify-content:center; flex-shrink:0; height:40px; border:1px solid var(--nx-line); border-radius:9px; background:var(--nx-panel); color:var(--nx-muted); cursor:pointer; font:14px 'Nexoria Inter',sans-serif; }
.nx-search-open { gap:10px; padding:0 14px; }
.nx-theme-toggle { width:40px; padding:9px; }
.nx-search-open svg,.nx-theme-toggle svg { width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:1.6; }
.nx-search-open:hover,.nx-theme-toggle:hover { color:var(--nx-ink); }
.nx-search-open:focus-visible,.nx-theme-toggle:focus-visible { outline:2px solid #2563eb; outline-offset:3px; }
.nx-search-dialog { width:min(640px,calc(100vw - 32px)); max-height:80vh; margin:10vh auto; padding:26px; background:var(--nx-bg); color:var(--nx-ink); border:1px solid var(--nx-line); border-radius:16px; box-shadow:0 24px 90px #0005; font:15px/1.5 'Nexoria Inter',sans-serif; }
.nx-search-dialog::backdrop { background:#0008; backdrop-filter:blur(5px); }
.nx-search-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.nx-search-heading h2 { font:600 22px/1.3 'Nexoria Inter',sans-serif; margin:0 0 16px; }
.nx-search-close { border:0; background:transparent; color:inherit; font-size:28px; cursor:pointer; padding:0 8px; }
.nx-search-dialog label { display:block; font-size:13px; margin-bottom:7px; }
#nx-search-input { width:100%; border:1px solid var(--nx-line); border-radius:8px; background:var(--nx-panel); color:var(--nx-ink); padding:12px; font:inherit; }
#nx-search-input:focus { outline:2px solid #2563eb; }
.nx-search-status,.nx-search-note { color:var(--nx-muted); font-size:13px; margin:16px 0 8px; }
.nx-search-results a { display:block; padding:14px 0; color:var(--nx-ink); text-decoration:none; border-bottom:1px solid var(--nx-line); }
.nx-search-results a:hover strong { color:#3b82f6; }
.nx-search-results strong,.nx-search-results span { display:block; }
.nx-search-results span { color:var(--nx-muted); font-size:13px; margin-top:4px; }
@media(max-width:1100px) { .nx-search-open { padding:9px; width:40px; } .nx-search-open span { display:none; } .nav-25_component .navbar-buttons { gap:10px; } }
@media(max-width:479px) { .nav-25_component > .page-padding { padding-inline:12px; } .nav-25_component > .page-padding .brand_link_logo { width:95px; } .nav-25_component .nav-25_right-wrap { gap:10px; } .nav-25_component .navbar-buttons { gap:6px; } .nx-search-open,.nx-theme-toggle { width:32px; height:36px; padding:6px; } }
html[data-nx-theme='dark'] .home_why_tokens { background:#202024 !important; background-image:none !important; }
html[data-nx-theme='dark'] .home_why_tokens_text-wrap { position:relative; z-index:1; background:#202024; border-radius:8px; }
.nx-search-dialog label { color:var(--nx-muted) !important; opacity:1 !important; }

/* Explicit dark surfaces also cover elements created by scroll animations. */
html[data-nx-theme='dark'] :is(#solution,#security) .motion-word{color:#dfe3ec!important}
html[data-nx-theme='dark'] :is(#solution,#security) .homeexp_icon-middle svg [fill]:not([fill='none']){fill:#b8ccff!important}
html[data-nx-theme='dark'] :is(#solution,#security) .homeexp_bfe_gradient-card{background:#1b202b!important;border:1px solid #394356}
html[data-nx-theme='dark'] :is(#solution,#security) .homeexp_bfe_gradient-card-itemwrap{border-color:#394356!important}
html[data-nx-theme='dark'] :is(#solution,#security) .homeexp_bfe-card-heading.is-muted{color:#bac1cf!important}
html[data-nx-theme='dark'] #security .button-24{background:#e6edff!important;color:#111b30!important;border:1px solid #b8ccff}
html[data-nx-theme='dark'] :is(.is-bordered-inline,.homeexp_bfe-divider,.homeexp_bfe-leftcontainer-line){border-color:#343944!important}
html[data-nx-theme='dark'] .nx-next-section .nx-next-card{background:#171b23!important;color:#f0f2f7!important}
html[data-nx-theme='dark'] .nx-next-section .nx-next-card h3{color:#f0f2f7!important}
html[data-nx-theme='dark'] .nx-next-section :is(.nx-next-label,.nx-next-description){color:#b8bfcd!important}
html[data-nx-theme='dark'] .nx-next-section .nx-next-art{mix-blend-mode:normal;mask-image:linear-gradient(#000 70%,transparent)}
html[data-nx-theme='dark'] .nx-next-section .nx-next-link{color:color-mix(in srgb,var(--accent) 70%,white)!important}
html[data-nx-theme='dark'] .nx-menu-columns h3{color:#e6eaf2!important}
html[data-nx-theme='dark'] .nx-menu-columns section>a{color:#d3dae8!important}
html[data-nx-theme='dark'] .nx-menu-columns :is(small,.nx-menu-number){color:#a1afc5!important}
html[data-nx-theme='dark'] .nx-menu-columns section>a:is(:hover,:focus-visible){background:#263751!important;color:#c6dcff!important}
html[data-nx-theme='dark'] .nx-menu-bottom{border-color:#354054;color:#a1afc5}
html[data-nx-theme='dark'] .nx-menu-bottom a{color:#a9caff}
html[data-nx-theme='dark'] .nx-search-dialog a:focus-visible{outline:2px solid #99bdff;outline-offset:3px}
html[data-nx-theme='dark'] .section_homeexp_cta .button-24{background:#e6edff!important;color:#111b30!important;border:1px solid #b8ccff}

html[data-nx-theme='dark'] .nav_customers_dpdown_outer-wrap,html[data-nx-theme='dark'] .nav_customers_dpdown_wrap{background:#161b24!important;border-color:#354054!important}
html[data-nx-theme='dark'] .nav_customers_dpdown_outer-wrap :is(div,span,a){color:#d3dae8!important}
