/* BIT Ecosystem Root Typography: The Fantastic 5
 * 1. Luckiest Guy       -> Game & Arcade Display
 * 2. Comic Sans         -> Game Dialogue & Playful Accents
 * 3. Plus Jakarta Sans  -> Modern Brand Headings & Display
 * 4. Inter              -> System UI & Body Workhorse
 * 5. Comic Code         -> Developer Workspace & Code
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Luckiest+Guy&family=Plus+Jakarta+Sans:wght@400;500;600;700;800;900&display=swap');

:root {
  /* 1. Game Arcade & Impact Title Font */
  --font-game-title: "Luckiest Guy", Impact, -apple-system, sans-serif;
  --font-game-display: var(--font-game-title);

  /* 2. Game Dialogue, Quests & Playful Accent Font */
  --font-game-dialogue: "Comic Sans MS", "Comic Sans", "Chalkboard SE", "Comic Neue", cursive, sans-serif;
  --font-game-text: var(--font-game-dialogue);

  /* 3. Modern Brand Headings & Display Font */
  --font-heading: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-brand: var(--font-heading);

  /* 4. Core System UI & Readable Body Workhorse Font */
  --font-ui: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: var(--font-ui);

  /* 5. Developer Workspace, Terminals & Code Monospace Font */
  --font-mono: "Comic Code", "Cascadia Code", "Fira Code", "JetBrains Mono", Consolas, "Courier New", monospace;
  --font-code: var(--font-mono);

  /* Typography Scale Tokens */
  --font-size-base: 17px;
  --font-size-body: var(--font-size-base);
  --line-height-base: 1.62;
  --line-height-body: var(--line-height-base);
}

/* Base typographic bindings */
body {
  font-family: var(--font-ui);
  font-size: var(--font-size-body);
  line-height: var(--line-height-body);
}

p, .body-copy {
  font-size: var(--font-size-body);
  line-height: var(--line-height-body);
}

h1, h2, h3, h4, h5, h6, .bit-heading {

  font-family: var(--font-heading);
}

code, pre, kbd, samp, .bit-mono {
  font-family: var(--font-mono);
}

/* Utility classes for ecosystem components */
.font-game-title, .game-title, .arcade-title {
  font-family: var(--font-game-title);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.font-game-dialogue, .game-dialogue, .game-bubble, .comic-text {
  font-family: var(--font-game-dialogue);
  line-height: 1.45;
}

.font-heading, .brand-heading {
  font-family: var(--font-heading);
  letter-spacing: -0.025em;
}

.font-ui, .body-copy {
  font-family: var(--font-ui);
  line-height: 1.55;
}

.font-mono, .code-text, .terminal-text {
  font-family: var(--font-mono);
  font-feature-settings: "liga" 1;
}
