/* TEF Design Tokens — single source of truth for colours, type, spacing.
   Load FIRST on every page (before component CSS) so all variables resolve. */

:root {
  /* ── Colours ── */
  --tef-brand:   #0095da;
  --tef-dark:    #133C55;
  --tef-ink:     #0f172a;
  --tef-body:    #334155;
  --tef-muted:   #64748b;
  --tef-mid:     #7d97ad;
  --tef-line:    #e2e8f0;
  --tef-bg:      #f5f8fc;
  --tef-bg-alt:  #eef7fd;
  --tef-white:   #ffffff;
  --tef-success: #22c55e;
  --tef-warn:    #f59e0b;
  --tef-error:   #ef4444;

  /* ── Type scale (1.25 ratio, base 16px) ── */
  --tef-fs-xs:   12px;
  --tef-fs-sm:   14px;
  --tef-fs-base: 16px;
  --tef-fs-lg:   18px;
  --tef-fs-xl:   20px;
  --tef-fs-2xl:  25px;
  --tef-fs-3xl:  31px;
  --tef-fs-4xl:  39px;
  --tef-fs-5xl:  49px;

  /* ── Line heights ── */
  --tef-lh-tight:  1.25;
  --tef-lh-normal: 1.6;
  --tef-lh-loose:  1.8;

  /* ── Spacing ── */
  --tef-sp-1:  4px;
  --tef-sp-2:  8px;
  --tef-sp-3:  12px;
  --tef-sp-4:  16px;
  --tef-sp-6:  24px;
  --tef-sp-8:  32px;
  --tef-sp-12: 48px;
  --tef-sp-16: 64px;

  /* ── Shape ── */
  --tef-radius:    14px;
  --tef-radius-sm: 8px;
  --tef-radius-lg: 20px;

  /* ── Shadows ── */
  --tef-shadow-sm: 0 1px 4px rgba(0,0,0,.12);
  --tef-shadow:    0 4px 16px rgba(0,149,218,.18);
  --tef-shadow-lg: 0 8px 32px rgba(0,0,0,.14);

  /* ── Font families ── */
  --tef-font-heading: 'Montserrat', sans-serif;
  --tef-font-body:    'Open Sans', sans-serif;
}
