/*
 * Pixel Crop: design tokens
 * A dark, precise look with one living color. The page is near-black with a faint green cast,
 * headlines are medium-weight grotesque in off-white with one phrase lit in bright sprout green,
 * and the signature visuals are isometric blocks drawn from tiny glowing dots, like an LED matrix
 * seen at night. Buttons are pills: a pale primary and a dark ghost. Labels and numbers sit in a
 * wide mono face. Everything else stays quiet so the dots can glow.
 *
 * Fonts (all free on Google Fonts):
 *   <link href="https://fonts.googleapis.com/css2?family=Hanken+Grotesk:wght@400;500;600&family=Martian+Mono:wght@400;500&display=swap" rel="stylesheet">
 */
:root {
  /* Surfaces, darkest to lightest. Each has a slight green cast. */
  --pc-soil: #050806;        /* page background */
  --pc-bed: #0a0f0b;         /* alternate sections, footer */
  --pc-tray: #111813;        /* cards, panels, inputs */
  --pc-stem: #1a231c;        /* raised controls, hover, selected */

  /* Lines: hairlines at low opacity, never solid gray */
  --pc-line: rgba(220, 255, 220, .08);
  --pc-line-strong: rgba(220, 255, 220, .15);

  /* Text */
  --pc-text: #ecf1ea;        /* headlines, primary text, the primary button fill */
  --pc-text-2: #9aa59c;      /* body, leads, nav links */
  --pc-text-3: #626d64;      /* metadata, labels, placeholders */

  /* Accents */
  --pc-sprout: #84e26f;      /* the one bright color: lit words, dots, focus, success */
  --pc-sprout-soft: rgba(132, 226, 111, .12);
  --pc-leaf: #2e8f42;        /* the darker dot shade, the side faces of blocks */
  --pc-moss: #1a4a24;        /* the darkest dot shade, shadow faces */
  --pc-pollen: #e4ef6b;      /* rare sparks inside dot art, one tag per page at most */
  --pc-rust: #e0775a;        /* errors and warnings only */
  --pc-rust-soft: rgba(224, 119, 90, .12);

  /* Dots: the signature texture. Use as background on clipped faces. */
  --pc-dot-size: 6px;
  --pc-dots-bright: radial-gradient(circle, var(--pc-sprout) 1.3px, transparent 1.8px) 0 0 / var(--pc-dot-size) var(--pc-dot-size);
  --pc-dots-mid: radial-gradient(circle, var(--pc-leaf) 1.3px, transparent 1.8px) 0 0 / var(--pc-dot-size) var(--pc-dot-size);
  --pc-dots-dim: radial-gradient(circle, var(--pc-moss) 1.3px, transparent 1.8px) 0 0 / var(--pc-dot-size) var(--pc-dot-size);
  --pc-dots-spark: radial-gradient(circle, var(--pc-pollen) 1.1px, transparent 1.6px) 3px 3px / 30px 42px;
  --pc-dots-field: radial-gradient(circle, rgba(220, 255, 220, .07) 1px, transparent 1.4px) 0 0 / 18px 18px;
  --pc-glow: drop-shadow(0 0 10px rgba(132, 226, 111, .35)) drop-shadow(0 0 28px rgba(132, 226, 111, .14));
  --pc-halo: radial-gradient(55% 60% at 50% 40%, rgba(132, 226, 111, .10), transparent 70%);

  /* Type */
  --pc-display: "Hanken Grotesk", system-ui, sans-serif;
  --pc-body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --pc-mono: "Martian Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --pc-text-hero: clamp(42px, 6.2vw, 80px);
  --pc-text-h1: clamp(36px, 4.8vw, 60px);
  --pc-text-h2: clamp(28px, 3.4vw, 44px);
  --pc-text-h3: 19px;
  --pc-text-lead: 18px;
  --pc-text-body: 16px;
  --pc-text-small: 14px;
  --pc-text-micro: 11px;     /* mono labels, always uppercase */

  --pc-tracking-display: -.03em;
  --pc-tracking-mono: .06em;
  --pc-leading-display: 1.04;

  /* Shape: pills for actions, soft 12px for panels, hairlines, no drop shadows */
  --pc-radius-sm: 6px;
  --pc-radius: 12px;
  --pc-radius-lg: 18px;
  --pc-radius-pill: 999px;
  --pc-border: 1px solid var(--pc-line);
  --pc-border-strong: 1px solid var(--pc-line-strong);
  --pc-inset-top: inset 0 1px 0 rgba(220, 255, 220, .06);
  --pc-focus: 0 0 0 3px rgba(132, 226, 111, .25);

  /* Space */
  --pc-space-1: 4px;
  --pc-space-2: 8px;
  --pc-space-3: 16px;
  --pc-space-4: 24px;
  --pc-space-5: 40px;
  --pc-space-6: 64px;
  --pc-section: clamp(80px, 10vw, 136px);
  --pc-container: 1240px;
  --pc-measure: 680px;

  /* Motion */
  --pc-fast: .16s;
  --pc-ease: cubic-bezier(.2, .7, .2, 1);
}
