@font-face {
  font-family: Involve;
  src: url(/assets/involve.ttf) format("truetype");
  font-weight: 400 800;
  font-display: swap;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  color: #f7faff;
  font: 500 16px/1.4 Involve, sans-serif;
  background: #0b1632;
}
.entry {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 24px;
  background: linear-gradient(111deg,#090f2cf3 7%,#101d4894 65%,#0a1435a8), url(/assets/aurora.webp) 64% center/cover;
}
.entry::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 0;
  bottom: 0;
  width: min(80vw,460px);
  aspect-ratio: 1.4;
  opacity: .22;
  background: url(/assets/brand-pattern.webp) center/cover no-repeat;
  mask-image: radial-gradient(ellipse at 0 100%, #000 22%, transparent 73%);
}
.login {
  width: min(100%,440px);
  padding: clamp(24px,6vw,42px);
  border: 1px solid #adcbff55;
  border-radius: 28px;
  background: linear-gradient(145deg,#213664ef,#101b3ded);
  box-shadow: inset 0 1px #e4f0ff55,0 18px 62px #040d29b3;
  backdrop-filter: blur(20px) saturate(1.28);
  animation: arrive .36s cubic-bezier(.22,.72,.22,1) both;
}
.brand { display: flex; align-items: center; gap: 14px; font-size: 1.4rem; font-weight: 800; letter-spacing: .13em; }
.brand img { border-radius: 12px; }
h1 { margin: 25px 0 19px; font-size: clamp(1.7rem,7vw,2.2rem); letter-spacing: -.045em; }
form { display: grid; gap: 9px; }
label { color: #dce9ff; font-size: .94rem; font-weight: 650; }
input, button { font: inherit; min-height: 48px; width: 100%; border-radius: 12px; }
input { color: #fff; background: #090f2c9e; border: 1px solid #a6c1f566; padding: 10px 13px; }
input:focus-visible, button:focus-visible { outline: 3px solid #8ac8ff; outline-offset: 3px; }
button {
  margin-top: 11px;
  color: #fff;
  font-weight: 750;
  background: linear-gradient(125deg,#245cbf,#3445be 60%,#7247be);
  border: 1px solid #b8c6ff77;
  box-shadow: inset 0 1px #e5ddff52,0 8px 20px #07132d80;
  cursor: pointer;
  transition: filter .16s ease, transform .16s ease;
}
button:hover { filter: brightness(1.17); }
button:active { transform: scale(.98); }
.error { margin: 1px 0; color: #ffccda; font-size: .88rem; }
@keyframes arrive { from { opacity: 0; transform: translateY(11px); } }
@media (prefers-reduced-motion: reduce) { .login, button { animation: none; transition: none; } }
