/*
  Ease Curve: design tokens
  Feel: a black rehearsal stage with the house lights down. Most of the hero is
  empty dark space where one drawn curve plays out on a faint grid, and the copy
  sits at the bottom edge like a caption. Corners are perfectly square, every
  edge is a 1px hairline, and small mono caps label everything. One warm yellow
  button, one mint "in range" signal, nothing else lit.

  Fonts (free, Google Fonts):
  <link href="https://fonts.googleapis.com/css2?family=Geist:wght@400;500;600;700&family=Geist+Mono:wght@400;500;600&display=swap" rel="stylesheet">
*/
:root {
  /* Surfaces */
  --ec-stage: #0b0b0c;        /* the page: near black, never pure #000 */
  --ec-wing: #111113;         /* bands, footer, inputs */
  --ec-panel: #17171a;        /* cards, plans, plots */
  --ec-panel-2: #202024;      /* table heads, hover, chart tracks */
  --ec-line: #26262b;         /* every hairline */
  --ec-line-bright: #3f3f46;  /* outlined buttons, input borders */
  --ec-stage-glass: rgba(11, 11, 12, 0.86); /* sticky nav behind blur */
  --ec-grid: rgba(242, 240, 234, 0.045); /* the plot grid */

  /* Text */
  --ec-bone: #f2f0ea;         /* headlines and body */
  --ec-bone-soft: #d6d4ce;    /* long article text */
  --ec-mute: #9b9aa1;         /* leads, secondary text */
  --ec-faint: #64636a;        /* captions, axis labels, placeholders */

  /* Accents */
  --ec-yellow: #f7d433;       /* the one main button, the moving dot */
  --ec-yellow-deep: #d9b61a;  /* yellow hover */
  --ec-mint: #4fd58e;         /* "in range", new badges, done ticks */
  --ec-mint-ink: #08200f;     /* text on mint */
  --ec-coral: #ff6d5a;        /* "out of range", errors only */
  --ec-ink: #0b0b0c;          /* text on yellow */

  /* Fonts */
  --ec-sans: "Geist", system-ui, -apple-system, sans-serif;
  --ec-mono: "Geist Mono", ui-monospace, "SFMono-Regular", monospace;

  /* Type scale */
  --ec-text-hero: clamp(38px, 5.4vw, 76px);
  --ec-text-h1: clamp(34px, 4.4vw, 60px);
  --ec-text-h2: clamp(28px, 3.2vw, 42px);
  --ec-text-h3: 19px;
  --ec-text-lead: 18px;
  --ec-text-body: 16px;
  --ec-text-small: 14px;
  --ec-text-micro: 11px;
  --ec-tracking-tight: -0.035em; /* headlines */
  --ec-tracking-caps: 0.12em;    /* mono caps labels */
  --ec-leading-tight: 1.02;

  /* Shape: square everywhere */
  --ec-radius: 0px;
  --ec-hair: 1px solid var(--ec-line);
  --ec-hair-bright: 1px solid var(--ec-line-bright);
  --ec-focus: 0 0 0 2px var(--ec-stage), 0 0 0 3px var(--ec-yellow);
  --ec-rider-glow: drop-shadow(0 0 8px rgba(247, 212, 51, 0.6)); /* the riding square */
  --ec-dot-glow: 0 0 0 4px rgba(247, 212, 51, 0.16), 0 0 18px rgba(247, 212, 51, 0.45);

  /* Space */
  --ec-space-1: 4px;
  --ec-space-2: 8px;
  --ec-space-3: 12px;
  --ec-space-4: 16px;
  --ec-space-5: 24px;
  --ec-space-6: 32px;
  --ec-space-7: 48px;
  --ec-space-8: 72px;
  --ec-space-9: 112px;
  --ec-container: 1180px;
  --ec-narrow: 700px;

  /* Motion */
  --ec-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ec-fast: 160ms;
  --ec-slow: 3.6s;
}
