/* Design tokens — single source of truth (governance/DESIGN_SYSTEM.md).
   Components never use raw hex/px values for color, type, spacing or radius. */
:root {
  /* Navy — headings, dark sections */
  --navy-900: #0F172A;
  --navy-800: #1E293B;
  --navy-700: #334155;

  /* Text */
  --text: #334155;
  --text-2: #475569;
  --text-3: #64748B;
  --text-on-dark: #E2E8F0;
  --text-on-dark-2: #94A3B8;

  /* Surfaces */
  --surface: #FFFFFF;
  --surface-2: #F1F5F9;
  --border: #CBD5E1;
  --border-soft: #E2E8F0;
  --border-on-dark: #334155;

  /* Products — wayfinding only: icon boxes, rails, dots. Never small text on white
     (teal, sky and amber are below AA as text). */
  --gks: #2563EB;
  --idport: #0D9488;
  --idgate: #D97706;
  --idmobil: #0284C7;

  /* Semantic */
  --error: #B91C1C;
  --success: #15803D;

  /* Translucent derivatives */
  --header-bg: rgb(255 255 255 / 0.96);
  --hero-glow: rgb(37 99 235 / 0.18);
  --ph-stripe: rgb(148 163 184 / 0.08);
  --live-halo: rgb(13 148 136 / 0.18);

  /* Action */
  --action: var(--gks);
  --action-hover: #1D4ED8;
  --focus: #2563EB;

  /* Typography — Inter is the brand face; self-hosting is pending (TODO in DESIGN_SYSTEM). */
  --font-sans: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --fs-xs: 0.75rem;   /* 12 */
  --fs-sm: 0.875rem;  /* 14 */
  --fs-base: 1rem;    /* 16 */
  --fs-md: 1.125rem;  /* 18 */
  --fs-lg: 1.375rem;  /* 22 */
  --fs-xl: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem);   /* 28 → 40 */
  --fs-hero: clamp(2.375rem, 1.6rem + 3.4vw, 4rem);   /* 38 → 64 */
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --lh-tight: 1.1;
  --lh-snug: 1.3;
  --lh-body: 1.6;
  --tracking-eyebrow: 0.12em;

  /* Spacing — 8px base */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 3rem;
  --sp-8: 4rem;
  --sp-9: 6rem;
  --section-y: clamp(3.5rem, 2.5rem + 4vw, 6rem);
  --gutter: 1rem;
  --container: 76rem;

  /* Radii — three steps, not one radius everywhere */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-pill: 999px;

  /* Elevation */
  --shadow-sm: 0 1px 2px rgb(15 23 42 / 0.06);
  --shadow-md: 0 4px 16px rgb(15 23 42 / 0.08);
  --shadow-lg: 0 16px 40px rgb(15 23 42 / 0.16);

  /* Motion */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --dur: 480ms;

  --header-h: 4.25rem;
}

@media (min-width: 48rem) {
  :root { --gutter: 1.5rem; }
}
