@import url("./styles.css");

.footer-docs a,
.footer-docs span {
  color: inherit;
}

.footer-docs a {
  transition: color 0.25s ease;
}

.footer-docs a:hover {
  color: #fffdf4;
}

.legal-page {
  padding-bottom: 32px;
}

.legal-hero-section {
  padding-top: 28px;
}

.legal-hero {
  padding: 40px 44px;
  border-radius: 32px;
  background:
    linear-gradient(135deg, rgba(64, 50, 166, 0.96), rgba(86, 71, 203, 0.92)),
    #4032a6;
  box-shadow: var(--shadow);
  color: #fffdf4;
}

.legal-eyebrow {
  margin: 0 0 12px;
  color: rgba(255, 253, 244, 0.72);
  font-family: "Gilroy", sans-serif;
  font-weight: 600;
  font-size: 14px;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.legal-page-title {
  margin: 0;
  color: #fffdf4;
  font-family: "Unbounded", sans-serif;
  font-weight: 600;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.legal-page-subtitle {
  margin: 18px 0 0;
  max-width: 820px;
  color: #fffdf4;
  font-family: "Gilroy", sans-serif;
  font-weight: 300;
  font-size: 20px;
  line-height: 1.3;
}

.legal-content-section {
  padding-top: 24px;
}

.legal-card {
  padding: 38px 42px;
  border-radius: 32px;
  background: #fffdf4;
  box-shadow: var(--shadow);
}

.legal-content {
  color: #292929;
  font-family: "Gilroy", sans-serif;
}

.legal-content h2,
.legal-content h3,
.legal-content h4 {
  margin: 32px 0 16px;
  color: #292929;
  font-family: "Unbounded", sans-serif;
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.legal-content h2 {
  font-size: 30px;
}

.legal-content h3 {
  font-size: 24px;
}

.legal-content h4 {
  font-size: 20px;
}

.legal-content p,
.legal-content li {
  margin: 0 0 14px;
  color: #292929;
  font-family: "Gilroy", sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.55;
}

.legal-content strong {
  font-weight: 700;
}

.legal-content a {
  color: #4032a6;
  word-break: break-word;
}

.legal-strongline {
  margin-bottom: 10px;
  font-weight: 700;
  font-size: 19px;
  line-height: 1.35;
}

.legal-content ul {
  margin: 0 0 18px;
  padding-left: 24px;
}

.legal-table-wrap {
  margin: 22px 0 28px;
  overflow-x: auto;
  border: 1px solid rgba(64, 50, 166, 0.12);
  border-radius: 20px;
}

.legal-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  background: #fffdf4;
}

.legal-table th,
.legal-table td {
  padding: 16px 18px;
  border-bottom: 1px solid rgba(41, 41, 41, 0.08);
  text-align: left;
  vertical-align: top;
  color: #292929;
  font-family: "Gilroy", sans-serif;
  font-size: 15px;
  line-height: 1.45;
}

.legal-table th {
  background: rgba(64, 50, 166, 0.08);
  font-weight: 700;
}

.legal-table td {
  font-weight: 300;
}

.legal-table tbody tr:last-child td {
  border-bottom: 0;
}

@media (max-width: 1080px) {
  .legal-hero,
  .legal-card {
    padding: 30px 28px;
  }

  .legal-content h2 {
    font-size: 26px;
  }
}

@media (max-width: 767px) {
  .legal-hero-section {
    padding-top: 12px;
  }

  .legal-hero,
  .legal-card {
    padding: 24px 18px;
    border-radius: 24px;
  }

  .legal-page-subtitle {
    margin-top: 14px;
    font-size: 17px;
    line-height: 1.35;
  }

  .legal-content h2,
  .legal-content h3,
  .legal-content h4 {
    margin-top: 28px;
  }

  .legal-content h2 {
    font-size: 22px;
  }

  .legal-content h3 {
    font-size: 19px;
  }

  .legal-content p,
  .legal-content li,
  .legal-table th,
  .legal-table td {
    font-size: 14px;
  }

  .legal-strongline {
    font-size: 17px;
  }
}

@media (max-width: 560px) {
  .legal-page-title {
    font-size: 30px;
  }

  .legal-page-subtitle {
    font-size: 15px;
  }

  .legal-content p,
  .legal-content li {
    line-height: 1.5;
  }
}