/*
 * Glow Plot: design tokens
 * A deep green-black lab at night. Light regular-weight grotesk headlines with one phrase
 * lit in sprout green, rounded dark panels that hold little node cards full of colored
 * cells, shapes drawn from fields of tiny glowing dots, and soft pill buttons (a pale
 * one for the main action, a dark one beside it). Quiet hairlines, rounded corners,
 * no shadows; the only light comes from green.
 *
 * Fonts (all free on Google Fonts):
 *   <link href="https://fonts.googleapis.com/css2?family=Hanken+Grotesk:wght@300;400;500;600&family=JetBrains+Mono:wght@400;500&display=swap" rel="stylesheet">
 */
:root {
  /* Surfaces: green-black page, a darker night band, rounded panels, raised node cards */
  --gp-paper: #090d0a;
  --gp-night: #050806;
  --gp-mat: #111612;          /* the big rounded panel around every figure */
  --gp-panel: #181e19;        /* node cards, inputs, plan columns, cards */
  --gp-raised: #212822;       /* the active tab, pressed toggles, code chips */
  --gp-line: #222a23;
  --gp-line-strong: #364037;

  /* Text */
  --gp-ink: #e8ede6;
  --gp-soft: #9aa49b;
  --gp-faint: #646e65;

  /* The glow: sprout green. Lit words, live cells, chart lines, the active icon */
  --gp-sprout: #7fe35a;
  --gp-sprout-deep: #5fc23d;
  --gp-sprout-soft: #27431f;  /* focus halo, the featured plan's top */
  --gp-sprout-wash: #122012;
  --gp-on-sprout: #0b120a;

  /* The pale pill: the main button */
  --gp-pill: #e6ebe3;
  --gp-pill-hover: #ffffff;
  --gp-on-pill: #0b0f0c;

  /* Cell colors: each group on a diagram gets one */
  --gp-cell: #2b332c;         /* idle */
  --gp-violet: #8f7cf0;       /* a second group */
  --gp-violet-dim: #4a4285;   /* finished cells */
  --gp-coral: #ef7d5e;        /* a third group, and anything that needs a redo */
  --gp-pass: #7fe35a;
  --gp-fail: #ef7d5e;

  /* Type */
  --gp-display: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --gp-sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gp-mono: "JetBrains Mono", "SFMono-Regular", Menlo, Consolas, monospace;

  --gp-text-hero: clamp(38px, 5vw, 68px);
  --gp-text-h2: clamp(28px, 3vw, 40px);
  --gp-text-h3: 17px;
  --gp-text-stat: clamp(36px, 3.6vw, 48px);
  --gp-text-lead: 18px;
  --gp-text-body: 15px;
  --gp-text-prose: 17px;
  --gp-text-small: 14px;
  --gp-text-micro: 11px;

  --gp-tracking-display: -.025em;
  --gp-tracking-caps: .08em;
  --gp-leading-display: 1.1;

  /* Shape: rounded panels, pill buttons, hairlines, no shadows */
  --gp-radius: 14px;          /* figure panels */
  --gp-radius-card: 10px;     /* node cards, cards, plans */
  --gp-radius-sm: 6px;        /* tags, inputs, code chips */
  --gp-radius-pill: 999px;
  --gp-hairline: 1px solid var(--gp-line);
  --gp-rule: 1px solid var(--gp-line-strong);
  --gp-shadow: none;
  --gp-cell-size: 10px;
  --gp-dot: 5px;              /* the spacing of the dot fields */

  /* Space */
  --gp-gutter: clamp(18px, 3vw, 40px);
  --gp-section: clamp(72px, 9vw, 128px);
  --gp-container: 1200px;
  --gp-narrow: 680px;

  /* Motion */
  --gp-ease: cubic-bezier(.2, .7, .2, 1);
  --gp-speed: .2s;
}
