/* Foresight Hub Design System — canonical tokens (DX-2)
 * Use --fsp-* tokens in all new and migrated components. Legacy variables
 * remain untouched until their owning page is migrated.
 */
:root {
    --fsp-color-evergreen-950: #102f2b;
    --fsp-color-evergreen-900: #143934;
    --fsp-color-evergreen-800: #1c4b44;
    --fsp-color-evergreen-700: #2c5f57;
    --fsp-color-gold-700: #b8891d;
    --fsp-color-gold-600: #c99b32;
    --fsp-color-gold-500: #e2b94f;
    --fsp-color-gold-300: #f3dda1;
    --fsp-color-canvas: #f5f7f6;
    --fsp-color-surface: #ffffff;
    --fsp-color-surface-muted: #eef4f2;
    --fsp-color-border: #dbe5e1;
    --fsp-color-ink: #17211f;
    --fsp-color-text: #34423e;
    --fsp-color-muted: #60706d;
    --fsp-color-success: #087f5b;
    --fsp-color-success-soft: #d9f5e9;
    --fsp-color-warning: #9a6700;
    --fsp-color-warning-soft: #fff3cd;
    --fsp-color-danger: #b42318;
    --fsp-color-danger-soft: #fee4e2;
    --fsp-color-info: #175cd3;
    --fsp-color-info-soft: #eaf2ff;

    --fsp-font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --fsp-text-xs: 0.75rem;
    --fsp-text-sm: 0.875rem;
    --fsp-text-base: 1rem;
    --fsp-text-lg: 1.125rem;
    --fsp-text-xl: 1.25rem;
    --fsp-text-2xl: 1.5rem;
    --fsp-text-3xl: clamp(1.875rem, 4vw, 2.5rem);
    --fsp-leading-tight: 1.2;
    --fsp-leading-normal: 1.5;
    --fsp-leading-relaxed: 1.65;

    --fsp-space-1: 0.25rem;
    --fsp-space-2: 0.5rem;
    --fsp-space-3: 0.75rem;
    --fsp-space-4: 1rem;
    --fsp-space-5: 1.25rem;
    --fsp-space-6: 1.5rem;
    --fsp-space-8: 2rem;
    --fsp-space-10: 2.5rem;
    --fsp-space-12: 3rem;

    --fsp-radius-sm: 0.375rem;
    --fsp-radius-md: 0.625rem;
    --fsp-radius-lg: 0.875rem;
    --fsp-radius-xl: 1rem;
    --fsp-shadow-sm: 0 1px 2px rgba(16, 47, 43, 0.06);
    --fsp-shadow-md: 0 6px 18px rgba(16, 47, 43, 0.08);
    --fsp-shadow-lg: 0 14px 32px rgba(16, 47, 43, 0.18);
    --fsp-transition-fast: 150ms ease;
    --fsp-transition-base: 200ms ease;
    --fsp-z-navigation: 100;
    --fsp-z-overlay: 250;
    --fsp-z-drawer: 300;
    --fsp-focus-ring: 0 0 0 3px rgba(201, 155, 50, 0.4);
}

@media (prefers-reduced-motion: reduce) {
    :root { --fsp-transition-fast: 0ms; --fsp-transition-base: 0ms; }
}
