/* Sistema tipográfico único: se carga después de cada estilo de página. */
:root {
  --font-display: "Segoe UI", "Helvetica Neue", sans-serif;
  --font-body: "Segoe UI", "Helvetica Neue", sans-serif;
}

body,
button,
input,
textarea,
select {
  font-family: var(--font-body);
}

body :is(h1, h2, h3, h4, h5, h6, p, li, a, button, input, textarea, select, label, small, strong, b, span, figcaption) {
  font-family: var(--font-body) !important;
  letter-spacing: normal !important;
}

/* Eleva las etiquetas pequeñas sin reducir las que ya forman parte de un título. */
main span {
  font-size: max(14px, 1em) !important;
}

main h1,
main h2,
main h3,
main h4,
main h5,
main h6 {
  font-family: var(--font-display) !important;
  font-weight: 700 !important;
  text-wrap: balance;
}

main h1 { line-height: .98 !important; }
main h2 { line-height: 1.04 !important; }
main h3 { line-height: 1.14 !important; }

main :is(p, li, small, em, b, figcaption) {
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 1.6;
}

main strong {
  font-size: 14px !important;
}

/* El texto es parte del recurso visual de certificación, no contenido visible. */
main .policy-kpi-card strong {
  font-size: 0 !important;
}

main :is(small, figcaption) {
  font-weight: 400 !important;
}

body :is(a, button, .button, .site-nav a, .footer-links a),
main :is(strong, b) {
  font-weight: 600 !important;
}

main span {
  font-weight: inherit !important;
}

main :is([class*="kicker"], [class*="eyebrow"], [class*="tag"], [class*="index"]) {
  font-size: 14px !important;
  font-weight: 600 !important;
}

main :is(.ec-partner-brand, .zd-msmark) {
  font-weight: 700 !important;
}

/* Escala mínima legible para los textos que antes estaban definidos en 13px. */
main :is(
  .eba-button, .eba-solution li, .eba-platform a,
  .zai-button, .zai-stack-grid b, .zai-impact-grid b,
  .zcy2-hero-cta,
  .ec-button, .ec-benefit p,
  .zd-service li, .zd-why-item, .zd-proof-list span, .zd-proof-heading p,
  .ztg-button, .ztg-outcome-grid p, .ztg-flow p, .ztg-product figcaption, .ztg-capability-list p
) {
  font-size: 14px !important;
}
