/* tokens.css · Echometric · the base page’s token set with the same names, recoloured with one mint accent
   taken from the leaves in the night-garden video, set in Figtree. Aliases let each component keep its own
   token names. */
:root {
  /* colour (Firstline names) */
  --color-bg: #040706;
  --color-bg-2: #0a0f0d;
  --color-ink: #eef5f1;
  --color-ink-2: rgba(238, 245, 241, 0.72);
  --color-ink-3: rgba(238, 245, 241, 0.5);
  --color-line: rgba(255, 255, 255, 0.1);
  --color-line-2: rgba(255, 255, 255, 0.18);
  --color-glass: rgba(255, 255, 255, 0.05);
  --color-glass-2: rgba(255, 255, 255, 0.08);
  --color-glass-dark: rgba(2, 6, 4, 0.62);
  --color-pill: #eef5f1;
  --color-pill-ink: #04140d;
  --color-card: #111815;
  --color-signal: #3ddc97;
  --color-signal-bg: rgba(61, 220, 151, 0.16);
  --color-sky: #9ff0cf;
  --color-sky-bg: rgba(159, 240, 207, 0.14);
  --color-amber: #9ff0cf;
  --color-amber-bg: rgba(159, 240, 207, 0.14);
  --color-ok: #7fd9b0;
  --color-ok-bg: rgba(127, 217, 176, 0.14);
  --color-mark: rgba(61, 220, 151, 0.28);
  --color-error: #ff8a7a;
  --color-scrim: rgba(2, 6, 4, 0.72);
  --color-shadow: rgba(0, 0, 0, 0.6);
  --color-accent: #3ddc97;
  --color-accent-2: #22c4a0;
  --color-accent-bg: rgba(61, 220, 151, 0.14);
  --color-warn: #f2c46b;
  --color-warn-bg: rgba(242, 196, 107, 0.14);

  /* aliases (Stayput names) */
  --bg: var(--color-bg);
  --surface: var(--color-bg-2);
  --text: var(--color-ink);
  --text-2: var(--color-ink-2);
  --muted: rgba(238, 245, 241, 0.55);
  --stroke: #18201d;
  --stroke-2: #26302c;
  --grad: linear-gradient(90deg, #9ff0cf 0%, #22c4a0 100%);
  --grad-rev: linear-gradient(90deg, #22c4a0 0%, #9ff0cf 100%);
  --blue: #3ddc97;
  --blue-2: #22c4a0;
  --blue-bg: rgba(61, 220, 151, 0.12);
  --glow: 0 0 8px rgba(61, 220, 151, 0.4);
  --ok: var(--color-ok);
  --ok-bg: var(--color-ok-bg);
  --warn: var(--color-warn);
  --warn-bg: var(--color-warn-bg);
  --error: var(--color-error);
  --scrim: var(--color-scrim);
  --shadow: var(--color-shadow);

  /* type · Figtree throughout */
  --font: 'Figtree', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --text-hero: clamp(2.5rem, 1.2rem + 5vw, 4.75rem);
  --text-h2: clamp(1.875rem, 1.4rem + 1.9vw, 2.875rem);
  --text-h3: 1.1875rem;
  --text-lg: 1.0625rem;
  --text-md: 0.9375rem;
  --text-sm: 0.875rem;
  --text-xs: 0.75rem;
  --text-xxs: 0.75rem;
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --track-display: -0.04em;
  --track-heading: -0.03em;
  --track-label: 0.08em;
  --track-caps: 0.3em;

  /* space (both names) */
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-5: 20px;
  --space-6: 24px; --space-7: 32px; --space-8: 40px; --space-9: 56px; --space-10: 72px;
  --space-11: 96px; --space-12: 128px;
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 20px; --s6: 24px; --s7: 32px;
  --s8: 40px; --s9: 56px; --s10: 72px; --s11: 96px; --s12: 128px;

  /* shape (both names) */
  --radius-sm: 10px; --radius-md: 16px; --radius-chip: 20px; --radius-card: 24px; --radius-lg: 32px; --radius-pill: 999px;
  --r-sm: 10px; --r-md: 14px; --r-card: 20px; --r-lg: 28px; --r-pill: 999px;

  /* motion (both names) */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease: var(--ease-out);
  --ease-std: cubic-bezier(0.4, 0, 0.2, 1);
  --dur-fast: 180ms; --dur-med: 360ms; --dur-rise: 800ms;
  --fast: 180ms; --med: 360ms;

  --color-error-bg: rgba(255, 138, 122, 0.14);
  --color-pill-ink-2: rgba(4, 20, 13, 0.62);
  --color-pill-line: rgba(4, 20, 13, 0.12);
  --color-frost: rgba(8, 14, 11, 0.72);
  --text-stat: clamp(2.25rem, 1.7rem + 1.8vw, 3.25rem);
  --dur-card: 500ms;

  --max: 1200px;
  --measure: 36rem;
  --z-nav: 20;
}
