/* =========================================================
   mktn.es · Sistema de diseño v2 · base compartida
   Fuente, tokens, reset y utilidades. Las piezas (header, pie,
   FAQ...) viven en sus propios archivos de assets/css/.
   Solo modo claro. Radios: 6 px imágenes, píldora botones,
   círculo iconos, 0 filas editoriales, 2 a 4 px etiquetas.
   ========================================================= */

/* ── Fuente autoalojada (variable 400-700) ───────────────── */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/hanken-grotesk-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/hanken-grotesk-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ── Tokens ──────────────────────────────────────────────── */
:root {
  --bg: #F4F3EF; --tx: #161616; --sc: #5E5D58; --ln: #D8D6CF;
  --pad: 64px;
  --mx: 1440px;                                              /* ancho máximo del contenedor */
  --gut: max(var(--pad), calc((100vw - var(--mx)) / 2 + var(--pad)));   /* margen lateral: centra el contenido por encima de --mx */
  --font: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  /* Radios (regla del sistema) */
  --r-img: 6px; --r-btn: 999px; --r-row: 0; --r-tag: 3px;
}

@media (max-width: 760px) { :root { --pad: 20px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; color-scheme: light; scrollbar-gutter: stable; scroll-padding-top: 64px; }
body {
  margin: 0; background: var(--bg); color: var(--tx);
  font: 400 17px/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, figure, blockquote, dl, dd { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -64px; z-index: 60; background: var(--tx); color: var(--bg); padding: 12px 16px; border-radius: 4px; text-decoration: none; }
.skip:focus { top: 8px; }
.arrow { flex: none; }

