/* MR-GUFi design tokens – from design/tokens.css (approved mockup). Use these custom properties everywhere;
   no raw hex values in component CSS. */

@font-face { font-family: "IBM Plex Sans"; font-weight: 400; font-style: normal; font-display: swap; src: url("../Fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 500; font-style: normal; font-display: swap; src: url("../Fonts/ibm-plex-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 600; font-style: normal; font-display: swap; src: url("../Fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 700; font-style: normal; font-display: swap; src: url("../Fonts/ibm-plex-sans-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 400; font-style: normal; font-display: swap; src: url("../Fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 500; font-style: normal; font-display: swap; src: url("../Fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); }

:root {
  /* colour */
  --c-ink: #0F1B2A;            /* text, dark surfaces (hero, footer, CTA band, buttons) */
  --c-ink-2: #1C2D40;          /* raised elements on dark */
  --c-line-dark: #22344A;      /* dividers on dark */
  --c-line-dark-2: #3A4B5E;    /* outlines on dark */
  --c-on-dark: #E8EEF3;        /* body text on dark */
  --c-on-dark-muted: #C3CFDA;  /* secondary text on dark */
  --c-on-dark-faint: #9FB0C0;  /* labels on dark */
  --c-accent: #5CC8D7;         /* cyan accent on dark: primary button, eyebrow on dark, map pulse */
  --c-teal: #0A6E80;           /* links, eyebrows, selected states on light (5.9:1 on white) */
  --c-teal-dark: #08515E;      /* text on teal-tint chips */
  --c-teal-tint: #E2F0F2;      /* chips, badges */
  --c-bg: #F5F6F4;             /* page background */
  --c-surface: #FFFFFF;        /* cards, header */
  --c-surface-2: #E6E9EC;      /* neutral chips, placeholders */
  --c-line: #DCE1E6;           /* borders, dividers */
  --c-line-strong: #B7C1CB;    /* input borders, outline buttons */
  --c-muted: #4A5868;          /* secondary text on light (7.3:1 on white) */
  --c-warm-tint: #FCEBDD;      /* "Netzwerk-News" chip background */
  --c-warm: #8A3B08;           /* "Netzwerk-News" chip text */
  --c-dot-grid: #CBD3DB;       /* map dot pattern */

  /* type */
  --font-sans: "IBM Plex Sans", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;   /* numbers, field strengths, dates, eyebrows */
  --fs-display: clamp(36px, 5vw, 64px);   /* hero h1, lh 1.05, weight 600, letter-spacing -0.02em */
  --fs-h1: clamp(32px, 4vw, 52px);        /* page titles, lh 1.1, weight 600 */
  --fs-h2: clamp(26px, 3vw, 36px);        /* section titles of landing and content pages, lh 1.15, weight 600 */
  --fs-h2-compact: clamp(22px, 2vw, 26px); /* section titles inside detail, list and members pages */
  --fs-h3: 20px;                          /* card titles, weight 600 */
  --fs-lead: clamp(17px, 1.5vw, 20px);    /* lh 1.55 */
  --fs-body: 17px;                        /* lh 1.6 */
  --fs-small: 15px;
  --fs-xs: 13px;                          /* meta, eyebrow (mono, uppercase, letter-spacing 0.1em) */
  --fs-control: 16px;                     /* text in inputs and selects: below 16px iOS zooms in on focus */

  /* space & shape */
  /* Spacing scale (design pass 30.10.2026): padding, margin and gap use these steps; values below 12 px inside small
     components (chips, icons) may stay raw */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --container: 1280px;
  --gutter: 24px;
  --section-y: clamp(56px, 7vw, 96px);
  --radius-s: 6px;    /* code-like chips (systems) */
  --radius-m: 8px;    /* buttons, inputs */
  --radius-l: 12px;   /* cards */
  --radius-xl: 16px;  /* map, large bands */
  --radius-pill: 999px;
  --shadow-hover: 0 8px 22px rgb(15 27 42 / 0.1);  /* cards that are links, on hover */
  --tap: 44px;        /* minimum touch target; primary buttons 48px */
  --focus-color: var(--c-teal);   /* outline colour of :focus-visible; dark surfaces switch it to --c-accent (site.css) */
}
