/* =========================================================
   TOKENS — the design's values, copied from the Figma file.
   Name them like the Figma variables / styles so design and
   code match (e.g. Figma "color/brand/primary" → --color-brand-primary).
   Everything else should use these variables, never raw values.
   The defaults below are neutral placeholders.
   ========================================================= */

:root {
  /* Colour (Figma: Variables → colour collection) */
  --color-bg: #ffffff;
  --color-text: #111111;
  --color-muted: #6b6b6b;
  --color-accent: #3b5bdb;
  --color-border: #e2e2e2;

  /* Type (Figma: Text styles). Add the font with @font-face below
     (files in assets/fonts/) or a Google Fonts @import at the top. */
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-heading: var(--font-body);

  --text-sm: 0.875rem;   --leading-sm: 1.45;
  --text-base: 1rem;     --leading-base: 1.6;
  --text-lg: 1.25rem;    --leading-lg: 1.5;
  --text-h3: 1.5rem;     --leading-h3: 1.3;
  --text-h2: 2.25rem;    --leading-h2: 1.15;
  --text-h1: clamp(2.5rem, 5vw, 4rem); --leading-h1: 1.05;

  /* Spacing (Figma: spacing variables / auto-layout gaps) */
  --space-1: 4px;  --space-2: 8px;  --space-3: 16px; --space-4: 24px;
  --space-5: 40px; --space-6: 64px; --space-7: 120px;

  /* Layout (Figma: frame width, columns, margins) */
  --container: 1280px;
  --gutter: 24px;
  --radius: 8px;
}

/* Breakpoints to match the Figma frames (CSS can't use variables in
   media queries, so they are written out where used):
   mobile ≤ 767px · tablet 768–1199px · desktop ≥ 1200px */
