/* ============================================================
   MACKEN HIRING & AI SOLUTIONS — Design Tokens
   Concept: authoritative, warm, modern. Navy = trust/credibility,
   Teal = growth/clarity, Gold = approachable small-business warmth.
   ============================================================ */

:root,
[data-theme='light'] {
  /* Surfaces */
  --color-bg: #f5f7f9;
  --color-surface: #ffffff;
  --color-surface-2: #ffffff;
  --color-surface-offset: #eef1f4;
  --color-surface-offset-2: #e5e9ed;
  --color-surface-dynamic: #dde3e8;
  --color-divider: #d8dee4;
  --color-border: #c7d0d9;

  /* Text */
  --color-text: #0b2036;
  --color-text-muted: #48586a;
  --color-text-faint: #8b98a5;
  --color-text-inverse: #f5f7f9;

  /* Primary Accent — Teal */
  --color-primary: #0e7c86;
  --color-primary-hover: #0a5f67;
  --color-primary-active: #07474d;
  --color-primary-highlight: #cfe6e4;

  /* Navy (brand deep accent, used for dark sections/header) */
  --color-navy: #0b2036;
  --color-navy-2: #0f2c47;
  --color-navy-soft: #16375a;

  /* Gold (approachable accent, sparing use) */
  --color-gold: #b9862b;
  --color-gold-hover: #966b1f;
  --color-gold-active: #765417;
  --color-gold-highlight: #f0e0bb;

  /* Warning */
  --color-warning: #964219;
  --color-warning-hover: #713417;
  --color-warning-active: #4b2614;
  --color-warning-highlight: #ddcfc6;

  /* Error */
  --color-error: #a12c4a;
  --color-error-hover: #7d1e39;
  --color-error-active: #56172a;
  --color-error-highlight: #e0ced3;

  /* Success */
  --color-success: #2f7a4f;
  --color-success-hover: #205c39;
  --color-success-active: #143f26;
  --color-success-highlight: #cce0d4;

  /* Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.625rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-full: 9999px;

  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);

  --shadow-sm: 0 1px 2px oklch(0.15 0.03 240 / 0.08);
  --shadow-md: 0 8px 20px oklch(0.15 0.03 240 / 0.1);
  --shadow-lg: 0 20px 48px oklch(0.15 0.03 240 / 0.16);

  --content-narrow: 640px;
  --content-default: 960px;
  --content-wide: 1240px;
  --content-full: 100%;

  --font-display: 'Cabinet Grotesk', 'Georgia', serif;
  --font-body: 'Satoshi', 'Helvetica Neue', sans-serif;
}

[data-theme='dark'] {
  --color-bg: #08131f;
  --color-surface: #0d1e2f;
  --color-surface-2: #112538;
  --color-surface-offset: #0a1826;
  --color-surface-offset-2: #142a3f;
  --color-surface-dynamic: #1b3348;
  --color-divider: #1c3348;
  --color-border: #244059;

  --color-text: #e6edf2;
  --color-text-muted: #9db0c0;
  --color-text-faint: #647688;
  --color-text-inverse: #0a1826;

  --color-primary: #55b8b9;
  --color-primary-hover: #74c8c9;
  --color-primary-active: #92d6d6;
  --color-primary-highlight: #163438;

  --color-navy: #050d16;
  --color-navy-2: #0a1a2a;
  --color-navy-soft: #0f2740;

  --color-gold: #e0b45a;
  --color-gold-hover: #ecc678;
  --color-gold-active: #f3d799;
  --color-gold-highlight: #3a2f18;

  --color-warning: #bb653b;
  --color-warning-hover: #b95525;
  --color-warning-active: #993d10;
  --color-warning-highlight: #564942;

  --color-error: #d1668a;
  --color-error-hover: #b94a70;
  --color-error-active: #9b3159;
  --color-error-highlight: #4c3640;

  --color-success: #64ae83;
  --color-success-hover: #4a9068;
  --color-success-active: #327050;
  --color-success-highlight: #2d4438;

  --shadow-sm: 0 1px 2px oklch(0 0 0 / 0.3);
  --shadow-md: 0 8px 20px oklch(0 0 0 / 0.35);
  --shadow-lg: 0 20px 48px oklch(0 0 0 / 0.45);
}

/* Type scale */
:root {
  --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.25rem);
  --text-3xl: clamp(2.5rem, 1rem + 4vw, 4.5rem);
  --text-hero: clamp(2.75rem, 1rem + 5.5vw, 5.5rem);

  --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;
}
