/* Verge Web — the WEB expression of the Koder brand (verge.kmd §Verge Web).
 *
 * SSOT for the palette every koder.dev web property ships (landings,
 * portals, generated sites): the navy/slate identity that products.kmd,
 * institutional.kmd, ecosystem.css and meta.koder.dev had been hand-copying
 * (4+ divergent copies — design-gen#202 / META-DOCS-171 c3 deliberation,
 * owner-approved 2026-06-10).
 *
 * This file is NOT served on kds.koder.dev pages — it is the input the
 * tokens pipeline republishes verbatim (validated) at:
 *   https://kds.koder.dev/tokens/verge-web.css
 *
 * Distinct from the Verge *app* preset (presets.css `.preset.verge`,
 * exported as verge.css): apps theme on Verge; web properties theme on
 * Verge Web. `--kw-` prefix (Koder Web) avoids collisions with consumer
 * vars and with app-preset tokens.
 *
 * Values are byte-identical to what meta.koder.dev ships today (first
 * consumer, adopted with zero visual change). Stability contract:
 * additive-only within a major; renames/removals bump the major.
 */

:root {
  /* Brand triad — theme-invariant (papelaria koder-marca.svg + landings) */
  --kw-brand-navy: #0b1120;
  --kw-brand-cyan: #5BC8F5;
  --kw-brand-orange: #FF6600;

  /* Typography (specs/fonts/typography.kmd — self-hosted by consumers) */
  --kw-font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --kw-font-mono: 'JetBrains Mono', 'SF Mono', Menlo, Consolas, monospace;

  /* Semantic — light */
  --kw-bg: #ffffff;
  --kw-surface: #f8fafc;
  --kw-text: #0b1120;
  --kw-text-soft: #475569;
  --kw-text-muted: #94a3b8;
  --kw-border: rgba(11, 17, 32, 0.08);
  --kw-accent: #475569;
  --kw-accent-strong: #1e293b;
  --kw-code-bg: #f1f5f9;
  --kw-card: #ffffff;
}

[data-theme="dark"] {
  color-scheme: dark;

  /* Semantic — dark */
  --kw-bg: #05080f;
  --kw-surface: #0a1228;
  --kw-text: #f1f5f9;
  --kw-text-soft: #94a3b8;
  --kw-text-muted: #64748b;
  --kw-border: rgba(255, 255, 255, 0.08);
  --kw-accent: #94a3b8;
  --kw-accent-strong: #cbd5e1;
  --kw-code-bg: #0f172a;
  --kw-card: #111827;
}
