/*
  Dark Slide: design tokens
  A pro instrument on a black stage. Near-black pages with soft, out-of-focus
  objects drifting behind, tilted device frames floating in the light, and
  matte graphite control panels full of tick-mark sliders, dials and mono
  readouts. Headlines are wide-tracked squared capitals, body copy is a clean
  sans, and one signal yellow marks every index, check and main action.

  Fonts (free on Google Fonts):
  <link href="https://fonts.googleapis.com/css2?family=Saira:wght@500;600;700&family=Figtree:ital,wght@0,400;0,500;0,600;1,400&family=IBM+Plex+Mono:wght@400;500&display=swap" rel="stylesheet">
*/

:root {
  /* Surfaces */
  --ds-void: #09090A;          /* the stage, page background */
  --ds-panel: #151517;         /* control panels, cards */
  --ds-raised: #222226;        /* pills, segmented controls, inputs */
  --ds-line: #313136;          /* hairlines, panel borders, ticks */
  --ds-glass: rgba(255, 255, 255, 0.06); /* ghost objects in the background */

  /* Text */
  --ds-text: #F1F0EA;          /* headlines and body */
  --ds-muted: #8F8E88;         /* secondary text, labels */
  --ds-faint: #5B5A57;         /* tick marks, disabled */

  /* Accents */
  --ds-signal: #F3CB2F;        /* the one accent: index marks, checks, main buttons */
  --ds-signal-soft: rgba(243, 203, 47, 0.14); /* selected backgrounds */
  --ds-signal-ink: #191400;    /* text on signal yellow */
  --ds-cyan: #46C3BD;          /* live data, secondary readouts, sparingly */
  --ds-red: #E4553F;           /* record dots, warnings */

  /* Fonts */
  --ds-font-display: "Saira", "Arial Narrow", sans-serif;
  --ds-font-body: "Figtree", "Helvetica Neue", Arial, sans-serif;
  --ds-font-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;

  /* Type scale */
  --ds-text-hero: clamp(36px, 5.6vw, 76px);
  --ds-text-h2: clamp(28px, 3.6vw, 46px);
  --ds-text-h3: 20px;
  --ds-text-lead: 19px;
  --ds-text-body: 16px;
  --ds-text-small: 14px;
  --ds-text-label: 11px;
  --ds-text-readout: clamp(34px, 4vw, 52px);
  --ds-leading: 1.6;
  --ds-tracking-display: 0.07em;
  --ds-tracking-label: 0.16em;

  /* Shape */
  --ds-radius-device: 44px;    /* device frames */
  --ds-radius-screen: 34px;
  --ds-radius-panel: 18px;     /* panels and cards */
  --ds-radius-control: 10px;   /* tiles, inputs, the check button */
  --ds-radius-pill: 999px;     /* buttons, segmented controls, chips */
  --ds-border: 1px solid var(--ds-line);

  /* Shadows and light */
  --ds-shadow-device: 0 60px 120px -30px rgba(0, 0, 0, 0.9), 0 0 0 1px #3A3A3F, inset 0 0 0 2px #0E0E10;
  --ds-shadow-panel: 0 30px 60px -30px rgba(0, 0, 0, 0.8);
  --ds-glow-signal: 0 0 0 4px rgba(243, 203, 47, 0.18);
  --ds-spot: radial-gradient(60% 50% at 50% 35%, #1B1B1F 0%, var(--ds-void) 70%);
  --ds-edge: linear-gradient(145deg, #5A5A60 0%, #1E1E22 35%, #2C2C31 70%, #6A6A70 100%); /* metal rim */

  /* Patterns */
  --ds-ticks: repeating-linear-gradient(90deg, var(--ds-faint) 0 1px, transparent 1px 8px);
  --ds-ticks-v: repeating-linear-gradient(0deg, var(--ds-faint) 0 1px, transparent 1px 7px);
  --ds-dial: repeating-conic-gradient(from 0deg, var(--ds-faint) 0 1deg, transparent 1deg 10deg);

  /* Space */
  --ds-space-1: 4px;
  --ds-space-2: 8px;
  --ds-space-3: 12px;
  --ds-space-4: 16px;
  --ds-space-5: 24px;
  --ds-space-6: 32px;
  --ds-space-7: 48px;
  --ds-space-8: 80px;
  --ds-space-9: 128px;
  --ds-container: 1160px;
  --ds-measure: 640px;
}
