/* ============================================================
   RAELGI Tecnología — Design System
   Global stylesheet entry point. Consumers link THIS file only.
   Keep this file as @import lines only.
   ============================================================ */
/* cyrillic-ext */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/c8602720-209a-4be7-bf46-a647320441ea.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/a2df222a-1af9-4636-bf40-313f89723dfb.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/757e45f5-0fba-40ed-9da0-217a96dd40c3.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/40ecf07f-6013-4749-be02-0aa2804a8aff.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/7e30b888-9db8-4d8f-aea0-7dfd31bff76b.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;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/c8602720-209a-4be7-bf46-a647320441ea.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/a2df222a-1af9-4636-bf40-313f89723dfb.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/757e45f5-0fba-40ed-9da0-217a96dd40c3.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/40ecf07f-6013-4749-be02-0aa2804a8aff.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/7e30b888-9db8-4d8f-aea0-7dfd31bff76b.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;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/c8602720-209a-4be7-bf46-a647320441ea.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/a2df222a-1af9-4636-bf40-313f89723dfb.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/757e45f5-0fba-40ed-9da0-217a96dd40c3.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/40ecf07f-6013-4749-be02-0aa2804a8aff.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/7e30b888-9db8-4d8f-aea0-7dfd31bff76b.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;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/c8602720-209a-4be7-bf46-a647320441ea.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/a2df222a-1af9-4636-bf40-313f89723dfb.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/757e45f5-0fba-40ed-9da0-217a96dd40c3.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/40ecf07f-6013-4749-be02-0aa2804a8aff.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/7e30b888-9db8-4d8f-aea0-7dfd31bff76b.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;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("/assets/fonts/c8602720-209a-4be7-bf46-a647320441ea.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("/assets/fonts/a2df222a-1af9-4636-bf40-313f89723dfb.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("/assets/fonts/757e45f5-0fba-40ed-9da0-217a96dd40c3.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("/assets/fonts/40ecf07f-6013-4749-be02-0aa2804a8aff.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("/assets/fonts/7e30b888-9db8-4d8f-aea0-7dfd31bff76b.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;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("/assets/fonts/c8602720-209a-4be7-bf46-a647320441ea.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("/assets/fonts/a2df222a-1af9-4636-bf40-313f89723dfb.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("/assets/fonts/757e45f5-0fba-40ed-9da0-217a96dd40c3.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("/assets/fonts/40ecf07f-6013-4749-be02-0aa2804a8aff.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("/assets/fonts/7e30b888-9db8-4d8f-aea0-7dfd31bff76b.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;
}


/* ============================================================
   RAELGI Tecnología · Webfonts
   Brand font = Montserrat (igual que el logotipo oficial).
   Cargada desde Google Fonts para el prototipo. Para producción
   (PHP), descargar los .woff2 a assets/fonts/ y sustituir el
   @import por @font-face locales — máxima velocidad y sin
   dependencias externas. Arial queda como fallback inmediato.
   ============================================================ */

/* ============================================================
   RAELGI Tecnología · Color tokens
   Base palette is the official approved identity — DO NOT alter
   the six core hex values. Semantic aliases below map them to use.
   ============================================================ */
:root {
  /* — Core brand (oficial, no modificar) — */
  --rael-azul:        #0F2D52; /* Azul corporativo — headers, autoridad */
  --rael-azul-tech:   #146BFF; /* Azul tecnológico — CTAs, acentos, enlaces */
  --rael-azul-deep:   #0A2140; /* Azul profundo — hero, sidebar, impacto */
  --rael-gris:        #5C6670; /* Gris premium — textos secundarios */
  --rael-bg:          #F5F7FA; /* Fondo claro — superficies */
  --rael-verde:       #1D9E75; /* Verde stock — disponibilidad / estado OK */

  /* — Neutrals & support — */
  --rael-white:       #FFFFFF;
  --rael-ink:         #0F2D52; /* texto principal = azul corporativo */
  --rael-border:      #E2E6EA; /* bordes finos sobre claro */
  --rael-border-soft: #EDF0F4; /* divisores muy sutiles */
  --rael-surface:     #FFFFFF; /* tarjetas */
  --rael-surface-2:   #F5F7FA; /* superficie secundaria */

  /* — Derived tints (para hovers, fondos suaves, estados) — */
  --rael-azul-tech-12:  rgba(20, 107, 255, 0.12);
  --rael-azul-tech-08:  rgba(20, 107, 255, 0.08);
  --rael-azul-tech-hover: #0F58E0; /* CTA hover — azul-tech oscurecido */
  --rael-azul-tech-press: #0C49BC; /* CTA active */
  --rael-azul-soft:     #EAF1FF;   /* fondo azul muy claro / selección */
  --rael-verde-soft:    #EAFAF4;   /* fondo badge stock */
  --rael-verde-ink:     #0F6E56;   /* texto sobre verde-soft */
  --rael-amber:         #B7791F;   /* aviso / pendiente */
  --rael-amber-soft:    #FEF3E2;
  --rael-amber-ink:     #854F0B;
  --rael-danger:        #C0392B;   /* error / sin stock */

  /* — Líneas sobre fondo oscuro — */
  --rael-on-dark:        #FFFFFF;
  --rael-on-dark-soft:   #A8B6C8;  /* texto secundario en hero/sidebar */
  --rael-on-dark-mute:   #7D8FA3;
  --rael-on-dark-line:   rgba(255, 255, 255, 0.12);
  --rael-on-dark-line-2: rgba(255, 255, 255, 0.06);
  --rael-grid-line:      rgba(20, 107, 255, 0.30); /* rejilla técnica */
  --rael-grid-node:      #146BFF;

  /* — Semantic aliases — */
  --text-primary:    var(--rael-azul);
  --text-secondary:  var(--rael-gris);
  --text-link:       var(--rael-azul-tech);
  --text-on-dark:    var(--rael-on-dark);
  --surface-page:    var(--rael-bg);
  --surface-card:    var(--rael-surface);
  --surface-deep:    var(--rael-azul-deep);
  --surface-header:  var(--rael-azul);
  --accent:          var(--rael-azul-tech);
  --accent-hover:    var(--rael-azul-tech-hover);
  --stock-ok:        var(--rael-verde);
  --hairline:        var(--rael-border);

  /* — Canonical semantic tokens (DESIGN FREEZE V1 · Claude Code) — */
  --primary:         #0F2D52; /* azul corporativo */
  --secondary:       #0A2140; /* azul profundo */
  /* --accent ya definido arriba = #146BFF */
  --success:         #1D9E75;
  --warning:         #B7791F;
  --error:           #C0392B;
  --background:      #F5F7FA;
  --surface:         #FFFFFF;
  --border:          #E2E6EA;
  /* --text-primary / --text-secondary ya definidos arriba */
}

/* ============================================================
   RAELGI Tecnología · Typography tokens
   Brand font = Montserrat (idéntica al logotipo oficial):
   Montserrat 800/900 para títulos, 400/500 para cuerpo.
   Arial queda como fallback de carga instantánea.
   Ver readme · CONTENT/VISUAL FOUNDATIONS.
   ============================================================ */
:root {
  /* — Families — */
  --font-display: "Montserrat", Arial, "Helvetica Neue", Helvetica, sans-serif;
  --font-body:    "Montserrat", Arial, "Helvetica Neue", Helvetica, sans-serif;
  --font-mono:    "SF Mono", ui-monospace, Menlo, Consolas, monospace;

  /* — Weights — */
  --fw-regular: 400; /* @kind font */
  --fw-medium:  500; /* @kind font */
  --fw-bold:    700; /* @kind font */
  --fw-black:   900; /* @kind font */

  /* — Type scale (desktop) — */
  --fs-display:  46px;  /* hero H1 */
  --fs-h1:       34px;
  --fs-h2:       28px;
  --fs-h3:       22px;
  --fs-h4:       18px;
  --fs-body-lg:  16px;
  --fs-body:     14px;  /* cuerpo base */
  --fs-sm:       13px;
  --fs-xs:       11px;
  --fs-eyebrow:  11px;  /* etiquetas en mayúsculas */

  /* — Line heights — */
  --lh-tight:   1.05; /* @kind other */
  --lh-heading: 1.2; /* @kind other */
  --lh-body:    1.6; /* @kind other */
  --lh-snug:    1.4; /* @kind other */

  /* — Letter spacing — */
  --ls-display: -1.5px; /* @kind spacing */
  --ls-tight:   -0.5px; /* @kind spacing */
  --ls-normal:  0; /* @kind spacing */
  --ls-eyebrow: 2px;      /* eyebrows en mayúsculas @kind spacing */
  --ls-label:   1.5px; /* @kind spacing */
}

/* Heading helpers */
.rael-eyebrow {
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--accent);
}
.rael-display {
  font-family: var(--font-display);
  font-weight: var(--fw-black);
  font-size: var(--fs-display);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-display);
  color: var(--text-primary);
}

/* ============================================================
   RAELGI Tecnología · Spacing, radius, borders, shadows, motion
   Lenguaje visual: bordes finos (0.5px), radios 8–14px,
   sombras muy sutiles, tono premium y sobrio.
   ============================================================ */
:root {
  /* — Spacing scale (4px base) — */
  --sp-1:  4px;
  --sp-2:  8px;
  --sp-3:  12px;
  --sp-4:  16px;
  --sp-5:  20px;
  --sp-6:  24px;
  --sp-8:  32px;
  --sp-10: 40px;
  --sp-12: 48px;
  --sp-16: 64px;
  --sp-20: 80px;

  /* — Named scale (XS–XXL) — */
  --space-xs:  4px;
  --space-sm:  8px;
  --space-md:  16px;
  --space-lg:  24px;
  --space-xl:  40px;
  --space-xxl: 64px;

  /* — Radius (oficial 8–14px) — */
  --r-xs:   5px;   /* chips, badges pequeños */
  --r-sm:   7px;   /* botones, inputs */
  --r-md:   10px;  /* tarjetas internas */
  --r-lg:   12px;  /* tarjetas */
  --r-xl:   14px;  /* contenedores grandes / hero cards */
  --r-pill: 999px; /* eyebrows, tags redondeados */

  /* — Borders (finos) — */
  --bw-hair: 0.5px;
  --bw-1:    1px;
  --border-hair: var(--bw-hair) solid var(--hairline);
  --border-1:    var(--bw-1) solid var(--hairline);

  /* — Shadows (muy sutiles) — */
  --sh-xs: 0 1px 2px rgba(15, 45, 82, 0.04);
  --sh-sm: 0 1px 3px rgba(15, 45, 82, 0.05);
  --sh-md: 0 4px 14px rgba(15, 45, 82, 0.07);
  --sh-lg: 0 12px 32px rgba(15, 45, 82, 0.10);
  --sh-cta: 0 6px 18px rgba(20, 107, 255, 0.22); /* realce CTA azul-tech */
  --focus-ring: 0 0 0 3px var(--rael-azul-tech-12);
  --focus-ring-strong: 0 0 0 3px rgba(20, 107, 255, 0.45);

  /* — Layout — */
  --container: 1200px; /* @kind spacing */
  --container-wide: 1320px; /* @kind spacing */
  --sidebar-w: 248px; /* @kind spacing */
  --header-h: 68px; /* @kind spacing */

  /* — Motion — */
  --ease: cubic-bezier(0.4, 0, 0.2, 1); /* @kind other */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1); /* @kind other */
  --dur-fast: 0.12s; /* @kind other */
  --dur: 0.18s; /* @kind other */
  --dur-slow: 0.28s; /* @kind other */
}

/* ============================================================
   RAELGI Tecnología · Base resets + brand utilities
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

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

a { color: var(--text-link); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Foco visible accesible (área táctil amplia, ring claro) */
:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: none;
  box-shadow: var(--focus-ring-strong);
  border-radius: var(--r-sm);
}

/* — Rejilla técnica: fondo de hero / secciones de impacto — */
.rael-grid-bg {
  position: relative;
  background-color: var(--rael-azul-deep);
  background-image:
    linear-gradient(var(--rael-on-dark-line-2) 1px, transparent 1px),
    linear-gradient(90deg, var(--rael-on-dark-line-2) 1px, transparent 1px);
  background-size: 64px 64px;
}
/* Variante con líneas azules más marcadas */
.rael-grid-bg--tech {
  background-image:
    linear-gradient(var(--rael-grid-line) 0.5px, transparent 0.5px),
    linear-gradient(90deg, var(--rael-grid-line) 0.5px, transparent 0.5px);
  background-size: 80px 80px;
  background-color: var(--rael-azul-deep);
}

/* — Eyebrow pill (etiqueta superior en mayúsculas) — */
.rael-eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--accent);
  border: var(--bw-hair) solid var(--rael-azul-tech-12);
  padding: 5px 12px;
  border-radius: var(--r-pill);
}

/* — Scrollbar discreta — */
* { scrollbar-width: thin; scrollbar-color: var(--rael-border) transparent; }