/* Design tokens — see docs/SPECIFICATION.md §2. */
:root {
  /* Color */
  --color-canvas: #f5f4ef;
  --color-surface-raised: #fefdf9;
  --color-surface-muted: #ebece5;
  --color-accent-tint: #e7edff;
  --color-ink: #1b1d20;
  --color-ink-muted: #666962;
  --color-line: #d6d7ce;
  --color-accent: #2456f2;
  --color-accent-hover: #1d47cc;
  --color-on-accent: #ffffff;
  --color-dark-bg: #14191f;
  --color-dark-surface: #20272f;
  --color-dark-line: #35404b;
  --color-dark-muted: #a6b0ba;
  --color-success: #b4d9bd;

  /* Font families */
  --font-sans: 'Inter Variable', Inter, ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;

  /* Type scale (fluid between mobile minimum and the 1440 design value) */
  --fs-display-xl: clamp(56px, 7.2vw, 104px);
  --fs-display-l: clamp(44px, 6.4vw, 92px);
  --fs-h2: clamp(38px, 4.3vw, 62px);
  --fs-h2-about: clamp(36px, 4vw, 58px);
  --fs-h3-feature: clamp(30px, 2.9vw, 42px);
  --fs-h3: clamp(24px, 2.4vw, 34px);
  --fs-h4-article: clamp(23px, 1.9vw, 27px);
  --fs-h4: clamp(21px, 1.75vw, 25px);
  --fs-h5: clamp(20px, 1.7vw, 24px);
  --fs-lede: clamp(18px, 1.55vw, 22px);
  --fs-body-l: 17px;
  --fs-body: 16px;
  --fs-body-s: 15px;
  --fs-ui: 14px;
  --fs-ui-s: 13px;
  --fs-mono-label: 12px;
  --fs-mono-tag: 11px;
  --fs-mono-micro: 10px;

  /* Layout */
  --container-max: 1296px;
  --gutter: 72px;
  --section-pad: 96px;
  --section-pad-tight: 88px;
  --intro-gap: 72px;
  --context-width: 360px;

  /* Shape & motion */
  --radius: 4px;
  --radius-lg: 8px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 150ms;
}

@media (max-width: 1279px) {
  :root {
    --gutter: 48px;
  }
}

@media (max-width: 1023px) {
  :root {
    --gutter: 40px;
    --section-pad: 64px;
    --section-pad-tight: 64px;
  }
}

@media (max-width: 767px) {
  :root {
    --gutter: 20px;
    --section-pad: 56px;
    --section-pad-tight: 56px;
  }
}
