.auth-premium {
  min-height: 100vh;
  background: var(--paper);
}

.auth-premium .skip:focus-visible,
.auth-premium a:focus-visible,
.auth-premium button:focus-visible,
.auth-premium input:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

.auth-split {
  display: grid;
  min-height: 100vh;
}

.auth-panel {
  padding: 1.15rem 1.1rem 2rem;
}

.auth-panel .brand,
.auth-panel .brand-lockup {
  display: inline-flex;
  margin-bottom: 1rem;
}

.auth-premium .auth-card {
  width: min(28rem, 100%);
  margin: 0 auto;
}

.auth-premium .auth-card h1 {
  font-size: clamp(1.55rem, 4vw, 1.9rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 0.35rem;
}

.auth-visual {
  display: none;
}

.otp-boxes {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.35rem;
  margin-bottom: 0.5rem;
}

.otp-boxes span {
  min-height: 2.8rem;
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  background: #fff;
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  font-weight: 700;
}

.otp-boxes span.is-filled {
  border-color: var(--orange);
  background: var(--chip);
}

.otp-boxes span.is-active {
  box-shadow: 0 0 0 2px rgba(255, 90, 31, 0.24);
}

.otp-form .otp-input {
  letter-spacing: 0.35em;
  font-size: 1.1rem;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.resend-form { margin-top: 0.75rem; }

.auth-premium .btn[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
}

@media (min-width: 960px) {
  .auth-split {
    grid-template-columns: minmax(0, 1.05fr) minmax(24rem, 0.95fr);
  }

  .auth-visual {
    display: flex;
    flex-direction: column;
    justify-content: center;
    order: -1;
    padding: 3rem 4.2vw;
    background:
      radial-gradient(circle at 88% 12%, rgba(255, 90, 31, 0.28) 0, transparent 32%),
      radial-gradient(circle at 12% 88%, rgba(124, 58, 237, 0.22) 0, transparent 30%),
      var(--nav);
    color: #f8fafc;
  }

  .auth-visual .eyebrow { color: #ffb089; }
  .auth-visual h2 {
    font-size: clamp(1.9rem, 3.2vw, 2.7rem);
    line-height: 1.08;
    letter-spacing: -0.04em;
    max-width: 16ch;
    margin: 0.3rem 0 0.75rem;
  }

  .auth-visual > p {
    max-width: 32rem;
    color: #c7cdd8;
    margin: 0 0 1.4rem;
  }

  .auth-panel {
    display: grid;
    align-content: center;
    padding: 2.2rem 2.2rem;
    background: var(--paper);
  }
}

@media (prefers-reduced-motion: reduce) {
  .auth-premium * {
    animation: none !important;
    transition: none !important;
  }
}
