/* ============================================================
   Actuaria · Base / reset + element defaults
   Brandbook §28: titles in the display face, subtitles in Nunito,
   running content in Prompt.
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font-body);   /* Prompt — contenido */
  font-weight: var(--fw-regular);
  font-size: var(--fs-body);
  line-height: var(--lh-normal);
  color: var(--text-strong);
  background: var(--surface-page);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Titulares: Lemon Milk Pro. El corte Pro tiene minúsculas, así que
   los titulares pueden ir en caja mixta; MAYÚSCULAS es opcional
   (usa .ac-caps) y obligatorio solo en el wordmark. */
h1, h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: var(--fw-display-md);
  letter-spacing: var(--ls-display);
  line-height: var(--lh-tight);
  color: var(--ac-navy);
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }

/* Caja alta opcional para titulares y el wordmark */
.ac-caps { text-transform: uppercase; letter-spacing: 0.04em; }

/* Subtítulos y etiquetas: Nunito */
h3, h4 {
  margin: 0;
  font-family: var(--font-heading);
  color: var(--ac-navy);
  line-height: var(--lh-snug);
  text-wrap: balance;
}
h3 { font-size: var(--fs-h3); font-weight: var(--fw-extra); }
h4 { font-size: var(--fs-h4); font-weight: var(--fw-bold); }

p { margin: 0; text-wrap: pretty; }

a { color: var(--ac-blue); text-decoration: none; }
a:hover { color: var(--ac-blue-600); }

/* Eyebrow / kicker — Nunito, recurring brand device */
.ac-eyebrow {
  font-family: var(--font-heading);
  font-size: var(--fs-xs);
  font-weight: var(--fw-extra);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--ac-blue);
}

/* Claim — firma de cierre, siempre completo y con punto final */
.ac-claim { font-family: var(--font-body); font-style: italic; font-weight: var(--fw-regular); color: var(--ac-navy); }

/* The "ruta" motif — dotted navigation path */
.ac-route {
  stroke: var(--ac-celeste);
  stroke-width: 2;
  stroke-dasharray: 2 10;
  stroke-linecap: round;
  fill: none;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
