/* -------- FishClub Legal Pages -------- */

.section.legal-section {
  background-color: #f4f6fb;
  padding-top: 100px;
  padding-bottom: 120px;
}

.legal-wrapper {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  background-color: #ffffff;
  border-radius: 24px;
  border: 1px solid #e3e7f0;
  padding: 40px 48px;
  box-shadow: 0 18px 60px rgba(0, 11, 34, 0.06);
}

.legal-wrapper--center {
  text-align: left;
}

/* Заголовки и текст */

.legal-heading {
  color: #000b22;
  font-family: Generalsans, sans-serif;
  font-size: 26px;
  font-weight: 600;
  line-height: 42px;
  letter-spacing: -0.32px;
  margin-top: 32px;
  margin-bottom: 18px;
}

.legal-intro {
  color: #70767a;
  letter-spacing: -0.18px;
  font-size: 18px;
  line-height: 28px;
  margin-bottom: 10px;
}

.legal-block p {
  color: #70767a;
  letter-spacing: -0.18px;
  font-size: 18px;
  line-height: 28px;
  margin-bottom: 10px;
}

/* Списки */

.legal-list {
  padding-left: 20px;
  margin-top: 8px;
  margin-bottom: 18px;
}

.legal-list li {
  color: #70767a;
  letter-spacing: -0.18px;
  font-size: 18px;
  line-height: 28px;
  margin-bottom: 6px;
}

/* Линки внутри текста */

.legal-wrapper a {
  color: #00d1f9;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  transition: color 0.2s ease;
}

.legal-wrapper a:hover {
  color: #0098b8;
}

/* Мелкий текст/контакты */

.legal-meta {
  margin-top: 10px;
  font-size: 17px;
  line-height: 26px;
}

/* Кнопки на странице благодарности */

.legal-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 26px;
}

.primary-button.secondary {
  background-color: #ffffff;
  color: #000b22;
  border: 1px solid #00d1f9;
}

/* Адаптив */

@media screen and (max-width: 991px) {
  .section.legal-section {
    padding-top: 80px;
    padding-bottom: 100px;
  }

  .legal-wrapper {
    padding: 32px 30px;
    border-radius: 20px;
  }

  .legal-heading {
    font-size: 28px;
    line-height: 36px;
    margin-top: 26px;
  }

  .legal-intro,
  .legal-block p,
  .legal-list li {
    font-size: 17px;
    line-height: 27px;
  }
}

@media screen and (max-width: 767px) {
  .section.legal-section {
    padding-top: 70px;
    padding-bottom: 80px;
  }

  .legal-wrapper {
    padding: 24px 20px;
    border-radius: 18px;
  }

  .legal-heading {
    font-size: 24px;
    line-height: 32px;
    margin-top: 22px;
  }

  .legal-buttons {
    flex-direction: column;
  }

  .legal-buttons .primary-button,
  .legal-buttons .primary-button.secondary {
    width: 100%;
    justify-content: center;
  }
}

@media screen and (max-width: 479px) {
  .section.legal-section {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .legal-wrapper {
    padding: 20px 16px;
  }

  .legal-heading {
    font-size: 22px;
    line-height: 30px;
  }

  .legal-intro,
  .legal-block p,
  .legal-list li {
    font-size: 15px;
    line-height: 25px;
  }
}
