/*
 * Pixel Bloom: design tokens
 * Light, airy and quietly futuristic. A mint-to-sky pastel wash, a thin light-weight grotesk for
 * headlines, small uppercase mono labels inside boxed outline buttons, and one signature visual:
 * soft white clouds of spheres sitting inside a field of square teal pixels, crossed by a
 * single magenta ribbon.
 *
 * Fonts (all free on Google Fonts):
 *   <link href="https://fonts.googleapis.com/css2?family=Hanken+Grotesk:wght@300;400;500&family=Martian+Mono:wght@400;500&display=swap" rel="stylesheet">
 */
:root {
  /* Surfaces: the wash is the page; paper and white sit on top of it */
  --pb-mint: #e5f7e6;        /* top-left of the wash */
  --pb-sky: #e2f1fb;         /* bottom-right of the wash */
  --pb-paper: #f6fbf8;       /* quiet sections, table heads */
  --pb-white: #ffffff;       /* cards, inputs, the clouds */
  --pb-wash: linear-gradient(160deg, var(--pb-mint) 0%, #ecf8f2 45%, var(--pb-sky) 100%);

  /* Text and rules: everything is outlined in thin ink */
  --pb-ink: #121815;
  --pb-soft: #55625c;
  --pb-faint: #93a199;
  --pb-rule: #1f2924;        /* button, nav and card outlines */
  --pb-line: #cfdcd5;        /* quiet dividers inside cards and tables */

  /* Accents */
  --pb-teal: #1cc3c7;        /* the pixel field, live dots, focus */
  --pb-teal-deep: #0f8f95;   /* teal text that has to pass contrast */
  --pb-teal-soft: #c9f0ee;
  --pb-magenta: #d23a95;     /* the ribbon and at most one highlighted word or badge per screen */
  --pb-magenta-soft: #fbe0ef;
  --pb-coral: #f3a083;       /* the warm end of the ribbon only */
  --pb-lime: #d3eb5e;        /* a tiny ring or tick, never a surface */

  /* Fonts */
  --pb-sans: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --pb-mono: "Martian Mono", ui-monospace, Menlo, monospace;

  /* Type scale */
  --pb-text-hero: clamp(44px, 6.2vw, 84px);
  --pb-text-h2: clamp(32px, 4vw, 54px);
  --pb-text-h3: 22px;
  --pb-text-lead: 19px;
  --pb-text-body: 16px;
  --pb-text-small: 14px;
  --pb-text-label: 11px;     /* mono uppercase labels */
  --pb-tracking-hero: -0.03em;
  --pb-tracking-label: 0.14em;

  /* Shape: crisp, nearly square boxes with thin ink outlines */
  --pb-radius-xs: 3px;
  --pb-radius: 6px;
  --pb-radius-lg: 14px;      /* the cloud stage and big panels */
  --pb-border: 1px solid var(--pb-rule);
  --pb-border-quiet: 1px solid var(--pb-line);
  --pb-shadow: 0 1px 0 rgba(18, 24, 21, .04), 0 18px 40px -24px rgba(18, 60, 50, .25);
  --pb-glass: rgba(255, 255, 255, .62);

  /* Space */
  --pb-container: 1240px;
  --pb-narrow: 720px;
  --pb-section: clamp(72px, 10vw, 128px);
  --pb-gutter: 20px;

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