/* Launchpad brand tokens used by OVERFUELED, copied from brand/brand.md (the token table).
   Never add a colour that is not a token there.
   OVERFUELED look: overfueled-surface ground, overfueled-ink text, overfueled red only for fills, rules,
   the chevron and text at 24px and above (3.7:1 on white). Never white text on red. */
:root {
  --overfueled: #ff2e00;
  --overfueled-ink: #000000;
  --overfueled-surface: #ffffff;

  /* dark callout box: overfueled-ink panel, text-primary text, red eyebrow (5.6:1) */
  --text-primary: #f5f4f7;
  --text-muted: #a9a6b8;

  /* light neutrals for panels, meta text and hairlines on white */
  --light-surface: #f5f4f7;
  --light-card: #ffffff;
  --light-ink: #0a0a0c;
  --light-body: #3d3c42;
  --light-eyebrow: #56555c;
  --light-border: #c9c8cf;

  /* inverted panels (callout, code, challenge) and the button hover; text on red is always black */
  --panel: #000000;
  --btn-hover: #1d1b26;
  --on-red: #000000;

  color-scheme: light dark;

  --radius-xs: 4px;
  --radius-lg: 16px;
  --radius-pill: 999px;

  --font: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --content-max: 1120px;
}

/* Dark mode follows the device (prefers-color-scheme). Same tokens, remapped: ink becomes the light text colour,
   surface the near-black ground. Red stays #ff2e00 (5.6:1 on the dark ground). */
@media (prefers-color-scheme: dark) {
  :root {
    --overfueled-ink: #f5f4f7;
    --overfueled-surface: #0a0a0c;
    --light-surface: #17161b;
    --light-card: #111014;
    --light-ink: #f5f4f7;
    --light-body: #c9c8cf;
    --light-eyebrow: #a9a6b8;
    --light-border: #3a3941;
    --panel: #17161b;
    --btn-hover: #ffffff;
  }
}
