/* nocbox.ai design tokens
   Pinned to blueprint v2026-05-27 (brand tokens section)
   Dark theme default; light theme not required at v1.0 */

:root {
  /* Brand palette */
  --nocblack: #1A1A1A;
  --nocgold: #FFD100;
  --nocblue: #1B4F72;
  --nocblue-light: #5B9BD5;
  --nocsidebar: #111111;
  --nocgreen: #1ABC60;
  --nocamber: #F5A623;
  --nocred: #E74C3C;

  /* Semantic surface mappings */
  --bg: var(--nocblack);
  --bg-elevated: var(--nocsidebar);
  --bg-subtle: #0e0e0e;
  --fg: #FFFFFF;
  --fg-muted: rgba(255, 255, 255, 0.65);
  --fg-dim: rgba(255, 255, 255, 0.48);
  --accent: var(--nocgold);
  --accent-hover: #FFDB33;
  --link: var(--nocgold);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);

  /* Status (semantic) */
  --success: var(--nocgreen);
  --warning: var(--nocamber);
  --danger: var(--nocred);
  --info: var(--nocblue);

  /* Type */
  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: ui-monospace, 'SF Mono', Menlo, Monaco, Consolas, monospace;

  /* Type scale (16px base, modular) */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-hero: clamp(2.5rem, 6vw, 4.5rem);

  /* Line heights */
  --leading-tight: 1.15;
  --leading-snug: 1.3;
  --leading-normal: 1.5;
  --leading-relaxed: 1.65;

  /* Letter spacing */
  --tracking-tight: -0.02em;
  --tracking-normal: 0;
  --tracking-wide: 0.04em;
  --tracking-widest: 0.16em;

  /* Spacing (4px base) */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Layout */
  --container-max: 1200px;
  --container-pad: clamp(1rem, 4vw, 2rem);

  /* Motion */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;

  /* Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;

  /* Z-index scale */
  --z-base: 1;
  --z-nav: 100;
  --z-overlay: 1000;
  --z-modal: 2000;

  /* Touch target minimum (WCAG 2.2) */
  --touch-target-min: 44px;
}

/* Honor prefers-reduced-motion (WCAG 2.2 + project instructions) */
@media (prefers-reduced-motion: reduce) {
  :root {
    --transition-fast: 0ms;
    --transition-base: 0ms;
    --transition-slow: 0ms;
  }
}
