/*
  Amber Rule: design tokens

  Feel: an honest, no-nonsense dark manual. Near-black pages cut into
  horizontal bands: a thin amber rule, a steel-grey nav band, a slightly
  lighter lede band, then two plain columns. Headings sit behind a small
  amber bolt mark, logos and badges are slanted parallelograms, and facts
  live in titled spec panels with a little tab header and mono readouts.
  It feels like a well kept workshop manual: functional, bold, a bit 2010s web.

  Fonts (free on Google Fonts):
  <link href="https://fonts.googleapis.com/css2?family=Barlow+Semi+Condensed:wght@600;700;800&family=Barlow:wght@400;500;600&family=IBM+Plex+Mono:wght@400;500&display=swap" rel="stylesheet">
*/

:root {
  /* Surfaces */
  --ar-night: #141312;      /* page background */
  --ar-panel: #1e1d1b;      /* spec panels, cards */
  --ar-band: #2a2927;       /* lede band, tab headers */
  --ar-steel: #5a5956;      /* the nav band */
  --ar-line: #3a3835;       /* hairlines and borders */

  /* Text */
  --ar-text: #ecebe7;
  --ar-muted: #a3a09a;
  --ar-dim: #75726c;

  /* Accents */
  --ar-amber: #f4a019;      /* the rule, primary buttons, bolt marks */
  --ar-amber-deep: #d9820b; /* hover and pressed */
  --ar-flare: #ffd447;      /* small highlights inside readouts */
  --ar-ok: #82d67d;         /* passed, booked, included */
  --ar-hot: #ff7d5c;        /* warnings, errors */
  --ar-on-amber: #141312;   /* text on amber */

  /* Fonts */
  --ar-font-head: "Barlow Semi Condensed", "Arial Narrow", sans-serif;
  --ar-font-body: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --ar-font-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;

  /* Type scale */
  --ar-size-hero: clamp(2.5rem, 5.2vw, 4.25rem);
  --ar-size-h2: clamp(1.75rem, 3vw, 2.375rem);
  --ar-size-h3: 1.375rem;
  --ar-size-lede: clamp(1.25rem, 2vw, 1.625rem);
  --ar-size-body: 1.0625rem;
  --ar-size-small: 0.9375rem;
  --ar-size-mono: 0.9rem;
  --ar-size-label: 0.8125rem;
  --ar-leading: 1.6;
  --ar-leading-tight: 1.08;

  /* Shape */
  --ar-radius: 3px;          /* panels, inputs, buttons */
  --ar-radius-tab: 5px 5px 0 0;
  --ar-skew: -14deg;         /* parallelogram marks */
  --ar-rule: 4px;            /* the amber rule */
  --ar-border: 1px solid var(--ar-line);
  --ar-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 12px 28px rgba(0, 0, 0, 0.35);
  --ar-focus: 0 0 0 3px rgba(244, 160, 25, 0.45);

  /* Space */
  --ar-space-1: 4px;
  --ar-space-2: 8px;
  --ar-space-3: 12px;
  --ar-space-4: 16px;
  --ar-space-5: 24px;
  --ar-space-6: 32px;
  --ar-space-7: 48px;
  --ar-space-8: 72px;
  --ar-space-9: 104px;
  --ar-width: 1040px;
  --ar-width-text: 680px;
  --ar-gutter: 24px;
}
