/* =============================================
   PLAN C DASHBOARD — DESIGN TOKENS
   ============================================= */

:root {
  /* Brand colours */
  --clr-red:       #ff4d6d;
  --clr-yellow:    #ffde59;
  --clr-black:     #000000;
  --clr-mid:       #cccccc;

  /* Light theme (default) */
  --clr-bg:        #fef8eb;
  --clr-surface:   #ffffff;
  --clr-surface-2: #f5ede0;
  --clr-border:    #e0d4bc;
  --clr-text-1:    #0d0d0d;
  --clr-text-2:    #444444;
  --clr-text-3:    #888888;
  --clr-accent:    var(--clr-red);
  --clr-tag-bg:    rgba(255, 77, 109, 0.1);
  --clr-tag-text:  #c0002d;
  --clr-overlay:   rgba(254, 248, 235, 0.92);
  --shadow-sm:     0 1px 3px rgba(0,0,0,0.08);
  --shadow-md:     0 4px 12px rgba(0,0,0,0.1);

  /* Typography */
  --font-display: 'Bebas Neue', 'Impact', sans-serif;
  --font-body:    'Libre Franklin', 'Georgia', serif;
  --font-mono:    'JetBrains Mono', monospace;

  /* Scale */
  --text-xs:   0.7rem;
  --text-sm:   0.8rem;
  --text-base: 1rem;
  --text-lg:   1.15rem;
  --text-xl:   1.35rem;
  --text-2xl:  1.75rem;
  --text-3xl:  2.5rem;
  --text-4xl:  3.5rem;

  /* Spacing */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.25rem;
  --sp-6: 1.5rem;
  --sp-8: 2rem;
  --sp-10: 2.5rem;
  --sp-12: 3rem;
  --sp-16: 4rem;

  /* Layout */
  --max-width: 1400px;
  --header-h: 4rem;
  --radius-sm: 2px;
  --radius:    4px;
  --radius-lg: 8px;

  /* Transitions */
  --transition: 200ms ease;
  --transition-slow: 400ms ease;
}

/* Dark theme */
[data-theme="dark"] {
  --clr-bg:        #0f0f0f;
  --clr-surface:   #1a1a1a;
  --clr-surface-2: #222222;
  --clr-border:    #2e2e2e;
  --clr-text-1:    #f0ede5;
  --clr-text-2:    #a8a49c;
  --clr-text-3:    #666666;
  --clr-tag-bg:    rgba(255, 77, 109, 0.15);
  --clr-tag-text:  #ff7a92;
  --clr-overlay:   rgba(15, 15, 15, 0.92);
  --shadow-sm:     0 1px 3px rgba(0,0,0,0.4);
  --shadow-md:     0 4px 16px rgba(0,0,0,0.5);
}

/* Reduced motion: flatten all transitions and animations */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
