/* SEWMA typography tokens — variant B «Svět»
   Display: Sora 600 (headings, fact numbers, FAQ questions)
   Body:    Figtree 400 / 600 (text, buttons, labels, navigation)
   Mono:    JetBrains Mono (data only: codes, tags, meta in the admin)
   B scale: --text-display … --text-micro (fluid, clamp()). The older --text-xs … --text-hero
   scale stays for the admin. */
:root {
  /* Font families */
  --font-display: 'Sora', ui-sans-serif, system-ui, sans-serif;
  --font-body: 'Figtree', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  /* B type scale */
  --text-display: clamp(2.5rem, 1.2rem + 5.6vw, 5.5rem);
  --text-h2: clamp(1.875rem, 1.1rem + 3.2vw, 3.5rem);
  --text-h2-xl: clamp(2.125rem, 1.1rem + 4.2vw, 4.5rem);
  --text-h3: clamp(1.25rem, 1.1rem + .6vw, 1.625rem);
  --text-lead: clamp(1.125rem, 1.05rem + .35vw, 1.3125rem);
  --text-body: clamp(1rem, .97rem + .1vw, 1.0625rem);
  --text-small: .875rem;
  --text-micro: .75rem;

  /* Fluid type scale (admin) */
  --text-xs: clamp(0.7rem, calc(0.65rem + 0.25vw), 0.8125rem);
  --text-sm: clamp(0.875rem, calc(0.8rem + 0.35vw), 1rem);
  --text-base: clamp(1rem, calc(0.95rem + 0.25vw), 1.125rem);
  --text-lg: clamp(1.125rem, calc(1rem + 0.65vw), 1.375rem);
  --text-xl: clamp(1.375rem, calc(1.1rem + 1.25vw), 2.125rem);
  --text-2xl: clamp(2rem, calc(1.2rem + 2.5vw), 3.75rem);
  --text-3xl: clamp(2.5rem, calc(1rem + 4vw), 5.5rem);
  --text-hero: var(--text-display);

  /* Weights */
  --weight-light: 300;
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;

  /* Line heights (B: body 1.6, lead 1.5, h3 1.2, h2 1.05) */
  --leading-tight: 1.05;
  --leading-snug: 1.2;
  --leading-normal: 1.5;
  --leading-relaxed: 1.6;

  /* Tracking (B: h2 -0.03em, h3 -0.01em) */
  --tracking-display: -0.03em;
  --tracking-heading: -0.01em;
  --tracking-body: 0;
  --tracking-mono: 0.08em;   /* uppercase mono labels (no mono in B) */
}
