/* ==========================================================================
   DESIGN TOKENS — DIÉSELTRACK PREMIUM (Heavy Duty Industrial)
   Para adaptar a Ruta 57: ajustar --accent, --accent-hover y --accent-glow.
   ========================================================================== */
:root {
  color-scheme: dark;

  /* Superficies acero forjado / grafito */
  --bg-base: #08090B;
  --bg-surface: #111317;
  --bg-elevated: #181B21;
  --bg-input: #0C0E12;

  /* Acento Ámbar Diésel (contraste AAA > 8.5:1 con --accent-ink) */
  --accent: #F59E0B;
  --accent-hover: #D97706;
  --accent-soft: rgba(245, 158, 11, 0.14);
  --accent-glow: rgba(245, 158, 11, 0.38);
  --accent-ink: #090A0C;

  /* WhatsApp AA (>= 4.8:1 con texto blanco) */
  --wa-bg: #137A3A;
  --wa-bg-hover: #0E602D;

  /* Texto */
  --text-primary: #F8FAFC;
  --text-secondary: #CBD2DC;
  --text-muted: #98A2B3;

  /* Bordes técnicos */
  --border-subtle: rgba(255, 255, 255, 0.10);
  --border-medium: rgba(255, 255, 255, 0.18);
  --border-accent: rgba(245, 158, 11, 0.50);

  /* Tipografía industrial inclinada + lectura limpia + códigos técnicos */
  --font-display: 'Barlow Condensed', 'Liberation Sans', 'Arial Narrow', sans-serif;
  --font-sans: 'Inter', 'Liberation Sans', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'Liberation Mono', ui-monospace, monospace;

  /* Ritmo, márgenes laterales y radios */
  --container-max: 1200px;
  --gutter: clamp(18px, 5vw, 36px);
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-pill: 999px;

  /* Curvas y tiempos */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.32, 0.64, 1);

  /* Interpolación de degradados Modern Web Guidance (fallback seguro) */
  --in-oklab: ;
}

@supports (linear-gradient(in oklab, white, black)) {
  :root {
    --in-oklab: in oklab;
  }
}

@media (forced-colors: active) {
  :root {
    --accent: Highlight;
    --accent-ink: HighlightText;
    --border-subtle: CanvasText;
    --border-accent: Highlight;
  }
}
