@font-face {
  font-family: 'RisingSun';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/src/assets/fonts/RisingSun/RisingSun-Regular.eot') format('eot'),
    url('/src/assets/fonts/RisingSun/RisingSun-Regular.ttf') format('ttf'),
    url('/src/assets/fonts/RisingSun/RisingSun-Regular.woff') format('woff'),
    url('/src/assets/fonts/RisingSun/RisingSun-Regular.woff2') format('woff2');
}

@font-face {
  font-family: 'RisingSun';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/src/assets/fonts/RisingSun/RisingSun-DemiBold.eot') format('eot'),
    url('/src/assets/fonts/RisingSun/RisingSun-DemiBold.ttf') format('ttf'),
    url('/src/assets/fonts/RisingSun/RisingSun-DemiBold.woff') format('woff'),
    url('/src/assets/fonts/RisingSun/RisingSun-DemiBold.woff2') format('woff2');
}

@font-face {
  font-family: 'RisingSun';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/src/assets/fonts/RisingSun/RisingSun-Bold.eot') format('eot'),
    url('/src/assets/fonts/RisingSun/RisingSun-Bold.ttf') format('ttf'),
    url('/src/assets/fonts/RisingSun/RisingSun-Bold.woff') format('woff'),
    url('/src/assets/fonts/RisingSun/RisingSun-Bold.woff2') format('woff2');
}

@font-face {
  font-family: 'JetBrainsMono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/src/assets/fonts/JetBrainsMono/JetBrainsMono-Medium.eot')
      format('eot'),
    url('/src/assets/fonts/JetBrainsMono/JetBrainsMono-Medium.ttf')
      format('ttf'),
    url('/src/assets/fonts/JetBrainsMono/JetBrainsMono-Medium.woff')
      format('woff'),
    url('/src/assets/fonts/JetBrainsMono/JetBrainsMono-Medium.woff2')
      format('woff2');
}

@font-face {
  font-family: 'Phosphate';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/src/assets/fonts/Phosphate/Phosphate.eot') format('eot'),
    url('/src/assets/fonts/Phosphate/Phosphate.ttf') format('ttf'),
    url('/src/assets/fonts/Phosphate/Phosphate.woff') format('woff'),
    url('/src/assets/fonts/Phosphate/Phosphate.woff2') format('woff2');
}

@font-face {
  font-family: 'Intro';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/src/assets/fonts/Intro/Intro.eot') format('eot'),
    url('/src/assets/fonts/Intro/Intro.ttf') format('ttf'),
    url('/src/assets/fonts/Intro/Intro.woff') format('woff'),
    url('/src/assets/fonts/Intro/Intro.woff2') format('woff2');
}

:root {
  --wrapper-padding-block-start: 40px;
  --wrapper-padding-block-end: 20px;
}

/* Fallback font */
@font-face {
  font-family: 'Phosphate-Intro fallback: Helvetica';
  src: local('Helvetica');
  ascent-override: 104.6906%;
  descent-override: 28.2174%;
  size-adjust: 70%;
}

/* Fallback font */
@font-face {
  font-family: 'Phosphate-Intro fallback: Helvetica';
  src: local('Arial'), local('ArialMT');
  ascent-override: 104.6906%;
  descent-override: 28.2174%;
  size-adjust: 70%;
}

/* colors */
.white {
  color: var(--white-black);
}

.gray {
  color: var(--gray-text);
}

.gray-2 {
  color: var(--gray-text-2);
}

.green {
  color: var(--green-orange-1);
}

.green-2 {
  color: var(--green-2);
}

.yellow {
  color: var(--yellow);
}

.yellow-dark {
  color: var(--yellow-dark);
}

.red {
  color: var(--red);
}

.dark {
  color: var(--dark);
}
/* colors */

.bold {
  font-weight: 600;
}

html {
  --white-black: #000000;
  --white-black-2: #8963eb;
  --color-stroke: #e6e6e6;
  --color-stroke-transparent: rgba(230, 230, 230, 0.5);
  --gray-text: #000000;
  --gray-text-2: #636b78;
  --green-orange-1: #ff5529;
  --green-2: #74de21;
  --bg-1: #f7f7f7;
  --bg-2: #ffffff;
  --item-gray: #ffffff;
  --dark: #242b33;
  --yellow: var(--green-orange-1);
  --yellow-dark: #c5cc94;
  --red: #fa3b3b;

  --titles-font: Phosphate, Intro, 'Phosphate-Intro fallback: Helvetica',
    sans-serif;

  font-size: 14px;
  font-family: 'RisingSun', sans-serif;
  line-height: 1.3;
}
html:has(body.dark),
body.dark {
  --bg-1: #282c34;
  --bg-2: #21252b;
  --white-black: #ffffff;
  --white-black-2: #ffffff;
  --item-gray: #2c313c;
  --gray-text: #abb2b6;
  --gray-text-2: #636b78;
  --color-stroke: #3e4452;
  --color-stroke-transparent: rgba(62, 68, 82, 0.5);
  --green-orange-1: #baff66;
  --green-2: #a2fbb0;
  --yellow: #eefba2;
  --red: #f99393;
}
html,
html * {
  scrollbar-color: var(--green-orange-1) var(--bg-1);
  scrollbar-width: thin;
}
*::-webkit-scrollbar {
  height: 2px;
  width: 7px;
  background-color: var(--bg-1);
  border-radius: 8px;
}
*::-webkit-scrollbar-thumb {
  background-color: var(--green-orange-1);
  border-radius: 8px;
  width: 2px;
  height: 2px;
}

body {
  background: var(--bg-1);
  color: var(--green-orange-1);
  position: relative;
}

#matrix {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 100dvh;
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  z-index: 0;
  /* убирает вертикальную черную полоску */
  padding-left: 5px;
}

.page-content {
  position: relative;
  z-index: 20;
  margin: 120px auto;
  max-width: 1920px;
}
.page-content--about {
  margin: 100px auto;
}

.page-content > .section {
  position: relative;
  z-index: 20;
}

.wrapper {
  position: relative;
  padding: var(--wrapper-padding-block-start) 0 var(--wrapper-padding-block-end)
    0;
  z-index: 50;

  &.--maintenance {
    height: 100vh;
  }
}

.wrapper--text {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100vh;
}

.container {
  --container-padding-x: 20px;

  max-width: 1340px;
  width: 100%;
  padding: 0 var(--container-padding-x);
  margin: 0 auto;
}
.container__smaller {
  max-width: 860px;
}

.content {
  color: var(--white-black);
  font-size: 18px;
  line-height: 130%;
  font-weight: 600;
  border-radius: 30px;
  background: var(--bg-2);
  padding: 20px;
  border: 1px solid var(--color-stroke);
}
.content--terms {
  font-weight: 400;
}
.content__title {
  margin-bottom: 30px;
  color: var(--green-orange-1);
  font-size: 24px;
  line-height: 130%;
  font-weight: 600;
}
.content__sublist-title {
  font-weight: 600;
  display: inline-block;
  margin-bottom: 1.5rem;
}
.content__text {
  margin-bottom: 30px;
}
.content ol,
.content ul {
  padding-left: 1rem;
  margin-bottom: 50px;
}
.content ul li .content li:not(:last-child) {
  margin-bottom: 1.5rem;
}
.content img {
  border-radius: 20px;
  max-width: 550px;
  width: 100%;
  display: block;
  margin: 0 0 30px 0;
}
.content picture {
  width: 100%;
}

.content {
  margin-top: 55px;
  overflow-wrap: break-word;
}
.content > ol,
.content > ul {
  padding-left: 1.35rem;
}

.content__ol {
  counter-reset: nestedItem;
}
.content__ol > li {
  list-style-type: none;
  display: block;
}
.content__ol > li > div {
  margin-bottom: 15px;
}
.content__ol > li > div:first-child {
  display: inline-block;
  overflow-wrap: break-word;
  max-width: 100%;
}
.content__ol > li::before {
  content: counters(nestedItem, '.', decimal) ' ';
  counter-increment: nestedItem;
  font-weight: 600;
}
.content__ol ul {
  list-style-type: disc;
  padding-left: 1.5rem;
}
.content__ol ul ul {
  list-style-type: circle;
  margin-top: 10px;
}
.content__ol ul > li,
.content__ol li {
  margin-bottom: 10px;
}
.content__ol ol,
.content__ol ul {
  margin-bottom: 30px;
}
.content__ol--with-divider > li:not(:last-child) {
  border-bottom: 1px solid var(--white-black);
}
.content__ol--with-divider > li {
  margin-top: 20px;
}

.page-content--terms,
.page-content--software-agreement,
.page-content--dpa {
  .page-title {
    font-size: 50px;

    @media screen and (max-width: 619px) {
      font-size: 30px;
    }
  }
}
.page-content--privacy,
.page-content--cookies-policy {
  .page-title {
    font-size: 70px;

    @media screen and (max-width: 992px) {
      font-size: 50px;
    }
    @media screen and (max-width: 619px) {
      font-size: 26px;
    }
  }
}
.page-content--cookies-policy {
  .page-title {
    font-size: 70px;

    @media screen and (max-width: 619px) {
      font-size: 50px;
    }
  }
}

.lang-ru {
  .page-content--faq {
    .page-title {
      @media screen and (max-width: 479px) {
        font-size: 36px;
      }
    }
  }

  .page-content--cookies-policy {
    .page-title {
      @media screen and (max-width: 719px) {
        font-size: 50px;
      }
      @media screen and (max-width: 549px) {
        font-size: 30px;
      }
    }
  }

  .page-content--privacy {
    .page-title {
      @media screen and (max-width: 749px) {
        font-size: 36px;
      }
      @media screen and (max-width: 569px) {
        font-size: 30px;
      }
    }
  }
}

.faq {
  margin-top: 40px;
}
.faq__item,
.faq__item.block-wrapper {
  color: var(--gray-text);
  font-size: 16px;
  line-height: 130%;
  padding: 25px 30px;
}
.faq__item:not(:last-child) {
  margin-bottom: 20px;
}
.faq__item-title {
  font-size: 24px;
  line-height: 130%;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--green-orange-1);
}
.faq__item-text {
  p:not(:last-child) {
    margin-bottom: 1.5rem;
  }

  strong {
    font-weight: 600;
  }

  ol,
  ul {
    list-style-position: inside;

    &:not(:last-child) {
      margin-bottom: 1.5rem;
    }

    li:not(:last-child) {
      margin-bottom: 1.5rem;
    }
  }
}
.faq__block-title {
  font-weight: 600;
  color: var(--white-black);
  font-size: 24px;
  margin-bottom: 20px;
}
.faq__section:not(:last-child) {
  margin-bottom: 40px;
}

.logo {
  width: 200px;
  height: 60px;
  margin: 0 auto;
}
.logo__img {
  width: 100%;
  height: 100%;
}
.text {
  margin: 80px auto;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.text svg {
  width: auto;
  height: min(405px, 50vh);
}

.section {
  padding: 60px 0;
}
.section:first-child {
  padding-top: 0;
}
.section:last-child {
  padding-bottom: 0;
}

.section-title {
  color: var(--yellow);
  font-size: 30px;
  line-height: 130%;
  margin-bottom: 40px;
  font-weight: 600;
}

.link {
  color: var(--green-orange-1);
  transition: all 0.3s ease;
}
.link:hover {
  color: var(--white-black-2);
}

/* MAINTENANCE */
.maintenance-page {
  height: calc(
    100vh - var(--wrapper-padding-block-start) -
      var(--wrapper-padding-block-end)
  );
  margin-block: 0 !important;
  display: flex;
  flex-direction: column;
  justify-content: center;

  .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--green-orange-1);
  }

  .maintenance-title {
    font-family: var(--titles-font);
    font-size: 72px;
    text-align: center;
    overflow-wrap: break-word;
    width: 100%;
  }

  @media screen and (max-width: 992px) {
    .maintenance-title {
      font-size: 60px;
    }
  }

  @media screen and (max-width: 440px) {
    .maintenance-title {
      font-size: 50px;
    }
  }
}

/* HEADER */
.header {
  width: 100%;
  position: relative;
}
.header__inner {
  background-color: var(--bg-2);
  border-radius: 60px;
  border: 1px solid var(--color-stroke);
  color: var(--white-black);
  padding: 20px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 80px;
  position: relative;
}
.header__logo {
  width: 75px;
  height: 30px;
  flex: 0 0 auto;
  display: block;
  color: var(--green-orange-1);
}
.header__nav {
  flex: 1 1 auto;
}
.header__buttons {
  display: flex;
  align-items: center;
  gap: 20px;
}
.header__button--burger {
  display: none;
}
.header__nav-top {
  display: none;
}
.header__nav-list {
  display: flex;
  align-items: center;
  gap: 60px;
}
.header__nav-link {
  font-size: 18px;
  line-height: 130%;
  font-weight: 600;
}
.header__login-button-icon {
  display: none;
}

/* APP-LINK */
.app-link {
  border-radius: 10px;
  padding: 12px 20px;
  color: var(--green-orange-1);
  border: 1px solid rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  height: 44px;
  font-size: 1.25em;
}
body.dark .app-link {
  border-color: rgba(255, 255, 255, 0.1);
}
.app-link:hover {
  color: var(--white-black-2);
}
.app-link svg {
  width: 85px;
  height: 24px;
}

.app-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

/* DOWNLOAD-WRAPPER */
.download-wrapper.block-wrapper {
  padding: 0;
  display: flex;
  overflow: hidden;
}
.download-wrapper__links-wrapper {
  display: flex;
  align-items: center;
  padding-right: 50px;
  padding-left: 110px;
  flex: 1 1 auto;
}
.download-wrapper__title {
  color: var(--white-black);
  font-size: 30px;
  line-height: 130%;
  font-weight: 600;
  margin-bottom: 20px;
}
.download-wrapper__title span:last-child {
  color: var(--green-orange-1);
}
.download-wrapper__img-wrapper {
  flex: 0 1 720px;
  background-color: var(--green-orange-1);
  position: relative;
  height: 400px;
  background-image: url('/src/assets/img/phones-892.webp');
  background-image: image-set(
    url('/src/assets/img/phones-439.webp') 1x,
    url('/src/assets/img/phones-669.webp') 2x,
    url('/src/assets/img/phones-892.webp') 3x
  );
  background-position: center top -25%;
  background-repeat: no-repeat;
  background-size: 440px 547px;
  border-radius: 30px;
}

/* ICON-BUTTON */
.icon-button {
  border-radius: 50%;
  width: 40px;
  height: 40px;
  background-color: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
}
body.dark .icon-button {
  background-color: var(--item-gray);
}
.icon-button .icon {
  color: var(--green-orange-1);
  font-size: 22px;
  transition: all 0.3s ease;
}
.icon-button:hover .icon {
  color: var(--white-black-2);
}

.theme-switcher__icon.icon {
  color: var(--white-black);
}
.theme-switcher:hover .theme-switcher__icon.icon {
  color: var(--green-orange-1);
}

/* BUTTON */
.button {
  padding: 10px 27px;
  background: var(--green-orange-1);
  border-radius: 60px;
  font-size: 14px;
  line-height: 130%;
  color: var(--bg-2);
  font-weight: 600;
  transition: all 0.3s ease;
}
.button:hover:not(:disabled) {
  box-shadow: 0px 1px 12px rgba(186, 255, 102, 0.4);
  background-color: #83b547;
  border-color: #83b547;
}
.button:disabled {
  cursor: default;
  border-color: var(--color-stroke);
  background-color: var(--item-gray);
  color: var(--gray-text-2);
}

/* BLOCK-WRAPPER */
.block-wrapper {
  border-radius: 30px;
  background: var(--bg-2);
  padding: 40px;
  border: 1px solid var(--color-stroke);
}

.page-title {
  line-height: 130%;
  font-weight: 700;
  color: var(--green-orange-1);
  text-transform: uppercase;
  font-family: var(--titles-font);
  font-size: 96px;
  overflow-wrap: break-word;
}
.page-subtitle {
  margin-top: 20px;
  color: var(--white-black);
  font-size: 18px;
  line-height: 130%;
}

/* FIRST */
.first {
  position: relative;
}
.first__body {
  position: relative;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr 420px;
  grid-template-rows: repeat(3, auto);
  gap: 20px 60px;
  width: 100%;
}
._mac .first__title-wrap {
  margin-bottom: -20px;
}
.first__title-wrap {
  grid-column: 1 / 2;
}
.first__detail {
  grid-column: 1 / 2;
  color: var(--white-black);
  font-size: 30px;
  line-height: 130%;
}
.first__form-wrapper {
  grid-column: 1 / 2;
}
.first__img {
  grid-row: 1 / -1;
  grid-column: 2 / 3;
  width: 420px;
  aspect-ratio: 420 / 546;
  background-image: url('/src/assets/img/light/phone-screen-840.webp');
  background-image: image-set(
    url('/src/assets/img/light/phone-screen-420.webp') 1x,
    url('/src/assets/img/light/phone-screen-630.webp') 2x,
    url('/src/assets/img/light/phone-screen-840.webp') 3x
  );
  background-size: contain;
  background-repeat: no-repeat;
}
.first__container {
  display: flex;
  align-items: flex-start;
  gap: 60px;
}

.first__by-servx {
  display: flex;
  justify-content: flex-end;
  position: relative;
  max-width: 780px;
  font-size: 18px;
  line-height: 130%;
  top: -20px;
  color: var(--green-orange-1);
}
.first__form-wrapper {
  max-width: 575px;
}
._mac .first__by-servx {
  top: -40px;
}
body.dark .first__img {
  background-image: url('/src/assets/img/dark/phone-screen-840.webp');
  background-image: image-set(
    url('/src/assets/img/dark/phone-screen-420.webp') 1x,
    url('/src/assets/img/dark/phone-screen-630.webp') 2x,
    url('/src/assets/img/dark/phone-screen-840.webp') 3x
  );
}

/* FIRST: Заголовок и его адаптив */
.first__title {
  font-size: unset !important;

  span:first-child {
    font-size: clamp(54px, 1svw + 4.35rem, 68px);
    line-height: 130%;
  }

  span:last-child {
    font-size: clamp(68px, 1svw + 7.65rem, 120px);
    line-height: 130%;
  }
}
.lang-es .first__title {
  span:first-child {
    font-size: clamp(48px, 1svw + 4.35rem, 60px);
  }

  span:last-child {
    font-size: clamp(48px, 1svw + 7.65rem, 85px);
  }
}
.lang-pt .first__title {
  span:first-child {
    font-size: clamp(40px, 1svw + 4.35rem, 45px);
  }

  span:last-child {
    font-size: clamp(60px, 1svw + 7.65rem, 113px);
  }
}
.lang-de .first__title {
  span:first-child {
    font-size: clamp(44px, 1svw + 4.35rem, 52px);
  }

  span:last-child {
    font-size: clamp(68px, 1svw + 7.65rem, 70px);
  }
}
.lang-ru .first__title {
  span:first-child {
    font-size: clamp(44px, 1svw + 4.35rem, 52px);
  }

  span:last-child {
    font-size: clamp(56px, 1svw + 7.65rem, 67px);
  }
}
.first__by-servx {
  .icon {
    position: absolute;
    right: 0;
    bottom: 0;
    transform: translate(120%, -85%);
    font-size: 13px;
  }
}
@media screen and (max-width: 899px) {
  .first__title {
    span:first-child {
      font-size: calc(2svw + 3rem);
    }
    span:last-child {
      font-size: calc(2svw + 6.25rem);
    }
  }
  .lang-es .first__title {
    span:first-child {
      font-size: calc(2svw + 2.5rem);
    }
    span:last-child {
      font-size: calc(2svw + 4rem);
    }
  }
  .lang-pt .first__title {
    span:first-child {
      font-size: calc(2svw + 1.5rem);
    }
    span:last-child {
      font-size: calc(2svw + 5rem);
    }
  }
  .lang-de .first__title {
    span:first-child {
      font-size: calc(2svw + 2rem);
    }
    span:last-child {
      font-size: calc(2svw + 3.5rem);
    }
  }
  .lang-es .first__title {
    span:last-child {
      font-size: calc(2svw + 3rem);
    }
  }
  .lang-ru .first__title {
    span:last-child {
      font-size: calc(2svw + 3rem);
    }
  }

  .first__by-servx {
    justify-content: flex-start;
    display: inline-flex;
    top: 0;
  }
}
@media screen and (max-width: 729px) {
  .first__title {
    span:first-child {
      font-size: calc(2svw + 1.75rem);
    }
    span:last-child {
      font-size: calc(2svw + 3.8rem);
    }
  }
  .lang-es .first__title {
    span:first-child {
      font-size: calc(2svw + 1.5rem);
    }
    span:last-child {
      font-size: calc(2svw + 2.5rem);
    }
  }
  .lang-pt .first__title {
    span:first-child {
      font-size: calc(2svw + 1rem);
    }
    span:last-child {
      font-size: calc(2svw + 3.5rem);
    }
  }
  .lang-de .first__title {
    span:first-child {
      font-size: calc(2svw + 1.25rem);
    }
    span:last-child {
      font-size: calc(2svw + 2rem);
    }
  }
  .lang-ru .first__title {
    span:first-child {
      font-size: calc(2svw + 1.25rem);
    }
    span:last-child {
      font-size: calc(2svw + 1.875rem);
    }
  }
}
@media screen and (max-width: 479px) {
  .first__title {
    span:first-child {
      font-size: 28px;
    }
    span:last-child {
      font-size: 48px;
    }
  }
  .lang-es .first__title {
    span:first-child {
      font-size: 24px;
    }
    span:last-child {
      font-size: 34px;
    }
  }
  .lang-pt .first__title {
    span:first-child {
      font-size: calc(2svw + 1em);
    }
    span:last-child {
      font-size: calc(2svw + 2.5rem);
    }
  }
  .lang-de .first__title {
    span:first-child {
      font-size: calc(2svw + 1em);
    }
    span:last-child {
      font-size: calc(2svw + 2.5rem);
    }
  }
  .lang-ru .first__title {
    span:first-child {
      font-size: calc(2svw + 1em);
    }
    span:last-child {
      font-size: calc(2svw + 1.3rem);
    }
  }

  .content {
    margin-left: calc(var(--container-padding-x) * -1);
    margin-right: calc(var(--container-padding-x) * -1);
    border-radius: 0;
    border-left: 0;
    border-right: 0;
  }
}
@media screen and (max-width: 369px) {
  .first__title {
    span:first-child {
      font-size: 22px;
    }
    span:last-child {
      font-size: 40px;
    }
  }
  .lang-es .first__title {
    span:first-child {
      font-size: 20px;
    }
    span:last-child {
      font-size: 28px;
    }
  }
  .lang-pt .first__title {
    span:first-child {
      font-size: 20px;
    }
    span:last-child {
      font-size: 36px;
    }
  }
}

/* TERMINAL */
.terminal-wrapper {
  position: absolute;
  right: 0;
  top: -40px;
  width: 50%;
  height: 800px;
  background: url('/src/assets/img/laptop-screen.svg') no-repeat;
  background-position: left 50px center;
  padding: 91px 0 86px 77px;
  z-index: 150;
}
.terminal-wrapper::after {
  content: '';
  position: absolute;
  bottom: 15px;
  left: -30px;
  right: 0;
  display: block;
  height: 35px;
  background: url('/src/assets/img/laptop-bottom.svg') no-repeat;
  background-size: 100% auto;
}
.terminal {
  border: 1px solid var(--green-orange-1);
  border-right: 0;
  background-color: var(--bg-2);
  height: 100%;
}
.terminal__title {
  padding: 28px 15px 28px 35px;
  color: var(--white-black);
  font-size: 21px;
  line-height: 130%;
  border-bottom: 1px solid var(--color-stroke);
  font-weight: 600;
}
.terminal__body {
  padding: 35px 15px 15px 25px;
  overflow: auto;
  max-height: calc(100% - 85px);
  font-family: 'JetBrainsMono';
  font-weight: 500;
  counter-reset: terminal-line;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.terminal__line {
  width: 100%;
  display: flex;
  gap: 10px;
  color: var(--gray-text);
  font-size: 16px;
}
.terminal__line-count {
  color: var(--gray-text-2);
  width: 26px;
  text-align: right;
  font-size: 14px;
  line-height: 130%;
  counter-increment: terminal-line;
  flex-shrink: 0;
}
.terminal__line-count::before {
  content: counter(terminal-line);
}
.terminal__text {
  flex: 1 1 auto;
  display: flex;
}
.terminal__text::before {
  content: '>';
  color: var(--green-orange-1);
  font-size: 14px;
  font-weight: 500;
}
.terminal__input {
  flex: 1 1 auto;
  font-size: 16px;
}
.terminal__input input {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  color: var(--green-2);
}

/* INPUT-WRAPPER */
.input-wrapper {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.input-wrapper__input:-webkit-autofill,
.input-wrapper__input:-webkit-autofill:focus {
  transition-property: background-color, color, border-color !important;
  transition-duration: 600000s, 600000s, 0.2s !important;
}
.input-wrapper__label {
  align-self: flex-start;
  cursor: pointer;
  display: inline-block;
  color: var(--gray-text);
  font-size: 16px;
  line-height: 130%;
}
.input-wrapper__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.input-wrapper__top .input-wrapper__label {
  align-self: center;
}
.input,
.textarea {
  padding: 20px;
  border-radius: 16px;
  font-size: 16px;
  line-height: 130%;
  outline: none;
  border: 1px solid var(--color-stroke);
  background-color: var(--item-gray);
  color: var(--white-black);
}
.textarea {
  resize: none;
  min-height: 160px;
}

.input::placeholder {
  color: var(--gray-text);
}

/* INPUT-CONTROLS */
.input-controls {
  display: flex;
  gap: 10px;
  border-radius: 60px;
  padding: 5px 10px;
  border: 1px solid var(--color-stroke);
}

.input-controls__button {
  width: 35px;
  height: 35px;
  font-size: 18px;
  line-height: 130%;
  color: var(--white-black);
  border: 1px solid var(--green-orange-1);
  border-radius: 50%;
  background-color: var(--bg-1);
  transition: all 0.3s ease;
}
.input-controls__button:hover {
  box-shadow: 0px 1px 12px rgba(186, 255, 102, 0.4);
  border-color: #83b547;
}

/* FORM-WRAPPER */
.form-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.form-wrapper__form#firstLoginForm {
  width: 100%;
}
.form-wrapper__form-title {
  font-size: 30px;
  line-height: 130%;
  font-weight: 600;
  margin-bottom: 40px;
  color: var(--green-orange-1);
}
.form-wrapper__subtitle {
  font-size: 24px;
  line-height: 130%;
  color: var(--gray-text);
  margin-top: 20px;
}
.form-wrapper__input {
  margin-bottom: 50px;
  position: relative;
  width: 100%;
}
.form-wrapper__inputs-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 40px;
}
.form-wrapper__inputs-group .form-wrapper__input {
  flex: 1 1 47%;
  margin-bottom: 0;
}
.form-wrapper__inputs-group .form-wrapper__textarea {
  flex: 1 1 100%;
}
.form-wrapper__error {
  color: var(--red);
  position: absolute;
  top: calc(100% + 5px);
}
.form-wrapper__button {
  min-width: 160px;
  font-size: 14px;
  padding: 8px 20px;
}
.form-wrapper__textarea {
  position: relative;
}

/* INFOGRAPHICS */
.infographics__img {
  width: 100%;
  aspect-ratio: 1300 / 1140;
  background-image: url('/src/assets/img/light/infographics-1950.webp');
  background-image: image-set(
    url('/src/assets/img/light/infographics-1300.webp') 1x,
    url('/src/assets/img/light/infographics-1950.webp') 2x
  );
  background-repeat: no-repeat;
  background-size: contain;
  border-radius: 30px;
  margin: 0 auto;
}
body.dark .infographics__img {
  background-image: url('/src/assets/img/dark/infographics-1950.webp');
  background-image: image-set(
    url('/src/assets/img/dark/infographics-1300.webp') 1x,
    url('/src/assets/img/dark/infographics-1950.webp') 2x
  );
}

/* ADVANTAGES */
.advantages__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 20px;
}
.advantage-item {
  --padding-x: 30px;
  --img-size: 170px;

  padding: 40px var(--padding-x);
  padding-left: calc(var(--padding-x) + var(--img-size) + 20px);
  height: 100%;
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 300px;
  background-size: auto var(--img-size);
  background-repeat: no-repeat;
  background-position: left var(--padding-x) center;
}
.advantage-item--app {
  background-image: url('/src/assets/img/light/phone-325.webp');
  background-image: image-set(
    url('/src/assets/img/light/phone-217.webp') 1x,
    url('/src/assets/img/light/phone-325.webp') 2x
  );
  background-size: auto 200px;
}
.advantage-item--security {
  background-image: url('/src/assets/img/light/security-456.webp');
  background-image: image-set(
    url('/src/assets/img/light/security-304.webp') 1x,
    url('/src/assets/img/light/security-456.webp') 2x
  );
}
.advantage-item--advertising {
  background-image: url('/src/assets/img/light/budget-510.webp');
  background-image: image-set(
    url('/src/assets/img/light/budget-340.webp') 1x,
    url('/src/assets/img/light/budget-510.webp') 2x
  );
}
.advantage-item--free {
  background-image: url('/src/assets/img/light/free-510.webp');
  background-image: image-set(
    url('/src/assets/img/light/free-340.webp') 1x,
    url('/src/assets/img/light/free-510.webp') 2x
  );
}
body.dark .advantage-item--app {
  background-image: url('/src/assets/img/dark/phone-325.webp');
  background-image: image-set(
    url('/src/assets/img/dark/phone-217.webp') 1x,
    url('/src/assets/img/dark/phone-325.webp') 2x
  );
}
body.dark .advantage-item--security {
  background-image: url('/src/assets/img/dark/security-456.webp');
  background-image: image-set(
    url('/src/assets/img/dark/security-304.webp') 1x,
    url('/src/assets/img/dark/security-456.webp') 2x
  );
}
body.dark .advantage-item--advertising {
  background-image: url('/src/assets/img/dark/budget-510.webp');
  background-image: image-set(
    url('/src/assets/img/dark/budget-340.webp') 1x,
    url('/src/assets/img/dark/budget-510.webp') 2x
  );
}
body.dark .advantage-item--free {
  background-image: url('/src/assets/img/dark/free-510.webp');
  background-image: image-set(
    url('/src/assets/img/dark/free-340.webp') 1x,
    url('/src/assets/img/dark/free-510.webp') 2x
  );
}
.advantage-item__text {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.advantage-item__title {
  color: var(--yellow);
  font-size: 20px;
  line-height: 130%;
  font-weight: 600;
}
.advantage-item__detail {
  color: var(--gray-text);
  font-size: 16px;
  line-height: 130%;
  font-weight: 600;
}
.advantage-item__detail-icons {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}
.advantage-item__detail-icon {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.advantage-item__detail-icon .icon {
  font-size: 50px;
  color: var(--green-orange-1);
}

/* EARNINGS CALC */
.earnings-calc__block-wrapper {
  padding: 60px 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.earnings-calc__inputs {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  flex: 1 1 auto;
}
.earnings-calc__input-wrapper {
  position: relative;
  max-width: 380px;
}
.earnings-calc__input-wrapper .input {
  font-size: 36px;
  font-weight: 600;
}
.earnings-calc__inputs-delimeter {
  width: 1px;
  background-color: var(--color-stroke);
}
.earnings-calc__servx-icon {
  color: var(--gray-text);
  font-size: 80px;
  height: 80px;
  align-items: center;
}

/* POWERS */
.powers__form-wrapper .form-wrapper__form {
  max-width: 1000px;
}
.powers__form-title {
  font-size: 30px;
  line-height: 130%;
  font-weight: 600;
}
.powers__form-wrapper .button {
  margin-top: 40px;
}
.powers__form-wrapper .form-wrapper__sent-request {
  margin-top: 40px;
  font-size: 16px;
  color: var(--white-black);
}

/* REGISTRATION */
.registration__form-wrapper {
  background-image: url('/src/assets/img/light/start-profit.webp');
  background-repeat: no-repeat;
  background-position: right 50px top -30px;
  background-size: 537px 500px;
}
body.dark .registration__form-wrapper {
  background-image: url('/src/assets/img/dark/start-profit.webp');
}

.registration__form-wrapper .form-wrapper__form {
  width: 100%;
  max-width: 480px;
}

/* FOOTER */
.footer {
  position: relative;
  z-index: 20;
  margin-top: auto;
}
.footer__inner {
  width: 100%;
  padding: 40px 50px 40px 40px;
  border-radius: 20px;
  background-color: var(--bg-2);
  color: var(--white-black);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}
.footer__logo {
  width: 100px;
  height: 30px;
  margin: 0 auto;
  color: var(--green-orange-1);
  display: block;
}
.footer__links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}
.footer__link {
  font-size: 16px;
}
.footer__contacts {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 40px;
}
.footer__copyright {
  text-align: center;
  color: var(--gray-text);
  font-size: 12px;
  font-weight: 600;
}

/* CONTACTS-ITEM */
.contacts-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.contacts-item__icon {
  width: 20px;
  height: 20px;
}
.contacts-item__value {
  font-size: 16px;
  line-height: 19px;
  color: var(--white-black);
}
span.contacts-item .icon,
span.contacts-item .icon-button:hover .icon {
  color: var(--green-orange-1);
}

/* LANG SELECT (LANG MENU) */
.lang-menu {
  --lm-bg-color: var(--bg-1);
  --lm-border-color: var(--green-orange-1);

  position: relative;
  z-index: 100;

  .lang-value {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--lm-border-color);
    background: var(--lm-bg-color);
    border-radius: 50px;
    transition: all 0.25s ease-in-out;
  }
  &.--open .lang-value {
    border-radius: 50px 50px 0 0;
  }

  img {
    width: 30px;
    height: 30px;
  }

  menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    border: 1px solid var(--lm-border-color);
    border-top: none;
    background: var(--lm-bg-color);
    padding: 0;
    margin: 0;
    border-radius: 0 0 25px 25px;
    padding-bottom: 10px;
    display: none;
    opacity: 0;
    transform: translateY(-10px);
    animation: selectClose 0.25s ease-in-out;

    li {
      list-style: none;
    }

    a {
      display: flex;
      align-items: center;
      justify-content: center;
      padding-top: 10px;
    }
  }
  &.--open menu {
    display: block;
    opacity: 1;
    transform: translateY(0px);
    animation-name: selectOpen;
  }
}

.page-404 {
  text-align: center;

  .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .not-found-title {
    font-size: 70px;
    font-family: var(--titles-font);
    color: var(--green-orange-1);
    text-transform: uppercase;
    overflow-wrap: break-word;
    max-width: 100%;
  }

  @media screen and (max-width: 479px) {
    .not-found-title {
      font-size: 50px;
    }
  }
}

@keyframes selectOpen {
  0% {
    opacity: 0;
    display: none;
    transform: translateY(-10px);
  }
  100% {
    opacity: 1;
    display: block;
    transform: translateY(0px);
  }
}

@keyframes selectClose {
  0% {
    opacity: 1;
    display: block;
    transform: translateY(0px);
  }
  100% {
    opacity: 0;
    display: none;
    transform: translateY(-10px);
  }
}

body.dark .lang-menu {
  --lm-bg-color: var(--item-gray);
}

@media screen and (max-width: 1899px) {
  .first__by-servx {
    margin-right: 30px;
  }
}
@media screen and (max-width: 1399px) {
  .text svg {
    width: auto;
    height: min(405px, 35vh);
  }

  .first__body {
    grid-template-columns: 1fr 0.5fr;
  }
  .first__title-wrap {
    grid-column: 1 / -1;
  }
  .first__detail {
    max-width: 820px;
  }
  .first__form-wrapper {
    max-width: unset;
  }
  .first__img {
    grid-row: 2 / -1;
    width: 100%;
    margin: 0 auto;
  }

  .earnings-calc__input-wrapper .input {
    font-size: 28px;
  }

  .download-wrapper__links-wrapper {
    padding-left: 50px;
  }
}
@media screen and (min-width: 1200px) and (max-width: 1399px) {
  .terminal-wrapper::after {
    left: 5px;
  }
}

@media screen and (max-width: 1199px) {
  .header__inner {
    gap: 40px;
  }

  .header__nav-list {
    gap: 30px;
  }

  .first__body {
    max-width: unset;
  }

  .terminal-wrapper {
    position: relative;
    width: 100%;
    height: 580px;
    top: 0;
    transform: none;
    background-position: right center;
    background-size: 710px 710px;
    margin-bottom: 80px;
    padding: 51px 0 40px 0;
    display: flex;
    justify-content: flex-end;
    align-items: center;
  }
  .terminal-wrapper::after {
    background-size: 760px 29px;
    background-position: right bottom;
    bottom: 0;
  }

  .terminal {
    width: 680px;
    height: 460px;
    margin-bottom: 20px;
  }

  .registration__form-wrapper {
    background-position: right 50px center;
    background-size: 358px 333px;
  }

  .earnings-calc__block-wrapper {
    padding: 60px 30px;
  }
  .earnings-calc__servx-icon {
    font-size: 60px;
    height: 60px;
  }
}
@media screen and (max-width: 992px) {
  .section {
    padding: 30px 0;
  }

  .page-content {
    margin: 80px auto;
  }
  .page-content--about {
    margin: 40px auto;
  }

  .form-wrapper {
    padding: 30px 20px;
  }

  .first__detail {
    font-size: 18px;
  }
  .first__body {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .first__detail {
    grid-column: 1 / -1;
    grid-row: span 1;
  }
  .first__form-wrapper {
    grid-column: 1 / -1;
    grid-row: span 1;
    grid-row: 4 / 5;
  }
  .first__img {
    grid-column: 1 / -1;
    grid-row: 3 / 4;
    max-width: 300px;
  }

  .advantage-item {
    --padding-x: 20px;
    --img-size: 150px;
  }
  .advantage-item--app {
    background-size: auto var(--img-size);
  }

  .registration__form-wrapper {
    background-position: right 50px bottom 30px;
    background-size: 239px 222px;
  }

  .download-wrapper__img-wrapper {
    flex: 0 1 720px;
    background-color: var(--green-orange-1);
    position: relative;
    height: 400px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 251px 315px;
  }

  .powers__form-title {
    font-size: 24px;
  }

  .earnings-calc__block-wrapper {
    padding: 30px 20px;
  }
  .earnings-calc__inputs {
    flex-direction: column;
    align-items: center;
    gap: 40px;
    width: 100%;
  }
  .earnings-calc__input-wrapper {
    flex: 1 1 auto;
    width: 100%;
    max-width: 500px;
  }
  .earnings-calc__input-wrapper .input {
    font-size: 24px;
  }
  .earnings-calc__input-wrapper .input::placeholder {
    font-size: 20px;
  }
  .earnings-calc__inputs-delimeter {
    display: none;
  }
  .earnings-calc__servx-icon {
    display: none;
  }

  .page-title {
    font-size: 76px;
  }
}

@media screen and (max-width: 899px) {
  .form-wrapper {
    background-image: none;
  }

  .header__inner {
    background: transparent;
    border-radius: 0;
    gap: 20px;
    padding: 0;
    border: 0px;
  }

  .header__button {
    width: 40px;
    height: 40px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .header__button--close .icon::before {
    font-size: 20px;
  }
  .header__login-button-span {
    display: none;
  }
  .header__login-button-icon {
    display: inline-block;
    border-radius: 50%;
  }
  .header__login-button-icon::before {
    font-size: 20px;
  }
  .header__nav-button {
    display: block;
    position: absolute;
  }
  .header__nav {
    position: fixed;
    inset: 0;
    z-index: 900;
    opacity: 0;
    visibility: hidden;
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    background-color: rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
  }
  .header._shown .header__nav {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
  }
  .header__nav-wrapper {
    min-width: 275px;
    background-color: var(--bg-2);
    min-height: 100vh;
    padding: 10px 20px;
    transform: translateX(110%);
    transition: inherit;
  }
  .header._shown .header__nav-wrapper {
    transform: translateX(0);
  }
  .header__nav-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
  }
  .header__nav-logo {
    width: 80px;
    height: 24px;
    display: block;
  }
  .header__nav-list {
    flex-direction: column;
    align-items: flex-start;
    margin-top: 50px;
    gap: 30px;
  }

  .lang-menu {
    .lang-value {
      width: 40px;
      height: 40px;
    }

    img {
      width: 25px;
      height: 25px;
    }
  }

  .terminal-wrapper {
    margin-left: auto;
    width: 100%;
    height: 85vw;
    background-size: calc(100% - 60px) auto;
    margin-bottom: 0;
  }
  .terminal-wrapper::after {
    background-size: calc(100% - 50px) 29px;
    bottom: 5%;
  }

  .terminal {
    margin-bottom: 15px;
    width: calc(93% - 30px);
    height: 73%;
  }

  .first__by-servx {
    max-width: 680px;
  }

  .advantages__list {
    grid-template-columns: 1fr;
  }

  .earnings-calc__block-wrapper {
    padding: 20px;
  }
}

@media screen and (max-width: 729px) {
  .wrapper {
    padding: 10px 0 15px 0;
  }

  .wrapper--text {
    padding: 20px 0 10px 0;
  }

  .text {
    margin: 20px auto 30px auto;
  }

  .first__by-servx {
    max-width: 450px;
  }

  .terminal__title {
    padding: 20px;
    font-size: 18px;
  }

  .terminal__body {
    padding: 15px 10px;
    max-height: calc(100% - 65px);
  }

  .registration__form-wrapper,
  body.dark .registration__form-wrapper {
    background-image: none;
  }

  .download-wrapper {
    flex-direction: column;
  }
  .download-wrapper__links-wrapper {
    padding: 40px 30px 50px 30px;
    width: 100%;
  }
  .download-wrapper__links {
    width: 100%;
  }
  .download-wrapper__img-wrapper {
    background-size: 287px 358px;
    flex: 1 1 auto;
  }
}

@media screen and (max-width: 619px) {
  .page-title {
    font-size: 50px;
  }

  .first__by-servx {
    max-width: 420px;
  }

  .form-wrapper__form-title {
    font-size: 20px;
  }

  .form-wrapper__form {
    width: 100%;
  }

  .advantage-item__image {
    width: 130px;
    height: 120px;
  }

  .advantage-item__detail {
    font-size: 14px;
  }

  .section-title {
    margin-bottom: 20px;
  }

  .terminal-wrapper {
    background-image: url('/src/assets/img/laptop-screen-higher.svg');
    background-size: calc(100% - 20px) 100%;
    background-position: right 0px center;
    height: 125vw;
    margin-bottom: 50px;
  }
  .terminal-wrapper::after {
    background-size: calc(100% - 40px) 29px;
    bottom: -2%;
  }

  .terminal {
    margin-bottom: 10px;
    width: calc(97% - 55px);
    height: 100%;
  }

  .footer__inner {
    padding: 30px;
  }

  .logo {
    width: 150px;
    height: 45px;
  }

  .download-wrapper__buttons .app-link {
    width: 100%;
    text-align: center;
    justify-content: center;
    max-width: 400px;
    margin: 0 auto;
  }

  .footer__contacts {
    gap: 20px;
    align-self: flex-start;
  }
}

@media screen and (max-width: 479px) {
  .first__by-servx {
    max-width: 305px;
    top: 0;
  }
  ._mac .first__by-servx {
    top: -20px;
  }

  .terminal-wrapper::after {
    background-size: calc(100% - 40px) 29px;
    bottom: -3%;
  }

  .terminal {
    margin-bottom: 10px;
    width: 85%;
    height: 110%;
  }

  .infographics__img {
    aspect-ratio: 335 / 614;
    max-width: 335px;
    background-image: url('/src/assets/img/light/infographics-mobile-503.webp');
    background-image: image-set(
      url('/src/assets/img/light/infographics-mobile-335.webp') 1x,
      url('/src/assets/img/light/infographics-mobile-503.webp') 2x
    );
    border: 1px solid var(--color-stroke);
  }
  body.dark .infographics__img {
    background-image: url('/src/assets/img/dark/infographics-mobile-503.webp');
    background-image: image-set(
      url('/src/assets/img/dark/infographics-mobile-335.webp') 1x,
      url('/src/assets/img/dark/infographics-mobile-503.webp') 2x
    );
  }

  .advantage-item {
    padding-left: var(--padding-x);
    min-height: unset;
    padding-top: calc(var(--padding-x) + var(--img-size) + 20px);
    background-position: top var(--padding-x) center;
    text-align: center;
  }
  .advantage-item__detail-icons {
    justify-content: center;
  }

  .footer__contacts {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer__links {
    flex-direction: column;
    align-items: flex-start;
    align-self: flex-start;
  }
}

@media screen and (max-width: 369px) {
  .header__buttons {
    gap: 10px;
  }

  .first__by-servx {
    max-width: 250px;
    top: 0;
  }

  .form-wrapper__input {
    margin-bottom: 60px;
    position: relative;
  }

  .terminal__title {
    padding: 5px 20px;
    font-size: 16px;
  }

  .terminal__body {
    max-height: calc(100% - 35px);
  }

  .download-wrapper__img-wrapper {
    background-size: 230px 286px;
  }
}
