/* GrayCardLabs — design tokens
   Single source of truth for color, type, spacing and radius.
   Pages reference these variables and never hard-code values.
   Status: provisional — proposed by Claude 2026-10-12, indigo shifted toward blue per client, not yet approved.
   Basis: client brief (gray card metaphor, middle gray + charcoal, indigo accent),
   no brand assets exist yet. */

:root {
  /* Color — the gray card on white, with one indigo accent (shifted toward blue).
     --color-card is the literal 18% gray; use it for the card motif and
     large surfaces only. It fails contrast as text on white (3.9:1). */
  --color-surface: #fbfbfc;
  --color-surface-alt: #f1f1f3;
  --color-card: #808080;
  --color-ink: #26262b;
  --color-ink-muted: #5f5f66;
  --color-line: #d6d6db;
  --color-accent: #3b4fd8;
  --color-accent-strong: #2f40b6;
  --color-accent-ink: #ffffff;
  --color-accent-tint: #e7eafb;
  --color-accent-mid: #8d99ec;   /* the light dots in the logo */


  /* Type — IBM Plex Sans for everything, display set at weight 600 with
     tight tracking. Promoted from the chosen "trace" exploration (2026-10-12);
     the earlier serif display (IBM Plex Serif) was dropped with round 1. */
  --font-display: 'IBM Plex Sans', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'IBM Plex Sans', 'Helvetica Neue', Arial, sans-serif;
  --font-url: 'https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600&display=swap';

  /* Type scale — ratio 1.25 from 1rem, with a larger jump for the hero. */
  --text-xs: 0.8rem;
  --text-sm: 0.9rem;
  --text-md: 1rem;
  --text-lg: 1.25rem;
  --text-xl: 1.563rem;
  --text-2xl: 1.953rem;
  --text-3xl: 2.441rem;
  --text-4xl: 3.5rem;

  --leading-tight: 1.08;
  --leading-body: 1.6;
  --measure: 62ch;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2.5rem;
  --space-6: 4rem;
  --space-7: 7rem;

  /* Radius — the card is a sharp rectangle; only controls are rounded. */
  --radius-card: 0;
  --radius-control: 4px;
  --radius-pill: 999px;

  /* Lines — the isometric references use thin dark outlines. */
  --line-width: 1.5px;

  /* Layout */
  --content-max: 76rem;
  --gutter: var(--space-3);
}

@media (min-width: 48rem) {
  :root {
    --gutter: var(--space-5);
    --text-4xl: 4.25rem;
  }
}
