/* Estilos propios de legal/terminos-y-condiciones/index.html. */

/* Reglas particulares extraídas del antiguo sistema visual. */
h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  margin-top: 0;
  color: var(--color-text);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 820px;
  margin-bottom: 1.5rem;
  font-size: clamp(2.65rem, 6.3vw, 5.9rem);
  font-weight: 900;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4vw, 3.6rem);
  font-weight: 850;
}

.section {
  padding-block: var(--space-section);
}

.section-soft {
  background: var(--color-surface);
}

.content-copy p {
  color: var(--color-muted);
  font-size: 1.05rem;
}

.page-hero {
  padding-block: clamp(4rem, 9vw, 8rem);
  border-bottom: 1px solid var(--color-border);
}

.page-hero h1 {
  max-width: 950px;
  font-size: clamp(2.8rem, 7vw, 6.3rem);
}

.page-hero .lead {
  max-width: 780px;
}

@media (max-width: 640px) {

h1 { font-size: clamp(2.35rem, 13vw, 3.7rem); }

.hero-actions .button { width: 100%; }
}

.learning-section-heading p {
  max-width: 760px;
  margin: 1rem 0 0;
  color: var(--color-muted);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
}
