/*
 * Pixel Lime: design tokens
 * Fresh, confident and a little nerdy. A warm chalk surface, deep aubergine ink, wide uppercase
 * grotesk headlines and one acid-lime accent. The signature move is small clusters of square
 * pixels that drift around headlines and sit behind a single word like a stepped highlighter.
 * Shapes are almost square (4px corners), lines are hairlines, and nothing casts a shadow.
 *
 * Fonts (all free on Google Fonts):
 *   <link href="https://fonts.googleapis.com/css2?family=Archivo:wdth,wght@112..125,500..800&family=Instrument+Sans:wght@400;500;600&family=Silkscreen&family=JetBrains+Mono:wght@400;500&display=swap" rel="stylesheet">
 */
:root {
  /* Surfaces */
  --pl-chalk: #f3f2ec;       /* the page background */
  --pl-paper: #ffffff;       /* cards, inputs, tables */
  --pl-chalk-2: #e9e7de;     /* hover on chalk, table headers, inline code */
  --pl-line: #dcd9cf;        /* every hairline */
  --pl-line-strong: #c3bfb2; /* outlined buttons, input borders */

  /* Ink */
  --pl-ink: #2a1433;         /* headlines, body, primary buttons */
  --pl-plum: #1d0c25;        /* announcement bar, dark bands, code blocks */
  --pl-plum-2: #331d3d;      /* raised surfaces on plum */
  --pl-soft: #6b6170;        /* leads, secondary text */
  --pl-faint: #9c94a0;       /* meta, placeholders */

  /* The one accent */
  --pl-lime: #d4fa6c;        /* pixels, highlight blocks, the nav button, checked boxes */
  --pl-lime-deep: #b8e040;   /* lime hover */
  --pl-lime-ink: #4d6a00;    /* lime-family text on chalk (eyebrows, links) */
  --pl-lime-soft: #eefbc8;   /* soft chips, callouts */

  /* Status, product UI only */
  --pl-red: #d94a3d;
  --pl-amber: #e3a72f;

  /* Type */
  --pl-display: "Archivo", "Arial Black", system-ui, sans-serif;
  --pl-sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --pl-pixel: "Silkscreen", "Courier New", monospace;
  --pl-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --pl-display-stretch: 118%;

  --pl-text-hero: clamp(40px, 7.2vw, 96px);
  --pl-text-h2: clamp(30px, 4.4vw, 56px);
  --pl-text-h3: 22px;
  --pl-text-lead: 19px;
  --pl-text-body: 16px;
  --pl-text-small: 14px;
  --pl-text-label: 12px;

  --pl-track-display: -0.01em;
  --pl-track-label: 0.08em;

  /* Shape */
  --pl-radius-xs: 2px;
  --pl-radius: 4px;
  --pl-radius-lg: 8px;
  --pl-border: 1px solid var(--pl-line);
  --pl-border-strong: 1px solid var(--pl-line-strong);
  --pl-pixel-size: 14px;     /* one pixel in the drifting clusters */

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

  /* Motion */
  --pl-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --pl-step: steps(4, end);  /* pixels blink in steps, never glide */
}
