/* ==========================================================================
   Everyday Works (Habit) — Design Tokens (v2.0)
   Sophisticated Modern Enterprise SaaS Aesthetic (Linear / Raycast / Stripe Inspired)
   Clean Slate Foundation, Professional Accents, Zero Neon Hacking Glows
   ========================================================================== */

:root {
  /* Surface Layers (Deep Obsidian Slate Foundation) */
  --bg-canvas:        #0B0E14; /* Deep rich canvas */
  --bg-surface-1:     #111622; /* Card layer */
  --bg-surface-2:     #181F2E; /* Elevated components */
  --bg-surface-3:     #232B3E; /* Interactive hover layer */
  --bg-surface-glass: rgba(17, 22, 34, 0.85); /* Frosted cards */
  --bg-overlay:       rgba(11, 14, 20, 0.90);

  /* Text & Foreground Hierarchy (Clean High Contrast) */
  --text-primary:     #F8FAFC; /* Slate 50 - High emphasis headings & titles */
  --text-secondary:   #94A3B8; /* Slate 400 - Readable explanatory body text */
  --text-muted:       #64748B; /* Slate 500 - Captions, metadata, inactive states */
  --text-faint:       #334155; /* Slate 700 - Subtle dividers */

  /* Borders (Ultra-Clean Precision 1px Lines) */
  --border-subtle:    rgba(255, 255, 255, 0.08); /* Clean container borders */
  --border-medium:    rgba(255, 255, 255, 0.14); /* Interactive element borders */
  --border-highlight: rgba(255, 255, 255, 0.24); /* Focus and active states */

  /* Primary Brand Accent: Refined Royal Blue / Indigo (Modern Enterprise Trust) */
  --brand-primary:    #3B82F6; /* Clean crisp blue */
  --brand-hover:      #2563EB;
  --brand-subtle:     rgba(59, 130, 246, 0.10);
  --brand-border:     rgba(59, 130, 246, 0.25);

  /* Status Accents (Tasteful & Semantic) */
  /* Positive / Success / Money: Refined Emerald */
  --accent-success:   #10B981; 
  --success-subtle:   rgba(16, 185, 129, 0.10);
  --success-border:   rgba(16, 185, 129, 0.25);

  /* Warning / Review Required: Warm Amber */
  --accent-warning:   #F59E0B;
  --warning-subtle:   rgba(245, 158, 11, 0.10);
  --warning-border:   rgba(245, 158, 11, 0.25);

  /* Error / Loss: Coral Red */
  --accent-danger:    #EF4444;
  --danger-subtle:    rgba(239, 68, 68, 0.10);
  --danger-border:    rgba(239, 68, 68, 0.25);

  /* Typography Stacks */
  --font-sans:       'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono:       'JetBrains Mono', ui-monospace, Menlo, Monaco, Consolas, monospace;

  /* Border Radii Tokens */
  --radius-xs:       4px;
  --radius-sm:       8px;
  --radius-md:       12px;
  --radius-lg:       16px;
  --radius-pill:     9999px;

  /* Shadows (Subtle, Clean Depth, No Garish Glows) */
  --shadow-sm:       0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-md:       0 4px 16px rgba(0, 0, 0, 0.5);
  --shadow-lg:       0 12px 32px rgba(0, 0, 0, 0.6);

  /* Mechanical Transitions */
  --transition-fast: 150ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-base: 220ms cubic-bezier(0.16, 1, 0.3, 1);
}
