/* Dassential design tokens. Every page imports this file first.
   Change a value here and it updates across the whole site. */
:root {
  /* Colour */
  --ink: #000000;
  --text: #1F1F1F;
  --muted: #5F5F5F;
  --line: #E3E3E3;
  --soft: #F5F5F5;
  --paper: #FFFFFF;
  --char: #1C1C21;
  --char-2: #26262E;
  --char-line: #3A3A42;
  --char-muted: #B8B8C2;
  --brand: #3730C8;
  --brand-d: #262093;
  --brand-l: #8B85FF;
  --wash: #EEEDFB;
  --ok: #1B7F4B;
  --warn: #9A6200;
  --err: #B42336;

  /* Type */
  --font: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --fs-display: clamp(44px, 6.6vw, 92px);
  --fs-h1: clamp(38px, 5vw, 64px);
  --fs-h2: clamp(32px, 4.2vw, 54px);
  --fs-h3: 24px;
  --fs-lead: clamp(19px, 1.6vw, 22px);
  --fs-body: 17px;
  --fs-sm: 14px;
  --fs-xs: 13px;

  /* Space */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px;
  --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px; --s10: 128px;
  --section: clamp(72px, 9vw, 128px);

  /* Layout */
  --max: 1280px;
  --gutter: 32px;
  --header: 76px;

  /* Shape and motion */
  --r-sm: 2px;
  --r: 4px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --t-fast: .18s;
  --t: .45s;
  --t-slow: .9s;

  color-scheme: light;
}
@media (max-width: 640px) {
  :root { --gutter: 20px; --header: 64px; }
}
