.auth-page {
  background: var(--surface);
}
.auth-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100dvh;
}
.auth-art {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--purple-soft);
  padding: 38px 45px;
  min-height: 100dvh;
  overflow: hidden;
}
.auth-art > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
.auth-home {
  font-size: 11px;
  color: var(--muted);
}
.auth-art-copy {
  padding: 65px 0 15px;
}
.auth-art-copy > .eyebrow {
  font-size: 8px;
  margin-bottom: 25px;
}
.auth-art-copy h2 {
  font-size: clamp(42px, 4.5vw, 67px);
  line-height: 1.07;
  letter-spacing: -0.06em;
  font-weight: 600;
  position: relative;
  z-index: 2;
}
.auth-art-copy h2 > span {
  color: var(--muted);
}
.auth-symbol {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 310px;
  margin-top: 35px;
}
.auth-symbol > img {
  width: 190px;
  height: 190px;
  transform: rotate(-11deg);
  box-shadow: 0 25px 80px #4b366a18;
  border-radius: 52px;
}
.auth-symbol::before {
  content: '';
  position: absolute;
  width: 290px;
  height: 290px;
  border: 1px solid #ac9acf55;
  border-radius: 50%;
  transform: rotate(25deg) scaleX(1.25);
}
.auth-symbol::after {
  content: '';
  position: absolute;
  width: 290px;
  height: 290px;
  border: 1px solid #ac9acf44;
  border-radius: 50%;
  transform: rotate(-25deg) scaleX(1.25);
}
.auth-orbit {
  display: grid;
  place-items: center;
  position: absolute;
  width: 69px;
  height: 69px;
  border-radius: 21px;
  background: var(--surface);
  font-size: 44px;
  z-index: 2;
  box-shadow: var(--shadow);
}
.auth-orbit.one {
  right: 24px;
  top: 20px;
  transform: rotate(10deg);
}
.auth-orbit.two {
  left: 25px;
  bottom: 25px;
  background: var(--purple);
  color: #202329;
  transform: rotate(-15deg);
}
.auth-art-tag {
  position: absolute;
  right: 30px;
  bottom: 38px;
  z-index: 2;
  font-size: 11px;
  background: var(--text);
  color: var(--surface);
  padding: 9px 16px;
  border-radius: 9px;
  transform: rotate(5deg);
}
.auth-art > footer {
  display: flex;
  justify-content: space-between;
  font-size: 8px;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-top: 25px;
}
.auth-content {
  display: flex;
  flex-direction: column;
  padding: 30px 55px;
  min-width: 0;
  min-height: 100dvh;
}
.auth-top {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 45px;
}
.auth-mobile-brand {
  display: none;
}
.auth-form-wrap {
  margin: auto;
  width: min(100%, 390px);
  padding: 45px 0;
}
.auth-form-wrap > .eyebrow {
  font-size: 8px;
  letter-spacing: 0.16em;
  margin-bottom: 18px;
}
.auth-form-wrap > h1 {
  font-size: 37px;
  line-height: 1.1;
  letter-spacing: -0.05em;
}
.auth-subtitle {
  font-size: 12px;
  color: var(--muted);
  margin: 17px 0 34px;
}
.auth-form {
  gap: 20px;
}
.auth-form .field {
  font-size: 11px;
}
.auth-form .input {
  font-size: 13px;
  min-height: 49px;
  background: var(--bg);
}
.auth-form .text-link {
  font-size: 10px;
}
.password-field {
  display: block;
  position: relative;
}
.password-field > .input {
  padding-right: 48px;
}
.password-field > .icon-button {
  position: absolute;
  right: 4px;
  top: 4px;
  width: 40px;
  height: 40px;
  color: var(--muted);
}
.auth-switch {
  font-size: 11px;
  text-align: center;
  color: var(--muted);
  margin-top: 25px;
}
.auth-switch a {
  font-weight: 600;
  color: var(--text);
  margin-left: 4px;
}
.auth-demo-link {
  display: block;
  text-align: center;
  font-size: 10px;
  margin-top: 15px;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.auth-legal {
  display: flex;
  gap: 16px;
  justify-content: center;
  font-size: 9px;
  color: var(--muted);
  margin-top: 15px;
}
.auth-progress {
  display: flex;
  gap: 5px;
  margin-bottom: 15px;
}
.auth-progress > span {
  flex: 1;
  height: 4px;
  border-radius: 5px;
  background: var(--surface-2);
}
.auth-progress > .done {
  background: var(--accent);
}
.auth-step {
  display: flex;
  justify-content: space-between;
  font-size: 8px;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 24px;
}
.auth-step span {
  font-size: 10px;
  letter-spacing: 0;
  color: var(--text);
}
.auth-name-grid {
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.auth-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 10px;
  line-height: 1.7;
  color: var(--muted);
}
.auth-consent input {
  accent-color: var(--blue);
  width: 16px;
  height: 16px;
  margin: 2px 0;
  flex-shrink: 0;
}
.auth-consent a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.auth-form > p.muted {
  font-size: 12px;
}
.code-input {
  font-size: 22px !important;
  letter-spacing: 0.4em;
  text-align: center;
  font-weight: 500;
  padding-left: 28px !important;
}
.auth-success {
  text-align: center;
}
.auth-success > span {
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  border-radius: 25px;
  background: var(--accent);
  color: #263321;
  font-size: 35px;
  margin: 0 auto 25px;
}
.auth-success h2 {
  font-size: 28px;
}
.auth-success p {
  color: var(--muted);
  font-size: 13px;
  margin: 20px 0 25px;
}
.qr-wrap {
  display: flex;
  align-items: center;
  flex-direction: column;
  margin-bottom: 25px;
}
.qr-wrap canvas {
  width: 240px !important;
  height: 240px !important;
  border-radius: 18px;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--line);
}
.qr-label {
  font-size: 9px;
  color: var(--muted);
  margin-top: 12px;
}
.qr-steps {
  font-size: 12px;
  color: var(--muted);
  padding-left: 18px;
  line-height: 1.8;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.qr-status {
  font-size: 10px;
  color: var(--muted);
  text-align: center;
  margin: 20px 0;
}
.auth-form-wrap .field-error {
  font-size: 12px;
  margin-top: 8px;
}
.auth-form-wrap > .stack .muted {
  font-size: 13px;
  line-height: 1.8;
}
@media (min-width: 1600px) {
  .auth-art {
    padding: 55px 75px;
  }
  .auth-art-copy {
    max-width: 600px;
    margin: auto;
  }
  .auth-form-wrap {
    max-width: 430px;
  }
  .auth-form-wrap > h1 {
    font-size: 43px;
  }
  .auth-form-wrap .input {
    min-height: 54px;
  }
}
@media (max-width: 1000px) {
  .auth-art {
    padding: 30px;
  }
  .auth-content {
    padding: 26px 34px;
  }
  .auth-art-copy h2 {
    font-size: 45px;
  }
  .auth-form-wrap > h1 {
    font-size: 32px;
  }
  .auth-home {
    display: none;
  }
  .auth-symbol {
    height: 270px;
  }
  .auth-symbol > img {
    width: 145px;
    height: 145px;
    border-radius: 40px;
  }
  .auth-symbol::before,
  .auth-symbol::after {
    width: 230px;
    height: 230px;
  }
  .auth-orbit {
    width: 50px;
    height: 50px;
    border-radius: 15px;
    font-size: 31px;
  }
  .auth-orbit.one {
    right: 0;
  }
  .auth-orbit.two {
    left: 0;
  }
  .auth-art-tag {
    right: 0;
    font-size: 9px;
  }
}
@media (max-width: 700px) {
  .auth-layout {
    grid-template-columns: 1fr;
  }
  .auth-art {
    display: none;
  }
  .auth-content {
    min-height: 100dvh;
    padding: 20px 24px 26px;
  }
  .auth-top {
    justify-content: space-between;
  }
  .auth-mobile-brand {
    display: block;
  }
  .auth-mobile-brand .brand img {
    width: 40px;
    height: 40px;
  }
  .auth-form-wrap {
    padding: 40px 0;
    width: min(100%, 410px);
  }
  .auth-form-wrap > h1 {
    font-size: 34px;
  }
  .auth-subtitle {
    font-size: 12px;
    margin-bottom: 28px;
  }
  .auth-legal {
    font-size: 9px;
    margin-top: 20px;
  }
  .auth-form {
    gap: 18px;
  }
  .auth-name-grid {
    gap: 12px;
  }
  .auth-form .input {
    min-height: 48px;
  }
  .auth-form .field > span {
    font-size: 11px;
  }
}
