/* Confetti Pop design tokens — single source of truth.
   Documented at /design/ and in DESIGN.md. */
:root{
  /* Colour: brand */
  --yellow:#FFE14D;      /* party yellow: header bar, screens, highlights */
  --pink:#FF3D8B;        /* confetti pink: decoration, fills, big display text only */
  --pink-ink:#C8115F;    /* accessible pink: buttons and links carrying white text */
  --blue:#2546F0;        /* pop blue: selected state, links, focus ring */
  --ink:#1A1036;         /* deep ink: text, every border, every hard shadow */
  --cream:#FFF8E1;       /* cream: page background */
  --white:#fff;          /* cards and inputs */
  /* Colour: confetti accents (decoration only, never text) */
  --mint:#27D3A2;
  --orange:#FF8A1F;
  /* Colour: support */
  --ink-soft:#4a3f6b;    /* hints and footers, 8.6:1 on cream */
  --danger:#8a1030;      /* warnings, 8.9:1 on cream */

  /* Type */
  --font-display:Fredoka,system-ui,sans-serif;
  --font-body:Inter,system-ui,sans-serif;
  --fs-display:clamp(36px,6.4vw,72px);   /* hero h1 */
  --fs-h1:clamp(30px,5vw,52px);
  --fs-h2:clamp(26px,3.6vw,40px);
  --fs-h3:22px;
  --fs-lead:19px;
  --fs-body:16px;
  --fs-small:14px;
  --fs-tiny:13px;

  /* Spacing (4px base) */
  --s-1:4px; --s-2:8px; --s-3:12px; --s-4:16px; --s-5:20px;
  --s-6:24px; --s-8:32px; --s-12:48px; --s-16:64px; --s-24:96px;

  /* Radius */
  --r-sm:10px; --r-md:14px; --r:18px; --r-lg:28px; --r-pill:999px;

  /* Borders and hard shadows: the signature look */
  --bw:3px;
  --shadow-sm:3px 3px 0 var(--ink);
  --shadow:5px 5px 0 var(--ink);
  --shadow-lg:8px 8px 0 var(--ink);

  /* Layout */
  --max:1180px;
  --tap:44px;            /* minimum touch target */

  /* Motion */
  --ease-pop:cubic-bezier(.34,1.56,.64,1);
  --dur:180ms;
}
