/* ConvergIA Studio — Design tokens (Dark Premium)
   Fuente de paleta: docs/propuesta (sección 2). Ajustes de accesibilidad documentados en README. */

/* Tipografías autoalojadas (subset latin, variable). font-display: swap. */
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/space-grotesk-latin-wght-normal.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;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin-wght-normal.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;
}

:root {
  /* Paleta base (Propuesta) */
  --cv-bg: #0a192f;
  --cv-bg-deep: #060d17;
  --cv-surface: #112240;
  --cv-blue: #0052b4;
  --cv-cta: #ff6b4a;
  --cv-text: #ffffff;
  --cv-text-2: #cbd5e1;
  --cv-text-muted: #64748b;

  /* Ajustes de accesibilidad WCAG 2.2 AA (override justificado) */
  --cv-text-info: #94a3b8;   /* texto informativo >= 4.5:1 sobre #112240 */
  --cv-focus: #60a5fa;       /* focus y bordes interactivos >= 3:1 */
  --cv-cta-text: #0a192f;    /* texto oscuro sobre CTA coral */
  --cv-cta-hover: #ff8466;

  /* Derivados */
  --cv-glass: rgba(10, 25, 47, 0.85);
  --cv-border: rgba(0, 82, 180, 0.4);
  --cv-border-soft: rgba(226, 232, 240, 0.08);
  --cv-glow: rgba(0, 82, 180, 0.35);

  /* Tipografía */
  --cv-font-heading: "Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --cv-font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Forma */
  --cv-radius: 12px;
  --cv-radius-sm: 6px;
  --cv-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
