/* 3D logo and atmospheric lighting adapted from SYLLEGO website/study. */
.signin-page .sg-system { height:320px; overflow:hidden; pointer-events:none; }
.signin-page .sg-cube.sy { --sy-page:var(--sg-bg); --sy-face:#eef2f8; --sy-recess:#b8c3d3; width:320px; height:320px; top:0; mask:none; background:transparent; }
.signin-page .sg-webgl { position:absolute; inset:0; width:100%; height:100%; display:none; }
.signin-page .sg-logo-fallback { position:absolute; width:190px; height:220px; left:50%; top:50%; transform:translate(-50%,-50%); }
.signin-page .sg-logo-fallback svg { display:block; width:100%; height:100%; }
.signin-page .sg-webgl-ready .sg-webgl { display:block; }
.signin-page .sg-webgl-ready .sg-logo-fallback { display:none; }
.signin-page .sy-core { fill:var(--sy-page); }
.signin-page .sy-face { fill:var(--sy-face); }
.signin-page .sy-rec { fill:var(--sy-recess); }
.signin-page .sg-node { z-index:1; }
.signin-page .sg-system-label { bottom:9px; }
/* Same blue/amber atmospheric family as syllego-website/global.css. */
.signin-page::before { position:fixed; inset:-40px; background:radial-gradient(ellipse at 15% 28%,#4cc9ff20,transparent 47%),radial-gradient(ellipse at 87% 65%,#f5b3470e,transparent 50%),radial-gradient(ellipse at 50% 100%,#4cc9ff12,transparent 60%); animation:sg-atmosphere 16s ease-in-out infinite; will-change:transform,opacity; }
.signin-page::after { content:""; position:fixed; inset:-80px; z-index:-1; pointer-events:none; background-image:linear-gradient(#7dd9ff08 1px,transparent 1px),linear-gradient(90deg,#7dd9ff08 1px,transparent 1px); background-size:56px 56px; mask-image:radial-gradient(ellipse at 45% 45%,#000 20%,transparent 75%); animation:sg-grid-flow 80s linear infinite; }
@keyframes sg-atmosphere { 0%,100% { opacity:.65; transform:translate3d(0,0,0) scale(1); } 50% { opacity:1; transform:translate3d(-1%,1%,0) scale(1.045); } }
@keyframes sg-grid-flow { from { transform:translate3d(0,0,0); } to { transform:translate3d(56px,56px,0); } }
/* Corner brackets and illuminated edges follow the corporate website cards. */
.signin-page .sg-access { position:relative; transition:border-color .4s,box-shadow .4s; }
.signin-page .sg-access::before { content:""; position:absolute; inset:-1px; border:1px solid #7dd9ffb3; box-shadow:0 0 28px #4cc9ff26,inset 0 0 24px #4cc9ff08; pointer-events:none; border-radius:inherit; animation:sg-border-breathe 6.8s ease-in-out infinite; }
.signin-page .sg-access::after { content:""; position:absolute; width:24px; height:24px; bottom:-1px; right:-1px; border:solid #7dd9ff; border-width:0 1px 1px 0; pointer-events:none; animation:sg-border-breathe 6.8s ease-in-out -3.4s infinite; }
@keyframes sg-border-breathe { 0%,100% { opacity:.15; } 50% { opacity:.85; } }
.signin-page .sg-access:hover,.signin-page .sg-access:focus-within { border-color:var(--sg-accent); box-shadow:0 0 28px #4cc9ff16; }
.signin-page :is(.sg-header,.sg-capabilities,.sg-footer) { position:relative; }
.signin-page :is(.sg-header,.sg-capabilities,.sg-footer)::after { content:""; position:absolute; left:0; width:32%; height:1px; pointer-events:none; background:linear-gradient(90deg,transparent,#7dd9ff99,transparent); animation:sg-edge-light 13s ease-in-out infinite alternate; }
.signin-page .sg-header::after { bottom:0; }
.signin-page .sg-capabilities::after { top:0; animation-delay:-4s; }
.signin-page .sg-footer::after { top:0; animation-delay:-8s; }
@keyframes sg-edge-light { from { opacity:.25; transform:translateX(0); } to { opacity:.85; transform:translateX(200%); } }
.signin-page h1 em { animation:sg-title-light 8s ease-in-out infinite; }
@keyframes sg-title-light { 0%,100% { text-shadow:0 0 12px #4cc9ff08; } 50% { text-shadow:0 0 25px #4cc9ff2e; } }
.signin-page .sg-orbit::after { content:""; position:absolute; width:4px; height:4px; background:var(--sg-accent); border-radius:50%; box-shadow:0 0 12px #7dd9ff88; offset-path:ellipse(120px 73px at 120px 73px); animation:sg-orbit-trace 12s linear infinite; opacity:.65; }
@keyframes sg-orbit-trace { from { offset-distance:0%; } to { offset-distance:100%; } }
.signin-page .sg-story > :is(.sg-eyebrow,h1,.sg-lede) { animation:sg-arrive 720ms ease-out both; }
@keyframes sg-arrive { from { opacity:.7; transform:translateY(7px); } to { opacity:1; transform:translateY(0); } }
.signin-page.sg-motion-hidden *, .signin-page.sg-motion-hidden *::before,.signin-page.sg-motion-hidden *::after,.signin-page.sg-motion-hidden::before,.signin-page.sg-motion-hidden::after { animation-play-state:paused !important; }
@media(max-width:820px) {
 .signin-page .sg-motion-scene { order:1; }
 .signin-page .sg-motion-scene .sg-system { display:block; height:240px; margin:0; }
 .signin-page .sg-cube.sy { width:240px; height:240px; top:0; left:50%; }
 .signin-page .sg-logo-fallback { width:146px; height:169px; }
 .signin-page .sg-system :is(.sg-node,.sg-system-label) { display:none; }
 .signin-page .sg-orbit { left:50%; top:45px; }
}
@media(prefers-reduced-motion:reduce) {
 .signin-page *, .signin-page *::before,.signin-page *::after,.signin-page::before,.signin-page::after { animation:none !important; transition:none !important; }
 .signin-page .sg-webgl { display:none !important; }
 .signin-page .sg-logo-fallback { display:block !important; }
}
