/* Design tokens: the single source of truth for colour, type, space and motion. */
:root {
  /* Surfaces: near-black page, graphite panels */
  --bg: #07090c;
  --surface: #0d1117;
  --surface-2: #131922;
  --surface-3: #1a222d;
  --line: rgba(160, 176, 196, 0.14);
  --line-strong: rgba(160, 176, 196, 0.28);

  /* Text */
  --text: #e9ecef;
  --muted: #a6b0bd;
  --faint: #7a8696;

  /* Accents: cyan is the signature; steel blue is the quiet secondary */
  --cyan: #22d3ee;
  --cyan-soft: rgba(34, 211, 238, 0.1);
  --cyan-line: rgba(34, 211, 238, 0.42);
  --steel: #8aa4c4;
  --steel-dim: #4f647f;
  /* Amber is reserved for one meaning: a step that waits for a person */
  --amber: #e4b45a;
  --amber-soft: rgba(228, 180, 90, 0.1);
  --amber-line: rgba(228, 180, 90, 0.42);
  --danger: #f2837f;

  /* Type */
  --font-display: "Space Grotesk", "Space Grotesk Fallback", "Segoe UI", system-ui, sans-serif;
  --font-sans: "Inter", "Inter Fallback", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", "Cascadia Code", Consolas, monospace;

  --fs-label: 0.72rem;
  --fs-small: 0.875rem;
  --fs-body: 1rem;
  --fs-lead: clamp(1.05rem, 0.95rem + 0.5vw, 1.25rem);
  --fs-h3: clamp(1.45rem, 1.15rem + 1.1vw, 2.05rem);
  --fs-h2: clamp(2.1rem, 1.3rem + 3.4vw, 3.9rem);
  --fs-h1: clamp(2.75rem, 1.6rem + 4.9vw, 5.4rem);

  /* Shape & layout */
  --r: 6px;
  --r-sm: 3px;
  --container: 1240px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --header-h: 72px;
  --section-y: clamp(5.5rem, 11vw, 9.5rem);

  /* Motion */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --t: 0.22s;
}
