/* ============================================
   CraftedTrust — Design Tokens
   Aligned with CCS (craftedcybersolutions.com) dark theme
   ============================================ */

:root {
  /* ── CCS Brand Colors ── */
  --color-primary: #0f172a;
  /* CCS dark navy background */
  --color-primary-light: #1e293b;
  /* CCS slate — cards, inputs */
  --color-primary-dark: #020617;
  /* Deepest navy */
  --color-accent: #1ABC9C;
  /* CraftedTrust Trust Teal — differentiator */
  --color-accent-light: #48d1b0;
  --color-accent-dark: #149a80;
  --color-accent-glow: rgba(26, 188, 156, 0.15);
  --color-indigo: #6366f1;
  /* CCS indigo accent */
  --color-indigo-glow: rgba(99, 102, 241, 0.4);
  --color-cyan: #22d3ee;
  /* CCS gradient end */

  /* ── Trust Tier Colors ── */
  --color-trusted: #27AE60;
  /* Guardian Green */
  --color-trusted-bg: rgba(39, 174, 96, 0.15);
  --color-moderate: #1ABC9C;
  /* Teal */
  --color-moderate-bg: rgba(26, 188, 156, 0.15);
  --color-caution: #E67E22;
  /* Caution Orange */
  --color-caution-bg: rgba(230, 126, 34, 0.15);
  --color-warning: #D35400;
  /* Red-Orange */
  --color-warning-bg: rgba(211, 84, 0, 0.15);
  --color-dangerous: #C0392B;
  /* Threat Red */
  --color-dangerous-bg: rgba(192, 57, 43, 0.15);

  /* ── Surface Colors (Dark Theme) ── */
  --color-bg: #0f172a;
  /* Page background */
  --color-surface: #1e293b;
  /* Cards, panels */
  --color-surface-alt: #334155;
  /* Subtle elevation */
  --color-border: #334155;
  /* Default borders */
  --color-border-light: rgba(255, 255, 255, 0.06);
  --color-code-bg: #0c1222;
  /* Code blocks */
  --color-text: #f1f5f9;
  /* Primary text */
  --color-text-secondary: #94a3b8;
  /* Secondary text */
  --color-text-muted: #64748b;
  /* Muted text */
  --color-text-inverse: #ffffff;
  /* Bright white */

  /* ── Typography (CCS uses Inter) ── */
  --font-primary: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;

  --text-hero: 3.75rem;
  /* 60px — CCS headline */
  --text-h1: 2rem;
  /* 32px */
  --text-h2: 1.5rem;
  /* 24px */
  --text-h3: 1.25rem;
  /* 20px */
  --text-body: 1rem;
  /* 16px */
  --text-sm: 0.875rem;
  /* 14px */
  --text-xs: 0.75rem;
  /* 12px */
  --text-badge: 0.6875rem;
  /* 11px */

  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;
  --weight-black: 900;
  /* CCS headline weight */

  --leading-tight: 1.2;
  --leading-normal: 1.5;
  --leading-relaxed: 1.7;

  /* ── Spacing ── */
  --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;

  /* ── Borders & Radii (CCS uses 16px on cards, 10px on buttons) ── */
  --radius-sm: 0.375rem;
  --radius-md: 0.625rem;
  /* 10px — CCS button radius */
  --radius-lg: 1rem;
  /* 16px — CCS card radius */
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;

  /* ── Shadows (CCS glow style) ── */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.5);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 4px 20px rgba(26, 188, 156, 0.4);
  /* Teal glow */
  --shadow-indigo: 0 4px 20px rgba(99, 102, 241, 0.4);
  /* CCS indigo glow */
  --shadow-inner: inset 0 2px 4px rgba(0, 0, 0, 0.3);

  /* ── Transitions ── */
  --transition-fast: 150ms ease;
  --transition-normal: 250ms ease;
  --transition-slow: 400ms ease;
  --transition-spring: 300ms cubic-bezier(0.34, 1.56, 0.64, 1);

  /* ── Layout ── */
  --max-width: 1280px;
  --max-width-sm: 640px;
  --max-width-md: 768px;
  --max-width-lg: 1024px;
  --header-height: 64px;
}