/* ============================================================
   LEGAL PAGES (shared with aviso-legal / politica-privacidad)
   ============================================================ */
/* The legal pages have always rendered in the system font: they never loaded Urbanist
   or Ysabeau. Pinned here so self-hosting the site fonts does not change them. To use
   the brand fonts on these pages instead, delete this rule and raise the body size
   (Ysabeau runs small at 14.5px). */
.legal {
  --font-display: system-ui, sans-serif;
  --font-body: system-ui, sans-serif;
  --font-accent: Georgia, serif;
}

.legal-header {
  background: var(--t0);
  padding: 14px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.legal-header__back {
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 300;
  color: rgba(250,246,240,.6);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  letter-spacing: .04em;
  transition: color .2s;
}

.legal-header__back:hover { color: var(--n0); }

.legal-header__name {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: .04em;
  color: rgba(250,246,240,.5);
}

.legal-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 5rem var(--gutter) 6rem;
}

@media (min-width: 768px) {
  .legal-page { padding: 5rem var(--gutter-d) 6rem; }
}

.legal-page__title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: var(--fs-title);
  color: var(--t0);
  margin-bottom: 6px;
  line-height: 1.1;
}

.legal-page__date {
  font-family: var(--font-body);
  font-size: var(--fs-caption);
  font-weight: 300;
  color: var(--t3);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 3.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--n2);
}

.legal-section { margin-bottom: 2.5rem; }

.legal-section__heading {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: 500;
  color: var(--t0);
  margin-bottom: 10px;
  letter-spacing: .04em;
}

.legal-section p,
.legal-section li {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: 300;
  line-height: 1.85;
  color: var(--t1);
}

.legal-section ul {
  list-style: disc;
  padding-left: 1.4rem;
  margin-top: 8px;
}

.legal-section li { margin-bottom: 4px; }
.legal-section p + p { margin-top: 10px; }

/* Marks a field still to be filled in; tools/deploy.sh warns while any remains */
.legal-placeholder {
  background: var(--acc-l);
  border-radius: var(--r-badge);
  padding: 0 4px;
  font-style: italic;
  color: var(--acc-d);
}


/* 404 page */
.notfound__text { margin-top: 20px; }
.notfound__cta { margin-top: 32px; }
