/*
 * Grey Stack: design tokens
 * Flat, quiet and a little blunt. The whole page sits on one mid-grey, content stacks in slightly
 * lighter grey rows, text is black, and a heavy rounded display wordmark is stretched edge to edge
 * across the top. Labels are light uppercase grotesk. Counts and toggles live in thin outline pills.
 * No shadows, no gradients, one tiny lime accent for "new" tags and focus.
 *
 * Fonts (all free on Google Fonts):
 *   <link href="https://fonts.googleapis.com/css2?family=Bagel+Fat+One&family=Hanken+Grotesk:wght@300;400;500;600&family=DM+Mono:wght@400;500&display=swap" rel="stylesheet">
 */
:root {
  /* Surfaces: one grey for the page, a lighter grey for every row and card */
  --gs-page: #b9b9b7;
  --gs-row: #c8c8c6;
  --gs-row-hover: #d4d4d2;
  --gs-well: #a9a9a7;       /* pressed toggles, inset fields */
  --gs-paper: #dcdcda;      /* the lightest surface: inputs and the article column */

  /* Ink */
  --gs-ink: #0c0c0c;
  --gs-soft: #3e3e3c;
  --gs-faint: #6b6b69;
  --gs-line: #0c0c0c;       /* outline pills and rules are ink, 1px */
  --gs-line-soft: #9d9d9b;

  /* The one accent: "new" tags, focus rings, a single dot. Never a background for a section */
  --gs-lime: #d6f53c;

  /* Type */
  --gs-display: "Bagel Fat One", "Arial Black", system-ui, sans-serif;
  --gs-sans: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --gs-mono: "DM Mono", ui-monospace, Menlo, monospace;

  --gs-text-row: clamp(26px, 3.4vw, 40px);   /* uppercase row labels */
  --gs-text-h1: clamp(40px, 6.4vw, 84px);     /* uppercase light headlines */
  --gs-text-h2: clamp(30px, 4vw, 52px);
  --gs-text-h3: 22px;
  --gs-text-lead: 20px;
  --gs-text-body: 17px;
  --gs-text-small: 14px;
  --gs-text-micro: 12px;

  --gs-tracking-up: -.01em;
  --gs-weight-label: 300;

  /* Shape: small radius on rows, full pills on controls, no shadows */
  --gs-radius-sm: 4px;
  --gs-radius: 8px;
  --gs-radius-pill: 999px;
  --gs-border: 1px solid var(--gs-line);
  --gs-border-soft: 1px solid var(--gs-line-soft);

  /* Space */
  --gs-gutter: 12px;          /* the page edge and the gap between stacked rows */
  --gs-row-pad: 18px 16px;
  --gs-section: clamp(56px, 8vw, 104px);
  --gs-container: 1400px;
  --gs-narrow: 720px;

  /* Motion: only colour changes on hover, 150ms */
  --gs-fast: 150ms ease;
}
