/*
 * Candy Haze: design tokens
 * Glamorous and a little cheeky on a saturated grape-violet sky. Glossy pink bubbles drift
 * behind the hero, a white four-point sparkle glints, heavy rounded grotesque headlines sit
 * in white, and the one action is always a bubblegum pill. Small dark "spec chips" pair a
 * label with a pink value, and the product shows up on a dark screen lit by neon aqua streaks.
 *
 * Fonts (all free on Google Fonts):
 *   <link href="https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,500..800&family=Figtree:wght@400;500;600;700&family=DM+Mono:wght@400;500&display=swap" rel="stylesheet">
 */
:root {
  /* Surfaces: a bright violet sky, never black */
  --ch-sky: #4f30d4;          /* page background */
  --ch-sky-2: #6446ea;        /* the lighter top of the sky gradient, raised bands */
  --ch-deep: #2a1880;         /* deep bands, footer */
  --ch-screen: #160f3a;       /* dark screens, spec chip labels, code boxes */
  --ch-screen-2: #221a52;     /* rows and inputs inside a screen */
  --ch-glass: rgba(255, 255, 255, .10);  /* frosted cards on the sky */
  --ch-glass-2: rgba(255, 255, 255, .16);/* hover, inputs on the sky */
  --ch-line: rgba(255, 255, 255, .22);   /* borders on the sky */
  --ch-line-screen: #3a2f7a;  /* borders inside a dark screen */

  /* Text */
  --ch-ink: #fff7fd;
  --ch-soft: #ddd3ff;
  --ch-faint: #a99be6;

  /* Accents: bubblegum speaks, aqua glows, butter winks */
  --ch-pink: #ff73d2;
  --ch-pink-hot: #ff4fbf;
  --ch-pink-pale: #ffc2ec;
  --ch-aqua: #52f2e4;
  --ch-aqua-soft: rgba(82, 242, 228, .22);
  --ch-butter: #ffe27a;

  /* Gradients */
  --ch-sky-wash: linear-gradient(180deg, var(--ch-sky-2) 0%, var(--ch-sky) 70%, var(--ch-sky) 100%);
  --ch-bubble: radial-gradient(circle at 34% 30%, #ffe6f8 0%, #ff9be0 16%, #f25cd0 44%, #b13de0 74%, rgba(122, 54, 230, 0) 100%);
  --ch-bubble-violet: radial-gradient(circle at 34% 30%, #f2e9ff 0%, #c4a6ff 18%, #8f62ff 50%, rgba(90, 52, 220, 0) 100%);
  --ch-gloss: linear-gradient(180deg, rgba(255, 255, 255, .45), rgba(255, 255, 255, 0) 55%);
  --ch-neon: linear-gradient(90deg, rgba(82, 242, 228, 0), var(--ch-aqua) 40%, #b8fff8 60%, rgba(82, 242, 228, 0));

  /* Type */
  --ch-display: "Bricolage Grotesque", "Arial Rounded MT Bold", system-ui, sans-serif;
  --ch-sans: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ch-mono: "DM Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --ch-text-hero: clamp(46px, 7vw, 92px);
  --ch-text-h2: clamp(32px, 4.2vw, 54px);
  --ch-text-h3: 22px;
  --ch-text-lead: 19px;
  --ch-text-body: 16px;
  --ch-text-small: 14px;
  --ch-text-micro: 12px;

  --ch-weight-head: 800;
  --ch-tracking-hero: -.03em;
  --ch-tracking-caps: .08em;

  /* Shape: soft, round and glossy */
  --ch-radius-sm: 8px;
  --ch-radius: 16px;
  --ch-radius-lg: 24px;
  --ch-radius-pill: 999px;
  --ch-border: 1px solid var(--ch-line);
  --ch-border-screen: 1px solid var(--ch-line-screen);
  --ch-shadow: 0 24px 60px -20px rgba(20, 8, 70, .65);
  --ch-shadow-pill: 0 8px 24px -8px rgba(255, 79, 191, .75);
  --ch-glow-aqua: 0 0 18px rgba(82, 242, 228, .7);
  --ch-glow-white: 0 0 22px rgba(255, 255, 255, .85);
  --ch-focus: 0 0 0 3px var(--ch-ink), 0 0 0 6px var(--ch-pink);

  /* Space */
  --ch-container: 1200px;
  --ch-narrow: 740px;
  --ch-gutter: 24px;
  --ch-section: clamp(72px, 10vw, 124px);
  --ch-space-1: 4px;
  --ch-space-2: 8px;
  --ch-space-3: 12px;
  --ch-space-4: 16px;
  --ch-space-5: 24px;
  --ch-space-6: 32px;
  --ch-space-7: 48px;
  --ch-space-8: 64px;

  /* Motion: floaty */
  --ch-ease: cubic-bezier(.22, 1, .36, 1);
  --ch-float: 9s;
}
