/* One quiet, shared galaxy behind each page. No canvas or extra rendering loop. */
html body{isolation:isolate}
.site-galaxy{position:fixed;inset:-30vmax;z-index:-1;pointer-events:none;background:url('/galaxy-background-v1.svg') center/contain no-repeat;opacity:.2;transform:rotate(-14deg);animation:site-galaxy-drift 360s linear infinite;contain:strict}
@keyframes site-galaxy-drift{from{transform:rotate(-14deg)}to{transform:rotate(346deg)}}
html[data-theme=light] .site-galaxy{opacity:.12}
html[data-theme] body.home-page :is(.one-view,.focus-feature,.beyond,.plans,.coda-end,.shop,.partners,.labs-apps){background-image:none!important;background-color:transparent}
html body .galaxy-backdrop{display:none!important}
body::before{background-image:none!important}
.site-motion-settings{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px 16px;padding:20px max(20px,env(safe-area-inset-left)) max(20px,env(safe-area-inset-bottom));font:500 13px/1.5 system-ui,sans-serif;color:inherit;position:relative;z-index:1}
.site-motion-control{display:inline-flex;align-items:center;gap:10px;min-height:44px;cursor:pointer}.site-motion-control input{appearance:none;position:relative;flex:none;width:40px;height:24px;border-radius:99px;border:1px solid #829eaa;background:#29475a;margin:0;cursor:pointer}.site-motion-control input::before{content:'';position:absolute;left:3px;top:3px;width:16px;height:16px;border-radius:50%;background:#fff}.site-motion-control input:checked{background:#267b65;border-color:#74cbb0}.site-motion-control input:checked::before{left:19px}.site-motion-control input:disabled{cursor:default;opacity:1}.site-motion-control input:focus-visible{outline:3px solid #50a78d;outline-offset:4px}.site-motion-settings small{font-size:12px;line-height:1.5;max-width:28ch}
/* Stop CSS movement, including transitions and smooth scroll, on every page. */
html.rm,html.rm body,html.rm body *,html.rm body *::before,html.rm body *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
html.rm body :is(.reveal,.stage){opacity:1!important;transform:none!important}
@media(prefers-reduced-motion:reduce){html,html body,html body *,html body *::before,html body *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* Legacy countdown sky layers yield to the same single galaxy. */
body:has(.site-galaxy)>.atmosphere,body:has(.site-galaxy)>.sky{display:none}
