.auth-flow-body {
  background:
    radial-gradient(circle at 82% 12%, rgb(125 66 244 / 0.11), transparent 25%),
    #f7f4fb;
}

.auth-flow-page {
  max-width: none;
  min-height: 100vh;
  min-height: 100svh;
  padding: 0;
}

.auth-flow {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(500px, 0.92fr);
  min-height: 100vh;
  min-height: 100svh;
}

.auth-flow__creative {
  background:
    radial-gradient(circle at 50% -10%, rgb(114 54 224 / 0.28), transparent 35%),
    linear-gradient(145deg, #100725 0%, #160a34 48%, #0b0824 100%);
  color: #fff;
  isolation: isolate;
  min-height: 680px;
  overflow: hidden;
  position: relative;
}

.auth-flow__creative::after {
  background-image:
    radial-gradient(circle, rgb(255 217 138 / 0.8) 0 1px, transparent 1.5px),
    radial-gradient(circle, rgb(255 255 255 / 0.45) 0 1px, transparent 1.5px);
  background-position: 0 0, 38px 48px;
  background-size: 84px 84px, 112px 112px;
  content: "";
  inset: 0;
  mask-image: linear-gradient(to bottom, #000, transparent 65%);
  opacity: 0.28;
  pointer-events: none;
  position: absolute;
  z-index: 2;
}

.auth-flow__creative-image {
  height: 100%;
  inset: 0;
  object-fit: cover;
  object-position: 50% 46%;
  position: absolute;
  width: 100%;
  z-index: -2;
}

.auth-flow__creative-shade {
  background:
    linear-gradient(180deg, rgb(11 5 29 / 0.24) 8%, transparent 38%),
    linear-gradient(0deg, rgb(10 4 28 / 0.96) 0%, rgb(14 6 34 / 0.54) 47%, transparent 75%),
    linear-gradient(90deg, rgb(15 6 37 / 0.35), transparent 58%);
  inset: 0;
  position: absolute;
  z-index: 1;
}

.auth-flow__orb {
  border-radius: 50%;
  filter: blur(56px);
  opacity: 0.34;
  pointer-events: none;
  position: absolute;
  z-index: 2;
}

.auth-flow__orb--pink {
  background: #ef4f9b;
  height: 180px;
  right: -70px;
  top: 20%;
  width: 180px;
}

.auth-flow__orb--cyan {
  background: #63e6d4;
  bottom: 8%;
  height: 140px;
  left: -70px;
  width: 140px;
}

.auth-flow__creative-content {
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: flex-start;
  min-height: inherit;
  padding: clamp(42px, 6vw, 82px);
  position: relative;
  z-index: 3;
}

.auth-flow__creative-story {
  margin-top: clamp(72px, 14vh, 128px);
  max-width: 620px;
}

.auth-flow__creative-story > p {
  margin-bottom: 0;
}

.auth-flow__creative-top {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: space-between;
}

.auth-flow__brand {
  color: #fff;
}

.auth-flow__brand .brand__word small {
  color: #c8b7e1;
}

.auth-flow__creative-kicker {
  align-items: center;
  backdrop-filter: blur(16px);
  background: rgb(20 10 49 / 0.5);
  border: 1px solid rgb(255 255 255 / 0.17);
  border-radius: 999px;
  display: inline-flex;
  font-size: 10px;
  font-weight: 800;
  gap: 9px;
  letter-spacing: 0.1em;
  padding: 10px 14px;
  text-transform: uppercase;
  width: fit-content;
}

.auth-flow__creative-kicker span {
  color: #ffd98a;
  filter: drop-shadow(0 0 8px rgb(255 217 138 / 0.58));
}

.auth-flow__creative-content h2 {
  font-family: "Unbounded", "Manrope", sans-serif;
  font-size: clamp(34px, 4.1vw, 58px);
  letter-spacing: -0.055em;
  line-height: 1.05;
  margin-bottom: 22px;
  max-width: 760px;
}

.auth-flow__creative-content p {
  color: rgb(242 235 251 / 0.82);
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 25px;
  max-width: 590px;
}

.auth-flow__benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.auth-flow__benefits li {
  align-items: center;
  backdrop-filter: blur(14px);
  background: rgb(255 255 255 / 0.08);
  border: 1px solid rgb(255 255 255 / 0.13);
  border-radius: 999px;
  display: flex;
  font-size: 11px;
  font-weight: 700;
  gap: 8px;
  padding: 10px 13px;
}

.auth-flow__benefits span {
  color: #63e6d4;
}

.auth-flow__benefits--bottom {
  margin-top: auto;
  padding-top: 28px;
}

.auth-flow__workspace {
  align-items: center;
  background:
    radial-gradient(circle at 85% 8%, rgb(239 79 155 / 0.08), transparent 24%),
    radial-gradient(circle at 12% 88%, rgb(99 230 212 / 0.08), transparent 25%),
    linear-gradient(145deg, #fcfaff 0%, #f7f4fb 60%, #f2edf8 100%);
  display: flex;
  justify-content: center;
  padding: clamp(48px, 6vw, 88px) clamp(28px, 5vw, 76px);
  position: relative;
}

.auth-flow__workspace-inner {
  max-width: 520px;
  width: 100%;
}

.auth-flow__workspace-inner--verify {
  max-width: 500px;
}

.auth-flow__heading {
  margin-bottom: 28px;
}

.auth-flow__eyebrow {
  color: #7d42f4;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.13em;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.auth-flow__heading h1 {
  color: #201634;
  font-size: clamp(34px, 3.5vw, 48px);
  letter-spacing: -0.055em;
  line-height: 1.08;
  margin-bottom: 17px;
}

.auth-flow__heading > p:last-child {
  color: #746b82;
  font-size: 14px;
  line-height: 1.75;
  margin: 0;
  max-width: 490px;
}

.auth-flow__card {
  background: rgb(255 255 255 / 0.94);
  border: 1px solid #e8e0ef;
  border-radius: 28px;
  box-shadow:
    0 28px 70px rgb(53 28 91 / 0.1),
    inset 0 1px 0 #fff;
  padding: clamp(23px, 3vw, 32px);
}

.auth-flow__card--verify {
  padding-top: 30px;
}

.auth-flow__section-heading {
  align-items: center;
  display: flex;
  gap: 14px;
  justify-content: space-between;
  margin-bottom: 14px;
}

.auth-flow__section-heading p {
  color: #332641;
  font-size: 12px;
  font-weight: 800;
  margin: 0;
}

.auth-flow__section-heading > span {
  color: #91869d;
  font-size: 10px;
  font-weight: 700;
}

.auth-flow__providers {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.auth-provider {
  align-items: center;
  appearance: none;
  background: #fff;
  border: 1px solid #e4ddec;
  border-radius: 16px;
  color: #332641;
  display: flex;
  flex-direction: column;
  font: inherit;
  gap: 8px;
  justify-content: center;
  min-height: 96px;
  padding: 13px 8px 11px;
  position: relative;
  text-align: center;
  text-decoration: none;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.auth-provider:not(:disabled) {
  cursor: pointer;
}

.auth-provider:not(:disabled):hover {
  border-color: rgb(125 66 244 / 0.42);
  box-shadow: 0 12px 28px rgb(64 37 96 / 0.1);
  transform: translateY(-3px);
}

.auth-provider__mark {
  align-items: center;
  background: #f5f1fa;
  border-radius: 11px;
  display: inline-flex;
  font-size: 15px;
  font-weight: 800;
  height: 32px;
  justify-content: center;
  line-height: 1;
  width: 32px;
}

.auth-provider--yandex .auth-provider__mark {
  background: #fff0f0;
  color: #fc3f1d;
  font-family: Arial, sans-serif;
}

.auth-provider--vk .auth-provider__mark {
  background: #eaf4ff;
  color: #0077ff;
  font-size: 11px;
  letter-spacing: -0.06em;
}

.auth-provider--mailru .auth-provider__mark {
  background: #edf4ff;
  color: #126dee;
  font-size: 18px;
}

.auth-provider__label {
  font-size: 10px;
  font-weight: 800;
  line-height: 1.3;
}

.auth-provider__status {
  background: #f2edf7;
  border-radius: 999px;
  color: #84778e;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 4px 6px;
  position: absolute;
  right: 6px;
  text-transform: uppercase;
  top: 6px;
}

.auth-provider--disabled {
  cursor: not-allowed;
  opacity: 0.72;
}

.auth-provider[aria-busy="true"] {
  cursor: wait;
  opacity: 0.68;
}

.auth-flow__social-error {
  color: #a42f28;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.5;
  margin: 10px 2px 0;
}

.auth-flow__divider {
  align-items: center;
  color: #9a8fa4;
  display: flex;
  font-size: 9px;
  font-weight: 800;
  gap: 13px;
  letter-spacing: 0.08em;
  margin: 23px 0;
  text-transform: uppercase;
}

.auth-flow__divider::before,
.auth-flow__divider::after {
  background: #ece5f1;
  content: "";
  flex: 1;
  height: 1px;
}

.auth-flow__field {
  margin-bottom: 18px;
}

.auth-flow__field label {
  color: #332641;
  display: block;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 5px;
}

.auth-flow__field-hint {
  color: #82768e;
  font-size: 10px;
  line-height: 1.55;
  margin: 0 0 9px;
}

.auth-flow__field input {
  appearance: none;
  background: #fff;
  border: 1px solid #d9cfe3;
  border-radius: 14px;
  color: #201634;
  font: inherit;
  font-size: 14px;
  min-height: 56px;
  outline: none;
  padding: 15px 17px;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease;
  width: 100%;
}

.auth-flow__field input::placeholder {
  color: #afa4b8;
}

.auth-flow__field input:focus {
  border-color: #7d42f4;
  box-shadow: 0 0 0 4px rgb(125 66 244 / 0.11);
}

.auth-flow__field input[aria-invalid="true"] {
  border-color: #a42f28;
}

.auth-flow__field--code input {
  font-size: clamp(23px, 3vw, 30px);
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  letter-spacing: 0.32em;
  padding-left: calc(17px + 0.32em);
  text-align: center;
}

.auth-flow__field--code.is-checking input {
  background: #fbf9ff;
  border-color: #9b72ef;
  box-shadow: 0 0 0 4px rgb(125 66 244 / 0.1);
}

.auth-flow__field--code.is-confirmed input {
  background: #f2fbf7;
  border-color: #3a9a72;
  box-shadow: 0 0 0 4px rgb(58 154 114 / 0.12);
  color: #246c50;
}

.auth-flow__code-status {
  color: #71647d;
  font-size: 10px;
  font-weight: 750;
  line-height: 1.5;
  margin: 8px 0 0;
}

.auth-flow__code-status[data-state="success"] {
  color: #267554;
}

.auth-flow__code-status[data-state="error"] {
  color: #a42f28;
}

.auth-flow__errors {
  color: #a42f28;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.5;
  margin-top: 7px;
}

.auth-flow__errors p {
  margin: 0;
}

.auth-flow__submit {
  border: 0;
  font-size: 13px;
  min-height: 56px;
  width: 100%;
}

.auth-flow__submit:disabled {
  cursor: wait;
  opacity: 0.72;
}

.auth-flow__submit::after {
  content: "→";
  font-size: 16px;
  transition: transform 180ms ease;
}

.auth-flow__submit:hover::after {
  transform: translateX(4px);
}

.auth-flow__terms {
  align-items: flex-start;
  color: #84788f;
  cursor: pointer;
  display: flex;
  font-size: 9px;
  gap: 9px;
  line-height: 1.6;
  margin: 0 2px 15px;
}

.auth-flow__terms input {
  accent-color: #7d42f4;
  cursor: pointer;
  flex: 0 0 auto;
  height: 16px;
  margin: 1px 0 0;
  width: 16px;
}

.auth-flow__terms a {
  color: #6f35e4;
  font-weight: 800;
  text-underline-offset: 2px;
}

.auth-flow__terms a:hover {
  color: #d53f91;
}

.auth-flow__terms-errors {
  margin: -8px 2px 13px;
}

.auth-flow__identity-note {
  align-items: flex-start;
  background: linear-gradient(145deg, #f4efff, #fff7fb);
  border: 1px solid #e3d8f0;
  border-radius: 15px;
  color: #665873;
  display: flex;
  font-size: 10px;
  gap: 10px;
  line-height: 1.65;
  margin: -2px 0 16px;
  padding: 12px 13px;
}

.auth-flow__identity-note > span {
  align-items: center;
  background: #e4fbf7;
  border-radius: 50%;
  color: #328e7f;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 9px;
  font-weight: 800;
  height: 20px;
  justify-content: center;
  margin-top: 1px;
  width: 20px;
}

.auth-flow__identity-note p {
  margin: 0;
}

.auth-flow__guest {
  color: #756a80;
  font-size: 11px;
  line-height: 1.6;
  margin: 19px 0 0;
  text-align: center;
}

.auth-flow__guest a,
.auth-flow__recovery a {
  color: #6f35e4;
  font-weight: 800;
  text-decoration: none;
}

.auth-flow__guest a:hover,
.auth-flow__recovery a:hover {
  color: #d53f91;
}

.auth-flow__mail-icon {
  align-items: center;
  background: linear-gradient(145deg, #7d42f4, #ef4f9b);
  border-radius: 16px;
  box-shadow: 0 14px 34px rgb(125 66 244 / 0.25);
  display: flex;
  height: 50px;
  justify-content: center;
  margin-bottom: 22px;
  position: relative;
  transform: rotate(-4deg);
  width: 50px;
}

.auth-flow__mail-icon::before {
  border: 2px solid #fff;
  border-radius: 3px;
  content: "";
  height: 15px;
  position: absolute;
  width: 22px;
}

.auth-flow__mail-icon span {
  border-bottom: 2px solid #fff;
  border-left: 2px solid #fff;
  height: 9px;
  transform: translateY(-4px) rotate(-45deg);
  width: 9px;
}

.auth-flow__recovery {
  border-top: 1px solid #ece5f1;
  margin-top: 23px;
  padding-top: 20px;
  text-align: center;
}

.auth-flow__recovery p {
  color: #82768e;
  font-size: 10px;
  line-height: 1.6;
  margin: 0 0 9px;
}

.auth-flow__recovery a {
  align-items: center;
  display: inline-flex;
  font-size: 11px;
  gap: 7px;
}

.auth-flow__recovery-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 15px;
  justify-content: center;
}

.auth-flow__recovery-actions form {
  margin: 0;
}

.auth-flow__recovery-actions button {
  appearance: none;
  background: none;
  border: 0;
  color: #6f35e4;
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  font-weight: 800;
  padding: 8px 0;
}

.auth-flow__recovery-actions button:hover {
  color: #d53f91;
}

.auth-provider:focus-visible,
.auth-flow__field input:focus-visible,
.auth-flow__terms input:focus-visible,
.auth-flow__terms a:focus-visible,
.auth-flow__submit:focus-visible,
.auth-flow__guest a:focus-visible,
.auth-flow__recovery a:focus-visible {
  outline: 3px solid rgb(99 230 212 / 0.65);
  outline-offset: 3px;
}

.auth-flow__recovery-actions button:focus-visible {
  outline: 3px solid rgb(99 230 212 / 0.65);
  outline-offset: 3px;
}

@media (max-width: 1080px) {
  .auth-flow {
    grid-template-columns: minmax(0, 0.9fr) minmax(470px, 1.1fr);
  }

  .auth-flow__creative-content {
    padding: 46px;
  }

  .auth-flow__creative-content h2 {
    font-size: clamp(32px, 4vw, 44px);
  }

  .auth-flow__creative-story {
    margin-top: clamp(58px, 10vh, 90px);
  }
}

@media (max-width: 860px) {
  .auth-flow {
    grid-template-columns: 1fr;
  }

  .auth-flow__creative {
    min-height: 420px;
  }

  .auth-flow__creative-image {
    object-position: center 44%;
  }

  .auth-flow__creative-content {
    justify-content: space-between;
    min-height: 420px;
    padding: 38px clamp(24px, 7vw, 58px);
  }

  .auth-flow__creative-story {
    margin-top: 0;
  }

  .auth-flow__creative-content h2 {
    font-size: clamp(31px, 7vw, 47px);
    max-width: 650px;
  }

  .auth-flow__creative-content p {
    max-width: 560px;
  }

  .auth-flow__workspace {
    padding-bottom: 72px;
    padding-top: 64px;
  }
}

@media (max-width: 560px) {
  .auth-flow__creative {
    min-height: 360px;
  }

  .auth-flow__creative-content {
    min-height: 360px;
    padding: 28px 20px;
  }

  .auth-flow__creative-content h2 {
    font-size: clamp(28px, 9vw, 38px);
    margin-bottom: 13px;
  }

  .auth-flow__creative-content p {
    font-size: 12px;
    line-height: 1.65;
    margin-bottom: 17px;
  }

  .auth-flow__creative-kicker {
    font-size: 8px;
  }

  .auth-flow__creative-top {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .auth-flow__benefits li {
    font-size: 9px;
    padding: 8px 10px;
  }

  .auth-flow__workspace {
    padding: 48px 16px 58px;
  }

  .auth-flow__heading h1 {
    font-size: clamp(31px, 10vw, 39px);
  }

  .auth-flow__card {
    border-radius: 23px;
    padding: 21px 18px;
  }

  .auth-flow__providers {
    gap: 7px;
  }

  .auth-provider {
    border-radius: 13px;
    min-height: 90px;
    padding-left: 5px;
    padding-right: 5px;
  }

  .auth-provider__label {
    font-size: 9px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .auth-provider,
  .auth-flow__field input,
  .auth-flow__submit::after {
    transition: none;
  }
}

/*
 * Desktop auth is a self-contained screen. At high zoom or on compact mobile
 * viewports the condition no longer applies and normal document scrolling
 * remains available.
 */
@media (min-width: 861px) and (min-height: 700px) {
  .auth-flow-page,
  .auth-flow {
    min-height: 100vh;
    min-height: 100svh;
  }

  .auth-flow__creative {
    min-height: 0;
  }

  .auth-flow__creative-content {
    min-height: 0;
    padding: clamp(32px, 5svh, 58px);
  }

  .auth-flow__creative-story {
    margin-top: clamp(36px, 7svh, 68px);
  }

  .auth-flow__creative-content h2 {
    font-size: clamp(32px, min(4.1vw, 6.2svh), 56px);
    margin-bottom: clamp(14px, 2.2svh, 22px);
  }

  .auth-flow__creative-content p {
    line-height: 1.62;
    margin-bottom: clamp(14px, 2.4svh, 24px);
  }

  .auth-flow__workspace {
    padding: clamp(22px, 4svh, 44px) clamp(28px, 5vw, 76px);
  }

  .auth-flow__heading {
    margin-bottom: clamp(16px, 2.8svh, 26px);
  }

  .auth-flow__heading h1 {
    font-size: clamp(34px, min(3.5vw, 5.8svh), 48px);
    margin-bottom: clamp(10px, 1.8svh, 17px);
  }

  .auth-flow__heading > p:last-child {
    line-height: 1.62;
  }

  .auth-flow__card {
    padding: clamp(20px, 3.5svh, 30px);
  }

  .auth-flow__card--verify {
    padding-top: clamp(22px, 3.8svh, 30px);
  }

  .auth-flow__field {
    margin-bottom: clamp(12px, 2.2svh, 18px);
  }

  .auth-flow__field input,
  .auth-flow__submit {
    min-height: clamp(50px, 7svh, 56px);
  }

  .auth-flow__divider {
    margin-bottom: clamp(14px, 2.5svh, 23px);
    margin-top: clamp(14px, 2.5svh, 23px);
  }

  .auth-flow__section-heading {
    margin-bottom: clamp(10px, 1.8svh, 14px);
  }

  .auth-provider {
    min-height: clamp(78px, 12svh, 96px);
    padding-bottom: 9px;
    padding-top: 10px;
  }

  .auth-flow__guest {
    margin-top: clamp(12px, 2.2svh, 19px);
  }

  .auth-flow__mail-icon {
    height: clamp(44px, 6.5svh, 50px);
    margin-bottom: clamp(14px, 2.5svh, 22px);
    width: clamp(44px, 6.5svh, 50px);
  }
}

/* Contextual save step between an anonymous preview and checkout. */
.checkout-auth {
  margin: 0 auto;
  max-width: 1120px;
  padding: clamp(42px, 7vw, 82px) clamp(18px, 4vw, 42px) 38px;
  width: 100%;
}

.checkout-auth__intro {
  margin: 0 auto clamp(30px, 4vw, 46px);
  max-width: 780px;
  text-align: center;
}

.checkout-auth__eyebrow {
  align-items: center;
  color: #7d42f4;
  display: inline-flex;
  font-size: 10px;
  font-weight: 800;
  gap: 8px;
  letter-spacing: 0.13em;
  margin: 0 0 14px;
  text-transform: uppercase;
}

.checkout-auth__eyebrow span {
  color: #d53f91;
  filter: drop-shadow(0 0 8px rgb(213 63 145 / 0.3));
}

.checkout-auth__intro h1 {
  color: #201634;
  font-size: clamp(36px, 5vw, 56px);
  letter-spacing: -0.06em;
  line-height: 1.05;
  margin: 0 0 18px;
}

.checkout-auth__intro > p:last-of-type {
  color: #746b82;
  font-size: 14px;
  line-height: 1.75;
  margin: 0 auto;
  max-width: 690px;
}

.checkout-auth__assurances {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  justify-content: center;
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
}

.checkout-auth__assurances li {
  align-items: center;
  background: rgb(255 255 255 / 0.74);
  border: 1px solid #e8e0ef;
  border-radius: 999px;
  color: #655971;
  display: inline-flex;
  font-size: 10px;
  font-weight: 800;
  gap: 7px;
  padding: 9px 12px;
}

.checkout-auth__assurances span {
  color: #328e7f;
}

.checkout-auth__shell {
  background: #fff;
  border: 1px solid rgb(224 214 235 / 0.9);
  border-radius: 34px;
  box-shadow:
    0 32px 90px rgb(54 28 91 / 0.12),
    inset 0 1px 0 #fff;
  display: grid;
  grid-template-columns: minmax(330px, 0.86fr) minmax(500px, 1.14fr);
  isolation: isolate;
  overflow: hidden;
}

.checkout-auth__shell .auth-flow__creative {
  min-height: 650px;
}

.checkout-auth__shell .auth-flow__creative-content {
  justify-content: space-between;
  min-height: 650px;
  padding: 36px;
}

.checkout-auth__shell .auth-flow__creative-top {
  align-items: flex-start;
  flex-direction: column;
}

.checkout-auth__shell .auth-flow__creative-story {
  margin-top: 70px;
}

.checkout-auth__shell .auth-flow__creative-content h2 {
  font-size: clamp(30px, 3.3vw, 42px);
  margin-bottom: 17px;
}

.checkout-auth__shell .auth-flow__creative-content p {
  font-size: 13px;
  line-height: 1.65;
  margin-bottom: 19px;
}

.checkout-auth__workspace {
  align-items: center;
  background:
    radial-gradient(circle at 90% 5%, rgb(239 79 155 / 0.06), transparent 28%),
    linear-gradient(145deg, #fff 0%, #fbf9fd 100%);
  display: flex;
  justify-content: center;
  padding: 38px clamp(30px, 4vw, 52px);
}

.checkout-auth__workspace-inner {
  max-width: 500px;
  width: 100%;
}

.checkout-auth__workspace-inner--verify {
  max-width: 440px;
}

.checkout-auth__form-heading {
  margin-bottom: 22px;
}

.checkout-auth__form-heading h2 {
  color: #201634;
  font-family: "Unbounded", "Manrope", sans-serif;
  font-size: clamp(25px, 3vw, 34px);
  letter-spacing: -0.05em;
  line-height: 1.12;
  margin: 0 0 12px;
}

.checkout-auth__form-heading > p:last-child {
  color: #746b82;
  font-size: 12px;
  line-height: 1.65;
  margin: 0;
}

.checkout-auth__workspace .auth-flow__card {
  border-radius: 24px;
  box-shadow: 0 18px 48px rgb(53 28 91 / 0.08);
  padding: 24px;
}

.checkout-auth__workspace .auth-provider {
  min-height: 88px;
}

.checkout-auth__back {
  align-items: center;
  color: #746b82;
  display: flex;
  font-size: 11px;
  font-weight: 800;
  gap: 8px;
  justify-content: center;
  margin: 24px auto 0;
  text-decoration: none;
  width: fit-content;
}

.checkout-auth__back:hover {
  color: #6f35e4;
}

.checkout-auth__back:focus-visible {
  outline: 3px solid rgb(99 230 212 / 0.65);
  outline-offset: 4px;
}

.checkout-auth--verify .checkout-auth__shell .auth-flow__creative,
.checkout-auth--verify .checkout-auth__shell .auth-flow__creative-content {
  min-height: 570px;
}

@media (max-width: 920px) {
  .checkout-auth {
    max-width: 720px;
  }

  .checkout-auth__shell {
    grid-template-columns: 1fr;
  }

  .checkout-auth__shell .auth-flow__creative,
  .checkout-auth__shell .auth-flow__creative-content,
  .checkout-auth--verify .checkout-auth__shell .auth-flow__creative,
  .checkout-auth--verify .checkout-auth__shell .auth-flow__creative-content {
    min-height: 340px;
  }

  .checkout-auth__shell .auth-flow__creative-image {
    object-position: center 44%;
  }

  .checkout-auth__shell .auth-flow__creative-content {
    padding: 30px;
  }

  .checkout-auth__shell .auth-flow__creative-top {
    align-items: center;
    flex-direction: row;
  }

  .checkout-auth__shell .auth-flow__creative-story {
    margin-top: 44px;
    max-width: 520px;
  }

  .checkout-auth__workspace {
    padding-bottom: 44px;
    padding-top: 44px;
  }
}

@media (max-width: 560px) {
  .checkout-auth {
    padding: 34px 12px 30px;
  }

  .checkout-auth__intro {
    margin-bottom: 28px;
    padding: 0 7px;
  }

  .checkout-auth__intro h1 {
    font-size: clamp(32px, 10vw, 40px);
  }

  .checkout-auth__intro > p:last-of-type {
    font-size: 12px;
    line-height: 1.65;
  }

  .checkout-auth__assurances {
    margin-top: 18px;
  }

  .checkout-auth__assurances li {
    font-size: 9px;
    padding: 8px 10px;
  }

  .checkout-auth__shell {
    border-radius: 25px;
  }

  .checkout-auth__shell .auth-flow__creative,
  .checkout-auth__shell .auth-flow__creative-content,
  .checkout-auth--verify .checkout-auth__shell .auth-flow__creative,
  .checkout-auth--verify .checkout-auth__shell .auth-flow__creative-content {
    min-height: 300px;
  }

  .checkout-auth__shell .auth-flow__creative-content {
    padding: 24px 20px;
  }

  .checkout-auth__shell .auth-flow__creative-top {
    align-items: flex-start;
    flex-direction: column;
  }

  .checkout-auth__shell .auth-flow__creative-story {
    margin-top: 28px;
  }

  .checkout-auth__shell .auth-flow__creative-content h2 {
    font-size: clamp(27px, 9vw, 35px);
  }

  .checkout-auth__shell .auth-flow__creative-content p {
    font-size: 11px;
  }

  .checkout-auth__workspace {
    padding: 34px 15px 38px;
  }

  .checkout-auth__form-heading {
    padding: 0 3px;
  }

  .checkout-auth__form-heading h2 {
    font-size: clamp(24px, 8vw, 30px);
  }

  .checkout-auth__workspace .auth-flow__card {
    padding: 21px 18px;
  }
}
