/* ============================================================
   SCORPIO — DEFECTOS DE ELEMENTOS BASE
   Copiado del Design System (Claude Design) el 01-ago-2026.
   Fundamento claro, blanco primero. Verde/azul solo como acento.
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-normal);
  color: var(--text-body);
  background: var(--surface-page);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--blue-ink);
  line-height: var(--lh-snug);
  letter-spacing: var(--ls-tight);
  margin: 0 0 var(--space-3);
  font-weight: var(--fw-bold);
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); font-weight: var(--fw-black); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }

p { margin: 0 0 var(--space-4); text-wrap: pretty; }

a {
  color: var(--text-link);
  text-decoration: none;
  font-weight: var(--fw-medium);
  transition: color 0.15s ease;
}
a:hover { color: var(--text-link-hover); text-decoration: underline; text-underline-offset: 2px; }

/* Overline — se usa encima de los títulos de sección */
.overline {
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  color: var(--green-ink);
}

/* Cualquier contexto numérico o de datos: cifras tabulares */
.tabular, table { font-variant-numeric: tabular-nums lining-nums; font-feature-settings: var(--feat-tabular); }

/* La marca verde de la casa: el "tick" que precede a los títulos de sección */
.title-tick { border-left: 4px solid var(--green); padding-left: var(--space-4); }

::selection { background: var(--green-100); color: var(--blue-ink); }
:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
