/*
  Pollen Slate: design tokens

  Feel: a plain, honest project page from the old open web. A slate-navy
  page with pollen-yellow sentence-case headings, flat square buttons (one
  yellow, one fog grey), chevron bullet lists, and a tall "readout" panel
  with a select bar on top that shows real data in mono. Dark slate bands
  alternate with bright paper bands. No gradients, no glow, no shadows,
  radius of 2px at most. Raw, nerdy and warm.

  Fonts (free on Google Fonts):
  <link href="https://fonts.googleapis.com/css2?family=Exo+2:wght@400;500;600&family=Source+Sans+3:wght@400;600&family=Fira+Code:wght@400;500&display=swap" rel="stylesheet">
*/

:root {
  /* Surfaces */
  --ps-deep: #191a21;       /* top bar, footer, darkest band */
  --ps-slate: #23252f;      /* page background, slate bands */
  --ps-panel: #2c2f3b;      /* readout panels, cards on slate */
  --ps-line: #3c404e;       /* borders and dividers on slate */
  --ps-paper: #f6f5f0;      /* paper bands */
  --ps-paper-line: #dddbd2; /* borders on paper */

  /* Text */
  --ps-text: #e9e8e3;       /* body text on slate */
  --ps-muted: #a6a8b3;      /* secondary text on slate */
  --ps-ink: #1d1e25;        /* text on paper and on pollen */
  --ps-ink-muted: #5e606b;  /* secondary text on paper */

  /* Accents */
  --ps-pollen: #f8df4f;      /* headings on slate, primary buttons, chevrons */
  --ps-pollen-deep: #e2c12a; /* hover, and headings on paper */
  --ps-honey: #a8860c;       /* links and kickers on paper (readable on light) */
  --ps-fog: #cfd0d5;         /* secondary button */
  --ps-fog-deep: #b6b8bf;    /* secondary button hover */
  --ps-lilac: #c7a2f2;       /* readout keys */
  --ps-sky: #85bcec;         /* readout labels and info */
  --ps-mint: #9ad8a4;        /* readout good values, success */
  --ps-rose: #f08a8a;        /* readout warnings, errors */

  /* Fonts */
  --ps-font-head: "Exo 2", "Trebuchet MS", sans-serif;
  --ps-font-body: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;
  --ps-font-mono: "Fira Code", ui-monospace, Menlo, monospace;

  /* Type scale */
  --ps-size-hero: clamp(2rem, 4.2vw, 3.125rem);
  --ps-size-h2: clamp(1.625rem, 2.8vw, 2.25rem);
  --ps-size-h3: 1.375rem;
  --ps-size-lede: clamp(1.1875rem, 1.8vw, 1.4375rem);
  --ps-size-body: 1.0625rem;
  --ps-size-small: 0.9375rem;
  --ps-size-mono: 0.875rem;
  --ps-size-label: 0.8125rem;
  --ps-leading: 1.6;
  --ps-leading-tight: 1.2;

  /* Shape */
  --ps-radius: 2px;
  --ps-border: 1px solid var(--ps-line);
  --ps-border-paper: 1px solid var(--ps-paper-line);
  --ps-shadow: none;

  /* Space */
  --ps-space-1: 0.25rem;
  --ps-space-2: 0.5rem;
  --ps-space-3: 0.75rem;
  --ps-space-4: 1rem;
  --ps-space-5: 1.5rem;
  --ps-space-6: 2rem;
  --ps-space-7: 3rem;
  --ps-space-8: 4.5rem;
  --ps-width: 1120px;
  --ps-width-narrow: 720px;
  --ps-gutter: clamp(1rem, 4vw, 2rem);
}
