/* Base: tipografía, enlaces, utilidades, foco visible e iconos. */
/* ---------- Base ---------- */
* { box-sizing: border-box; }
[x-cloak] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); background: var(--bg); color: var(--text); font-size: var(--fs-body); line-height: 1.55; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1 { font-size: var(--fs-display); font-weight: 700; margin: 0; letter-spacing: -.01em; line-height: 1.2; }
h2 { font-size: var(--fs-card); margin: 0 0 var(--s3); font-weight: 600; }
h3 { font-size: 14px; margin: var(--s4) 0 var(--s2); font-weight: 600; }
.section-title { font-size: var(--fs-h2); font-weight: 600; margin: var(--s8) 0 var(--s4); }
.muted { color: var(--text-muted); }
.small { font-size: var(--fs-sm); }
.mono { font-family: var(--mono); font-size: 12.5px; }
.num { text-align: right; font-variant-numeric: tabular-nums; }
.ellipsis { max-width: 320px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 6px; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--surface); padding: 8px 12px; border-radius: var(--r-btn); }
.skip-link:focus { left: 8px; }
.icon { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; line-height: 0; }
.icon svg { width: 18px; height: 18px; stroke-width: 2; }
.icon.sm svg { width: 15px; height: 15px; }
.icon.lg svg { width: 22px; height: 22px; }
