/* tokens.css – design tokens taken from the Valóságtérkép Figma file
   (paint styles, colour variables, text styles, grid styles). Sizes: Figma px ÷ 16 = rem. */
:root {
  /* ---- Colours: paint styles + variables ---- */
  --color-teal: #1db4b1; /* style "Blue" – accent, hover */
  --color-black: #272727; /* style "Black" – text, dark surfaces, 2px outlines */
  --color-ink: #283131; /* variable "Black_00" – diagram panels */
  --color-black-02: #212121; /* variable "Black_02" */
  --color-pure-black: #000000; /* variable "Black_01" */
  --color-grey-01: #666666; /* variable "Grey_01" */
  --color-gray-1: #c5c5c5; /* style "Gray 1" – dashed guide lines, muted text */
  --color-gray-2: #e6e6e6; /* style "Gray 2" */
  --color-gray-3: #eeeeee; /* style "Gray 3" – section background A */
  --color-gray: #f2f2f2; /* variable "Gray" */
  --color-gray-4: #f9f9f9; /* style "Gray 4" / variable "Gray_02" – section background B */
  --color-white: #ffffff; /* style "White" */

  /* Diagram palette (the "nézet" illustrations) */
  --color-diagram-blue: #e1ebfa;
  --color-diagram-blue-line: #c0d4f5;
  --color-diagram-blue-light: #f1f6fd;
  --color-diagram-yellow: #fff1c2;
  --color-diagram-yellow-line: #e8b931;
  --color-diagram-purple: #f8dffe;
  --color-diagram-purple-line: #a17fcb;
  --color-diagram-gray: #f3f3f3;
  --color-diagram-gray-line: #b3b3b3;

  /* ---- Typography ---- */
  --font-sans: "PP Neue Montreal", "Neue Montreal", "Helvetica Neue", Arial, sans-serif;
  --fw-book: 400;
  --fw-medium: 500;
  --fw-bold: 700;

  /* Desktop headings – Medium, line-height auto (1.2), H4–H6 letter-spacing 2% */
  --fs-h1: 3.5625rem; /* 57 */
  --fs-h2: 2.9375rem; /* 47 */
  --fs-h3: 2.3125rem; /* 37 */
  --fs-h4: 1.6875rem; /* 27 */
  --fs-h5: 1.4375rem; /* 23 */
  --fs-h6: 1.1875rem; /* 19 */
  /* Mobile headings – Medium, line-height auto (1.2) */
  --fs-mh1: 2.4375rem; /* 39 */
  --fs-mh2: 2.125rem; /* 34 */
  --fs-mh3: 1.75rem; /* 28 */
  --fs-mh4: 1.375rem; /* 22 */
  --fs-mh5: 1rem; /* 16 (a 20 px variant also exists in the file) */
  /* Body – Book */
  --fs-t1: 1.75rem; /* 28 / 39 */
  --fs-t2: 1.3125rem; /* 21 / 32, letter-spacing 2% */
  --fs-t3: 1.125rem; /* 18 / 27, letter-spacing 2% */
  --fs-t4: 1rem; /* 16 / 25, letter-spacing 2% */
  --fs-bth-1: 1.5625rem; /* 25 – "Box text H" */
  --lh-t1: 2.4375rem;
  --lh-t2: 2rem;
  --lh-t3: 1.6875rem;
  --lh-t4: 1.5625rem;
  --ls-wide: 0.02em;

  /* ---- Radii ---- */
  --radius-xs: 0.3125rem; /* 5 */
  --radius-sm: 0.375rem; /* 6 – buttons, inputs */
  --radius-md: 0.625rem; /* 10 – cards */
  --radius-lg: 1rem; /* 16 */
  --radius-xl: 1.25rem; /* 20 – panels */

  /* ---- Layout grid (Figma grid styles) ---- */
  --grid-desktop-columns: 12;
  --grid-desktop-margin: 20rem; /* 320 → 1280 px content width in the 1920 px frame */
  --grid-desktop-gutter: 2.125rem; /* 34 */
  --grid-mobile-columns: 4;
  --grid-mobile-margin: 1.25rem; /* 20 → 362 px content width in the 402 px frame */
  --grid-mobile-gutter: 0.9375rem; /* 15 */

  /* ---- Effects / strokes ---- */
  --shadow-header: 0 0.25rem 3.875rem rgba(0, 0, 0, 0.05); /* drop shadow 0/4/62, #000 5% */
  --stroke-outline: 2px; /* buttons, diagram boxes */
  --dash-guide: 4px; /* 1px dashed guide lines, dash 4 / gap 4 */
}
