/* ==========================================================================
   Legal Pages — Shared Styles (Privacy Policy, Refund Policy, Terms)
   Dependencies: variables.css, reset.css, global.css, components.css
   ========================================================================== */

/* ── Section 1: Legal Hero ── */

.legal-hero {
  background-color: var(--surface-mist);
  padding: var(--space-section) 0;
}

.legal-hero__container {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  text-align: left;
}

.legal-hero__heading {
  font-family: var(--font-heading);
  font-size: var(--text-h1);
  font-weight: var(--fw-bold);
  line-height: var(--lh-heading-h1);
  color: var(--text-primary);
  margin: 0 0 var(--space-md);
}

.legal-hero__meta {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text-light);
  margin: 0 0 var(--space-xs);
}

.legal-hero__entity {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text-light);
  font-weight: var(--fw-semibold);
  margin: 0;
}

/* ── Section 2: Legal Content ── */

.legal-content {
  background-color: var(--page-white);
  padding: var(--space-section) 0;
}

.legal-content__container {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.legal-content__intro {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--lh-body);
  color: var(--text-primary);
  margin: 0 0 var(--space-lg);
}

.legal-content__section {
  margin: 0 0 var(--space-2xl);
}

.legal-content__heading {
  font-family: var(--font-heading);
  font-size: var(--text-h2);
  font-weight: var(--fw-bold);
  line-height: var(--lh-heading-h2);
  color: var(--text-primary);
  margin: 0 0 var(--space-md);
}

.legal-content__subheading {
  font-family: var(--font-heading);
  font-size: var(--text-h3);
  font-weight: var(--fw-bold);
  line-height: var(--lh-heading-h3);
  color: var(--text-primary);
  margin: var(--space-lg) 0 var(--space-sm);
}

.legal-content__section p {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--lh-body);
  color: var(--text-primary);
  margin: 0 0 var(--space-md);
}

.legal-content__list {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--lh-body);
  color: var(--text-primary);
  padding-left: var(--space-xl);
  margin: 0 0 var(--space-md);
}

.legal-content__list li {
  margin: 0 0 var(--space-xs);
}

.legal-content__consent {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--lh-body);
  color: var(--text-primary);
  margin: var(--space-2xl) 0 0;
  font-weight: var(--fw-semibold);
}

.legal-content a {
  color: var(--cereble-blue-accessible);
  text-decoration: underline;
  transition: color var(--transition-fast);
}

.legal-content a:hover {
  color: var(--cereble-lilac);
}

.legal-content a:focus-visible {
  outline: 2px solid var(--cereble-blue-accessible);
  outline-offset: 2px;
}
