*,
*::before,
*::after {
  box-sizing: border-box;
}

img,
svg {
  max-width: 100%;
}

@media (max-width: 1200px) {
  .wrapper,
  .description__title-wrapper {
    margin-bottom: 0;
  }

  .screen-block__wrapper {
    top: 0;
  }
}

@media (max-width: 992px) {
  main,
  main > section {
    width: 100%;
    max-width: 100%;
  }

  .hero {
    height: auto;
    min-height: 0;
    padding-bottom: 64px;
    overflow: visible;
  }

  .hero__wrapper,
  .hero__big-col,
  .hero__col,
  #reg-form,
  .rf-container,
  .rf-container__inner,
  .form_block,
  .final-page__form,
  .leadform {
    height: auto;
    min-height: 0;
  }

  .hero__col {
    position: relative;
    z-index: 2;
    padding-bottom: 24px;
  }

  .hero__comment-wrapper {
    position: relative;
    z-index: 1;
    clear: both;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-top: 36px;
    gap: 28px;
  }

  .hero__comment-block {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 620px;
    height: auto;
    min-height: 0;
    overflow: hidden;
    background-color: #17131f;
    background-size: 100% auto;
    background-position: center top;
    border-radius: 24px;
  }

  .hero__comment-block .white-space {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 600 / 714;
    flex: 0 0 auto;
  }

  .hero__comment-text-block {
    position: static;
    width: 100%;
    height: auto;
    padding: 20px;
    border-radius: 0;
  }

  .hero__comment-title-block,
  .hero__comment-text {
    width: 100%;
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .hero__comment-title {
    font-size: 22px;
  }

  .hero__comment-subtitle,
  .hero__comment-text {
    font-size: 16px;
    line-height: 1.45;
  }

  .description,
  .advantages,
  .crypto-exchanges,
  .connect,
  .footer {
    position: relative;
    clear: both;
    height: auto;
    min-height: 0;
  }

  .description {
    padding-top: 56px;
  }

  .description__title-wrapper {
    padding: 0 24px;
  }

  .description__title,
  .description__subtitle,
  .connect-title {
    overflow-wrap: anywhere;
  }

  .advantages {
    padding-top: 48px;
  }

  .advantages__list {
    align-items: stretch;
    width: 100%;
    gap: 20px;
  }

  .advantages__card {
    width: min(100%, 520px);
    max-width: 520px;
    height: auto;
    min-height: 0;
    margin: 0 auto;
  }

  .advantages__card-wrapper,
  .advantages__text-wrapper {
    height: auto;
    min-height: 0;
  }

  .advantages__card-title {
    height: auto;
    min-height: 0;
  }

  .advantages__text-block {
    width: 100%;
    max-width: 720px;
    margin: 40px auto 0;
  }

  .connect__comments-list {
    width: 100%;
  }

  .connect__comment-block {
    height: auto;
    min-height: 0;
  }

  .connect__comment-info {
    min-width: 0;
    height: auto;
  }

  .btn,
  .rf-form-button {
    max-width: 100%;
  }

  .btn span {
    overflow-wrap: anywhere;
  }

  .footer__link-wrapper {
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px 24px;
    padding: 0 18px;
  }

  .footer__link,
  .footer__tagline,
  .footer__copyright {
    text-align: center;
    overflow-wrap: anywhere;
  }

  .chat-slider--mobile {
    width: 100%;
    gap: 18px;
    margin-bottom: 48px;
  }

  .chat-slider--mobile .review-block {
    box-sizing: border-box;
    display: flex;
    width: 100%;
    max-width: 620px;
    height: auto;
    min-height: 0;
    margin: 0;
    padding: 22px;
    gap: 16px;
    justify-content: flex-start;
    background: rgba(39, 29, 68, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 20px;
  }

  .chat-slider--mobile .review-block__header {
    width: 100%;
    margin: 0;
    padding: 0;
    gap: 14px;
  }

  .chat-slider--mobile .review-block__title {
    min-width: 0;
    padding: 0;
    overflow-wrap: anywhere;
  }

  .chat-slider--mobile .review-block__text {
    width: 100%;
    margin: 0;
    padding: 0;
    font-size: 15px;
    line-height: 1.45;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 425px) {
  .hero {
    padding-bottom: 48px;
  }

  .hero__col {
    padding-bottom: 32px;
  }

  .hero__comment-wrapper {
    gap: 20px;
  }

  .hero__comment-block {
    border-radius: 20px;
  }

  .hero__comment-text-block {
    padding: 16px;
  }

  .hero__comment-title {
    font-size: 20px;
  }

  .hero__comment-subtitle,
  .hero__comment-text {
    font-size: 14px;
  }

  .description {
    padding-top: 40px;
  }

  .description__title-wrapper {
    padding: 0 14px;
  }

  .advantages {
    padding-top: 36px;
  }

  .advantages__list {
    gap: 16px;
  }

  .connect__comment-block {
    padding: 16px;
  }

  .connect__comment-info {
    margin-left: 0;
  }

  .connect__comment-btns {
    gap: 18px;
    flex-wrap: wrap;
  }

  .footer__link-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .chat-slider--mobile {
    padding: 0 14px;
  }

  .chat-slider--mobile .review-block {
    padding: 18px;
  }

  .chat-slider--mobile .review-block__title {
    font-size: 15px;
  }

  .chat-slider--mobile .review-block__text {
    font-size: 14px;
  }
}

.submit-error {
  margin-top: 10px;
  color: #a40000;
  font-size: 14px;
  line-height: 1.35;
  text-align: center;
}
