@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=IBM+Plex+Mono:wght@400;500&display=swap');

:root {
  --font-family-base: 'Manrope', 'Avenir Next', 'Segoe UI', sans-serif;
  --font-family-mono: 'IBM Plex Mono', 'SFMono-Regular', Consolas, monospace;

  --color-bg-primary: #f6f8fb;
  --color-bg-surface: #ffffff;
  --color-bg-subtle: #eef3f9;
  --color-bg-accent-soft: #e9f2ff;

  --color-text-primary: #1f2937;
  --color-text-secondary: #4b5563;
  --color-text-muted: #6b7280;
  --color-text-inverse: #f9fbff;

  --color-brand-600: #1f6feb;
  --color-brand-700: #1559c1;
  --color-brand-100: #dbe9ff;

  --color-success-600: #1f9d5a;
  --color-warning-600: #b7791f;
  --color-danger-600: #d64545;

  --color-border: #dbe4ef;
  --color-border-strong: #c6d4e5;

  --shadow-sm: 0 4px 14px rgba(13, 38, 76, 0.06);
  --shadow-md: 0 12px 30px rgba(13, 38, 76, 0.09);

  --radius-sm: 0.5rem;
  --radius-md: 0.85rem;
  --radius-lg: 1.25rem;

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

  --focus-ring: 0 0 0 0.2rem rgba(31, 111, 235, 0.2);
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg-primary: #0f1727;
    --color-bg-surface: #141f33;
    --color-bg-subtle: #1a2940;
    --color-bg-accent-soft: #17335d;

    --color-text-primary: #eaf1fc;
    --color-text-secondary: #c4d1e7;
    --color-text-muted: #a6b6d0;
    --color-text-inverse: #f9fbff;

    --color-brand-600: #64a0ff;
    --color-brand-700: #4f8df1;
    --color-brand-100: #1a3157;

    --color-success-600: #4fc27f;
    --color-warning-600: #efb55a;
    --color-danger-600: #f07a7a;

    --color-border: #2a3a57;
    --color-border-strong: #395077;

    --shadow-sm: 0 6px 16px rgba(2, 8, 22, 0.45);
    --shadow-md: 0 16px 34px rgba(2, 8, 22, 0.55);
  }
}
