.auth-gate {
  min-height: calc(100dvh - 14rem);
  display: grid;
  place-items: center;
  padding: 2rem 0 3rem;
}
.auth-gate__card {
  width: min(440px, 100%);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 1.75rem 1.6rem 1.9rem;
}
.auth-gate__eyebrow {
  margin: 0 0 .35rem;
  font-size: .75rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.auth-gate h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.45rem, 3vw, 1.85rem);
}
.auth-gate__lead {
  margin: 0 0 1.1rem;
  color: var(--muted);
}
.auth-gate__steps {
  list-style: none;
  margin: 0 0 1.2rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .4rem;
  font-size: .72rem;
  color: var(--muted);
}
.auth-gate__steps li {
  padding-bottom: .45rem;
  border-bottom: 2px solid var(--border);
}
.auth-gate__steps li.is-current {
  color: var(--text);
  font-weight: 700;
  border-color: var(--brand-red);
}
.auth-gate__steps li.is-done { border-color: var(--brand-purple); }
.auth-gate__form {
  display: grid;
  gap: .85rem;
}
.auth-gate__form label {
  display: grid;
  gap: .3rem;
  font-weight: 600;
  font-size: .9rem;
}
.auth-gate__form input,
.auth-gate__form select {
  width: 100%;
  padding: .7rem .8rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
}
.auth-gate__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
}
.auth-gate__hint { font-weight: 400; font-size: .78rem; color: var(--muted); }
.auth-gate__forgot {
  margin: -.25rem 0 0;
  font-size: .88rem;
  font-weight: 500;
}
.auth-gate__forgot a { color: var(--brand-red); }
.auth-gate__check {
  display: flex !important;
  align-items: flex-start;
  gap: .55rem;
  font-weight: 500 !important;
  font-size: .86rem !important;
}
.auth-gate__check input { width: auto; margin-top: .2rem; }
.auth-gate__submit { width: 100%; min-height: 2.8rem; text-decoration: none; }
.auth-gate__back {
  display: block;
  text-align: center;
  font-size: .88rem;
  color: var(--muted);
}
.auth-gate__pin {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: .4rem;
}
.auth-gate__pin-cell {
  text-align: center;
  font-size: 1.35rem;
  font-weight: 700;
  padding: .7rem 0 !important;
}
.auth-gate__resend { margin: .75rem 0; text-align: center; }
.auth-social { margin-top: 1.25rem; }
.auth-social__or {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: .6rem;
  color: var(--muted);
  font-size: .8rem;
}
.auth-social__or::before,
.auth-social__or::after { content: ""; height: 1px; background: var(--border); }
.auth-social__row { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin-top: .85rem; }
.auth-social__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  min-height: 2.6rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
}
.auth-social__btn svg { width: 18px; height: 18px; }
.auth-social__btn:hover { background: var(--surface-2); text-decoration: none; }
@media (max-width: 520px) {
  .auth-gate__grid,
  .auth-social__row { grid-template-columns: 1fr; }
}
