/* PDF — Partido Digital · Design tokens */

/* Fonts — stack MAX tecnológico (Departure Mono + JetBrains Mono · all mono):
   · Departure Mono: display / headlines. Tipografía pixel-CRT — replica el
     look de un terminal IBM 3270 / Apple II / VT100. Los titulares dejan
     de parecer branding y se leen como output de una mainframe. Single
     weight (400), tamaños grandes para máximo efecto. Toma el slot --serif.
   · JetBrains Mono: body Y mono. Una sola familia para todo el cuerpo del
     sitio — eso convierte el sitio entero en una "interfaz de consola".
     Es la tipografía mono por excelencia en el mundo dev, optimizada para
     legibilidad incluso en párrafos largos. */
@import url('https://fonts.googleapis.com/css2?family=Departure+Mono&family=JetBrains+Mono:wght@400;500;600;700;800&family=Orbitron:wght@400;500;600;700;800&display=swap');

:root {
  /* Color */
  --bg:        oklch(0.985 0.005 80);
  --bg-2:      oklch(0.965 0.008 80);
  --paper:     #ffffff;
  --ink:       oklch(0.18 0.025 270);
  --ink-2:     oklch(0.36 0.02 270);
  --ink-3:     oklch(0.55 0.015 270);
  --border:    oklch(0.91 0.012 270);
  --border-2:  oklch(0.85 0.015 270);

  --primary:   #231D7A;
  --primary-2: #16104D;
  --primary-tint: #ECEAF6;

  --accent:    oklch(0.70 0.15 75);
  --accent-2:  oklch(0.60 0.16 75);
  --accent-tint: oklch(0.965 0.04 80);

  --danger:    oklch(0.58 0.20 25);
  --danger-tint: oklch(0.96 0.04 25);

  --good:      oklch(0.62 0.13 155);
  --good-tint: oklch(0.96 0.03 155);

  /* Type · tipografía estilo Twitter/X (Chirp) en todo el sitio.
     Chirp es propietaria; usamos su misma cadena de respaldo del sistema. */
  /* Orbitron para TODOS los títulos del sitio (la var --serif es la fuente
     de display de títulos en todas las páginas). */
  --serif: "Orbitron", "TwitterChirp", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --sans:  "TwitterChirp", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono:  "TwitterChirp", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Radius */
  --r-sm: 6px;
  --r:    10px;
  --r-lg: 16px;
  --r-xl: 22px;

  /* Shadows */
  --shadow-1: 0 1px 0 oklch(0.18 0.025 270 / 0.04), 0 1px 2px oklch(0.18 0.025 270 / 0.04);
  --shadow-2: 0 1px 0 oklch(0.18 0.025 270 / 0.04), 0 8px 24px -8px oklch(0.18 0.025 270 / 0.12);
  --shadow-3: 0 20px 60px -20px oklch(0.18 0.025 270 / 0.20);
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 {
  font-family: var(--serif);    /* Departure Mono — pixel-CRT headlines */
  font-weight: 400;              /* única opción — Departure Mono es un solo peso */
  letter-spacing: 0;             /* pixel font: NO comprimir, los pixels son grilla */
  margin: 0;
  line-height: 1.15;
  /* Sin antialiasing — refuerza el look pixelado / CRT. */
  -webkit-font-smoothing: none;
  font-smooth: never;
}
a { color: inherit; }
button { font-family: inherit; }

/* Body en JetBrains Mono: feature settings para look de código moderno. */
body {
  font-feature-settings: 'zero' 1;  /* 0 con slash diagonal — distingue O de 0 */
}
.mono { font-family: var(--mono); font-feature-settings: 'tnum' 1, 'zero' 1; }
.serif { font-family: var(--serif); -webkit-font-smoothing: none; }

/* Utility */
.eyebrow {
  font-family: var(--mono);
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.10em;
  color: var(--ink-3);
}

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 40px; padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--ink);
  color: var(--bg);
  font: 500 14px var(--sans);
  cursor: pointer;
  transition: transform .12s ease, background .12s ease, color .12s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn.secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--border-2);
}
.btn.secondary:hover { background: var(--bg-2); }
.btn.primary { background: var(--primary); color: white; }
.btn.primary:hover { background: oklch(0.55 0.18 272); }  /* mismo hover que mapas */

/* Pills/chips */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  height: 26px; padding: 0 10px;
  border-radius: 999px;
  background: var(--bg-2);
  color: var(--ink-2);
  font: 500 12px var(--sans);
  border: 1px solid var(--border);
}
.chip.dot::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor;
}

/* Cards */
.card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-1);
}

/* Selection */
::selection { background: var(--primary); color: white; }
