/* Shared appearance. The toggle is available across public and private pages. */
html[data-theme="dark"]{color-scheme:dark;--bg:#060a16;--surface:#0c172b;--text:#eef4ff;--muted:#abbad2;--blue:#4c89ff;--cyan:#53d7f0;--line:#88a8d42d}
html[data-theme="light"]{color-scheme:light;--bg:#eef4fc;--surface:#fff;--text:#152743;--muted:#4c5f7b;--blue:#255ec8;--cyan:#00738e;--line:#183f6c30}
body{isolation:isolate;background:var(--bg)}
.site-sky{position:fixed;inset:0;z-index:-1;pointer-events:none;overflow:hidden;background:radial-gradient(ellipse at 10% 35%,#17358036,transparent 55%),radial-gradient(ellipse at 95% 80%,#45279730,transparent 60%)}
.site-sky:after{content:"";position:absolute;inset:0;background-image:radial-gradient(#9bb9e436 .7px,transparent .8px);background-size:31px 31px;mask-image:linear-gradient(transparent,#000 25%,#000 70%,transparent);opacity:.55}
.theme-toggle{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-width:44px;min-height:44px;padding:9px 12px;border:1px solid var(--line);border-radius:99px;color:var(--text);background:var(--surface);font:inherit;font-size:12px;cursor:pointer;white-space:nowrap;box-shadow:inset 0 1px 0 #fff1}
.theme-toggle:hover{border-color:var(--cyan)}.theme-toggle svg{width:18px;height:18px;flex:none}.theme-moon{display:none}html[data-theme="light"] .theme-sun{display:none}html[data-theme="light"] .theme-moon{display:block}
:where(button,input,select,textarea,a,summary):focus-visible{outline:3px solid var(--cyan);outline-offset:4px}
.site-header{background:#080f21cf;backdrop-filter:blur(18px)}.site-footer{background:linear-gradient(135deg,#122039c9,#080e1bee);backdrop-filter:blur(10px)}
html[data-theme="light"] .site-sky{background:radial-gradient(ellipse at 3% 20%,#95c9fc70,transparent 52%),radial-gradient(ellipse at 95% 65%,#d2bffa80,transparent 52%)}
html[data-theme="light"] .site-sky:after{background-image:radial-gradient(#3b639036 .7px,transparent .8px)}
html[data-theme="light"] .site-header{background:#ffffffde;box-shadow:0 4px 30px #446d9910}
html[data-theme="light"] .brand strong{color:#235cbf}html[data-theme="light"] .brand-dot{color:#00778b}
html[data-theme="light"] .section-nav a,html[data-theme="light"] .nav-link{color:#304b6c}html[data-theme="light"] .section-nav a:hover,html[data-theme="light"] .nav-link:hover{color:#154cb7}
html[data-theme="light"] .site-footer{background:linear-gradient(120deg,#f8fbffed,#e4edfbef)}
html[data-theme="light"] .footer-links,html[data-theme="light"] .footer-email,html[data-theme="light"] .back-top{color:#35567a}
html[data-theme="light"] .back-top svg{color:#35567a}
html[data-theme="light"] main{background:radial-gradient(ellipse at 70% 20%,#c3dbfa40,transparent 70%)}
@media(max-width:1220px){.theme-toggle [data-theme-label]{display:none}.theme-toggle{padding:10px}}
@media(max-width:600px){.header-nav{gap:7px}.theme-toggle{min-width:40px;min-height:44px;padding:8px}.header-inner .brand-symbol{display:none}.header-inner .brand{font-size:20px}.nav-cta{padding-inline:12px}}
@media(max-width:360px){.header-inner .brand{font-size:17px}.header-nav{gap:6px}.nav-cta{padding-inline:9px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
@media(forced-colors:active){.site-sky{display:none}.theme-toggle{border:1px solid ButtonText;color:ButtonText;background:ButtonFace}.theme-toggle svg{forced-color-adjust:auto}}

.nav-cta{background:linear-gradient(110deg,#2058c4,#125f90)}.nav-cta:hover{background:linear-gradient(110deg,#174da9,#0e547f);filter:none}
