/* Woobik — tokens del sistema de diseño v2.0. Copia de marca/docs/design-system/tokens.css; no editar aquí. */
/* Woobik — generated from tokens.json */
/* v2.0. Fuente: docs/design-system/herramientas/generar-tokens.py. Tema claro por defecto; oscuro con [data-theme="dark"]. */

:root, [data-theme="light"] {
  --wbk-red: #c2000b;
  --wbk-red-deep: #9b0009;
  --wbk-red-soft: #ff6b73;
  --wbk-ink: #1a1a1a;
  --wbk-paper: #f7f3ec;
  --wbk-yellow: #ffe500;
  --wbk-cyan: #00d4e5;
  --wbk-bg: var(--wbk-paper);
  --wbk-bg-sunken: #efe9df;
  --wbk-surface: #ffffff;
  --wbk-surface-raised: #ffffff;
  --wbk-surface-hover: rgba(26, 26, 26, 0.04);
  --wbk-text: var(--wbk-ink);
  --wbk-text-muted: #5c5652;
  --wbk-text-faint: rgba(26, 26, 26, 0.55);
  --wbk-border: rgba(26, 26, 26, 0.12);
  --wbk-border-strong: #857f79;
  --wbk-accent: var(--wbk-red);
  --wbk-accent-hover: var(--wbk-red-deep);
  --wbk-accent-text: var(--wbk-red);
  --wbk-on-accent: var(--wbk-paper);
  --wbk-highlight: var(--wbk-yellow);
  --wbk-on-highlight: var(--wbk-ink);
  --wbk-focus: var(--wbk-ink);
  --wbk-ok: #177245;
  --wbk-ok-bg: rgba(46, 212, 122, 0.15);
  --wbk-warning: #8a5c00;
  --wbk-warning-bg: rgba(255, 176, 32, 0.15);
  --wbk-critical: var(--wbk-red);
  --wbk-critical-bg: rgba(194, 0, 11, 0.12);
  --wbk-info: #00707c;
  --wbk-info-bg: rgba(0, 212, 229, 0.12);
  --wbk-shadow-float: 0 8px 24px rgba(0, 0, 0, 0.25);
}

[data-theme="dark"],
body:has(main > [data-theme="dark"]:first-child) .nav:not(.scrolled),
body:has(main > article > [data-theme="dark"]:first-child) .nav:not(.scrolled),
body:has(.nav-mobile.is-open) .nav {
  --wbk-bg: var(--wbk-ink);
  --wbk-bg-sunken: #141414;
  --wbk-surface: #232323;
  --wbk-surface-raised: #2b2b2b;
  --wbk-surface-hover: rgba(247, 243, 236, 0.06);
  --wbk-text: var(--wbk-paper);
  --wbk-text-muted: #a39e97;
  --wbk-text-faint: rgba(247, 243, 236, 0.55);
  --wbk-border: #3a3a3a;
  --wbk-border-strong: #7a7672;
  --wbk-accent: var(--wbk-red);
  --wbk-accent-hover: var(--wbk-red-deep);
  --wbk-accent-text: var(--wbk-red-soft);
  --wbk-on-accent: var(--wbk-paper);
  --wbk-highlight: var(--wbk-yellow);
  --wbk-on-highlight: var(--wbk-ink);
  --wbk-focus: var(--wbk-yellow);
  --wbk-ok: #2ed47a;
  --wbk-ok-bg: rgba(46, 212, 122, 0.15);
  --wbk-warning: #ffb020;
  --wbk-warning-bg: rgba(255, 176, 32, 0.15);
  --wbk-critical: var(--wbk-red-soft);
  --wbk-critical-bg: rgba(194, 0, 11, 0.2);
  --wbk-info: var(--wbk-cyan);
  --wbk-info-bg: rgba(0, 212, 229, 0.15);
  --wbk-shadow-float: 0 8px 24px rgba(0, 0, 0, 0.5);
}

:root {
  --wbk-space-1: 4px;
  --wbk-space-2: 8px;
  --wbk-space-3: 12px;
  --wbk-space-4: 16px;
  --wbk-space-5: 24px;
  --wbk-space-6: 32px;
  --wbk-space-7: 48px;
  --wbk-space-8: 64px;
  --wbk-space-9: 96px;
  --wbk-space-10: 128px;
  --wbk-radius-sm: 3px;
  --wbk-radius: 4px;
  --wbk-radius-lg: 6px;
  --wbk-control-sm: 32px;
  --wbk-control: 40px;
  --wbk-control-lg: 48px;
  --wbk-row: 56px;
  --wbk-row-tool: 40px;
  --wbk-measure: 68ch;
  --wbk-container: 1400px;
  --font-sans: Rubik, ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Consolas, monospace;
}

.wbk-display { font-family: var(--font-sans); font-size: 96px; line-height: 1.0; font-weight: 800; letter-spacing: -0.03em; }
.wbk-h1 { font-family: var(--font-sans); font-size: 56px; line-height: 1.05; font-weight: 800; letter-spacing: -0.03em; }
.wbk-h2 { font-family: var(--font-sans); font-size: 44px; line-height: 1.1; font-weight: 800; letter-spacing: -0.02em; }
.wbk-h3 { font-family: var(--font-sans); font-size: 28px; line-height: 1.2; font-weight: 700; letter-spacing: -0.01em; }
.wbk-h4 { font-family: var(--font-sans); font-size: 22px; line-height: 1.25; font-weight: 700; letter-spacing: -0.01em; }
.wbk-h5 { font-family: var(--font-sans); font-size: 18px; line-height: 1.35; font-weight: 700; }
.wbk-h6 { font-family: var(--font-sans); font-size: 16px; line-height: 1.4; font-weight: 700; }
.wbk-preheading { font-family: var(--font-sans); font-size: 14px; line-height: 1.3; font-weight: 700; }
.wbk-lead { font-family: var(--font-sans); font-size: 20px; line-height: 1.5; font-weight: 400; }
.wbk-body { font-family: var(--font-sans); font-size: 16px; line-height: 1.5; font-weight: 400; }
.wbk-body-sm { font-family: var(--font-sans); font-size: 14px; line-height: 1.5; font-weight: 400; }
.wbk-caption { font-family: var(--font-sans); font-size: 12px; line-height: 1.4; font-weight: 400; }
.wbk-label { font-family: var(--font-sans); font-size: 14px; line-height: 1.3; font-weight: 500; }
.wbk-button { font-family: var(--font-sans); font-size: 14px; line-height: 1.0; font-weight: 700; letter-spacing: 0.01em; }
.wbk-data { font-family: var(--font-mono); font-size: 13px; line-height: 1.4; font-weight: 500; }
.wbk-data-sm { font-family: var(--font-mono); font-size: 11px; line-height: 1.4; font-weight: 500; }
.wbk-code { font-family: var(--font-mono); font-size: 13px; line-height: 1.6; font-weight: 400; }
