/* Ligi Africa design tokens — canonical source (docs/ligi-africa-brand.md) */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

:root {
  /* Primary colours */
  --color-brand-red: #a10202;
  --color-brand-red-bright: #c41c1c;
  --color-brand-red-deep: #7a0101;
  --color-brand-red-destructive: #991b1b;

  --color-brand-night: #0f172a;
  --color-brand-slate-dark: #1e293b;
  --color-brand-slate-mid: #334155;
  --color-brand-slate: #64748b;

  --color-brand-offwhite: #f8f8f6;
  --color-brand-parchment: #f1f0ec;
  --color-brand-ash: #e8e6e0;

  --color-brand-gold: #d4a017;
  --color-brand-green: #166534;
  --color-brand-academy-text: #3d3d3d;

  --color-brand-info: #1e40af;

  /* Typography */
  --font-primary: 'Space Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  --text-display: clamp(36px, 5vw, 60px);
  --text-h1: clamp(28px, 4vw, 40px);
  --text-h2: clamp(22px, 3vw, 30px);
  --text-h3: 20px;
  --text-h4: 16px;
  --text-body-lg: 17px;
  --text-body: 15px;
  --text-body-sm: 13px;
  --text-label: 11px;
  --text-ui: 14px;
  --text-caption: 12px;

  /* Spacing */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-10: 80px;

  /* Component tokens */
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 12px;
  --border-radius-xl: 16px;
  --border-radius-full: 9999px;

  --border-color-default: #e8e6e0;
  --border-color-dark: #334155;

  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.1);
  --shadow-lg: 0 8px 24px rgba(15, 23, 42, 0.12);

  --transition-fast: 150ms ease;
  --transition-normal: 250ms ease;
  --transition-slow: 400ms ease;

  --content-max-width: 1280px;
  --editorial-max-width: 720px;
}

body {
  font-family: var(--font-primary);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography utilities */
.text-display {
  font-size: var(--text-display);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.1;
}

.text-label {
  font-size: var(--text-label);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.transition-fast {
  transition: all var(--transition-fast);
}

.transition-normal {
  transition: all var(--transition-normal);
}

.transition-slow {
  transition: all var(--transition-slow);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
