/* Shared geometry lives in site-module.css and the original website CSS.
   Theme selectors below change paint only. */
:root{--surface-raised:#111529;--surface-subtle:rgba(255,255,255,.04);--surface-hover:rgba(167,139,250,.08);--nav-surface:rgba(8,12,26,.88);--accent-tint:rgba(124,77,255,.1);--photo-panel:#11182c;--photo-edge:#7c4dff;--shadow-soft:0 18px 45px #0003;color-scheme:dark}
:root[data-theme=light]{--navy:#fff;--deep:#f0f4fa;--purple:#245bff;--violet:#194ad8;--accent:#245bff;--glow:#245bff;--cyan:#327390;--white:#14263d;--muted:#63758a;--card:#fff;--border:#dce4ee;--surface-raised:#fff;--surface-subtle:#f3f6fb;--surface-hover:#edf3ff;--nav-surface:rgba(255,255,255,.95);--accent-tint:#edf3ff;--photo-panel:#fff;--photo-edge:#245bff;--shadow-soft:0 16px 42px #28436010;color-scheme:light}
body,nav,.service-card,.ai-showcase,.about-stat,.contact-box,.hero-card-stack,.lang-dropdown,.atlas-shell,.theme-toggle{transition:background-color 200ms ease,color 200ms ease,border-color 200ms ease,box-shadow 200ms ease}
nav{background:var(--nav-surface)}
.theme-toggle{width:38px;height:38px;display:inline-flex;align-items:center;justify-content:center;flex:none;padding:0;border:1px solid var(--border);border-radius:8px;background:var(--surface-subtle);color:var(--white);cursor:pointer}
.theme-toggle:hover{background:var(--surface-hover);border-color:var(--glow)}
.theme-toggle:focus-visible{outline:2px solid var(--glow);outline-offset:4px}
.theme-toggle svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.theme-toggle .moon-icon{display:none}
[data-theme=light] .theme-toggle .sun-icon{display:none}
[data-theme=light] .theme-toggle .moon-icon{display:block}
.lang-dropdown{background:var(--surface-raised)}
[data-theme=light] body:before{background:radial-gradient(ellipse at 30% 0%,#eef3ff,transparent 60%);opacity:.55}
[data-theme=light] .orb{opacity:.12}
[data-theme=light] #hero{background:#f3f6fa}
[data-theme=light] .logo-mark{box-shadow:0 4px 14px #245bff18}
[data-theme=light] .hero-badge{background:var(--accent-tint);border-color:#cbdcf7}
[data-theme=light] .lang-btn,[data-theme=light] .feature-icon,[data-theme=light] .metric-box{background:var(--surface-subtle)}
[data-theme=light] .lang-btn:hover,[data-theme=light] .lang-opt:hover,[data-theme=light] .btn-outline:hover,[data-theme=light] .tab-btn:hover:not(.active){background:var(--surface-hover)}
[data-theme=light] .lang-dropdown{box-shadow:var(--shadow-soft)}
[data-theme=light] .btn-primary{box-shadow:0 4px 20px #245bff20}
[data-theme=light] .btn-primary:hover{box-shadow:0 8px 30px #245bff28}
[data-theme=light] #trust{background:var(--accent);border-color:var(--accent)}
[data-theme=light] .trust-label{color:#d6e2ff}
[data-theme=light] .trust-pill{background:transparent;border-color:transparent;color:#fff}
[data-theme=light] .card-icon,[data-theme=light] .tag,[data-theme=light] .bg-pill,[data-theme=light] .hero-chip,[data-theme=light] .cat-chip{background:var(--accent-tint);border-color:#c7d6ed;color:#40658f}
[data-theme=light] .service-card,[data-theme=light] .ai-showcase,[data-theme=light] .about-stat{box-shadow:var(--shadow-soft)}
[data-theme=light] .service-card:hover{border-color:#a9c3e7;box-shadow:0 12px 40px #245bff14}
[data-theme=light] #ai-features{background:#f2f5fa}
[data-theme=light] .showcase-content>div:nth-child(2){background:#edf3fa!important;color:#315d96!important}
[data-theme=light] #about{background:#edf2f8}
[data-theme=light] #agent-atlas{background:#f2f5fa}
[data-theme=light] .atlas-shell{background:#fff;border-color:#cbd9eb;box-shadow:0 20px 65px #2843600a}
[data-theme=light] #atlas-frame{background:#fff;color-scheme:light}
[data-theme=light] .atlas-open{border-color:#c7d6ed}
[data-theme=light] .atlas-open:hover{background:#e9f0ff;border-color:var(--accent)}
[data-theme=light] #contact{background:#14263d;--white:#fff;--muted:#aebfd4;--glow:#a3bfff;--border:#34506c}
[data-theme=light] .contact-box{background:transparent}
[data-theme=light] .contact-box:before{background:radial-gradient(ellipse at 50% 0%,#245bff10,transparent 70%)}
[data-theme=light] .contact-item .c-icon{background:#25415f}
[data-theme=light] footer{background:#0f2035;--muted:#9baec6;--white:#fff;border-color:#304259}
/* AI applications page uses the same color tokens and keeps its original grids. */
[data-theme=light] .toc-card,[data-theme=light] .product-card,[data-theme=light] .cat-card,[data-theme=light] .flow-box,[data-theme=light] .demo-panel,[data-theme=light] .scene-card{background:#fff;border-color:var(--border);box-shadow:var(--shadow-soft)}
[data-theme=light] .nav-links.is-open{background:#fff;box-shadow:var(--shadow-soft)}
@media(max-width:600px){.theme-toggle{width:32px;height:32px}.nav-right{gap:.3rem}.nav-right .lang-btn{padding:.45rem .4rem}.nav-right .nav-cta{padding:.5rem .5rem}nav{gap:.35rem}}
@media(prefers-reduced-motion:reduce){body,nav,.service-card,.ai-showcase,.about-stat,.contact-box,.hero-card-stack,.lang-dropdown,.atlas-shell,.theme-toggle{transition:none}}
