/**
 * Lalaji Academic — canonical design tokens.
 * Single source of truth for theme CSS, Elementor custom CSS, and Tutor LMS chrome.
 * Do not invent additional brand colors.
 */

:root {
  /* Brand colors */
  --color-black: #080808;
  --color-black-soft: #101216;
  --color-blue: #1d5fd1;
  --color-blue-dark: #12449c;
  --color-blue-light: #2d6cdf;
  --color-ivory: #f7f7f4;
  --color-white: #ffffff;
  --color-text: #151515;
  --color-muted: #6d7075;
  --color-border: #dfe2e6;

  /* Accessibility / status only — not decorative brand */
  --color-success: #2f6b3a;
  --color-danger: #9a3b32;
  --color-warning: #8a6a1f;

  /* Typography */
  --font-display: "Playfair Display", "Times New Roman", Georgia, serif;
  --font-body: Inter, "Helvetica Neue", Arial, sans-serif;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.25rem;
  --text-xl: 1.75rem;
  --text-2xl: 2.5rem;
  --text-hero: clamp(2.5rem, 5vw, 4rem);

  --leading-body: 1.6;
  --leading-display: 1.15;
  --tracking-display: -0.03em;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2.5rem;
  --space-6: 4rem;
  --space-7: 6rem;

  /* Layout */
  --max-content: 70rem;
  --radius-sm: 2px;
  --line: var(--color-border);

  /* Buttons */
  --btn-bg: var(--color-blue);
  --btn-bg-hover: var(--color-blue-dark);
  --btn-color: var(--color-white);
  --btn-radius: var(--radius-sm);
}

@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
