/* RADS MEP design tokens. Engineering-drawing feel: deep navy ink, one amber signal colour
   used for marks, rules and buttons only (never for text on white). Text pairs are at least 4.5:1. */
:root {
  /* Surfaces */
  --color-canvas: #ffffff;
  --color-ground: #f4f6f8;
  --color-line: #cfd6de;
  --color-line-soft: #e3e8ee;
  --color-ink-bg: #0f2036;      /* navy ink, dark bands */
  --color-ink-bg-2: #172d49;

  /* Text */
  --color-ink: #0f2036;         /* on canvas 15:1 */
  --color-muted: #4a5a6c;       /* on canvas 7:1, on ground 6.3:1 */
  --color-link: #13508f;        /* on canvas 8.1:1 */
  --color-link-hover: #0b3868;
  --color-on-ink: #ffffff;
  --color-on-ink-muted: #c4d0de; /* on navy 10:1 */

  /* Signal */
  --color-signal: #f2a900;      /* background only; navy text on it is 8.6:1 */
  --color-signal-hover: #d99700;
  --color-focus: #f2a900;

  /* Drawing colours, from the logo: supply, solar, earth */
  --color-sheet: #edf2f6;       /* drawing paper; ink on it 14:1 */
  --color-supply: #1f6fb2;
  --color-solar: #f2a100;
  --color-earth: #0e8c8c;

  /* Type: Archivo (self-hosted, width axis 62-125), system fallback */
  --font-body: 'Archivo', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace;

  --size-h1: clamp(1.85rem, 1.3rem + 2.4vw, 3rem);
  --size-h2: clamp(1.4rem, 1.15rem + 1vw, 1.9rem);
  --size-h3: 1.1rem;
  --size-body: 1.0313rem;
  --size-small: 0.875rem;

  /* Shape */
  --radius: 2px;
  --shadow: 0 1px 2px rgba(15, 32, 54, 0.08);

  /* Spacing */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --section: clamp(36px, 6vw, 72px);
  --gutter: 16px;
  --max-width: 1160px;
  --max-narrow: 760px;
}
