/*
  Rainbow Desk: design tokens
  A playful pastel style for clubs, makers and small creative communities.
  Near-white page, flat white tiles with square corners and no shadows,
  heavy grotesk headlines, soft half-rainbow arcs behind outlined sticker art,
  and a pink-to-periwinkle gradient used on art tiles.

  Fonts (all free on Google Fonts):
  <link href="https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,700;12..96,800&family=Figtree:wght@400;500;600;700&family=DM+Mono:wght@400;500&display=swap" rel="stylesheet">
*/

:root {
  /* Surfaces */
  --rd-paper: #FAF9F7;        /* page background */
  --rd-white: #FFFFFF;        /* tiles, cards, nav */
  --rd-line: #E7E4EC;         /* hairlines and tile borders */
  --rd-grid: #D9E3F2;         /* the faint blue grid on pattern tiles */

  /* Text */
  --rd-ink: #19171F;          /* headlines, body, sticker outlines */
  --rd-soft: #5F5B6C;         /* leads, meta, captions */

  /* Pastels and accents */
  --rd-pink: #F2639F;         /* hot accent: highlights, badges, links on hover */
  --rd-blue: #6B76F4;         /* periwinkle: primary button, links */
  --rd-blue-deep: #4B55D9;    /* hover on blue */
  --rd-mint: #A8ECD9;
  --rd-sun: #FFE58C;
  --rd-lilac: #E8C6F8;
  --rd-sky: #D3F4FB;
  --rd-blush: #FFD9E8;
  --rd-teal: #0F6E66;         /* the one dark art color, for contrast tiles */

  /* Gradients */
  --rd-art: linear-gradient(120deg, #F57AAE 0%, #B184E6 50%, #6B76F4 100%);
  --rd-rainbow: radial-gradient(circle at 50% 100%,
      #FFF4FA 0 22%,
      #CDF4E6 22% 34%,
      #FFF6CC 34% 46%,
      #FFE3F0 46% 58%,
      #F1E5FD 58% 70%,
      #E6F8FC 70% 100%);

  /* Fonts */
  --rd-font-head: "Bricolage Grotesque", "Figtree", system-ui, sans-serif;
  --rd-font-body: "Figtree", system-ui, -apple-system, sans-serif;
  --rd-font-mono: "DM Mono", ui-monospace, monospace;

  /* Type scale */
  --rd-text-hero: clamp(44px, 6.6vw, 84px);
  --rd-text-h2: clamp(32px, 4vw, 50px);
  --rd-text-h3: 24px;
  --rd-text-tile: 22px;
  --rd-text-lead: 19px;
  --rd-text-body: 16px;
  --rd-text-small: 14px;
  --rd-text-label: 13px;

  /* Shape */
  --rd-radius-tile: 2px;      /* tiles and cards: almost square */
  --rd-radius-btn: 10px;      /* buttons and inputs */
  --rd-radius-pill: 999px;    /* tags only */
  --rd-border: 1px solid var(--rd-line);
  --rd-outline: 2px solid var(--rd-ink); /* stickers and buttons */

  /* Space */
  --rd-space-1: 4px;
  --rd-space-2: 8px;
  --rd-space-3: 12px;
  --rd-space-4: 20px;
  --rd-space-5: 32px;
  --rd-space-6: 48px;
  --rd-space-7: 72px;
  --rd-space-8: 112px;
  --rd-container: 1040px;
  --rd-measure: 680px;

  /* Motion */
  --rd-ease: cubic-bezier(.3, 1.4, .5, 1);
  --rd-fast: 160ms;
}
