/*
  Quiet Static: design tokens
  A soft charcoal night with a hush to it. Thin, bookish serif headlines sit
  centred over drifting clouds of square pixels (ash grey on one side, lavender
  on the other). Lines of mono glyphs flicker and settle into words, buttons
  are white pills, and cards are quiet hairline panels with soft corners.
  Calm, a little dreamy and quietly futuristic.

  Fonts (free on Google Fonts):
  <link href="https://fonts.googleapis.com/css2?family=Newsreader:ital,opsz,wght@0,6..72,300;0,6..72,400;1,6..72,300&family=Geist:wght@400;500;600&family=Geist+Mono:wght@400;500&display=swap" rel="stylesheet">
*/

:root {
  /* Ground: charcoal with a violet undertone, never pure black */
  --qs-night: #18171C;        /* page background */
  --qs-night-deep: #101014;   /* footer, code, deep bands */
  --qs-raise: #222028;        /* cards and panels */
  --qs-raise-2: #2B2833;      /* hover, inputs, nested panels */
  --qs-line: #35323F;         /* hairline borders */
  --qs-line-soft: #282630;    /* table rows, dividers */

  /* Text */
  --qs-text: #EEECF4;         /* headlines and body */
  --qs-muted: #A6A2B5;        /* leads, secondary text */
  --qs-dim: #6F6B7E;          /* captions, meta, placeholders */

  /* Signals */
  --qs-lavender: #BCB0FF;     /* glyph lines, links, highlights */
  --qs-violet: #6A5DC4;       /* lavender pixel blocks, focus rings */
  --qs-violet-soft: #3B345F;  /* faint violet pixels, selected rows */
  --qs-ash: #3D3B45;          /* grey pixel blocks */
  --qs-ash-soft: #2A2930;     /* faintest grey pixels */
  --qs-blush: #F3BBCB;        /* rare warm note: one tag, one dot */
  --qs-white: #FFFFFF;        /* the pill button */
  --qs-on-white: #141318;     /* text on the white pill */
  --qs-error: #F08A8A;

  /* Fonts */
  --qs-font-head: "Newsreader", Georgia, "Times New Roman", serif;
  --qs-font-body: "Geist", "Helvetica Neue", Arial, sans-serif;
  --qs-font-mono: "Geist Mono", ui-monospace, Menlo, monospace;

  /* Type scale */
  --qs-text-hero: clamp(44px, 6.6vw, 92px);
  --qs-text-h2: clamp(32px, 4.2vw, 56px);
  --qs-text-h3: 22px;
  --qs-text-lead: 19px;
  --qs-text-body: 16px;
  --qs-text-small: 14px;
  --qs-text-glyph: clamp(18px, 2.4vw, 30px);
  --qs-text-label: 12px;

  /* Shape: soft panels, pill buttons, square pixels */
  --qs-radius-0: 0px;
  --qs-radius-1: 8px;
  --qs-radius-2: 16px;
  --qs-radius-pill: 999px;
  --qs-border: 1px solid var(--qs-line);
  --qs-border-soft: 1px solid var(--qs-line-soft);

  /* Shadows: almost none. One soft lift for floating panels. */
  --qs-shadow-float: 0 24px 60px rgba(5, 4, 10, 0.55);
  --qs-ring: 0 0 0 3px var(--qs-violet-soft);

  /* Pixel */
  --qs-px: 12px;              /* one pixel cell, including its gap */

  /* Space */
  --qs-space-1: 4px;
  --qs-space-2: 8px;
  --qs-space-3: 12px;
  --qs-space-4: 16px;
  --qs-space-5: 24px;
  --qs-space-6: 32px;
  --qs-space-7: 48px;
  --qs-space-8: 72px;
  --qs-space-9: 120px;
  --qs-container: 1160px;
  --qs-measure: 660px;

  /* Motion */
  --qs-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --qs-fast: 160ms;
}
