/* ============================================================
   Genesys Cloud Design System — design tokens
   Vendored from the "Genesys Cloud Design System" project
   (colors / typography / spacing / effects). Keep in sync there.
   ============================================================ */
:root {
  /* --- Brand: Orange (primary) --- */
  --orange-50:  #FFF4EF;
  --orange-100: #FFE3D9;
  --orange-200: #FFC4B0;
  --orange-300: #FF9C7E;
  --orange-400: #FF7A54;
  --orange-500: #FF451A; /* Genesys Orange — primary (official Adaptive G) */
  --orange-600: #E5431A;
  --orange-700: #BE360F;
  --orange-800: #95290B;

  /* --- Brand: Navy / Ink --- */
  --navy-900: #0E1B26; /* darkest surface */
  --navy-800: #152232; /* Genesys Navy — primary dark surface */
  --navy-700: #1E2F42;
  --navy-600: #2A4055;
  --navy-500: #3A5167;

  /* --- Secondary: Blue --- */
  --blue-50:  #EDF3FE;
  --blue-100: #DBE7FD;
  --blue-200: #B5CCFB;
  --blue-400: #5187EA;
  --blue-500: #2D6CDF; /* secondary action / links / info */
  --blue-600: #2256BE;
  --blue-700: #1A4291;

  /* --- Neutrals --- */
  --white:   #FFFFFF;
  --gray-50:  #F7F8FA;
  --gray-100: #EEF0F3;
  --gray-200: #E0E3E8;
  --gray-300: #C9CED6;
  --gray-400: #9AA2AD;
  --gray-500: #6B7480;
  --gray-600: #4C545E;
  --gray-700: #353B43;
  --gray-800: #22272D;
  --gray-900: #14181C;
  --black:   #000000;

  /* --- Semantic status --- */
  --green-100: #DEF3E6;
  --green-500: #1F9D55; /* success */
  --green-600: #168047;
  --amber-100: #FDEFD3;
  --amber-500: #F5A623; /* warning */
  --amber-600: #D6890C;
  --red-100:   #FBE0DF;
  --red-500:   #E02B27; /* error / danger */
  --red-600:   #BC1F1C;
  --teal-500:  #1EA39B; /* accent for data viz */
  --purple-500:#7A5AF0; /* accent for data viz */

  /* --- Semantic aliases — prefer these in components --- */
  --color-primary:        var(--orange-500);
  --color-primary-hover:  var(--orange-600);
  --color-primary-active: var(--orange-700);
  --color-primary-subtle: var(--orange-50);

  --color-secondary:        var(--blue-500);
  --color-secondary-hover:  var(--blue-600);
  --color-secondary-subtle: var(--blue-50);

  /* Text */
  --text-strong:    var(--navy-900);
  --text-body:      var(--gray-800);
  --text-secondary: var(--gray-500);
  --text-muted:     var(--gray-400);
  --text-on-primary:var(--white);
  --text-on-dark:   var(--white);
  --text-link:      var(--blue-600);

  /* Surfaces */
  --surface-page:    var(--white);
  --surface-subtle:  var(--gray-50);
  --surface-sunken:  var(--gray-100);
  --surface-card:    var(--white);
  --surface-inverse: var(--navy-800);
  --surface-inverse-deep: var(--navy-900);
  --surface-brand:   var(--orange-500);

  /* Borders */
  --border-subtle:  var(--gray-100);
  --border-default: var(--gray-200);
  --border-strong:  var(--gray-300);
  --border-inverse: rgba(255,255,255,0.14);

  /* Status semantic */
  --color-success: var(--green-500);
  --color-success-subtle: var(--green-100);
  --color-warning: var(--amber-500);
  --color-warning-subtle: var(--amber-100);
  --color-danger:  var(--red-500);
  --color-danger-subtle: var(--red-100);
  --color-info:    var(--blue-500);
  --color-info-subtle: var(--blue-50);

  /* Focus */
  --focus-ring: 0 0 0 3px rgba(45,108,223,0.45);

  /* --- Typography --- */
  --font-display: "Hanken Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-sans:    "Roboto", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono:    "Roboto Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --weight-light:    300;
  --weight-regular:  400;
  --weight-medium:   500;
  --weight-semibold: 600;
  --weight-bold:     700;
  --weight-extrabold:800;

  --text-display-xl: 4.5rem;  /* 72 — hero */
  --text-display-lg: 3.5rem;  /* 56 */
  --text-display-md: 2.75rem; /* 44 */
  --text-h1: 2.25rem;  /* 36 */
  --text-h2: 1.75rem;  /* 28 */
  --text-h3: 1.375rem; /* 22 */
  --text-h4: 1.125rem; /* 18 */
  --text-body-lg: 1.0625rem; /* 17 */
  --text-body:    1rem;      /* 16 */
  --text-body-sm: 0.875rem;  /* 14 — product UI default */
  --text-caption: 0.8125rem; /* 13 */
  --text-micro:   0.6875rem; /* 11 — labels/overline */

  --leading-tight:   1.1;
  --leading-snug:    1.25;
  --leading-normal:  1.5;
  --leading-relaxed: 1.65;

  --tracking-tight:  -0.02em;
  --tracking-snug:   -0.01em;
  --tracking-normal: 0;
  --tracking-wide:   0.04em;
  --tracking-caps:   0.08em;

  /* --- Spacing (4px grid) & radii --- */
  --space-0:  0;
  --space-1:  0.25rem;  /* 4 */
  --space-2:  0.5rem;   /* 8 */
  --space-3:  0.75rem;  /* 12 */
  --space-4:  1rem;     /* 16 */
  --space-5:  1.25rem;  /* 20 */
  --space-6:  1.5rem;   /* 24 */
  --space-8:  2rem;     /* 32 */
  --space-10: 2.5rem;   /* 40 */
  --space-12: 3rem;     /* 48 */
  --space-16: 4rem;     /* 64 */
  --space-20: 5rem;     /* 80 */
  --space-24: 6rem;     /* 96 */

  --radius-xs:  3px;
  --radius-sm:  5px;
  --radius-md:  8px;
  --radius-lg:  12px;
  --radius-xl:  18px;
  --radius-2xl: 28px;
  --radius-pill: 999px;

  --container-max: 1200px;
  --container-narrow: 800px;

  /* --- Effects — soft, neutral-tinted shadows; orange glow for brand CTAs --- */
  --shadow-xs: 0 1px 2px rgba(21,34,50,0.06);
  --shadow-sm: 0 1px 3px rgba(21,34,50,0.08), 0 1px 2px rgba(21,34,50,0.06);
  --shadow-md: 0 4px 12px rgba(21,34,50,0.10), 0 1px 3px rgba(21,34,50,0.06);
  --shadow-lg: 0 12px 28px rgba(21,34,50,0.14), 0 4px 8px rgba(21,34,50,0.06);
  --shadow-xl: 0 24px 56px rgba(21,34,50,0.18);
  --shadow-brand: 0 8px 24px rgba(255,79,31,0.32);
  --shadow-inset: inset 0 1px 2px rgba(21,34,50,0.08);

  /* Motion */
  --ease-standard: cubic-bezier(0.2, 0, 0.2, 1);
  --ease-emphasized: cubic-bezier(0.2, 0, 0, 1);
  --duration-fast: 120ms;
  --duration-base: 180ms;
  --duration-slow: 280ms;
  --transition-base: all var(--duration-base) var(--ease-standard);

  /* Z-index */
  --z-base: 1;
  --z-sticky: 100;
  --z-overlay: 1000;
  --z-modal: 1100;
  --z-toast: 1200;
}
