.auth-page {
  min-height: 100svh;
  background:
    radial-gradient(ellipse at 17% 43%, #472c682e, transparent 50%),
    radial-gradient(ellipse at 85% 7%, #435c8b1d, transparent 42%), #080914;
  color: #edeaf5;
  overflow-x: hidden;
}
.auth-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(#b0a9ed05 1px, transparent 1px),
    linear-gradient(90deg, #b0a9ed05 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(transparent, #000 40%, transparent);
}
.auth-header,
.auth-footer {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 1440px;
  margin: auto;
  padding: 30px 5.5%;
}
.auth-header .brand {
  font-size: 19px;
  letter-spacing: 0.06em;
  gap: 11px;
}
.auth-header .brand img {
  width: 31px;
  height: 31px;
  object-fit: contain;
}
.auth-header .brand span {
  font-size: 10px;
  letter-spacing: 0.18em;
  color: #9791ad;
  border-left: 1px solid #ffffff24;
  padding-left: 15px;
  margin-left: 6px;
  font-weight: 400;
}
.auth-back {
  font-size: 12px;
  color: #b2adbf;
}
.auth-back span {
  margin-left: 16px;
  color: #d5bc8d;
}
.auth-layout {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 7%;
  max-width: 1240px;
  margin: 22px auto 32px;
  padding: 0 38px;
  min-height: 660px;
}
.auth-story {
  padding: 22px 0;
}
.auth-eyebrow {
  font-size: 10px;
  letter-spacing: 0.2em;
  color: #b8a5d5;
  display: flex;
  align-items: center;
  gap: 10px;
}
.auth-eyebrow > span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #cbb190;
  box-shadow: 0 0 15px #d3b685;
}
.auth-story h2 {
  font-size: clamp(34px, 3.45vw, 49px);
  font-weight: 500;
  letter-spacing: 0.015em;
  line-height: 1.45;
  margin: 22px 0 18px;
}
.auth-story h2 span {
  background: linear-gradient(100deg, #ded0ff, #c6a5fa 40%, #eed6ab);
  color: transparent;
  background-clip: text;
}
.auth-intro {
  font-size: 14px;
  line-height: 2;
  color: #9591aa;
  margin: 0;
}
.auth-orbit {
  position: relative;
  width: min(100%, 410px);
  height: 280px;
  margin: 9px 0 0;
  isolation: isolate;
}
.orbit-grid {
  position: absolute;
  inset: 45% -7% -10%;
  background:
    repeating-linear-gradient(0deg, #c5a4ff13 0 1px, transparent 1px 26px),
    repeating-linear-gradient(90deg, #c5a4ff13 0 1px, transparent 1px 32px);
  transform: perspective(230px) rotateX(58deg);
  mask-image: radial-gradient(ellipse, #000, transparent 70%);
}
.orbit-halo {
  position: absolute;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, #ae7df833, transparent 68%);
  filter: blur(12px);
}
.orbit-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 230px;
  height: 230px;
  margin: -115px;
  border: 1px solid #b499d337;
  border-radius: 50%;
  transform: rotateX(56deg) rotateZ(-24deg);
}
.ring-one {
  animation: orbit-turn 22s linear infinite;
  box-shadow:
    0 0 24px #b99cfa0a,
    inset 0 0 20px #b99cfa0a;
}
.orbit-ring i {
  position: absolute;
  left: 30px;
  top: 27px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #dfc49a;
  box-shadow: 0 0 20px #e8c68a;
}
.ring-two {
  width: 295px;
  height: 295px;
  margin: -147px;
  border-color: #a997da1d;
  transform: rotateX(55deg) rotateY(18deg) rotateZ(40deg);
}
.ring-two i {
  background: #b5a1fa;
  left: auto;
  right: 40px;
  top: 41px;
  width: 4px;
  height: 4px;
}
.ring-three {
  width: 170px;
  height: 170px;
  margin: -85px;
  transform: rotateX(17deg) rotateY(48deg) rotateZ(-25deg);
  border-style: dashed;
  border-color: #c9b1f82e;
}
.orbit-core {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 102px;
  height: 102px;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  border-radius: 30px;
  border: 1px solid #c6a2fa50;
  background: linear-gradient(145deg, #352946d9, #141523ef);
  box-shadow:
    inset 0 1px #edddff33,
    0 0 70px #b281f82b,
    0 25px 50px #0005;
  backdrop-filter: blur(8px);
}
.orbit-core img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  filter: drop-shadow(0 0 20px #e2bd7650);
}
.orbit-caption {
  position: absolute;
  font:
    8px/1.5 ui-monospace,
    monospace;
  letter-spacing: 0.14em;
  color: #8e849f;
}
.caption-one {
  top: 38px;
  left: 2%;
}
.caption-two {
  bottom: 35px;
  right: 0;
}
.auth-capabilities {
  display: flex;
  gap: 24px;
  color: #b9b1ca;
  font-size: 11px;
  letter-spacing: 0.06em;
}
.auth-capabilities span {
  display: flex;
  align-items: center;
  gap: 8px;
}
.auth-capabilities span:before {
  content: "+";
  color: #cbb38c;
  font-size: 14px;
}
.auth-page .login-wrap {
  position: relative;
  max-width: 460px;
  width: 100%;
  margin: 0;
  padding: 28px 34px 20px;
  border: 1px solid #d2b5ff26;
  border-radius: 22px;
  background: linear-gradient(145deg, #282038a6, #10121ec9 75%);
  box-shadow:
    0 25px 90px #0005,
    inset 0 1px #eee1ff0d;
  backdrop-filter: blur(30px);
}
.login-wrap:before {
  content: "";
  position: absolute;
  top: -1px;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #d4b9f88c, transparent);
}
.auth-panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.auth-kicker {
  font-size: 9px;
  letter-spacing: 0.2em;
  color: #b8a4cc;
}
.auth-panel-mark {
  font-size: 27px;
  line-height: 1;
  color: #d6be92;
}
.auth-page .login-wrap .card {
  padding: 0;
  border: 0;
  box-shadow: none;
  border-radius: 0;
  background: none;
}
.auth-page .login-wrap h1 {
  font-size: 27px;
  font-weight: 500;
  letter-spacing: 0.025em;
  margin: 0 0 8px;
}
.auth-page .login-wrap p.muted {
  font-size: 12px;
  color: #a09aac;
  margin-top: 0;
  margin-bottom: 28px;
}
.auth-page .login-wrap label {
  font-size: 12px;
  color: #cbc3da;
  margin-bottom: 20px;
}
.auth-page .login-wrap input {
  margin-top: 9px;
  min-height: 49px;
  border: 1px solid #ada1cb29;
  border-radius: 9px;
  background: #0c0d18a3;
  padding: 11px 14px;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.auth-page .login-wrap input:focus {
  outline: 0;
  border-color: #c1a4e8b0;
  box-shadow: 0 0 0 3px #a688df12;
}
.auth-page button.primary {
  min-height: 49px;
  border: 1px solid #ddc4ff38;
  background: linear-gradient(110deg, #c7a9ee, #ac8ad8);
  box-shadow: 0 7px 25px #a37fd125;
  color: #21172d;
  letter-spacing: 0.08em;
  margin: 4px 0 8px;
  transition:
    filter 0.2s,
    transform 0.2s;
}
.auth-page button.primary:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}
.auth-page button.primary:disabled {
  transform: none;
}
.auth-page .login-wrap .field-note {
  font-size: 10px;
  line-height: 1.8;
  text-align: center;
  border-top: 1px solid #c7acdf19;
  padding-top: 20px;
  margin: 24px 0 0;
  color: #9690a8;
}
.auth-page .error:empty {
  display: none;
}
.auth-page .error {
  font-size: 12px;
}
.auth-page .subtle {
  font-size: 12px;
  min-height: 40px;
}
.auth-page #qrImage {
  max-width: 200px;
  border-radius: 12px;
}
.auth-page .code-box {
  font-size: 13px;
}
.auth-footer {
  font-size: 10px;
  letter-spacing: 0.06em;
  color: #726e83;
  padding-top: 16px;
  padding-bottom: 26px;
}
.auth-footer > span:last-child {
  font-size: 9px;
  letter-spacing: 0.15em;
}
@keyframes orbit-turn {
  from {
    transform: rotateX(56deg) rotateZ(-24deg);
  }
  to {
    transform: rotateX(56deg) rotateZ(336deg);
  }
}
@media (min-width: 1600px) {
  .auth-layout {
    margin-top: 5vh;
  }
}
@media (max-width: 900px) {
  .auth-layout {
    gap: 5%;
    padding: 0 30px;
    grid-template-columns: 1fr 1fr;
  }
  .auth-story h2 {
    font-size: 34px;
  }
  .auth-page .login-wrap {
    padding: 26px;
  }
  .auth-orbit {
    height: 250px;
  }
  .orbit-caption {
    display: none;
  }
  .auth-capabilities {
    gap: 14px;
    font-size: 10px;
  }
  .auth-header .brand span {
    display: none;
  }
}
@media (max-width: 680px) {
  .auth-header {
    padding: 23px 24px;
  }
  .auth-header .brand {
    font-size: 16px;
  }
  .auth-header .brand img {
    width: 27px;
    height: 27px;
  }
  .auth-layout {
    display: flex;
    flex-direction: column;
    gap: 25px;
    padding: 0 22px;
    min-height: 0;
    margin: 24px auto 32px;
  }
  .auth-story {
    width: 100%;
    max-width: 460px;
    padding: 0;
  }
  .auth-eyebrow {
    font-size: 8px;
    letter-spacing: 0.14em;
  }
  .auth-story h2 {
    font-size: 31px;
    line-height: 1.4;
    margin: 16px 0 12px;
  }
  .auth-story h2 br {
    display: none;
  }
  .auth-story h2 span {
    display: block;
  }
  .auth-intro {
    font-size: 12px;
    line-height: 1.8;
  }
  .desktop-break {
    display: none;
  }
  .auth-orbit,
  .auth-capabilities {
    display: none;
  }
  .auth-page .login-wrap {
    padding: 25px 24px 20px;
    border-radius: 18px;
  }
  .auth-page .login-wrap h1 {
    font-size: 24px;
  }
  .auth-panel-heading {
    margin-bottom: 20px;
  }
  .auth-footer {
    padding: 12px 22px 22px;
    justify-content: center;
    text-align: center;
  }
  .auth-footer > span:last-child {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .auth-page * {
    animation: none !important;
    transition: none !important;
  }
}
