/* Fake Lab brand tokens. Dark (hologram lab) is the default; light = data-theme="light" on <html>. */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap");
@font-face {
  font-family: "Departure Mono";
  src: url("fonts/DepartureMono-Regular.woff2") format("woff2");
  font-display: swap;
}

:root {
  /* colour */
  --fl-bg: #05080f;          /* near-black navy */
  --fl-surface: #0b1220;     /* panels */
  --fl-surface-2: #111b2e;
  --fl-line: #1c2a44;        /* grid + borders */
  --fl-text: #e6f1ff;
  --fl-muted: #8aa0c0;
  --fl-holo: #3ddcff;        /* signature hologram blue: wireframes, links, focus */
  --fl-holo-deep: #1e7bff;
  --fl-hazard: #ff7a1a;      /* accent: primary buttons, "it broke!", real material */
  --fl-hazard-ink: #1a0a00;  /* text on hazard */
  --fl-ok: #3dffa8;
  --fl-glow: 0 0 6px rgb(61 220 255 / .55), 0 0 18px rgb(61 220 255 / .25);
  --fl-glow-hazard: 0 0 8px rgb(255 122 26 / .6);
  --fl-grid: linear-gradient(rgb(61 220 255 / .06) 1px, transparent 1px) 0 0 / 24px 24px,
             linear-gradient(90deg, rgb(61 220 255 / .06) 1px, transparent 1px) 0 0 / 24px 24px;

  /* type */
  --fl-font-display: "Departure Mono", ui-monospace, monospace;  /* headings, labels, buttons, numbers */
  --fl-font-body: "Inter", system-ui, sans-serif;                  /* lesson text */
  --fl-h1: 2.75rem;
  --fl-h2: 2.0625rem;  /* 33px: Departure Mono is sharpest at multiples of 11px */
  --fl-h3: 1.375rem;   /* 22px */
  --fl-body: 1.0625rem;
  --fl-small: .8125rem;
  --fl-leading: 1.65;

  /* shape + space */
  --fl-radius: 4px;          /* small: hologram panels are sharp, not bubbly */
  --fl-space: 8px;           /* base unit; use multiples */
  --fl-measure: 68ch;        /* max line length for lesson text */
  --fl-ease: cubic-bezier(.2, .8, .2, 1);
}

[data-theme="light"] {
  --fl-bg: #f3f6fa;
  --fl-surface: #ffffff;
  --fl-surface-2: #e9eef6;
  --fl-line: #cdd8e8;
  --fl-text: #0a1426;
  --fl-muted: #4a5b78;
  --fl-holo: #2a5d9a;        /* soft steel blue: pure blue vibrates on light paper */
  --fl-holo-deep: #1e4473;
  --fl-hazard: #e8590c;
  --fl-hazard-ink: #ffffff;
  --fl-ok: #0a8f5a;
  --fl-glow: none;           /* no glow on paper */
  --fl-glow-hazard: none;
  --fl-grid: linear-gradient(rgb(42 93 154 / .07) 1px, transparent 1px) 0 0 / 24px 24px,
             linear-gradient(90deg, rgb(42 93 154 / .07) 1px, transparent 1px) 0 0 / 24px 24px;
}
