/*
 * Design tokens from Figma file RN6XYTofmSC7vPuxS7jL5N (10117_0001_zvoove-Cockpit).
 * Breakpoints (use literal values in media queries):
 *   Bootstrap scale, mobile-first min-width: sm 576, md 768, lg 1024 (desktop switch,
 *   Bootstrap default 992 replaced per Figma annotations), xl 1200, xxl 1400.
 *   Designed frames: 390 (base) and 1920.
 */
:root {
  /* colors: brand */
  --red: #d10a11;
  --red-dark: #b0080e;
  --red-light: #fdedee;
  --yellow: #ffd400;
  --yellow-light: #fffbe5;

  /* colors: neutral */
  --neutral-0: #fff;
  --neutral-50: #f8f7f4;
  --neutral-100: #f1efea;
  --neutral-200: #e5e2db;
  --neutral-300: #cfcac2;
  --neutral-500: #86817a;
  --neutral-600: #67635d;
  --neutral-800: #3a3936;
  --neutral-900: #252422;

  /* colors: status */
  --success: #146b39;
  --success-light: #eaf6ef;
  --error: #b42318;
  --error-light: #fef3f2;

  /* fonts */
  --font-base: "Roboto", sans-serif;

  /* type scale: fluid clamp from mobile (375) to desktop (1440), fixed below 375.
     Comments show desktop values; mobile: display 44/52, h1 36/44, h2 30/38, h3 26/34,
     h4 21/28, h5 18/26, lead 19/30, body-l 17/28. Smaller styles are fixed. */
  --fs-display: clamp(2.75rem, 1.9577rem + 3.3803vw, 5rem);      /* 80/88, -1.5px, 700 */
  --lh-display: clamp(3.25rem, 2.4577rem + 3.3803vw, 5.5rem);
  --ls-display: -1.5px;
  --fs-h1: clamp(2.25rem, 1.7218rem + 2.2535vw, 3.75rem);        /* 60/68, -1.2px, 700 */
  --lh-h1: clamp(2.75rem, 2.2218rem + 2.2535vw, 4.25rem);
  --ls-h1: -1.2px;
  --fs-h2: clamp(1.875rem, 1.5669rem + 1.3146vw, 2.75rem);        /* 44/52, -0.8px, 700 */
  --lh-h2: clamp(2.375rem, 2.0669rem + 1.3146vw, 3.25rem);
  --ls-h2: -0.8px;
  --fs-h3: clamp(1.625rem, 1.493rem + 0.5634vw, 2rem);           /* 32/40, -0.4px, 700 */
  --lh-h3: clamp(2.125rem, 1.993rem + 0.5634vw, 2.5rem);
  --ls-h3: -0.4px;
  --fs-h4: clamp(1.3125rem, 1.2465rem + 0.2817vw, 1.5rem);         /* 24/32, -0.2px, 600 */
  --lh-h4: clamp(1.75rem, 1.662rem + 0.3756vw, 2rem);
  --ls-h4: -0.2px;
  --fs-h5: clamp(1.125rem, 1.081rem + 0.1878vw, 1.25rem);        /* 20/28, 600 */
  --lh-h5: clamp(1.625rem, 1.581rem + 0.1878vw, 1.75rem);
  --fs-lead: clamp(1.1875rem, 1.1215rem + 0.2817vw, 1.375rem);     /* 22/34, 400 */
  --lh-lead: clamp(1.875rem, 1.787rem + 0.3756vw, 2.125rem);
  --fs-body-l: clamp(1.0625rem, 1.0405rem + 0.0939vw, 1.125rem);   /* 18/30, 400 / 500 */
  --lh-body-l: clamp(1.75rem, 1.706rem + 0.1878vw, 1.875rem);
  --fs-body-m: 1rem;       /* 16/26, 400 / 500 */
  --lh-body-m: 1.625rem;
  --fs-body-s: 0.875rem;   /* 14/22, 400 / 500 */
  --lh-body-s: 1.375rem;
  --fs-overline: 0.8125rem; /* 13/16, 700, uppercase, +1.4px */
  --lh-overline: 1rem;
  --ls-overline: 1.4px;
  --fs-button: 1rem;       /* 16/24, 600 */
  --lh-button: 1.5rem;
  --fs-button-s: 0.875rem; /* 14/20, 600 */
  --lh-button-s: 1.25rem;
  --fs-caption: 0.8125rem; /* 13/18, 500 */
  --lh-caption: 1.125rem;

  /* spacing (values seen in gap and padding) */
  --space-1: 0.5rem;   /* 8 */
  --space-2: 1rem;     /* 16 */
  --space-3: 1.75rem;  /* 28 */
  --space-4: 2rem;     /* 32 */
  --space-5: 2.5rem;   /* 40 */
  --space-6: 3rem;     /* 48 */

  /* radii */
  --radius-field: 10px;
  --radius-card: 12px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  /* effects (Figma effect styles) */
  --shadow-card: 0 12px 32px -6px rgba(37, 36, 34, 0.06);
  --shadow-card-hover: 0 12px 32px -4px rgba(37, 36, 34, 0.08);
  --shadow-raised: 0 16px 40px -8px rgba(37, 36, 34, 0.08);
  --shadow-bar: 0 -8px 24px -8px rgba(37, 36, 34, 0.12);
  --shadow-focus: 0 0 0 4px rgba(209, 10, 17, 0.12);

  /* layout */
  --container: 90rem;      /* 1440 */
  --header-h: 6rem;        /* 96 desktop */
  --header-h-mobile: 4rem; /* 64 */
  --gutter-mobile: 1.25rem; /* 20: 350 content in 390 frame */
}
