.legal-page__header {
  margin-bottom: 2.5rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.legal-page__meta {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.62);
  font-family: var(--tp-ff-dmsans, "DM Sans", system-ui, sans-serif);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.legal-page__title {
  margin: 0;
  color: #ffffff;
  font-family: var(--tp-ff-didoneright, "DM Sans", system-ui, sans-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.legal-page__content {
  padding: 2rem 2.1rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
}

.legal-page__content > :first-child {
  margin-top: 0;
}

.legal-page__content > :last-child {
  margin-bottom: 0;
}

.legal-page__content p {
  margin: 0 0 1.15rem;
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--tp-ff-dmsans, "DM Sans", system-ui, sans-serif);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.75;
}

.legal-page__content strong {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 600;
}

.legal-page__content h2 {
  margin: 2.25rem 0 0.85rem;
  padding-top: 0.35rem;
  color: #ffffff;
  font-family: var(--tp-ff-didoneright, "DM Sans", system-ui, sans-serif);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.legal-page__content h2:first-child {
  margin-top: 0;
}

.legal-page__content h3 {
  margin: 1.5rem 0 0.65rem;
  color: rgba(255, 255, 255, 0.92);
  font-family: var(--tp-ff-dmsans, "DM Sans", system-ui, sans-serif);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.35;
}

.legal-page__content ul,
.legal-page__content ol {
  margin: 0 0 1.25rem;
  padding-left: 1.35rem;
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--tp-ff-dmsans, "DM Sans", system-ui, sans-serif);
  font-size: 1rem;
  line-height: 1.7;
}

.legal-page__content li {
  margin-bottom: 0.55rem;
}

.legal-page__content li:last-child {
  margin-bottom: 0;
}

.legal-page__content a {
  color: #ffffff;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.35);
  text-underline-offset: 0.15em;
  transition: text-decoration-color 0.2s ease, opacity 0.2s ease;
}

.legal-page__content a:hover {
  text-decoration-color: #ffffff;
  opacity: 0.92;
}

@media (max-width: 575px) {
  .legal-page__content {
    padding: 1.35rem 1.15rem;
  }
}

html[tp-theme='tp-theme-light'] .legal-page__header {
  border-bottom-color: rgba(37, 37, 37, 0.12);
}

html[tp-theme='tp-theme-light'] .legal-page__meta {
  background: rgba(37, 37, 37, 0.04);
  border-color: rgba(37, 37, 37, 0.1);
  color: rgba(37, 37, 37, 0.62);
}

html[tp-theme='tp-theme-light'] .legal-page__title {
  color: #171718;
}

html[tp-theme='tp-theme-light'] .legal-page__content {
  background: #ffffff;
  border-color: rgba(37, 37, 37, 0.1);
  box-shadow: 0 20px 60px rgba(15, 24, 62, 0.06);
}

html[tp-theme='tp-theme-light'] .legal-page__content p,
html[tp-theme='tp-theme-light'] .legal-page__content ul,
html[tp-theme='tp-theme-light'] .legal-page__content ol {
  color: rgba(37, 37, 37, 0.72);
}

html[tp-theme='tp-theme-light'] .legal-page__content strong,
html[tp-theme='tp-theme-light'] .legal-page__content h3 {
  color: #171718;
}

html[tp-theme='tp-theme-light'] .legal-page__content h2 {
  color: #171718;
}

html[tp-theme='tp-theme-light'] .legal-page__content a {
  color: #171718;
  text-decoration-color: rgba(37, 37, 37, 0.35);
}

html[tp-theme='tp-theme-light'] .legal-page__content a:hover {
  text-decoration-color: #171718;
}
