/* Hummr design tokens: the one shared set of colours, type, spacing and
   shapes for every page (UX facet section 5; build plan session 20, UX-1).
   Taken from the phone app's October 2026 design (Claude Design mockups:
   near-black flat surfaces, one lime accent, heavy system-sans headings,
   monospace metadata). System font stacks only, so it works offline and
   sends nothing to a font service.

   Change a value here and every page that links this file follows. The
   phone app (app.html) uses it today; the DAW page adopts it in session 23. */
:root {
  /* Surfaces, darkest to lightest */
  --bg: #0f1012;
  --bg-elevated: #131417;
  --surface: #17191c;
  --surface-2: #1f2226;
  --line: #2b2f35;
  --line-soft: #1b1d21;

  /* Text */
  --ink: #f1f2ee;
  --ink-dim: #a0a5ae;
  --ink-faint: #8b9099;   /* lighter (26 Oct 2026): the faint labels were too hard to read */

  /* Accent and states */
  --accent: #d2f24b;
  --accent-2: #e3ff6e;
  --accent-ink: #14160a;
  --accent-soft: rgba(210, 242, 75, 0.13);
  --layer-2: #6ccbff;
  --danger: #ff5d6c;

  /* Track colours, in the order new tracks get them */
  --track-1: #d2f24b; /* lime */
  --track-2: #6ccbff; /* blue */
  --track-3: #ff9f6b; /* orange */
  --track-4: #c49bff; /* violet */
  --track-5: #5ef0c0; /* mint */

  /* Type */
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", system-ui, Roboto, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, Roboto, sans-serif;
  /* No monospace (Dev, 25 Oct 2026: "get rid of all the ai looking fonts"): the
     small labels use the body font, with even-width numbers so times don't jitter. */
  --font-mono: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, Roboto, sans-serif;
  /* The type scale (POLISH-1, 10 Nov 2026, docs/design/polish-audit-2026-11-10.md): every size in the app is one of these. */
  --fs-11: 11px;
  --fs-12: 12px;
  --fs-13: 13px;
  --fs-15: 15px;
  --fs-16: 16px;
  --fs-17: 17px;
  --fs-20: 20px;
  --fs-22: 22px;
  --fs-28: 28px;
  --fs-34: 34px;
  --fs-54: 54px;
  --text-xs: 12px;   /* metadata, small labels */
  --text-sm: 13px;   /* secondary text */
  --text-md: 15px;   /* body */
  --text-lg: 17px;   /* screen titles, card titles */
  --text-xl: 24px;   /* section headings */
  --text-2xl: 34px;  /* page headings ("Ideas") */

  /* Spacing steps */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;   /* page side gutter */
  --space-5: 24px;
  --space-6: 32px;

  /* Shapes */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-pill: 999px;

  /* Flat design: elevation comes from surface steps and 1px borders, not shadows. */
  --shadow-sm: none;
  --shadow-md: none;
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.5);

  --tap: 44px; /* minimum touch target (requirement D2) */
  color-scheme: dark;
}
