/* ============================================
   DESIGN TOKENS — Bravemind Academy
   Brand palette derived from the logo:
   Navy #1B2A47 on Steel-Blue #A9BDD7
   ============================================ */
:root {
  /* Brand — Navy scale */
  --navy-900: #0c1426;
  --navy-800: #111d36;
  --navy-700: #1b2a47; /* logo navy */
  --navy-600: #25395f;
  --navy-500: #33507f;

  /* Brand — Steel / Periwinkle scale */
  --steel-500: #6f93c4;
  --steel-400: #a9bdd7; /* logo background */
  --steel-300: #c3d2e6;
  --steel-200: #dde7f2;
  --steel-100: #eef3f9;

  /* Glow accent (luminous blue) */
  --glow:      #7fa8e0;
  --glow-soft: rgba(127, 168, 224, 0.45);

  /* Success / growth accents (Briefing: Gold + Grün) — refined, used with restraint */
  --gold:      #c8a24b;
  --gold-soft: rgba(200, 162, 75, 0.38);
  --green:     #3f9e78;
  --green-soft:rgba(63, 158, 120, 0.32);

  /* Semantic colors */
  --color-primary:     var(--navy-700);
  --color-secondary:   var(--navy-900);
  --color-accent:      var(--glow);
  --color-accent-alt:  var(--steel-400);

  --color-bg:          #ffffff;
  --color-bg-alt:      var(--steel-100);
  --color-bg-dark:     var(--navy-800);

  --color-text:        var(--navy-800);
  --color-text-muted:  #5b6b85;
  --color-text-invert: #eef3f9;
  --color-text-invert-muted: #b6c6dd;

  --color-border:      #dbe3ee;
  --color-border-dark: rgba(169, 189, 215, 0.18);
  --color-white:       #ffffff;

  /* Typography */
  --font-sans:    'Hanken Grotesk', system-ui, -apple-system, sans-serif;
  --font-display: 'Fraunces', Georgia, serif;
  --font-serif:   'Fraunces', Georgia, serif; /* legacy alias */

  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.25rem;
  --text-2xl:  1.5rem;
  --text-3xl:  1.875rem;
  --text-4xl:  2.25rem;
  --text-5xl:  3rem;
  --text-6xl:  3.75rem;
  --text-7xl:  4.75rem;

  --font-normal:   400;
  --font-medium:   500;
  --font-semibold: 600;
  --font-bold:     700;
  --font-black:    800;

  --leading-tight:  1.2;
  --leading-normal: 1.5;
  --leading-loose:  1.8;

  --tracking-tight: -0.02em;
  --tracking-wide:  0.12em;

  /* Spacing */
  --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;

  /* Layout */
  --container-max: 1140px;
  --container-pad: var(--space-6);

  /* Borders */
  --radius-sm:   0.375rem;
  --radius-md:   0.75rem;
  --radius-lg:   1.25rem;
  --radius-xl:   2rem;
  --radius-full: 9999px;

  /* Shadows + Glow */
  --shadow-sm: 0 1px 3px rgba(12, 20, 38, 0.08);
  --shadow-md: 0 8px 30px rgba(12, 20, 38, 0.12);
  --shadow-lg: 0 24px 60px rgba(12, 20, 38, 0.18);
  --glow-sm:   0 0 24px var(--glow-soft);
  --glow-lg:   0 0 60px var(--glow-soft);

  /* Transitions */
  --transition-fast:   150ms ease;
  --transition-base:   300ms cubic-bezier(0.22, 1, 0.36, 1);
  --transition-slow:   600ms cubic-bezier(0.22, 1, 0.36, 1);

  /* Z-index */
  --z-base:     1;
  --z-dropdown: 100;
  --z-sticky:   200;
  --z-overlay:  300;
  --z-modal:    400;
}
