/* ============================================================
   Legal pages — Privacy / Terms
   Matches static v8 privacy.html + terms.html .legal-page rules.
   ============================================================ */

.legal-page {
  max-width: 860px;
  margin: 0 auto;
  padding: 60px 24px 80px;
}

.legal-page h1 {
  font-family: var(--font-sans, 'Inter', system-ui, sans-serif);
  font-size: 36px;
  font-weight: var(--fw-bold, 700);
  color: var(--navy, #0D1B2A);
  margin: 0 0 8px;
  line-height: 1.2;
}

.legal-page .legal-updated,
.legal-page .entry-content > .wp-block-paragraph.legal-updated,
.legal-page .entry-content > p.legal-updated,
.legal-page .entry-content > .wp-block-paragraph:first-child {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-light, #627284);
  margin: 0 0 40px;
}

.legal-page h2,
.legal-page .entry-content .wp-block-heading {
  font-size: 22px;
  font-weight: var(--fw-semibold, 600);
  color: var(--steel, #1B3A5B);
  margin: 36px 0 12px;
  line-height: 1.3;
}

.legal-page .entry-content > .wp-block-heading:first-child,
.legal-page .entry-content > h2:first-child {
  margin-top: 0;
}

.legal-page p,
.legal-page .entry-content .wp-block-paragraph {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-mid, #4A5568);
  margin: 0 0 16px;
}

.legal-page ul,
.legal-page .entry-content ul.wp-block-list,
.legal-page .entry-content .wp-block-list {
  list-style: disc;
  margin: 0 0 16px;
  padding-inline-start: 24px;
}

.legal-page ol,
.legal-page .entry-content ol.wp-block-list {
  list-style: decimal;
  margin: 0 0 16px;
  padding-inline-start: 24px;
}

.legal-page li,
.legal-page .entry-content li {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-mid, #4A5568);
  margin: 0 0 8px;
}

.legal-page li strong,
.legal-page .entry-content li strong,
.legal-page p strong {
  color: var(--navy, #0D1B2A);
  font-weight: var(--fw-semibold, 600);
}

.legal-page a,
.legal-page .entry-content a {
  color: var(--steel, #1B3A5B);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-page a:hover,
.legal-page .entry-content a:hover {
  color: var(--gold-dark, #A88A48);
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--steel, #1B3A5B);
  text-decoration: none;
  margin-bottom: 32px;
  transition: color 0.3s ease;
}

.legal-back:hover {
  color: var(--gold-dark, #A88A48);
  text-decoration: none;
}

@media (max-width: 768px) {
  .legal-page {
    padding: 40px 16px 64px;
  }

  .legal-page h1 {
    font-size: 28px;
  }

  .legal-page h2,
  .legal-page .entry-content .wp-block-heading {
    font-size: 20px;
    margin-top: 28px;
  }
}