:root { color-scheme: dark; font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; background: #0b111b; color: #e3eaf3; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; padding: 32px 20px 64px; background: radial-gradient(ellipse at 50% 20%, #15243c 0, transparent 65%); }
.auth-card { width: min(100%, 380px); border: 1px solid #263345; border-radius: 20px; padding: 38px 32px 32px; background: #111a27; box-shadow: 0 24px 80px #0003; }
.auth-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 32px; }
.auth-brand img { border-radius: 11px; background: #fff; }
.auth-brand span { font-size: 11px; font-weight: 700; letter-spacing: .16em; color: #a5b5ca; }
h1 { margin: 0; font-size: clamp(24px, 5vw, 28px); line-height: 1.2; font-weight: 620; letter-spacing: -.035em; }
p { font-size: 14px; line-height: 1.6; color: #a5b5ca; margin: 12px 0 28px; }
.sign-in { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 12px 15px; border: 1px solid #405576; border-radius: 9px; background: #1b2d48; color: #edf3ff; text-decoration: none; font-size: 13px; font-weight: 550; }
.sign-in:hover { background: #253e60; border-color: #79aaff; }
.sign-in svg { width: 20px; height: 20px; flex-shrink: 0; }
.sign-in-arrow { margin-left: auto; color: #a5b5ca; font-size: 18px; }
a:focus-visible { outline: 3px solid #79aaff; outline-offset: 4px; }
.open-full { display: none; margin-top: 20px; font-size: 12px; color: #a5b5ca; text-underline-offset: 3px; }
body.is-embedded .open-full { display: inline-block; }
body[data-auth-state="complete"] .sign-in { display: none; }
footer { position: fixed; bottom: 20px; color: #7d8da4; font-size: 10px; }
@media (max-height: 430px) { body { padding-top: 20px; } .auth-card { padding: 24px; } .auth-brand { margin-bottom: 18px; } footer { position: static; margin-top: 24px; } }
