/*
  Design tokens: Squash Tournament Software 2.0
  Brief: a squash club's competition app, used on phones at the club and at home.
  Subject world: the front wall (white plaster, red lines, the tin), the
  double-yellow-dot ball, and club colours (HBSC purple and gold).

  Palette
    wall   #F5F5F7  front-wall plaster: the page background
    ink    #1E1630  text; a purple-black, not a tinted grey
    club   #3B1A5A  club colour (per club, set from the Club record)
    ball   #E9B03B  gold of the double-yellow-dot ball: highlights, focus
    tin    #C8322B  court-line red: only the tin line and errors
    muted  #685F78  secondary text
    rule   #D9D5E0  dividers

  Type
    Display: Big Shoulders Display (condensed, signage-like; numerals for
             ladders and scores read like a scoreboard). Used with restraint:
             page titles, club names, big numbers.
    Body:    Figtree, with tabular figures for tables.

  Signature: the header is the front wall seen from the court. It sits on
  the club colour and ends in a red tin line. Everything else stays quiet.
*/

:root {
  --wall: #f5f5f7;
  --ink: #1e1630;
  --club: #3b1a5a;
  --on-club: #ffffff;
  --club-ink: #3b1a5a; /* club colour made dark enough for text */
  --ball: #e9b03b;
  --tin: #c8322b;
  --muted: #685f78;
  --rule: #d9d5e0;
  --paper: #ffffff;

  --font-display: "Big Shoulders Display", "Arial Narrow", "Roboto Condensed", sans-serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Type scale: 1.25 ratio from a 16px base */
  --step--1: 0.8rem;
  --step-0: 1rem;
  --step-1: 1.25rem;
  --step-2: 1.563rem;
  --step-3: 2.441rem;
  --step-4: 3.815rem;

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2.5rem;
  --space-6: 4rem;

  --measure: 68ch;
  --page: 72rem;
  --radius: 6px;
  --tin-line: 6px;
}
