@import url("./fonts/fonts.css");
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: #F4F7FF;
  color: #212121;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--brand-color);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

.w-100 {
  width: 100%;
}

.page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}
@media (max-width: 768px) {
  .page {
    padding: 20px 20px 0;
    justify-content: flex-start;
  }
}

.card {
  display: flex;
  flex-direction: column;
}
@media (max-width: 768px) {
  .card {
    max-width: 100%;
  }
}
@media (min-width: 769px) {
  .card {
    flex-direction: row;
    max-width: calc(695px + (960 - 695) * (100vw - 768px) / (1900 - 768));
    max-height: calc(550px + (580 - 550) * (100vw - 768px) / (1900 - 768));
  }
}
@media (min-width: 769px) and (max-width: 768px) {
  .card {
    max-width: 695px;
  }
}
@media (min-width: 769px) and (min-width: 1900px) {
  .card {
    max-width: 960px;
  }
}
@media (min-width: 769px) and (max-width: 768px) {
  .card {
    max-height: 550px;
  }
}
@media (min-width: 769px) and (min-width: 1900px) {
  .card {
    max-height: 580px;
  }
}
@media (min-width: 1920px) {
  .card {
    width: 960px;
    height: 780px;
  }
}
.card__image {
  width: 100%;
  height: calc(170px + (220 - 170) * (100vw - 320px) / (768 - 320));
}
@media (max-width: 320px) {
  .card__image {
    height: 170px;
  }
}
@media (min-width: 768px) {
  .card__image {
    height: 220px;
  }
}
.card__image {
  overflow: hidden;
  border-radius: 18px;
  box-shadow: 0 4px 40px rgba(0, 0, 0, 0.06);
}
@media (min-width: 769px) {
  .card__image {
    width: 50%;
    height: auto;
    align-self: stretch;
    min-height: 220px;
  }
}
.card__image picture {
  display: block;
  width: 100%;
  height: 100%;
}
.card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.card--margin {
  margin-top: 20px;
}
.card__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 36px;
  align-items: center;
  justify-content: center;
  padding-inline: calc(20px + (50 - 20) * (100vw - 320px) / 448);
}
@media (max-width: 320px) {
  .card__content {
    padding-inline: 20px;
  }
}
@media (min-width: 769px) {
  .card__content {
    padding-inline: calc(25px + (50 - 25) * (100vw - 769px) / 1151);
  }
}
@media (min-width: 1920px) {
  .card__content {
    padding-inline: 50px;
  }
}
.card__content {
  padding-block: calc(20px + (50 - 20) * (100vw - 320px) / 448);
}
@media (max-width: 320px) {
  .card__content {
    padding-block: 20px;
  }
}
@media (min-width: 769px) {
  .card__content {
    padding-block: calc(25px + (50 - 25) * (100vw - 769px) / 1151);
  }
}
@media (min-width: 1920px) {
  .card__content {
    padding-block: 50px;
  }
}
.card__content {
  text-align: center;
  min-width: 0;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 4px 40px rgba(0, 0, 0, 0.06);
}
@media (max-width: 768px) {
  .card__content {
    padding: 40px 22px;
    gap: 30px;
  }
}
@media (min-width: 769px) {
  .card__content {
    width: 50%;
  }
}
.card__content--license {
  text-align: left;
  align-items: stretch;
  padding: 50px;
  gap: calc(36px + (36 - 36) * (100vw - 320px) / 448);
}
@media (max-width: 320px) {
  .card__content--license {
    gap: 36px;
  }
}
@media (min-width: 769px) {
  .card__content--license {
    gap: calc(30px + (50 - 30) * (100vw - 769px) / 1151);
  }
}
@media (min-width: 1920px) {
  .card__content--license {
    gap: 50px;
  }
}
@media (max-width: 768px) {
  .card__content--license {
    padding: 40px 20px;
  }
}
.card__accent-line {
  position: absolute;
  top: -20px;
  left: 0;
  width: 100%;
  height: 100px;
  background: var(--brand-color);
  flex-shrink: 0;
  z-index: -1;
  border-radius: 18px;
}
.card--wide {
  overflow-y: unset;
  position: relative;
}
@media (min-width: 769px) {
  .card--wide {
    width: 720px;
    max-height: 648px;
  }
}

.form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.logo {
  flex-shrink: 1;
  width: calc(230px + (330 - 230) * (100vw - 320px) / 448);
}
@media (max-width: 320px) {
  .logo {
    width: 230px;
  }
}
@media (min-width: 769px) {
  .logo {
    width: calc(235px + (330 - 235) * (100vw - 769px) / 1151);
  }
}
@media (min-width: 1920px) {
  .logo {
    width: 330px;
  }
}
.logo {
  height: calc(52px + (80 - 52) * (100vw - 320px) / 448);
}
@media (max-width: 320px) {
  .logo {
    height: 52px;
  }
}
@media (min-width: 769px) {
  .logo {
    height: calc(53px + (80 - 53) * (100vw - 769px) / 1151);
  }
}
@media (min-width: 1920px) {
  .logo {
    height: 80px;
  }
}

.main-title {
  font-size: calc(28px + (42 - 28) * (100vw - 320px) / (1920 - 320));
}
@media (max-width: 320px) {
  .main-title {
    font-size: 28px;
  }
}
@media (min-width: 1920px) {
  .main-title {
    font-size: 42px;
  }
}
.main-title {
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #212121;
}

.title {
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #212121;
  font-size: calc(24px + (24 - 24) * (100vw - 320px) / 448);
}
@media (max-width: 320px) {
  .title {
    font-size: 24px;
  }
}
@media (min-width: 769px) {
  .title {
    font-size: calc(24px + (32 - 24) * (100vw - 769px) / 1151);
  }
}
@media (min-width: 1920px) {
  .title {
    font-size: 32px;
  }
}

.subtitle {
  font-size: 18px;
  color: #212121;
  font-weight: 300;
  line-height: 1.2;
}
.subtitle--error {
  color: var(--brand-color);
}

.phone-display {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
}

.icon {
  width: calc(100px + (100 - 100) * (100vw - 320px) / 448);
}
@media (max-width: 320px) {
  .icon {
    width: 100px;
  }
}
@media (min-width: 769px) {
  .icon {
    width: calc(80px + (100 - 80) * (100vw - 769px) / 1151);
  }
}
@media (min-width: 1920px) {
  .icon {
    width: 100px;
  }
}
.icon {
  height: calc(100px + (100 - 100) * (100vw - 320px) / 448);
}
@media (max-width: 320px) {
  .icon {
    height: 100px;
  }
}
@media (min-width: 769px) {
  .icon {
    height: calc(80px + (100 - 80) * (100vw - 769px) / 1151);
  }
}
@media (min-width: 1920px) {
  .icon {
    height: 100px;
  }
}

.icon-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.input-group {
  width: 100%;
  position: relative;
}
.input-group__label {
  position: absolute;
  top: 8px;
  left: 16px;
  font-size: 11px;
  color: #9ca3af;
  pointer-events: none;
}
.input-group__input {
  width: 100%;
  height: 51px;
  padding: 16px 20px;
  border: none;
  border-radius: 4px;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.2;
  color: #212121;
  background: #F3F6F8;
  outline: none;
  transition: box-shadow 0.2s;
}
.input-group__input:focus {
  box-shadow: 0 0 0 1px var(--brand-color);
}
.input-group__input::placeholder {
  color: #86919A;
  font-weight: 300;
}
.input-group__hint {
  font-size: 12px;
  color: var(--brand-color);
  text-align: left;
  margin-top: 4px;
}
.input-group--error .input-group__input {
  border-color: var(--brand-color);
}
.input-group--placeholder .input-group__label {
  display: none;
}
.input-group--placeholder .input-group__input {
  padding: 18px 16px;
}

.code-inputs {
  display: flex;
  gap: calc(8px + (12 - 8) * (100vw - 320px) / 448);
}
@media (max-width: 320px) {
  .code-inputs {
    gap: 8px;
  }
}
@media (min-width: 769px) {
  .code-inputs {
    gap: calc(12px + (12 - 12) * (100vw - 769px) / 1151);
  }
}
@media (min-width: 1920px) {
  .code-inputs {
    gap: 12px;
  }
}
.code-inputs {
  justify-content: center;
}
.code-inputs__field {
  min-width: 0;
  width: calc(50px + (60 - 50) * (100vw - 320px) / 448);
}
@media (max-width: 320px) {
  .code-inputs__field {
    width: 50px;
  }
}
@media (min-width: 769px) {
  .code-inputs__field {
    width: calc(60px + (60 - 60) * (100vw - 769px) / 1151);
  }
}
@media (min-width: 1920px) {
  .code-inputs__field {
    width: 60px;
  }
}
.code-inputs__field {
  height: calc(50px + (60 - 50) * (100vw - 320px) / 448);
}
@media (max-width: 320px) {
  .code-inputs__field {
    height: 50px;
  }
}
@media (min-width: 769px) {
  .code-inputs__field {
    height: calc(60px + (60 - 60) * (100vw - 769px) / 1151);
  }
}
@media (min-width: 1920px) {
  .code-inputs__field {
    height: 60px;
  }
}
.code-inputs__field {
  border: 1px solid #F3F6F8;
  border-radius: 8px;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 600;
  text-align: center;
  color: #212121;
  background: #F3F6F8;
  outline: none;
  transition: border-color 0.2s;
  caret-color: transparent;
}
.code-inputs__field::placeholder {
  color: #CED4D9;
  font-weight: 600;
  font-size: 24px;
}
.code-inputs__field--error {
  border-color: var(--brand-color);
}
.code-inputs--error .code-inputs__field {
  border: 2px solid color-mix(in srgb, var(--brand-color) 50%, transparent);
}
.code-inputs--filled .code-inputs__field {
  border-color: #212121;
  background: #fff;
}

.checkbox {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.2;
  cursor: pointer;
  align-self: center;
}
.checkbox__input {
  width: 18px;
  height: 18px;
  accent-color: #82B1FF;
  border-radius: 2px;
  cursor: pointer;
  flex-shrink: 0;
}
.checkbox__label {
  user-select: none;
  font-weight: 300;
  color: #616161;
  text-align: left;
}
.checkbox__label a {
  color: var(--brand-color);
  font-weight: 300;
  text-decoration: underline;
}

.btn {
  display: block;
  width: 100%;
  padding-block: calc(13px + (21 - 13) * (100vw - 320px) / 448);
}
@media (max-width: 320px) {
  .btn {
    padding-block: 13px;
  }
}
@media (min-width: 769px) {
  .btn {
    padding-block: calc(13px + (21 - 13) * (100vw - 769px) / 1151);
  }
}
@media (min-width: 1920px) {
  .btn {
    padding-block: 21px;
  }
}
.btn {
  border: 1px solid #757575;
  border-radius: 100px;
  font-family: "Manrope", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.2;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s;
}
.btn--brand {
  background: #fff;
  color: #757575;
}
.btn--brand:hover {
  background: var(--brand-color);
  border: 1px solid var(--brand-color);
  color: #fff;
}
.btn--brand:disabled, .btn--brand.btn--disabled {
  border: 1px solid #EDEDED;
  background: #EDEDED;
  color: #A8A8A8;
  cursor: not-allowed;
}
.btn--outline {
  background: #fff;
  color: #757575;
}
.btn--outline:hover {
  background: #F3F6F8;
}
.btn--outline:disabled, .btn--outline.btn--disabled {
  color: #9ca3af;
  cursor: not-allowed;
}
.btn--phone {
  border: 1px solid var(--brand-color);
  background: var(--brand-color);
  color: #fff;
  font-size: 24px;
  font-weight: 600;
  padding-block: 18px;
}
.btn--phone:hover {
  background: var(--brand-color);
}

a.btn {
  text-decoration: none;
}

.waiting {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  font-size: 14px;
  color: #616161;
}
.waiting__dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #f9b8c6;
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 0.4;
  }
  50% {
    opacity: 1;
  }
}
.spinner {
  animation: spin 1s linear infinite;
}
.spinner--lg {
  width: 100px;
  height: 100px;
}
.spinner--sm {
  width: 24px;
  height: 24px;
}
.spinner--pink {
  color: var(--brand-color);
}
.spinner--lightgrey {
  color: #616161;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.progress {
  width: 100%;
  height: 8px;
  background: #f3e8eb;
  border-radius: 4px;
  overflow: hidden;
}
.progress__bar {
  height: 100%;
  background: repeating-linear-gradient(-45deg, var(--brand-color), var(--brand-color) 8px, #f06292 8px, #f06292 16px);
  background-size: 22.63px 100%;
  animation: progress-stripe 0.6s linear infinite, progress-width 8s ease-in-out forwards;
  width: 0%;
  border-radius: 4px;
}

@keyframes progress-stripe {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 22.63px 0;
  }
}
@keyframes progress-width {
  0% {
    width: 0%;
  }
  100% {
    width: 100%;
  }
}
.timer-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #FFF3CD;
  border-radius: 8px;
  padding: 16px 20px;
  width: 100%;
}
.timer-box__label {
  color: #212121;
  font-size: 16px;
  font-weight: 300;
}
.timer-box__value {
  padding-inline: 27px;
  font-size: 24px;
  font-weight: 600;
  color: var(--brand-color);
}
@media (max-width: 768px) {
  .timer-box {
    flex-direction: column;
    gap: 4px;
    padding-block: 8px;
  }
}

.redirect {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  margin-top: 16px;
  font-size: 14px;
  color: #616161;
}
.redirect__spinner {
  width: 16px;
  height: 16px;
  border: 2px solid #e5e7eb;
  border-top: 2px solid #616161;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.middle-text {
  font-weight: 300;
  font-size: 16px;
  line-height: 1.2;
  color: #616161;
}

.fs16-w300 {
  font-weight: 300;
  font-size: 16px;
  line-height: 1.2;
}

.text-muted {
  color: #616161;
}

.text-color {
  color: #212121;
}

.link {
  color: var(--brand-color);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.2;
  text-decoration: underline;
  display: inline-block;
}

.hint {
  font-size: 12px;
  text-align: left;
  margin-top: 6px;
}
.hint--error {
  color: var(--brand-color);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
}

.text-small {
  font-size: 13px;
  color: #9ca3af;
}

.license {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
@media (max-width: 420px) {
  .license {
    height: calc(370px + (370 - 370) * (100vw - 320px) / (380 - 320));
    overflow-y: auto;
  }
}
@media (max-width: 420px) and (max-width: 320px) {
  .license {
    height: 370px;
  }
}
@media (max-width: 420px) and (min-width: 380) {
  .license {
    height: 370px;
  }
}
.license__heading {
  font-size: calc(16px + (16 - 16) * (100vw - 320px) / 448);
}
@media (max-width: 320px) {
  .license__heading {
    font-size: 16px;
  }
}
@media (min-width: 769px) {
  .license__heading {
    font-size: calc(16px + (18 - 16) * (100vw - 769px) / 1151);
  }
}
@media (min-width: 1920px) {
  .license__heading {
    font-size: 18px;
  }
}
.license__heading {
  font-weight: 500;
  line-height: 1.2;
  color: var(--brand-color);
}
.license__text {
  font-size: calc(16px + (16 - 16) * (100vw - 320px) / 448);
}
@media (max-width: 320px) {
  .license__text {
    font-size: 16px;
  }
}
@media (min-width: 769px) {
  .license__text {
    font-size: calc(16px + (18 - 16) * (100vw - 769px) / 1151);
  }
}
@media (min-width: 1920px) {
  .license__text {
    font-size: 18px;
  }
}
.license__text {
  font-weight: 300;
  line-height: 1.2;
  color: #212121;
}

.footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: calc(14px + (16 - 14) * (100vw - 320px) / (1920 - 320));
}
@media (max-width: 320px) {
  .footer {
    font-size: 14px;
  }
}
@media (min-width: 1920px) {
  .footer {
    font-size: 16px;
  }
}
.footer {
  font-weight: 300;
  color: #A6A6A6;
  line-height: 1.2;
  text-align: center;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(100px);
  padding-block: calc(23px + (40 - 23) * (100vw - 320px) / (1920 - 320));
}
@media (max-width: 320px) {
  .footer {
    padding-block: 23px;
  }
}
@media (min-width: 1920px) {
  .footer {
    padding-block: 40px;
  }
}
.footer__br {
  display: none;
}
@media (max-width: 768px) {
  .footer__br {
    display: block;
  }
}

.flex-gap18 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.flex-gap12 {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.fw-600 {
  font-weight: 600;
}

.fw-500 {
  font-weight: 500;
}

.phone-description {
  font-weight: 300;
  font-size: 16px;
  line-height: 1.2;
}

.license-title {
  font-weight: 500;
  letter-spacing: -3%;
  line-height: 1.1;
  text-align: center;
  font-size: calc(24px + (42 - 24) * (100vw - 320px) / (1920 - 320));
}
@media (max-width: 320px) {
  .license-title {
    font-size: 24px;
  }
}
@media (min-width: 1920px) {
  .license-title {
    font-size: 42px;
  }
}
