/* PulseTransit BP brand tokens, shared by the app and the README figures.
   A light, cardio palette: blush #fbdddb, rose #fb989c, red #f5314a,
   coral #f84155 and light coral #fa5865, on warm white paper with a deep
   wine ink. Signals are drawn on an ECG-paper grid. */

@font-face {
  font-family: "Geist";
  src: url("fonts/Geist.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("fonts/GeistMono.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --blush: #fbdddb;
  --rose: #fb989c;
  --red: #f5314a;
  --coral: #f84155;
  --coral-light: #fa5865;

  --bg: #fff8f7;            /* paper */
  --surface: #ffffff;
  --surface-2: #fdeceb;
  --line: #f6d3d1;
  --line-strong: #eeb4b3;
  --text: #2b0b12;          /* deep wine ink */
  --text-2: #5c2a33;
  --muted: #8f5d65;
  --faint: #b48a90;

  /* ECG paper: a small square every 40 ms, a large one every 200 ms. */
  --grid-minor: rgb(245 49 74 / 0.07);
  --grid-major: rgb(245 49 74 / 0.18);

  /* Signals */
  --ecg: #2b0b12;           /* ink, as on an ECG printout */
  --scg: #fa5865;           /* chest vibration */
  --ppg: #f5314a;           /* finger pulse */
  --sbp: #f5314a;
  --dbp: #fb989c;
  --ptt: #2b0b12;
  --warn: #b86e00;
  --alarm: #d81b39;

  /* Wiring colours used in the hardware figures (kept conventional). */
  --wire-5v: #e0213a;
  --wire-3v3: #ea7a1e;
  --wire-gnd: #6f5a5e;
  --wire-sda: #2f6fe0;
  --wire-scl: #c58a00;
  --wire-analog: #8c1d33;
  --wire-leadoff: #149a84;
  --wire-tx: #7a4fd8;
  --wire-rx: #c2399a;

  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}
