/*
  LEGAL PAGE STYLES
  =================
  Shared styling for privacy-policy.html, refund-policy.html, and
  terms-of-service.html. These pages are mostly plain text, so this file
  focuses on comfortable reading width, spacing, and matching the rest
  of the site's purple/cream look (from variables.css).
*/

.legal-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 64px 24px 96px 24px;
  font-family: var(--font-body);
  color: var(--color-scheme5-foreground);
}

.legal-page h1 {
  font-family: var(--font-primary);
  font-size: var(--font-size-h2);
  font-weight: 400;
  color: var(--color-scheme5-foreground-heading);
  margin: 0 0 8px 0;
}

.legal-page__updated {
  font-size: 0.9rem;
  color: var(--color-scheme5-foreground);
  opacity: 0.6;
  margin: 0 0 32px 0;
}

.legal-page__notice {
  background-color: var(--color-scheme5-background);
  border: 1px solid rgba(55, 35, 69, 0.15);
  border-radius: 8px;
  padding: 16px 20px;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 40px;
}

.legal-page h2 {
  font-family: var(--font-primary);
  font-size: var(--font-size-h4);
  font-weight: 400;
  color: var(--color-scheme5-foreground-heading);
  margin: 40px 0 12px 0;
}

.legal-page p {
  font-size: var(--font-size-paragraph);
  line-height: 1.8;
  margin: 0 0 16px 0;
}

.legal-page a {
  color: var(--color-scheme5-foreground);
  text-decoration: underline;
}

.legal-page a:hover {
  opacity: 0.7;
}
