@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/Vazirmatn-Regular.cdc140628f11.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/Vazirmatn-SemiBold.9260c1927872.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/CormorantGaramond-SemiBold.9754ac60272a.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --auth-bg: #09090c;
  --auth-panel: rgba(23, 23, 29, .86);
  --auth-panel-strong: #18181e;
  --auth-input: rgba(255, 255, 255, .045);
  --auth-gold: #d2b66f;
  --auth-gold-light: #f0d792;
  --auth-gold-deep: #96783f;
  --auth-text: #f4f1e9;
  --auth-muted: #aaa59a;
  --auth-subtle: #77736c;
  --auth-line: rgba(255, 255, 255, .095);
  --auth-gold-line: rgba(210, 182, 111, .24);
  --auth-danger: #ff9a8b;
  --auth-danger-bg: rgba(159, 55, 44, .13);
  --auth-success: #8ed0a0;
  --auth-radius: 28px;
  --auth-radius-sm: 15px;
  --auth-ease: cubic-bezier(.2, .75, .25, 1);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  min-width: 320px;
  background: var(--auth-bg);
  scroll-behavior: smooth;
}

body {
  margin: 0;
}

button,
input {
  font: inherit;
}

a {
  color: inherit;
}

svg {
  display: block;
}

.auth-shell {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 13% 12%, rgba(107, 85, 151, .09), transparent 31rem),
    radial-gradient(circle at 85% 82%, rgba(199, 164, 84, .08), transparent 34rem),
    var(--auth-bg);
  color: var(--auth-text);
  font-family: "Vazirmatn", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.auth-shell::before {
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .016) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .016) 1px, transparent 1px);
  background-size: 72px 72px;
  content: "";
  pointer-events: none;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 12%, transparent 76%);
  mask-image: radial-gradient(circle at 50% 50%, #000 12%, transparent 76%);
}

.auth-atmosphere,
.auth-atmosphere > span {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.auth-orbit {
  width: 42rem;
  height: 42rem;
  margin: auto;
  border: 1px solid rgba(210, 182, 111, .065);
  border-radius: 50%;
  animation: auth-orbit 28s linear infinite;
}

.auth-orbit::before,
.auth-orbit::after {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--auth-gold);
  box-shadow: 0 0 20px rgba(210, 182, 111, .8);
  content: "";
}

.auth-orbit::before {
  inset-block-start: 10%;
  inset-inline-start: 17%;
}

.auth-orbit::after {
  inset-block-end: 12%;
  inset-inline-end: 16%;
  opacity: .45;
}

.auth-orbit--two {
  width: 65rem;
  height: 65rem;
  border-color: rgba(133, 110, 185, .045);
  animation-duration: 44s;
  animation-direction: reverse;
}

.auth-glow {
  width: 32rem;
  height: 32rem;
  border-radius: 50%;
  filter: blur(100px);
  opacity: .11;
  animation: auth-breathe 8s ease-in-out infinite alternate;
}

.auth-glow--gold {
  inset: auto auto -13rem -11rem;
  background: #b68c3d;
}

.auth-glow--violet {
  inset: -17rem -10rem auto auto;
  background: #5c488f;
  animation-delay: -4s;
}

.auth-grain {
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.75'/%3E%3C/svg%3E");
}

.auth-skip-link {
  position: fixed;
  inset-block-start: 12px;
  inset-inline-start: 50%;
  z-index: 20;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--auth-gold-light);
  color: #15120c;
  text-decoration: none;
  transform: translate(50%, -160%);
  transition: transform 180ms ease;
}

.auth-skip-link:focus {
  transform: translate(50%, 0);
}

.auth-header,
.auth-main,
.auth-footer {
  position: relative;
  z-index: 2;
}

.auth-header {
  display: flex;
  width: min(100% - 48px, 1240px);
  min-height: 96px;
  margin-inline: auto;
  align-items: center;
  justify-content: space-between;
}

.auth-wordmark {
  display: grid;
  grid-template-columns: 38px auto;
  grid-template-rows: auto auto;
  column-gap: 11px;
  color: var(--auth-text);
  text-decoration: none;
}

.auth-wordmark__mark {
  display: grid;
  grid-row: 1 / 3;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--auth-gold-line);
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(210, 182, 111, .13), rgba(255, 255, 255, .025));
  color: var(--auth-gold-light);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 22px;
  line-height: 1;
}

.auth-wordmark__name {
  align-self: end;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: .16em;
  line-height: 1;
}

.auth-wordmark__tagline {
  align-self: start;
  margin-block-start: 4px;
  color: var(--auth-subtle);
  font-size: 8px;
  letter-spacing: .36em;
  line-height: 1;
}

.auth-back-link {
  display: inline-flex;
  min-height: 44px;
  padding-inline: 14px 8px;
  align-items: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--auth-muted);
  font-size: 13px;
  text-decoration: none;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.auth-back-link svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.auth-back-link:hover {
  border-color: var(--auth-line);
  background: rgba(255, 255, 255, .035);
  color: var(--auth-text);
}

.auth-main {
  display: grid;
  width: min(100% - 48px, 1160px);
  min-height: calc(100svh - 168px);
  margin-inline: auto;
  padding-block: 26px 40px;
  align-items: center;
}

.auth-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(390px, .82fr);
  gap: clamp(44px, 7vw, 104px);
  align-items: center;
}

.auth-story {
  position: relative;
  min-width: 0;
  padding: 28px 8px;
  animation: auth-enter 700ms var(--auth-ease) both;
}

.auth-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--auth-gold);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 12px;
  letter-spacing: .26em;
}

.auth-eyebrow i {
  width: 20px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--auth-gold));
}

.auth-story h1 {
  max-width: 590px;
  margin: 20px 0 16px;
  font-size: clamp(48px, 5.3vw, 78px);
  font-weight: 600;
  letter-spacing: -.055em;
  line-height: 1.18;
}

.auth-story h1 em {
  background: linear-gradient(100deg, var(--auth-gold-deep), var(--auth-gold-light) 56%, #fff1bd);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: normal;
}

.auth-story__copy > p {
  max-width: 500px;
  margin: 0;
  color: var(--auth-muted);
  font-size: 15px;
  line-height: 2;
}

.auth-optic {
  position: relative;
  width: min(100%, 600px);
  margin-block: 14px 4px;
}

.auth-optic__halo {
  position: absolute;
  inset: 25% 14%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(210, 182, 111, .105), transparent 67%);
  filter: blur(16px);
  animation: auth-breathe 6s ease-in-out infinite alternate;
}

.auth-optic svg {
  position: relative;
  width: 100%;
  overflow: visible;
  filter: drop-shadow(0 22px 32px rgba(0, 0, 0, .28));
}

.auth-optic__frame,
.auth-optic__bridge,
.auth-optic__temple,
.auth-optic__shine {
  fill: url(#authLens);
  stroke: url(#authGold);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
  vector-effect: non-scaling-stroke;
}

.auth-optic__temple {
  fill: none;
  opacity: .72;
  stroke-width: 2;
}

.auth-optic__bridge {
  fill: none;
}

.auth-optic__shine {
  fill: none;
  opacity: .4;
  stroke: #fff1bf;
  stroke-width: 1.2;
  animation: auth-shimmer 4.8s ease-in-out infinite;
}

.auth-trust-list {
  display: flex;
  margin: 0;
  padding: 0;
  gap: 18px;
  list-style: none;
}

.auth-trust-list li {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
}

.auth-trust-list svg {
  width: 31px;
  height: 31px;
  flex: 0 0 auto;
  padding: 6px;
  border: 1px solid var(--auth-gold-line);
  border-radius: 10px;
  fill: none;
  stroke: var(--auth-gold-light);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.auth-trust-list span {
  display: grid;
}

.auth-trust-list strong {
  color: #d8d4cb;
  font-size: 11px;
  font-weight: 600;
}

.auth-trust-list small {
  color: var(--auth-subtle);
  font-size: 9px;
}

.auth-card {
  position: relative;
  width: 100%;
  overflow: hidden;
  overflow: clip;
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid var(--auth-line);
  border-radius: var(--auth-radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .055), transparent 42%),
    var(--auth-panel);
  box-shadow: 0 34px 90px rgba(0, 0, 0, .42), inset 0 1px 0 rgba(255, 255, 255, .035);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  animation: auth-card-enter 720ms 90ms var(--auth-ease) both;
}

.auth-card::after {
  position: absolute;
  inset: auto -20% -42% 35%;
  height: 240px;
  border-radius: 50%;
  background: rgba(210, 182, 111, .045);
  filter: blur(56px);
  content: "";
  pointer-events: none;
}

.auth-card > * {
  position: relative;
  z-index: 1;
}

.auth-card__accent {
  position: absolute;
  inset-block-start: 0;
  inset-inline: 18% 18%;
  z-index: 2;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--auth-gold-light), transparent);
  box-shadow: 0 0 18px rgba(210, 182, 111, .42);
}

.auth-steps {
  display: grid;
  grid-template-columns: auto 1fr auto;
  margin-block-end: 32px;
  align-items: center;
  gap: 10px;
}

.auth-step {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--auth-subtle);
  font-size: 10px;
  white-space: nowrap;
}

.auth-step b {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border: 1px solid var(--auth-line);
  border-radius: 50%;
  font-size: 10px;
  font-weight: 600;
}

.auth-step b svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.auth-step.is-active {
  color: var(--auth-text);
}

.auth-step.is-active b {
  border-color: var(--auth-gold);
  background: var(--auth-gold);
  box-shadow: 0 0 0 4px rgba(210, 182, 111, .08);
  color: #17130b;
}

.auth-step.is-complete {
  color: var(--auth-gold-light);
}

.auth-step.is-complete b {
  border-color: var(--auth-gold-line);
  background: rgba(210, 182, 111, .09);
}

.auth-steps > i {
  height: 1px;
  background: var(--auth-line);
}

.auth-steps > i.is-complete {
  background: linear-gradient(90deg, var(--auth-gold), var(--auth-gold-line));
}

.auth-card__heading {
  display: flex;
  align-items: center;
  gap: 13px;
}

.auth-card__icon {
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--auth-gold-line);
  border-radius: 15px;
  background: linear-gradient(145deg, rgba(210, 182, 111, .15), rgba(210, 182, 111, .035));
  color: var(--auth-gold-light);
}

.auth-card__icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.65;
}

.auth-card__heading p {
  margin: 0 0 1px;
  color: var(--auth-gold);
  font-size: 10px;
}

.auth-card__heading h2 {
  margin: 0;
  font-size: clamp(22px, 2.1vw, 28px);
  font-weight: 600;
  letter-spacing: -.025em;
  line-height: 1.45;
}

.auth-card__lead {
  margin: 16px 0 27px;
  color: var(--auth-muted);
  font-size: 12px;
  line-height: 1.95;
}

.auth-masked-phone {
  display: inline-flex;
  margin-inline: 4px;
  padding: 1px 8px;
  border: 1px solid var(--auth-gold-line);
  border-radius: 7px;
  background: rgba(210, 182, 111, .07);
  color: var(--auth-gold-light);
  font-size: 12px;
  letter-spacing: .06em;
}

.auth-alert {
  display: flex;
  margin-block: -8px 20px;
  padding: 12px 13px;
  align-items: flex-start;
  gap: 9px;
  border: 1px solid rgba(255, 154, 139, .22);
  border-radius: 12px;
  background: var(--auth-danger-bg);
  color: #ffc0b7;
  font-size: 11px;
}

.auth-alert svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin-block-start: 1px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.auth-alert p {
  margin: 0;
}

.auth-messages .auth-alert {
  margin-block: -8px 20px;
}

.auth-alert--success {
  border-color: rgba(117, 211, 169, .24);
  background: rgba(74, 155, 119, .09);
  color: #a7e5c9;
}

.auth-form {
  margin: 0;
}

.auth-label-row {
  display: flex;
  margin-block-end: 9px;
  align-items: center;
  justify-content: space-between;
}

.auth-label-row label {
  color: #d5d1c8;
  font-size: 11px;
  font-weight: 600;
}

.auth-label-row > span {
  color: var(--auth-subtle);
  font-size: 9px;
}

.auth-label-row bdi {
  margin-inline-start: 3px;
  color: var(--auth-muted);
  font-variant-numeric: tabular-nums;
}

.auth-input-wrap {
  position: relative;
}

.auth-input {
  width: 100%;
  min-height: 55px;
  padding: 13px 48px 13px 44px;
  border: 1px solid var(--auth-line);
  border-radius: var(--auth-radius-sm);
  outline: 0;
  background: var(--auth-input);
  color: var(--auth-text);
  caret-color: var(--auth-gold-light);
  font-size: 15px;
  line-height: 1;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.auth-input::placeholder {
  color: #625f59;
  opacity: 1;
}

.auth-input:hover {
  border-color: rgba(255, 255, 255, .15);
  background: rgba(255, 255, 255, .057);
}

.auth-input:focus {
  border-color: rgba(210, 182, 111, .68);
  background: rgba(255, 255, 255, .065);
  box-shadow: 0 0 0 4px rgba(210, 182, 111, .075), 0 10px 30px rgba(0, 0, 0, .16);
}

.auth-input--phone {
  text-align: left;
  letter-spacing: .07em;
  font-variant-numeric: tabular-nums;
}

.auth-input-icon,
.auth-input-status {
  position: absolute;
  inset-block-start: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  color: var(--auth-subtle);
  pointer-events: none;
  transform: translateY(-50%);
}

.auth-input-icon {
  inset-inline-start: 16px;
}

.auth-input-status {
  inset-inline-end: 16px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(76, 142, 94, .13);
  color: var(--auth-success);
  opacity: 0;
  transform: translateY(-50%) scale(.7);
  transition: opacity 180ms ease, transform 180ms var(--auth-ease);
}

.auth-field.is-valid .auth-input-status {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}

.auth-input-icon svg,
.auth-input-status svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.75;
}

.auth-input-status svg {
  width: 13px;
  height: 13px;
  stroke-width: 2.4;
}

.auth-field.has-error .auth-input {
  border-color: rgba(255, 154, 139, .48);
}

.auth-field__hint,
.auth-field__errors p,
.auth-form__status {
  margin: 7px 2px 0;
  font-size: 9px;
  line-height: 1.75;
}

.auth-field__hint {
  color: var(--auth-subtle);
}

.auth-field__errors p {
  color: var(--auth-danger);
}

.auth-submit {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 55px;
  margin-block-start: 21px;
  padding: 12px 20px;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: var(--auth-radius-sm);
  background: linear-gradient(105deg, #b99851, var(--auth-gold-light) 52%, #caaa62);
  box-shadow: 0 13px 32px rgba(172, 134, 57, .17), inset 0 1px 0 rgba(255, 255, 255, .4);
  color: #17130b;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  transition: transform 180ms var(--auth-ease), box-shadow 180ms ease, filter 180ms ease, opacity 180ms ease;
}

.auth-submit::before {
  position: absolute;
  inset: 0 auto 0 -45%;
  width: 32%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .4), transparent);
  content: "";
  transform: skewX(-22deg);
  transition: left 560ms var(--auth-ease);
}

.auth-submit:hover:not(:disabled) {
  box-shadow: 0 16px 38px rgba(172, 134, 57, .26), inset 0 1px 0 rgba(255, 255, 255, .46);
  filter: saturate(1.08) brightness(1.03);
  transform: translateY(-2px);
}

.auth-submit:hover:not(:disabled)::before {
  left: 120%;
}

.auth-submit:active:not(:disabled) {
  transform: translateY(0);
}

.auth-submit:disabled {
  cursor: not-allowed;
  filter: grayscale(.25);
  opacity: .5;
}

.auth-submit:focus-visible,
.auth-back-link:focus-visible,
.auth-wordmark:focus-visible,
.auth-change-phone:focus-visible,
.auth-resend a:focus-visible,
.auth-resend button:focus-visible {
  outline: 2px solid var(--auth-gold-light);
  outline-offset: 3px;
}

.auth-submit__arrow {
  position: absolute;
  inset-inline-end: 18px;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  transition: transform 180ms ease;
}

.auth-submit:hover:not(:disabled) .auth-submit__arrow {
  transform: translateX(-3px);
}

.auth-submit__spinner {
  display: none;
  width: 17px;
  height: 17px;
  border: 2px solid rgba(23, 19, 11, .24);
  border-block-start-color: #17130b;
  border-radius: 50%;
  animation: auth-spin .7s linear infinite;
}

.auth-form.is-submitting .auth-submit__spinner {
  display: block;
}

.auth-form.is-submitting .auth-submit__arrow {
  display: none;
}

.auth-form__status {
  min-height: 15px;
  text-align: center;
  color: var(--auth-muted);
}

.auth-privacy-note {
  display: flex;
  margin-block-start: 20px;
  padding-block-start: 17px;
  align-items: flex-start;
  gap: 9px;
  border-block-start: 1px solid var(--auth-line);
  color: var(--auth-subtle);
}

.auth-privacy-note svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  margin-block-start: 3px;
  fill: none;
  stroke: var(--auth-gold);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.auth-privacy-note p {
  margin: 0;
  font-size: 9px;
  line-height: 1.9;
}

.auth-privacy-note--compact {
  margin-block-start: 16px;
}

.auth-otp-control {
  position: relative;
}

.auth-otp-input {
  padding-inline: 16px;
  text-align: center;
  font-size: 20px;
  letter-spacing: .55em;
  font-variant-numeric: tabular-nums;
}

.auth-otp-slots {
  display: none;
  direction: ltr;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}

.auth-enhanced .auth-otp-control {
  cursor: text;
}

.auth-enhanced .auth-otp-input {
  position: absolute;
  inset: 0;
  z-index: 2;
  min-height: 58px;
  padding: 0;
  opacity: .01;
  cursor: text;
}

.auth-enhanced .auth-otp-slots {
  display: grid;
}

.auth-otp-slots span {
  display: grid;
  min-width: 0;
  height: 58px;
  place-items: center;
  border: 1px solid var(--auth-line);
  border-radius: 13px;
  background: var(--auth-input);
  color: var(--auth-text);
  font-family: "Vazirmatn", system-ui, sans-serif;
  font-size: 19px;
  font-variant-numeric: tabular-nums;
  transition: border-color 170ms ease, background 170ms ease, box-shadow 170ms ease, transform 170ms var(--auth-ease);
}

.auth-otp-control:focus-within .auth-otp-slots span.is-current {
  border-color: var(--auth-gold);
  background: rgba(210, 182, 111, .075);
  box-shadow: 0 0 0 4px rgba(210, 182, 111, .065);
  transform: translateY(-2px);
}

.auth-otp-slots span.is-filled {
  border-color: rgba(210, 182, 111, .33);
  background: rgba(210, 182, 111, .055);
}

.auth-field.has-error .auth-otp-slots span {
  border-color: rgba(255, 154, 139, .35);
}

.auth-resend {
  margin-block-start: 16px;
  text-align: center;
}

.auth-resend__form {
  display: grid;
  justify-items: center;
  gap: 2px;
}

.auth-resend__prompt {
  margin: 0;
  color: var(--auth-subtle);
  font-size: 9px;
}

.auth-resend__prompt span {
  color: var(--auth-muted);
}

.auth-resend__button {
  display: inline-flex;
  min-height: 34px;
  padding: 5px 10px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 0;
  background: transparent;
  color: var(--auth-gold-light);
  font: inherit;
  font-size: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: color 160ms ease, opacity 160ms ease, transform 160ms ease;
}

.auth-resend__button:hover:not(:disabled) {
  color: #f3dc9d;
  transform: translateY(-1px);
}

.auth-resend__button:disabled,
.auth-resend__button[aria-disabled="true"] {
  opacity: .42;
  cursor: wait;
}

.auth-resend__spinner {
  display: none;
  width: 13px;
  height: 13px;
  border: 2px solid rgba(210, 182, 111, .25);
  border-block-start-color: var(--auth-gold-light);
  border-radius: 50%;
  animation: auth-spin .7s linear infinite;
}

.auth-resend__form.is-submitting .auth-resend__spinner {
  display: block;
}

.auth-resend__status {
  min-height: 15px;
  margin: 0;
  color: var(--auth-muted);
  font-size: 9px;
}

.auth-resend__status[data-state="success"] {
  color: #91d6b7;
}

.auth-resend__status[data-state="error"] {
  color: #ffc0b7;
}

.auth-change-phone {
  display: inline-flex;
  min-height: 40px;
  margin-block-start: 4px;
  padding-inline: 10px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #d6d1c8;
  font-size: 10px;
  text-decoration: none;
}

.auth-change-phone:hover {
  color: var(--auth-gold-light);
}

.auth-change-phone svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.auth-footer {
  display: flex;
  width: min(100% - 48px, 1240px);
  min-height: 72px;
  margin-inline: auto;
  align-items: center;
  justify-content: space-between;
  color: #625f59;
  font-size: 9px;
}

.auth-footer__secure {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.auth-footer__secure svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: var(--auth-gold-deep);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

@keyframes auth-enter {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes auth-card-enter {
  from { opacity: 0; transform: translateY(20px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes auth-orbit {
  to { transform: rotate(360deg); }
}

@keyframes auth-breathe {
  from { opacity: .07; transform: scale(.94); }
  to { opacity: .15; transform: scale(1.06); }
}

@keyframes auth-shimmer {
  0%, 100% { opacity: .2; }
  50% { opacity: .68; }
}

@keyframes auth-spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 980px) {
  .auth-main {
    width: min(100% - 40px, 720px);
  }

  .auth-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .auth-story {
    display: grid;
    padding: 12px 20px;
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 20px;
  }

  .auth-story h1 {
    margin-block: 14px 8px;
    font-size: clamp(38px, 7vw, 56px);
  }

  .auth-story__copy > p {
    max-width: 450px;
  }

  .auth-optic {
    display: none;
  }

  .auth-trust-list {
    display: grid;
  }

  .auth-card {
    max-width: 520px;
    margin-inline: auto;
  }
}

@media (max-width: 680px) {
  .auth-header {
    width: min(100% - 32px, 560px);
    min-height: 74px;
  }

  .auth-wordmark {
    grid-template-columns: 32px auto;
    column-gap: 8px;
  }

  .auth-wordmark__mark {
    width: 32px;
    height: 32px;
    font-size: 19px;
  }

  .auth-wordmark__name {
    font-size: 20px;
  }

  .auth-back-link {
    padding-inline: 8px;
  }

  .auth-back-link span {
    display: none;
  }

  .auth-main {
    width: min(100% - 24px, 520px);
    min-height: calc(100svh - 132px);
    padding-block: 12px 24px;
  }

  .auth-layout {
    display: block;
  }

  .auth-story {
    display: none;
  }

  .auth-card {
    padding: 27px 20px 23px;
    border-radius: 23px;
  }

  .auth-steps {
    margin-block-end: 26px;
  }

  .auth-step span {
    font-size: 9px;
  }

  .auth-card__lead {
    margin-block-end: 24px;
  }

  .auth-otp-slots {
    gap: 6px;
  }

  .auth-otp-slots span {
    height: 54px;
    border-radius: 11px;
  }

  .auth-footer {
    width: min(100% - 32px, 560px);
    min-height: 58px;
  }
}

@media (max-width: 390px) {
  .auth-step span {
    display: none;
  }

  .auth-card__heading h2 {
    font-size: 21px;
  }

  .auth-otp-slots {
    gap: 4px;
  }

  .auth-otp-slots span {
    height: 50px;
    font-size: 17px;
  }

  .auth-footer > span:first-child {
    display: none;
  }

  .auth-footer {
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

@media (forced-colors: active) {
  .auth-card,
  .auth-input,
  .auth-otp-slots span,
  .auth-submit {
    border: 1px solid ButtonText;
  }
}
