/* SMGT design tokens — single source of truth. Reference these; never hard-code hex/px/spacing in components. */

:root{
  /* Brand — navy scale */
  --navy-900:#071A33;   /* deepest — footer, gradient bottom */
  --navy-800:#0B2545;   /* BRAND NAVY — primary bg, headings */
  --navy-700:#14335C;   /* hover on navy surfaces, gradient top */
  --navy-600:#1D4173;   /* borders/dividers on navy, subtle lift */
  --navy-050:#EAF0F7;   /* faint navy tint (icon chips, hover rows) */

  /* Brand — red scale (ACCENT ONLY) */
  --red-600:#D62839;    /* BRAND RED — primary buttons, key numerals */
  --red-700:#B31F2E;    /* button/link hover, pressed */
  --red-050:#FDECEE;    /* faint red wash — icon chip bg on light only */

  /* Neutrals */
  --white:#FFFFFF;
  --ink-900:#1A2634;    /* body text on light (near-navy, high legibility) */
  --slate-600:#4A5A6A;  /* muted body / captions on light */
  --slate-400:#7C8B99;  /* meta, placeholder, disabled text */
  --line-200:#E2E8EE;   /* hairline borders/dividers on light */
  --surface-50:#F4F7FA; /* off-white section background */
  --surface-100:#EEF3F8;/* slightly deeper alt surface */

  /* On-navy text */
  --on-navy:#FFFFFF;
  --on-navy-muted:#CFE0F0;

  /* Semantic roles */
  --color-bg:var(--white);
  --color-bg-alt:var(--surface-50);
  --color-bg-invert:var(--navy-800);
  --color-text:var(--ink-900);
  --color-text-muted:var(--slate-600);
  --color-heading:var(--navy-800);
  --color-accent:var(--red-600);
  --color-accent-hover:var(--red-700);
  --color-border:var(--line-200);
  --color-focus:var(--red-600);

  /* Typography */
  --font-head:'Sora', 'Segoe UI', system-ui, -apple-system, Arial, sans-serif;
  --font-body:'Inter', 'Segoe UI', system-ui, -apple-system, Arial, sans-serif;

  --fs-hero:clamp(2.5rem, 1.6rem + 3.6vw, 3.75rem);
  --fs-h1:clamp(2rem, 1.5rem + 2vw, 2.75rem);
  --fs-h2:clamp(1.75rem, 1.4rem + 1.4vw, 2.25rem);
  --fs-h3:1.375rem;
  --fs-h4:1.125rem;
  --fs-lead:clamp(1.0625rem, 1rem + 0.4vw, 1.25rem);
  --fs-body:1.0625rem;
  --fs-sm:0.9375rem;
  --fs-eyebrow:0.8125rem;
  --fs-stat:clamp(2.5rem, 2rem + 2.2vw, 3.5rem);

  --fw-reg:400; --fw-med:500; --fw-semi:600; --fw-bold:700; --fw-x:800;

  --lh-tight:1.12;
  --lh-head:1.2;
  --lh-body:1.6;

  --ls-tight:-0.02em;
  --ls-eyebrow:0.14em;

  /* Spacing (8pt scale) */
  --space-3xs:0.25rem;
  --space-2xs:0.5rem;
  --space-xs:0.75rem;
  --space-sm:1rem;
  --space-md:1.5rem;
  --space-lg:2rem;
  --space-xl:3rem;
  --space-2xl:4rem;
  --space-3xl:6rem;
  --section-y:clamp(3.5rem, 2.5rem + 4vw, 6rem);
  --section-y-sm:clamp(2.5rem, 2rem + 2vw, 3.5rem);
  --gutter:clamp(1.25rem, 0.5rem + 2vw, 2rem);

  /* Radius / shadow / border / motion / layout */
  --radius-sm:6px; --radius-md:10px; --radius-lg:16px; --radius-pill:999px;

  --shadow-sm:0 1px 2px rgba(11,37,69,.07), 0 1px 3px rgba(11,37,69,.10);
  --shadow-md:0 6px 16px rgba(11,37,69,.12), 0 2px 6px rgba(11,37,69,.08);
  --shadow-lg:0 16px 40px rgba(11,37,69,.16), 0 6px 12px rgba(11,37,69,.08);

  --border-1:1px solid var(--color-border);
  --focus-ring:0 0 0 3px rgba(214,40,57,.35);

  --ease:cubic-bezier(.4,0,.2,1);
  --dur-fast:.15s; --dur:.25s;

  /* --- v2 FLOW / MOTION LAYER --- */
  --dur-ui:.2s;                          /* canonical interactive duration — all hover/toggle/nav transitions */
  --ease-out:cubic-bezier(.16,1,.3,1);   /* decelerating "settle" — scroll reveals only */
  --dur-reveal:.55s;                     /* scroll-reveal fade+rise duration */
  --dur-count:1200ms;                    /* stat count-up duration (Home stats band ONLY) */
  --reveal-y:18px;                       /* reveal rise distance */
  --reveal-stagger:80ms;                 /* per-item stagger inside a .reveal-group (cap at 6 items) */

  --container:1200px;
  --container-narrow:820px;
  --container-wide:1360px;
  --header-h:76px;
}
