/* Muvar design tokens — shared by muvar.ca and partners.muvar.ca.
   One colour means one thing everywhere: amber = utilities, teal = haulage, green = energy/success, purple = action. */
:root {
  --navy: #1B2A4A;
  --navy-deep: #021F35;          /* sampled from the logo artwork */
  --purple: #6B5B95;
  --purple-strong: #574A7D;      /* hover / pressed */
  --purple-light: #8B7BB5;
  --purple-pale: #F0EDF8;
  --purple-wash: #F7F5FB;

  --amber: #E8A838;   --amber-ink: #8A5A06;  --amber-pale: #FDF4E3;
  --teal: #2A9D8F;    --teal-ink: #1C6B61;   --teal-pale: #E3F3F1;
  --green: #34A853;   --green-ink: #1F6E35;  --green-pale: #E6F4EA;
  --red: #C8372D;     --red-pale: #FCEBEA;

  --text: #1E293B;
  --muted: #5A6779; /* was #64748B: too faint (4.2–4.4:1) on the pale tinted panels; this passes WCAG AA (≥ 5:1) on all of them */
  --line: #E4E0EE;
  --line-strong: #CFC8E0;
  --surface: #FFFFFF;
  --bg: #FFFFFF;

  --font: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
  --fs-xs: .8125rem;  /* 13 */
  --fs-sm: .9375rem;  /* 15 */
  --fs-md: 1rem;      /* 16 — inputs never below this (no iOS zoom) */
  --fs-lg: 1.125rem;  /* 18 */
  --fs-xl: clamp(1.375rem, 1.1rem + 1vw, 1.75rem);
  --fs-2xl: clamp(1.75rem, 1.3rem + 2vw, 2.5rem);
  --fs-3xl: clamp(2.125rem, 1.4rem + 3.4vw, 3.5rem);

  --r-sm: 10px; --r-md: 14px; --r-lg: 20px; --r-xl: 28px; --r-pill: 50px;
  --shadow-sm: 0 1px 2px rgba(107, 91, 149, .08), 0 2px 8px rgba(107, 91, 149, .06);
  --shadow-md: 0 6px 24px rgba(107, 91, 149, .14);
  --shadow-lg: 0 18px 48px rgba(107, 91, 149, .20);
  --focus: 0 0 0 3px #fff, 0 0 0 5px var(--purple);

  --gutter: 16px;
  --tap: 44px;
  --bar-h: 76px; /* sticky flow action bar on phones */
}
@media (min-width: 768px) { :root { --gutter: 28px; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
