/*
 * Legal pages (src/site/legal-pages.ts): Aviso Legal, Política de privacidad and Política de cookies.
 * Pages without an approved design, in the type and colours of Jose's home design
 * (docs/design/package/inmercost-web-daci-2026-11-04): Atkinson Hyperlegible Next, #1B3D14 text,
 * #4A5D43 secondary text, #3A7A26 green, #D3E5CB lines. Only the .legal-* classes.
 */
.legal-page {
  background: #ffffff;
  color: #1b3d14;
  font-family: 'Atkinson Hyperlegible Next', 'Atkinson Hyperlegible Next Fallback', 'Helvetica Neue', Arial,
    sans-serif;
}

.legal-page__inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 72px clamp(20px, 4vw, 48px) 96px;
}

.legal-page h1 {
  margin: 0 0 32px;
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.1;
  font-weight: 700;
  text-wrap: balance;
}

.legal-page__body {
  font-size: 17px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.legal-page__body h2 {
  margin: 40px 0 12px;
  padding-top: 24px;
  border-top: 1px solid #d3e5cb;
  font-size: 22px;
  line-height: 1.25;
  font-weight: 700;
}

.legal-page__body p,
.legal-page__body ul {
  margin: 0 0 16px;
}

.legal-page__body ul {
  padding-left: 1.25em;
}

.legal-page__body li {
  margin-bottom: 8px;
}

.legal-page__body a {
  color: #3a7a26;
  text-underline-offset: 3px;
}
