/*
 * Heat Wash: design tokens
 * Bold, techy and bright on white. A full-bleed heat map of magenta, flame and sun washes
 * behind the hero, huge tight white grotesk headlines sit on it, and everything else is
 * square: black square buttons, hairline white panels, tabbed consoles with mono data
 * and soft yellow highlights on the values that matter.
 *
 * Fonts (all free on Google Fonts):
 *   <link href="https://fonts.googleapis.com/css2?family=Inter+Tight:wght@400;500;600;700;800&family=IBM+Plex+Mono:wght@400;500&display=swap" rel="stylesheet">
 */
:root {
  /* Surfaces: white first, paper for quiet sections */
  --hw-white: #ffffff;
  --hw-paper: #f6f5f2;
  --hw-paper-2: #eceae5;
  --hw-line: #e2dfd9;        /* every hairline */
  --hw-ink: #121112;         /* text, buttons, the black band */
  --hw-ink-2: #2a282b;

  /* Text */
  --hw-soft: #5f5b58;
  --hw-faint: #9b9792;

  /* Heat: the wash colors. Only inside the wash, thumbnails and tiny accents */
  --hw-magenta: #e03ec6;
  --hw-orchid: #f070e0;
  --hw-flame: #ff5b34;
  --hw-sun: #ffd447;
  --hw-violet: #8c4bff;

  /* Code colors and the value highlight */
  --hw-key: #2f5fd0;         /* keys and keywords in consoles */
  --hw-fn: #8c4bff;          /* function names */
  --hw-str: #9a5b00;         /* string values */
  --hw-highlight: #fff4c4;   /* soft yellow behind important values */
  --hw-highlight-line: #f0d77a;
  --hw-green: #1f9d5c;       /* status only */

  /* The wash itself: stacked radial blobs, fading to white at the top */
  --hw-wash:
    radial-gradient(60% 70% at 18% 55%, rgba(224, 62, 198, .95) 0%, rgba(224, 62, 198, 0) 70%),
    radial-gradient(55% 65% at 62% 60%, rgba(240, 112, 224, .9) 0%, rgba(240, 112, 224, 0) 70%),
    radial-gradient(45% 60% at 90% 78%, rgba(255, 212, 71, .95) 0%, rgba(255, 212, 71, 0) 70%),
    radial-gradient(40% 55% at 78% 92%, rgba(255, 91, 52, .9) 0%, rgba(255, 91, 52, 0) 70%),
    linear-gradient(180deg, #ffffff 0%, #fbd3f2 14%, #ef5fd6 46%, #ff7a52 100%);
  --hw-wash-soft:
    radial-gradient(70% 90% at 15% 100%, rgba(224, 62, 198, .28) 0%, rgba(224, 62, 198, 0) 70%),
    radial-gradient(60% 90% at 85% 100%, rgba(255, 212, 71, .38) 0%, rgba(255, 212, 71, 0) 70%),
    var(--hw-white);

  /* Type */
  --hw-sans: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;
  --hw-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --hw-text-hero: clamp(52px, 8.4vw, 116px);
  --hw-text-h2: clamp(36px, 4.8vw, 64px);
  --hw-text-h3: 24px;
  --hw-text-lead: clamp(18px, 1.7vw, 23px);
  --hw-text-body: 16px;
  --hw-text-small: 14px;
  --hw-text-micro: 12px;

  --hw-tracking-hero: -.055em;
  --hw-tracking-h2: -.04em;

  /* Shape: square. No radius on buttons, panels or inputs; hairlines; no soft shadows */
  --hw-radius: 0;
  --hw-radius-dot: 999px;    /* only for tiny status dots */
  --hw-border: 1px solid var(--hw-line);
  --hw-border-ink: 1px solid var(--hw-ink);
  --hw-lift: 0 1px 0 rgba(18, 17, 18, .06), 0 18px 40px -18px rgba(120, 20, 90, .35);
  --hw-text-shadow: 0 1px 12px rgba(120, 20, 90, .18);

  /* Space */
  --hw-section: clamp(72px, 9vw, 120px);
  --hw-container: 1250px;
  --hw-narrow: 720px;
  --hw-gutter: clamp(20px, 4.4vw, 64px);

  /* Motion */
  --hw-ease: cubic-bezier(.2, .8, .2, 1);
}
