/* Art direction: SaaS Analytics Dashboard → Professional, data-focused
   Palette: Cool navy/slate, accent: teal/sky blue for positive, coral red for negative
   Typography: Inter (body + display) — clean, tabular, SaaS standard
   Density: Dense (dashboard) with breathing room on cards */

/* ===== FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* ===== TYPE SCALE ===== */
  --text-xs:   clamp(0.75rem,  0.7rem  + 0.25vw, 0.875rem);
  --text-sm:   clamp(0.875rem, 0.8rem  + 0.35vw, 1rem);
  --text-base: clamp(1rem,     0.95rem + 0.25vw, 1.125rem);
  --text-lg:   clamp(1.125rem, 1rem    + 0.75vw, 1.5rem);
  --text-xl:   clamp(1.5rem,   1.2rem  + 1.25vw, 2.25rem);
  --text-2xl:  clamp(2rem,     1.2rem  + 2.5vw,  3.5rem);

  /* ===== 4px 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;

  /* ===== RADIUS ===== */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-full: 9999px;

  /* ===== TRANSITIONS ===== */
  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);

  /* ===== CONTENT WIDTHS ===== */
  --content-narrow: 640px;
  --content-default: 960px;
  --content-wide: 1200px;
  --content-full: 100%;
}

/* ===== CUSTOM PALETTE — WolfPack SEO Dashboard ===== */
/* Single-mode: light dashboard with dark navy chrome */
:root {
  /* Header/Chrome (Dark Navy) */
  --color-header-bg: #1B2A4A;
  --color-header-text: #FFFFFF;
  --color-header-muted: rgba(255, 255, 255, 0.65);

  /* Content area surfaces */
  --color-bg: #F5F6F8;
  --color-surface: #FFFFFF;
  --color-surface-2: #FAFBFC;
  --color-surface-offset: #EFF1F4;
  --color-divider: #E2E5EA;
  --color-border: #D5D9E0;

  /* Text */
  --color-text: #1A1F2E;
  --color-text-muted: #6B7280;
  --color-text-faint: #9CA3AF;
  --color-text-inverse: #FFFFFF;

  /* Primary (Sky/Teal for positive) */
  --color-primary: #0EA5E9;
  --color-primary-hover: #0284C7;
  --color-primary-active: #0369A1;
  --color-primary-highlight: rgba(14, 165, 233, 0.08);

  /* Success (Green for increases) */
  --color-success: #10B981;
  --color-success-hover: #059669;
  --color-success-active: #047857;
  --color-success-bg: rgba(16, 185, 129, 0.08);

  /* Error / Negative (Coral/Red for decreases) */
  --color-error: #EF4444;
  --color-error-hover: #DC2626;
  --color-error-active: #B91C1C;
  --color-error-bg: rgba(239, 68, 68, 0.08);

  /* Neutral trend (no data) */
  --color-neutral: #9CA3AF;
  --color-neutral-bg: rgba(156, 163, 175, 0.08);

  /* Shadows (cool-matched) */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.08);
}
