:root { color-scheme: dark; font-family: 'Outfit', sans-serif; background: #020710; color: #eef4ff; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100svh; isolation: isolate; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
button, a { touch-action: manipulation; }
button { cursor: pointer; }
button:focus-visible, a:focus-visible { outline: 2px solid #98deff; outline-offset: 6px; }
.scene { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; background: #020710; }
.space, .planet { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.vignette { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,4,12,.24), transparent 18%, transparent 85%, rgba(0,4,12,.1)); }
.hero { width: min(100% - 40px, 850px); margin: 0 auto; padding-top: max(66px, 8.7svh); text-align: center; }
.hero-logo { display: block; width: clamp(86px, 14svh, 156px); height: auto; margin: 0 auto 18px; clip-path: circle(48% at 50% 50%); }
h1 { margin: 0 -.2em 9px 0; font-size: clamp(46px, 5.7vw, 88px); font-weight: 600; letter-spacing: .2em; line-height: 1.07; text-shadow: 0 2px 24px #7aaff71a; }
.tagline { margin: 0 0 24px; color: #c4cddc; font-size: clamp(15px, 1.6vw, 21px); font-weight: 300; letter-spacing: .025em; line-height: 1.6; }
.tagline em { font-style: normal; color: #35c4ee; }
.actions { display: flex; justify-content: center; gap: 16px; }
.button { border-radius: 6px; min-height: 51px; min-width: 205px; padding: 13px 25px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none; font-size: 16px; font-weight: 400; letter-spacing: .01em; transition: transform .2s, background .2s, box-shadow .2s, border-color .2s; }
.button svg { fill: currentColor; width: 21px; height: 21px; }
.button-primary { color: #fff; background: linear-gradient(115deg, #1779ed, #2c89f5); border: 1px solid #58a4ff80; box-shadow: inset 0 1px #ffffff1a, 0 5px 25px #096eef22; }
.button-primary:hover { transform: translateY(-2px); background: linear-gradient(115deg, #278afc, #3b98ff); box-shadow: 0 5px 30px #197ef942; }
.button-secondary { color: #edf4ff; background: #04102088; border: 1px solid #459edee0; box-shadow: inset 0 0 12px #1654a00b; }
.button-secondary:hover { transform: translateY(-2px); background: #0f2947cc; border-color: #91d4ff; }
.button:active { transform: translateY(0); }
.scene-status { font-size: 12px; color: #bdcee3; min-height: 1.5em; margin: 14px 0 0; }
footer { position: fixed; bottom: 22px; inset-inline: 32px; display: flex; justify-content: center; align-items: center; min-height: 32px; }
.footer-copy { font-size: 12px; letter-spacing: .07em; color: #99acc08c; }
.footer-copy span { padding: 0 7px; }
@media (min-aspect-ratio: 2/1) { .hero { padding-top: 66px; } .hero-logo { width: 82px; margin-bottom: 14px; } h1 { font-size: 54px; } .tagline { margin-bottom: 20px; } }
@media (max-width: 600px) {
  .hero { padding-top: max(90px, 11svh); }
  .hero-logo { width: clamp(88px, 14svh, 124px); margin-bottom: 23px; }
  h1 { font-size: clamp(39px, 9.5vw, 56px); letter-spacing: .16em; margin-right: -.16em; margin-bottom: 14px; }
  .tagline { font-size: 15px; margin-bottom: 24px; }
  .tagline em { display: block; }
  .actions { gap: 10px; }
  .button { min-width: 0; padding: 12px 15px; font-size: 13px; min-height: 47px; }
  .button svg { width: 18px; height: 18px; }
  footer { bottom: 15px; inset-inline: 16px; flex-direction: column; gap: 14px; }
  .footer-copy { font-size: 10px; }
}
@media (max-height: 630px) and (min-width: 601px) { .hero { padding-top: 66px; } .hero-logo { width: 72px; margin-bottom: 12px; } h1 { font-size: 48px; } .tagline { font-size: 15px; margin-bottom: 17px; } .button { min-height: 43px; font-size: 14px; } }
@media (max-height: 640px) and (max-width: 600px) { .hero { padding-top: 72px; } .hero-logo { width: 72px; margin-bottom: 12px; } .tagline { margin-bottom: 16px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }

.login-error { max-width: 540px; margin: 0 auto 18px; padding: 12px 16px; border: 1px solid #e68c7c55; border-radius: 6px; background: #241217ed; color: #ffd2c9; font-size: 14px; line-height: 1.5; }
.login-error[hidden] { display: none; }
