/* Theme controls only; the existing light palette and shared layout stay intact. */
:root{color-scheme:light}
html{background:var(--bg)}
.hub-theme-toggle{width:40px;height:40px;flex:0 0 40px;display:inline-grid;place-items:center;padding:8px;border:1px solid var(--line);border-radius:50%;background:var(--surface);color:var(--text);cursor:pointer}
.hub-theme-toggle svg{width:22px;height:22px}
.hub-theme-toggle:focus-visible{outline:3px solid var(--blue);outline-offset:3px}
.hub-theme-toggle .theme-icon-sun{display:none}
.nav:has(.hub-theme-toggle){column-gap:16px}
html[data-theme="dark"]{color-scheme:dark;--bg:#0d1424;--surface:#152137;--surface-2:#1c2b43;--text:#edf3ff;--muted:#b1c0d9;--line:#354761;--blue:#8cb6ff;--blue-2:#7eacff;--pink:#ff84b2;--shadow:0 24px 70px rgba(0,0,0,.3);--shadow-sm:0 10px 28px rgba(0,0,0,.2)}
html[data-theme="dark"] .hub-theme-toggle .theme-icon-sun{display:block}
html[data-theme="dark"] .hub-theme-toggle .theme-icon-moon{display:none}
html[data-theme="dark"] .site-header{background:rgba(13,20,36,.94);border-color:var(--line)}
html[data-theme="dark"] body>header,html[data-theme="dark"] .section.white,html[data-theme="dark"] .mission,html[data-theme="dark"] .site-footer{background-color:var(--bg);border-color:var(--line)}
html[data-theme="dark"] .nav-links,html[data-theme="dark"] .footer-links,html[data-theme="dark"] .copyright{color:var(--muted)}
html[data-theme="dark"] .kicker{background:#1b3154;color:#a9c9ff}
html[data-theme="dark"] .nav-cta{background:linear-gradient(135deg,#2259c5,#304f9b);color:#fff}
html[data-theme="dark"] .btn-primary{background:#2a5ed0;color:#fff}
html[data-theme="dark"] .btn-secondary,html[data-theme="dark"] .mobile-panel,html[data-theme="dark"] .article .info-card{background:var(--surface);border-color:var(--line);color:var(--text)}
html[data-theme="dark"] .mobile-panel a:hover{background:var(--surface-2)}
html[data-theme="dark"] .hub-lang-control select,html[data-theme="dark"] input,html[data-theme="dark"] textarea,html[data-theme="dark"] select{background:var(--surface);color:var(--text);border-color:var(--line)}
html[data-theme="dark"] .service-card{background:linear-gradient(145deg,#192840,#152137);border-color:var(--line)}
html[data-theme="dark"] .service-card.device{background:linear-gradient(145deg,#182b49,#14223b)}
html[data-theme="dark"] .service-card.hugfolio{background:linear-gradient(145deg,#3a2037,#291b2e)}
html[data-theme="dark"] .service-card.privacy{background:linear-gradient(145deg,#18372f,#142b2a)}
html[data-theme="dark"] .service-card.pdf-tools{background:linear-gradient(145deg,#2e2548,#202139);border-color:#625480}
html[data-theme="dark"] .card-arrow,html[data-theme="dark"] .tag{background:#24334b;color:#d7e5ff;border-color:var(--line)}
html[data-theme="dark"] .card-link,html[data-theme="dark"] .article a:not(.btn){color:#a9c9ff}
html[data-theme="dark"] .card-link.muted{color:#b4f0d1;background:#163e35;border-color:#386a58}
html[data-theme="dark"] .trust-strip{background:var(--surface);border-color:var(--line)}
html[data-theme="dark"] .trust-stat svg{color:#a4bfeb}
html[data-theme="dark"] .mission-card{background:linear-gradient(125deg,#19263d,#203653);border-color:var(--line)}
html[data-theme="dark"] .mission-visual{background:linear-gradient(180deg,#162746 0%,#6e425e 47%,#354968 48%,#1b2c48 100%)}
html[data-theme="dark"] .mission-hand{color:#fff0f6}
html[data-theme="dark"] .article p,html[data-theme="dark"] .article li{color:var(--muted)}
@media(max-width:640px){.nav:has(.hub-theme-toggle){column-gap:8px}.hub-theme-toggle{width:40px;height:40px}.hub-lang-control select{max-width:120px}}
