/*
  Pedal Readout: design tokens
  A dark hardware-enclosure style. Brushed graphite panels with soft bevels,
  CSS-drawn knobs and LED dots, glowing dot-matrix LCD readouts in phosphor lime,
  condensed uppercase headlines and a signal-blue utility strip.

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

:root {
  /* Surfaces */
  --pr-void: #0d0e0f;        /* page background */
  --pr-graphite: #1c1e20;    /* section and card panels */
  --pr-alloy: #36393c;       /* raised enclosure face */
  --pr-alloy-hi: #4a4e52;    /* top bevel highlight */
  --pr-lcd: #10150a;         /* LCD window */
  --pr-line: #2c2f32;        /* hairline separators */

  /* Text */
  --pr-chalk: #eceee8;       /* primary text */
  --pr-steel: #8d9297;       /* labels, secondary text */
  --pr-silk: #c9ccc6;        /* silkscreen labels on the enclosure */

  /* Accents */
  --pr-phosphor: #b4ef3c;    /* LCD readout, LEDs that are on, primary action */
  --pr-phosphor-dim: #4c6418;/* unlit LCD segments, LED off ring */
  --pr-signal: #2a66d4;      /* utility strip, outline buttons, links */
  --pr-ember: #ff9a2e;       /* warnings, one hot LED per screen at most */

  /* Fonts */
  --pr-font-head: "Barlow Condensed", "Arial Narrow", sans-serif;
  --pr-font-body: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --pr-font-lcd: "Doto", "Courier New", monospace;

  /* Type scale */
  --pr-size-hero: clamp(2.9rem, 6vw, 5.25rem);
  --pr-size-h1: clamp(2.4rem, 5vw, 4rem);
  --pr-size-h2: clamp(1.9rem, 3.4vw, 2.75rem);
  --pr-size-h3: 1.4rem;
  --pr-size-body: 1.0625rem;
  --pr-size-small: 0.875rem;
  --pr-size-label: 0.72rem;
  --pr-size-lcd: clamp(1.6rem, 3vw, 2.4rem);
  --pr-track-head: 0.02em;
  --pr-track-label: 0.16em;

  /* Shape */
  --pr-radius-panel: 14px;   /* enclosures */
  --pr-radius-card: 10px;
  --pr-radius-lcd: 6px;
  --pr-radius-btn: 3px;      /* buttons are near-square, like hardware keys */
  --pr-radius-round: 999px;  /* knobs, LEDs, footswitches only */

  /* Shadows and bevels */
  --pr-bevel: inset 0 1px 0 var(--pr-alloy-hi), inset 0 -2px 0 rgba(0, 0, 0, 0.35);
  --pr-shadow-panel: 0 24px 48px -18px rgba(0, 0, 0, 0.8), 0 2px 0 rgba(0, 0, 0, 0.6);
  --pr-shadow-knob: 0 6px 10px rgba(0, 0, 0, 0.6), inset 0 2px 1px rgba(255, 255, 255, 0.12);
  --pr-glow-lcd: 0 0 12px rgba(180, 239, 60, 0.55);
  --pr-glow-led: 0 0 10px 2px rgba(180, 239, 60, 0.6);
  --pr-glow-ember: 0 0 10px 2px rgba(255, 154, 46, 0.6);

  /* Brushed metal texture */
  --pr-brush: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 3px);
  /* Moire contour backdrop */
  --pr-contour: repeating-radial-gradient(ellipse at 70% 120%, rgba(180, 239, 60, 0.07) 0 1px, transparent 1px 9px);

  /* Space */
  --pr-space-1: 0.25rem;
  --pr-space-2: 0.5rem;
  --pr-space-3: 1rem;
  --pr-space-4: 1.5rem;
  --pr-space-5: 2.5rem;
  --pr-space-6: 4rem;
  --pr-space-7: 6.5rem;
  --pr-max: 1180px;
}
