:root {
  --red: #ff0038;
  --pink: #f400ae;
  --text: #18181b;
  --muted: #74747a;
  --line: #d9d9de;
  --soft: #f4f4f5;
  --card: #fff1f7;
  --footer: #17171a;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background: #fff;
  font-family: var(--body-font-family, "TTProExpanded", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif);
  font-size: 1.8rem;
  line-height: 1.35;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.page {
  width: min(1380px, 100%);
  margin: 0 auto;
}

.hero {
  position: relative;
  z-index: 0;
  min-height: 580px;
  padding: 47px 58px 90px;
  border-radius: 0 0 30px 30px;
/*  background:
    radial-gradient(circle at 80% 22%, rgba(255,255,255,.18), transparent 22%),
    linear-gradient(112deg, #ff0036 0%, #ff0049 34%, #f200c2 100%);*/
  color: #fff;
  display: grid;
  grid-template-columns: minmax(500px, 1fr) 560px;
  align-items: center;
  gap: 54px;
  overflow: visible;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0 50%;
  width: 100vw;
  margin-left: -50vw;
  border-radius: inherit;
  background: radial-gradient(circle at 80% 22%, rgba(255,255,255,.18), transparent 22%), linear-gradient(112deg, #ff0036 0%, #ff0049 34%, #f200c2 100%);
  z-index: -1;
}

.hero__content {
  position: relative;
  z-index: 2;
}

.hero__top {
  width: min(720px, 100%);
  margin-bottom: 34px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.hero__brand {
  min-width: 0;
}

.hero__logo {
  width: 610px;
  max-width: 100%;
}

.language-switch {
  min-height: 36px;
  padding: 3px;
  border: 1px solid rgba(255,255,255,.44);
  border-radius: 999px;
  background: rgba(255,255,255,.14);
  font-size: 1.3rem;
  line-height: 1;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  flex: 0 0 auto;
}

.language-switch__current,
.language-switch__link {
  min-width: 34px;
  min-height: 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.language-switch__current {
  background: #fff;
  color: var(--red);
}

.language-switch__link {
  color: #fff;
  transition: background-color .2s ease;
}

.language-switch__link:hover {
  background: rgba(255,255,255,.18);
}

.language-switch__link.language-switch__current {
  background: #fff;
  color: var(--red);
}

.hero__badge {
  width: min(636px, 100%);
  min-height: 46px;
  padding: 9px 22px;
  border: 1px solid rgba(255,255,255,.38);
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  font-size: 2rem;
  line-height: 129%;
  font-weight: 500;
  text-align: center;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.hero h1 {
  max-width: 720px;
  margin: 28px 0 20px;
  font-size: 4rem;
  line-height: 115%;
  letter-spacing: -0.03em;
  font-weight: 700;
}

.hero p {
  max-width: 560px;
  margin: 0 0 22px;
  font-size: 2.4rem;
  line-height: 125%;
  font-weight: 500;
}

.button {
  border: 0;
  border-radius: 999px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  cursor: pointer;
}

.button--light {
  min-width: 292px;
  min-height: 48px;
  padding: 11px 30px;
  background: #fff;
  color: var(--red);
  box-shadow: 0 12px 24px rgba(0,0,0,.12);
  font-size: 2rem;
  font-weight: 700;
}

.hero__button--mobile {
  display: none;
}

.button--red {
  min-width: 264px;
  padding: 10px 22px 11px;
  background: var(--red);
  color: #fff;
  box-shadow: 0 12px 24px rgba(255,0,56,.26);
  flex-direction: column;
  gap: 1px;
  font-size: 1.8rem;
  font-weight: 700;
}

.button--red span {
  font-size: 1.4rem;
  line-height: 129%;
  font-weight: 700;
}

.button--red small {
  font-size: 1.1rem;
  font-weight: 400;
}

.hero__media {
  margin-right: 14px;
}

.hero__media img {
  width: 530px;
  transform: scale(1.05);
}

.steps,
.documents,
.faq {
  padding: 42px 58px 0;
}

.steps h2,
.section-head h2 {
  margin: 0;
  color: var(--red);
  font-size: 4rem;
  line-height: 51px;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.steps h2 {
  font-size: 4rem;
  line-height: 114%;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.steps__grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.step-card {
  min-height: 174px;
  padding: 22px 20px 20px;
  border: 1px solid #ffbbd2;
  border-radius: 14px;
  background: var(--card);
}

.step-card__num {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  margin-bottom: 14px;
  background: linear-gradient(135deg, var(--red), var(--pink));
  color: #fff;
  font-size: 1.6rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.step-card h3 {
  min-height: 50px;
  margin: 0 0 9px;
  font-size: 2rem;
  line-height: 132%;
  font-weight: 500;
}

.step-card p {
  margin: 0;
  color: var(--muted);
  font-size: 1.8rem;
  line-height: 152%;
  font-weight: 400;
}

.limits {
  margin: 36px 50px 8px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  text-align: center;
}

.limits div {
  min-height: 104px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.limits div + div {
  border-left: 1px solid var(--line);
}

.limits strong {
  color: var(--red);
  font-size: 3rem;
  line-height: 38px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.limits span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 1.8rem;
  line-height: 23px;
  font-weight: 400;
}

.notice {
  margin: 0;
  padding: 14px 16px;
  border-radius: 10px;
  background: var(--soft);
  color: var(--muted);
  font-size: 1.8rem;
  line-height: 162%;
  font-weight: 400;
}

.download {
  position: relative;
  min-height: 426px;
  margin: 24px 64px 0;
  padding: 104px 110px 70px;
  border-radius: 28px;
  background: #f2f2f3;
  display: grid;
  grid-template-columns: minmax(360px, 1fr) 310px;
  align-items: center;
  gap: 44px;
  overflow: hidden;
}

.download__copy h2 {
  max-width: 560px;
  margin: 0 0 24px;
  color: var(--red);
  font-size: 4rem;
  line-height: 120%;
  font-weight: 700;
  letter-spacing: -0.03em;
  text-align: left;
}

.download__copy p {
  max-width: 480px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.4rem, 2vw, 2.4rem);
  line-height: 120%;
  font-weight: 400;
}

.download__qr {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.download__qr-code {
  width: 264px;
  height: 264px;
  border-radius: 0;
  margin-bottom: 10px;
  background: #fff;
  overflow: hidden;
  display: grid;
  place-items: center;
}

.download__qr-code img,
.download__qr-code canvas,
.download__qr-code table {
  width: 100% !important;
  height: 100% !important;
}

.documents {
  padding-top: 68px;
}

.section-head {
  display: flex;
  align-items: center;
  gap: 16px;
}

.section-head h2 {
  color: var(--text);
}

.section-head p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: clamp(1.3rem, 1.5vw, 1.8rem);
  line-height: 120%;
  font-weight: 400;
}

.section-head__icon {
  flex: 0 0 auto;
  width: 73px;
  height: 73px;
  object-fit: contain;
}

.document-links {
  margin-top: 30px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 24px;
}

.document-links a {
  font-size: 2rem;
  line-height: 120%;
  font-weight: 500;
}

.document-links__brand {
  font-size: 1.6rem;
  line-height: 150%;
  font-weight: 700;
}

.document-links span {
  color: #EC1C24;
}

.faq {
  padding-top: 62px;
  padding-bottom: 56px;
}

.faq__list {
  margin-top: 44px;
  border-top: 1px solid #1f1f23;
}

.faq details {
  border-bottom: 1px solid #1f1f23;
}

.faq summary {
  min-height: 112px;
  padding: 32px 52px 32px 0;
  list-style: none;
  cursor: pointer;
  position: relative;
  font-size: 2rem;
  line-height: 140%;
  font-weight: 500;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 46%;
  width: 12px;
  height: 12px;
  border-right: 2px solid #17171a;
  border-bottom: 2px solid #17171a;
  transform: rotate(45deg);
  transition: transform .2s ease;
}

.faq details[open] summary::after {
  transform: rotate(225deg);
}

.faq details p {
  margin: -18px 0 28px;
  max-width: 860px;
  color: var(--muted);
  font-size: 1.6rem;
  line-height: 150%;
  font-weight: 400;
}

.footer {
  width: 100%;
  border-radius: 30px 30px 0 0;
  background: var(--footer);
  padding: 0;
}

.footer__inner {
  width: min(1380px, 100%);
  margin: 0 auto;
  padding: 58px 62px 36px;
  color: #fff;
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: 56px;
}

.footer__brand img {
  width: 224px;
  height: auto;
  object-fit: contain;
  object-position: left center;
}

.footer__brand p,
.footer__contacts p,
.footer__bottom {
  color: #83838b;
}

.footer__brand p {
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 160%;
}

.footer__contacts p {
  font-size: 1.2rem;
  line-height: 125%;
  font-weight: 400;
}

.license {
  width: fit-content;
  margin-top: 18px;
  padding: 8px 13px;
  border-radius: 7px;
  background: #242428;
  color: #bdbdc4;
  font-size: 1.2rem;
  font-weight: 500;
  display: inline-flex;
  align-content: center;
  align-items: center;
  gap: 8px;
}

.license::first-letter {
  color: #fff;
}

.license-icon {
  background-color: #EC1C24;
  width: 20px;
  height: 20px;
  text-align: center;
  border-radius: 4px;
  line-height: 2;
}

.footer__contacts,
.footer__app {
  display: flex;
  flex-direction: column;
}

.footer__contacts > span,
.footer__app > span {
  margin-bottom: 14px;
  color: #8b8b92;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 1.2rem;
  font-weight: 500;
}

.footer__contacts strong,
.footer__app strong {
  font-size: 1.6rem;
  font-weight: 400;
}

.footer__app strong {
  font-size: 1.6rem;
  line-height: 120%;
  font-weight: 500;
}

.footer__contacts strong {
  font-size: 1.6rem;
  line-height: 120%;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.footer__app a {
  width: fit-content;
  margin-top: 12px;
  padding: 14px 36px;
  border-radius: 8px;
  background: #222226;
  color: #e9e9ee;
}

.footer__app a {
  font-size: 1.4rem;
  line-height: 120%;
  font-weight: 700;
}

.short-phone {
  width: fit-content;
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #222226;
  color: #e9e9ee;
  font-size: 1.6rem;
  font-weight: 400;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.short-phone__icon {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.short-phone__text {
  display: block;
  font-size: 2rem;
  line-height: 120%;
  font-weight: 700;
}

.short-phone small {
  display: block;
  color: #85858c;
  font-size: 1.2rem;
  line-height: 120%;
  font-weight: 400;
}

.footer__bottom {
  grid-column: 1 / -1;
  margin: 22px 0 0;
  padding-top: 24px;
  border-top: 1px solid #3b3b40;
  font-size: 1.2rem;
  line-height: 125%;
  font-weight: 400;
}

@media (max-width: 920px) {
  body {
    font-size: 1.6rem;
  }

  .page,
  .footer {
    width: 100%;
  }

  .hero {
    min-height: 715px;
    padding: 34px 16px 32px;
    border-radius: 0 0 28px 28px;
    grid-template-columns: 1fr;
    align-content: start;
    gap: 26px;
  }

  .hero::before {
    background: linear-gradient(90deg, #ff00ed 0%, #ff002e 100%);
  }

  .hero__top {
    width: 100%;
    margin-bottom: 16px;
    align-items: center;
    gap: 10px;
  }

  .hero__logo {
    width: min(345px, calc(100vw - 116px));
    margin: 0;
  }

  .language-switch {
    min-height: 34px;
    font-size: 1.2rem;
  }

  .language-switch__current,
  .language-switch__link {
    min-width: 32px;
    min-height: 26px;
  }

  .hero__badge {
    min-height: 46px;
    padding: 7px 16px;
    font-size: 1.2rem;
    line-height: 167%;
    font-weight: 400;
    justify-content: center;
    text-align: center;
  }

  .hero h1 {
    margin: 31px 0 10px;
    font-size: 2.4rem;
    line-height: 117%;
    font-weight: 700;
    letter-spacing: -0.03em;
    text-align: center;
  }

  .hero p {
    max-width: 330px;
    margin-bottom: 0;
    font-size: 1.4rem;
    line-height: 129%;
    font-weight: 500;
    text-align: center;
  }

  .hero__button--desktop {
    display: none;
  }

  .hero__button--mobile {
    display: inline-flex;
    justify-self: center;
    margin-top: -8px;
  }

  .hero__media {
    align-self: end;
    justify-self: center;
    margin: 0;
  }

  .hero__media img {
    width: 350px;
    transform: none;
  }

  .steps,
  .documents,
  .faq {
    padding-left: 16px;
    padding-right: 16px;
  }

  .steps {
    padding-top: 25px;
  }

  .steps h2 {
    max-width: 340px;
    font-size: 2.8rem;
    line-height: 114%;
    font-weight: 700;
  }

  .steps__grid {
    margin-top: 28px;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .step-card {
    min-height: 166px;
    padding: 15px 12px 17px;
    border-radius: 13px;
  }

  .step-card__num {
    width: 35px;
    height: 35px;
    margin-bottom: 17px;
  }

  .step-card h3 {
    min-height: auto;
    margin-bottom: 13px;
    font-size: 2rem;
    line-height: 140%;
    font-weight: 700;
  }

  .step-card p {
    font-size: 1.6rem;
    line-height: 150%;
    font-weight: 400;
  }

  .limits {
    margin: 28px 0 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
  }

  .limits div {
    min-height: 92px;
    padding: 16px 0;
  }

  .limits div + div {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .limits strong {
    font-size: 2.6rem;
    line-height: 123%;
  }

  .limits span {
    font-size: 1.6rem;
    line-height: 144%;
  }

  .notice {
    margin-top: 28px;
    padding: 15px 12px;
    border-radius: 9px;
    font-size: 1.6rem;
    line-height: 150%;
    font-weight: 500;
  }

  .download {
    min-height: 406px;
    margin: 40px 16px 0;
    padding: 40px 24px;
    border-radius: 28px;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 18px;
  }

  .download__qr-code {
    width: 200px;
    height: 200px;
  }

  .download__copy {
    text-align: center;
  }

  .download__copy h2 {
    margin-bottom: 14px;
    font-size: 2.4rem;
    line-height: 133%;
    font-weight: 700;
    text-align: center;
  }

  .download__copy p {
    font-size: 1.4rem;
    line-height: 143%;
    font-weight: 400;
    text-align: center;
  }

  .download__qr img {
    width: 199px;
    margin-bottom: 12px;
  }

  .button--red {
    min-width: 199px;
    min-height: 52px;
    padding: 8px 17px;
    font-size: 1.8rem;
  }

  .button--red span {
    font-size: 1.6rem;
    line-height: 125%;
    font-weight: 700;
  }

  .button--red small {
    font-size: 1.2rem;
    line-height: 133%;
    font-weight: 500;
  }

  .documents {
    padding-top: 51px;
  }

  .section-head {
    gap: 8px;
  }

  .section-head__icon {
    width: 40px;
    height: 40px;
  }

  .section-head h2 {
    font-size: 2.8rem;
    line-height: 114%;
    font-weight: 700;
  }

  .section-head p {
    font-size: 1.2rem;
    line-height: 133%;
    font-weight: 500;
  }

  .document-links {
    margin: 19px 20px 0;
    padding-top: 19px;
    gap: 15px;
  }

  .document-links a {
    font-size: 1.6rem;
    line-height: 150%;
    font-weight: 700;
  }

  .faq {
    padding-top: 45px;
    padding-bottom: 39px;
  }

  .faq .section-head {
    align-items: flex-start;
  }

  .faq .section-head h2 {
    font-size: 2.8rem;
    line-height: 114%;
    font-weight: 700;
    letter-spacing: -0.05em;
  }

  .faq__list {
    margin-top: 28px;
  }

  .faq summary {
    min-height: 80px;
    padding: 18px 40px 18px 0;
    font-size: 1.6rem;
    line-height: 125%;
    font-weight: 700;
  }

  .faq summary::after {
    right: 10px;
  }

  .faq details p {
    margin-top: -7px;
    font-size: 1.5rem;
  }

  .footer {
    border-radius: 42px 42px 0 0;
  }

  .footer__inner {
    padding: 49px 16px 26px;
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .footer__brand img {
    width: 189px;
  }

  .footer__brand p {
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 133%;
  }

  .footer__contacts > span,
  .footer__app > span {
    margin-bottom: 6px;
    text-transform: none;
    letter-spacing: 0;
    font-size: 1.2rem;
    line-height: 133%;
    font-weight: 400;
  }

  .footer__contacts strong,
  .footer__app strong {
    font-size: 1.6rem;
    font-weight: 400;
  }

  .footer__contacts strong {
    font-size: 2rem;
    line-height: 120%;
    font-weight: 700;
  }

  .footer__app strong {
    font-size: 2rem;
    line-height: 120%;
    font-weight: 700;
  }

  .short-phone {
    width: 282px;
    padding: 11px 22px;
    font-size: 1.6rem;
  }

  .footer__app a {
    margin-top: 15px;
    padding: 13px 20px;
    border-radius: 10px;
    background: var(--red);
    font-size: 1.6rem;
    line-height: 125%;
    font-weight: 700;
  }

  .footer__bottom {
    margin-top: 0;
    font-size: 1.2rem;
    line-height: 133%;
    font-weight: 400;
  }
}

@media (max-width: 374px) {
  .hero__logo {
    width: calc(100vw - 112px);
  }

  .download {
    padding-left: 16px;
    padding-right: 16px;
  }
}
