/* The design tokens: every colour, font, size and breakpoint the styles use (ADR 0017).
   Phone first. These are working values for the test copy; the look on a computer is matched to today's site
   in the tokens pull request, once today's theme values are agreed. site.css takes every value from here. */
:root {
  /* Colours */
  --colour-text: #1f2933;
  --colour-text-muted: #52606d;
  --colour-background: #ffffff;
  --colour-surface: #f5f7fa;
  --colour-border: #d9e2ec;
  --colour-brand: #0b3d5c;
  --colour-brand-text: #ffffff;
  --colour-link: #0b5c8a;
  --colour-action: #e8710a;
  --colour-action-text: #ffffff;
  --colour-notice: #fff4e5;
  --colour-focus: #1a73e8;
  --colour-shade: rgb(107 114 128 / 75%); /* the shaded area around a pop-up, as today (ADR 0081) */
  --shadow-large: 0 10px 15px -3px rgb(0 0 0 / 10%), 0 4px 6px -4px rgb(0 0 0 / 10%); /* a card in today's words (ADR 0090) */
  --shadow-larger: 0 20px 25px -5px rgb(0 0 0 / 10%), 0 8px 10px -6px rgb(0 0 0 / 10%);

  /* Type */
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-heading: var(--font-body);
  --text-small: 0.875rem;
  --text-body: 1rem;
  --text-large: 1.25rem;
  --text-h2: 1.375rem;
  --text-h1: 1.75rem;
  --text-h1-wide: 2.25rem;
  --line-body: 1.6;
  --line-heading: 1.25;
  --weight-bold: 700;

  /* Space and size */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2rem;
  --space-6: 3rem;
  --gutter: 1rem;
  --gutter-wide: 2rem;
  --width-content: 48rem;
  --width-page: 75rem;
  --radius: 4px;
  --border: 1px solid var(--colour-border);
  --icon-size: 1rem; /* a small icon on a link, as today's 16 pixels (ADR 0083) */
  --icon-stroke: 2px;

  /* Tapping and focus: at least 48 pixels, as the phone check recommends. */
  --tap-target: 48px;
  --focus-ring: 3px solid var(--colour-focus);
  --focus-offset: 2px;
}

/* Breakpoints, for reference (custom properties cannot be used inside a media query):
   48em, a tablet; 64em, a computer, where menu.js opens the menu. */
