/* ============================================================
   SMC — Design Tokens
   Single source of truth for colors, type scale, spacing.
   Values mirror the Figma "SMC — Design System" frame.
   ============================================================ */

:root {
  /* ---- Color ---- */
  --navy-primary: #263474;
  --navy-dark: #122b60;
  --surface-tint: #eef3f9;
  --surface-white: #ffffff;
  --surface-card: #f8f8f8;

  --text-heading: #0f0f0f;
  --text-body: #444443;
  --text-muted: #6e6e6e;
  --text-on-dark: #ffffff;
  --text-on-dark-muted: #979797;
  --text-on-dark-faint: #8c8c8c;

  --link-primary: #263474;
  --border-subtle: #e2e5ea;

  /* ---- Typography ---- */
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;

  /* Type scale — mobile-first defaults (Mobile 435 sizes).
     Overridden up at the tablet/desktop breakpoints below.
     The fluid clamp() smooths the steps between breakpoints. */
  --fs-display: clamp(2rem, 1.375rem + 2.30vw, 3rem);    /* 32 -> 48 — restrained register for industrial B2B */
  --fs-stat:    clamp(4rem, 2.6rem + 4.4vw, 6.5rem);     /* 64 -> 104 — focal but not shouting */
  --fs-h1:      clamp(1.75rem, 1.42rem + 1.47vw, 2.5rem);/* 28 -> 40 */
  --fs-h2:      clamp(1.375rem, 1.21rem + 0.71vw, 1.75rem);/* 22 -> 28 */
  --fs-h3:      clamp(1.25rem, 1.15rem + 0.5vw, 1.5rem);  /* 20 -> 24 — card / tertiary titles */
  --fs-body:    clamp(1rem, 0.96rem + 0.18vw, 1.125rem); /* 16 -> 18 */
  --fs-button:  1rem;                                    /* 16 — crisp, restrained CTA */
  --fs-caption: clamp(0.8125rem, 0.80rem + 0.04vw, 0.875rem); /* 13 -> 14 */

  --lh-display: 1.2;
  --lh-heading: 1.3;
  --lh-body: 1.5;

  /* ---- Spacing scale (8pt-ish) ---- */
  --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-14: 3.5rem;   /* 56 */
  --space-16: 4rem;     /* 64 */
  --space-18: 4.5rem;   /* 72 */
  --space-20: 5rem;     /* 80 */
  --space-24: 6rem;     /* 96 */

  /* ---- Layout ---- */
  --page-max: 1440px;
  --content-max: 1256px;
  --gutter: clamp(1.25rem, 6.39vw, 5.75rem); /* 20px -> 92px @1440 */

  /* ---- Radius ---- */
  --radius-sm: 8px;
  --radius-lg: 24px;
  --radius-xl: 38px;
  --radius-pill: 999px;

  /* ---- Elevation ---- */
  --shadow-button: 0 1px 2px rgba(0, 0, 0, 0.05);

  /* ---- Motion ---- */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --dur: 180ms;
}
