/*
 * Hatch Blue: design tokens
 * Plain and confident: the whole page sits on one saturated blue, every word is set in a
 * bold book serif, titles are underlined like links with a small outlined lot pill beside
 * them, cards are hairline outlines with soft corners, and the only drawing is a hand-hatched
 * scribble mark in pale sky blue. One small sun-yellow chip per page, no other color.
 *
 * Fonts (all free on Google Fonts):
 *   <link href="https://fonts.googleapis.com/css2?family=Libre+Caslon+Text:ital,wght@0,400;0,700;1,400&family=IBM+Plex+Mono:wght@400;500&display=swap" rel="stylesheet">
 */
:root {
  /* Surfaces: the page is blue everywhere, panels go deeper, never lighter */
  --hb-blue: #1d5fe4;        /* the page */
  --hb-blue-2: #1a55d0;      /* hover on cards, quiet bands */
  --hb-deep: #0f3c9e;        /* windows and the footer strip */
  --hb-night: #0a2a6e;       /* inside windows, code */

  /* Ink: white on blue, softer blues for secondary text */
  --hb-paper: #ffffff;
  --hb-mist: #d3e2ff;        /* leads and secondary text */
  --hb-haze: #9dbcf5;        /* captions, placeholders, fine print */
  --hb-sky: #93d6ff;         /* the scribble mark and focus rings */
  --hb-sun: #ffd45e;         /* one chip per page: a price, a "new" flag */
  --hb-sun-ink: #3a2a00;

  /* Lines: translucent white, so they always sit on the blue */
  --hb-line: rgba(255, 255, 255, .30);
  --hb-line-soft: rgba(255, 255, 255, .16);
  --hb-fill: rgba(255, 255, 255, .06);
  --hb-fill-2: rgba(255, 255, 255, .12);

  /* Type: one serif for everything, a tiny mono for pills and figures */
  --hb-serif: "Libre Caslon Text", "Iowan Old Style", Georgia, serif;
  --hb-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;

  --hb-text-hero: clamp(44px, 7vw, 84px);
  --hb-text-h2: clamp(32px, 4.4vw, 52px);
  --hb-text-h3: clamp(28px, 3vw, 38px);
  --hb-text-lead: clamp(20px, 2.1vw, 26px);
  --hb-text-body: 18px;
  --hb-text-small: 15px;
  --hb-text-micro: 11px;

  --hb-tracking-hero: -.025em;
  --hb-tracking-h2: -.02em;

  /* Shape: hairlines, soft corners, no hard shadows; the only shadow is a deep blue glow */
  --hb-radius-sm: 10px;
  --hb-radius: 18px;
  --hb-radius-lg: 24px;
  --hb-radius-pill: 999px;
  --hb-border: 1px solid var(--hb-line);
  --hb-underline: 2px;
  --hb-glow: 0 30px 80px rgba(6, 30, 90, .45), 0 0 0 1px rgba(255, 255, 255, .10);

  /* Space: airy, centered, one column that splits in two */
  --hb-section: clamp(72px, 10vw, 128px);
  --hb-container: 980px;
  --hb-narrow: 680px;

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