/* ==========================================================================
   DESIGN TOKENS — the only place colours, fonts, sizes, spacing and radii live.
   To apply a design system, change the values here (or replace this file).
   Component styles in app.css only ever use these variables.
   ========================================================================== */
:root {
  /* Colour */
  --color-bg: #ffffff;          /* page background */
  --color-surface: #f3f3f3;     /* cards, inputs, sheets */
  --color-line: #e2e2e2;        /* dividers and borders */
  --color-text: #111111;        /* main text */
  --color-text-muted: #6b6b6b;  /* secondary text */
  --color-accent: #e5322d;      /* Record + active states (the one accent) */
  --color-accent-text: #ffffff; /* text on accent */
  --color-danger: #b3261e;      /* destructive actions */
  --color-overlay: rgba(0, 0, 0, 0.35);

  /* Type */
  --font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif;
  --font-family-mono: ui-monospace, "SF Mono", Menlo, monospace;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-md: 1rem;
  --font-size-lg: 1.25rem;
  --font-size-xl: 1.75rem;
  --font-size-timer: 3.25rem;
  --font-weight-regular: 400;
  --font-weight-bold: 600;
  --line-height: 1.4;

  /* Spacing scale */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;

  /* Sizes */
  --size-touch: 48px;           /* minimum touch target */
  --size-record: 196px;         /* the big record button */
  --size-meter: 10px;           /* level meter height */
  --size-tabbar: 56px;

  /* Corner radii */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-round: 999px;

  /* Motion */
  --duration-fast: 120ms;
}
