:root { font-family: Inter, "Segoe UI", system-ui, sans-serif; color: #19233b; background: #f3f5fb; font-synthesis: none; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: radial-gradient(ellipse at 10% 12%, #dfe9ff 0, transparent 45%), radial-gradient(ellipse at 95% 85%, #eae2ff 0, transparent 45%), #f3f5fb; }
.shell { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 72px 28px; isolation: isolate; }
.auth-scene { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: -1; color: #798ae6; }
.auth-scene svg { width: 100%; height: 100%; opacity: .24; }
.scene-chip { position: absolute; background: #ffffffd9; border: 1px solid #dce3f7; border-radius: 999px; padding: 10px 20px; font-size: 12px; font-weight: 600; color: #6674a4; box-shadow: 0 8px 24px #2f4b8a0a; }
.chip-one { top: 9%; left: 16%; }.chip-two { top: 12%; right: 12%; }.chip-three { bottom: 12%; left: 10%; }.chip-four { bottom: 9%; right: 15%; }
.signin-card { width: min(1060px, 100%); display: grid; grid-template-columns: 1.08fr 1fr; background: white; border: 1px solid #ffffff; border-radius: 24px; box-shadow: 0 24px 70px -20px #263a6e35, 0 4px 18px #263a6e08; overflow: hidden; }
.signin-story { display: flex; flex-direction: column; justify-content: space-between; gap: 48px; padding: 48px; background: linear-gradient(145deg, #eef4ff 0%, #f5f4ff 65%, #f8f7ff 100%); border-right: 1px solid #e7eaf5; }
.brand { display: inline-flex; align-items: center; align-self: flex-start; gap: 12px; color: inherit; text-decoration: none; }
.brand img { object-fit: contain; }.brand strong { display: block; font-size: 25px; letter-spacing: -.7px; }.brand small { display: block; font-size: 12px; color: #75819a; margin-top: 3px; }
.eyebrow { color: #5468c6; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; line-height: 1.6; margin: 0 0 14px; }
h1 { font-size: clamp(30px, 3.2vw, 43px); line-height: 1.17; letter-spacing: -1.6px; margin: 0 0 20px; font-weight: 700; }
.lead { color: #64718b; font-size: 15px; line-height: 1.85; margin: 0; }
.workflow { display: flex; align-items: center; flex-wrap: wrap; gap: 13px; font-size: 12px; font-weight: 600; color: #51638c; }.workflow span { background: #ffffffb3; border: 1px solid #e0e6f6; border-radius: 8px; padding: 9px 12px; }.workflow b { color: #97a5c5; font-weight: 400; }
.signin-action { padding: 48px 42px; display: flex; flex-direction: column; justify-content: center; }
.security-icon { width: 52px; height: 52px; display: grid; place-items: center; background: #eff2ff; color: #5b5bd6; border: 1px solid #e5e8fd; border-radius: 15px; margin-bottom: 24px; }.security-icon svg { width: 27px; height: 27px; }
.signin-action .eyebrow { margin-bottom: 8px; font-size: 10px; }
h2 { font-size: 27px; letter-spacing: -.8px; margin: 0 0 12px; line-height: 1.25; }
.auth-sub { margin: 0 0 26px; color: #737e92; font-size: 14px; line-height: 1.75; }
.primary { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 49px; padding: 13px 17px; border: 0; border-radius: 9px; background: linear-gradient(110deg, #2563eb, #7136dc); color: white; text-decoration: none; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; box-shadow: 0 5px 13px #5157d526; }
.primary > span { margin-left: auto; }.primary img { object-fit: contain; }.primary:hover { filter: brightness(1.08); }.primary:focus-visible, input:focus-visible, a:focus-visible { outline: 3px solid #818cf8; outline-offset: 4px; }
.assurance { display: flex; flex-wrap: wrap; gap: 10px 20px; margin: 20px 0; font-size: 11px; color: #5a7190; }.auth-foot { padding-top: 18px; border-top: 1px solid #edf0f7; font-size: 12px; line-height: 1.7; color: #8992a4; margin: 0; }.auth-copy { text-align: center; margin-top: 25px; color: #8a95ac; font-size: 12px; }
.dev-login { display: grid; gap: 8px; }.dev-label { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; color: #66728a; font-size: 12px; }.dev-pill { background: #eef2ff; color: #5c62be; padding: 3px 8px; border-radius: 99px; font-size: 10px; }.dev-login label { font-size: 12px; color: #53627c; font-weight: 600; }.dev-login input { width: 100%; min-height: 44px; padding: 10px 12px; background: #f8f9fc; border: 1px solid #dfe4ef; border-radius: 8px; color: #19233b; font: inherit; font-size: 14px; margin-bottom: 5px; }.dev-login .primary { margin-top: 9px; }.form-error { background: #fef2f2; border: 1px solid #fecaca; border-radius: 7px; padding: 10px; margin: 0 0 8px; color: #b91c1c; font-size: 13px; }
.message-card { width: min(580px, 100%); padding: 44px; border-radius: 22px; background: #fff; box-shadow: 0 20px 60px #263a6e20; }.message-card h1 { font-size: 34px; }.message-card p:not(.eyebrow) { font-size: 15px; color: #64718b; line-height: 1.8; margin-bottom: 28px; }code { color: #5657c5; overflow-wrap: anywhere; }
@media (max-width: 760px) { .shell { padding: 28px 16px; }.signin-card { grid-template-columns: 1fr; max-width: 480px; border-radius: 20px; }.signin-story { padding: 28px; gap: 24px; border-right: 0; border-bottom: 1px solid #e7eaf5; }.signin-action { padding: 28px; }h1 { font-size: 30px; letter-spacing: -1px; }.workflow { display: none; }.scene-chip { display: none; }.lead { font-size: 14px; }.security-icon { margin-bottom: 18px; width: 44px; height: 44px; }.message-card { padding: 28px; } }
.nebula-cloud { position: absolute; width: 85vmax; height: 65vmax; pointer-events: none; opacity: .7; }
.cloud-blue { left: -28%; top: -25%; background: radial-gradient(ellipse at 48% 52%, #2563eb70, #679cfa50 27%, #a5c4ff28 48%, transparent 68%); transform: rotate(-25deg); }
.cloud-violet { right: -26%; bottom: -28%; background: radial-gradient(ellipse at 45% 50%, #7136dc70, #aa8bea50 30%, #c7b6fb28 48%, transparent 68%); transform: rotate(25deg); }
.cloud-glow { width: 110vmax; height: 35vmax; left: -15%; top: 35%; background: radial-gradient(ellipse, #ffffffa1, #9ca9f529 25%, #949ef218 45%, transparent 70%); transform: rotate(-30deg); }
.nebula-stars { position: absolute; inset: -8%; background-repeat: repeat; }
.stars-near { background-image: radial-gradient(circle at 35px 60px, #ffffffed 0 1.5px, #8293e64d 2px, transparent 4px), radial-gradient(circle at 160px 180px, #777cd273 0 1px, transparent 3px), radial-gradient(circle at 235px 90px, #ffffffd9 0 2px, transparent 4px); background-size: 310px 270px; opacity: .7; }
.stars-far { background-image: radial-gradient(circle at 65px 95px, #798ae68c 0 1px, transparent 2px), radial-gradient(circle at 205px 205px, #ffffffd9 0 1px, transparent 3px); background-size: 270px 310px; opacity: .5; }
.auth-scene svg { position: relative; }
.motion-toggle { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.motion-control { order: 3; margin-top: 14px; font-size: 11px; color: #667393; cursor: pointer; border: 1px solid #dce3f7; border-radius: 99px; background: #ffffffa8; padding: 7px 12px; }
.motion-toggle:focus-visible + .motion-control { outline: 3px solid #818cf8; outline-offset: 3px; }
.motion-toggle:checked + .motion-control { background: #e8eaff; color: #444b94; }
.motion-toggle:checked ~ .auth-scene, .motion-toggle:checked ~ .auth-scene * { animation-play-state: paused; }
@media (prefers-reduced-motion: no-preference) {
  .primary { transition: filter .15s ease, box-shadow .15s ease; }
  .cloud-blue { animation: nebula-blue-drift 12s ease-in-out -5s infinite alternate; }
  .cloud-violet { animation: nebula-violet-drift 15s ease-in-out -7s infinite alternate; }
  .cloud-glow { animation: nebula-glow-drift 10s ease-in-out -4s infinite alternate; }
  .stars-near { animation: nebula-stars-drift 12s linear -6s infinite alternate; }
  .stars-far { animation: nebula-stars-drift 18s linear -9s infinite alternate-reverse; }
  .auth-scene svg { transform-origin: center; animation: nebula-orbit-drift 20s ease-in-out -8s infinite alternate; }
  .scene-chip { animation: nebula-chip-float 4s ease-in-out -2s infinite alternate; }
  .chip-two, .chip-four { animation-delay: -4s; }
}
@keyframes nebula-blue-drift { to { transform: translate(13%, 10%) rotate(12deg) scale(1.12); opacity: .95; } }
@keyframes nebula-violet-drift { to { transform: translate(-14%, -12%) rotate(-10deg) scale(1.15); opacity: .9; } }
@keyframes nebula-glow-drift { to { transform: translate(8%, -15%) rotate(-12deg) scale(1.08); opacity: .4; } }
@keyframes nebula-stars-drift { to { transform: translate(65px, -55px); opacity: .9; } }
@keyframes nebula-orbit-drift { to { transform: rotate(16deg) scale(1.1); } }
@keyframes nebula-chip-float { to { transform: translateY(-18px); } }
@media (prefers-reduced-motion: reduce) { .motion-control { display: none; } }
