/*
 * Gloss Tile: design tokens
 * Bright, toy-like and a little dreamy. A pale lilac page, plum text, and a grid of big squircle
 * tiles, each one filled with its own glossy gradient or drawn pattern like an app icon, with the
 * tool's name set large across the middle. Frosted white cards float beside the tiles with soft
 * lilac shadows, and one huge faint rounded square drifts behind the page. Violet is the action
 * color, teal is the small helper color for toggles, checks and "on" states.
 *
 * Fonts (all free on Google Fonts):
 *   <link href="https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,500..800&family=Space+Grotesk:wght@400;500;600;700&display=swap" rel="stylesheet">
 */
:root {
  /* Surfaces: a pale lilac page, frosted white cards on top */
  --gt-page: #f4f1f9;
  --gt-page-2: #ebe5f4;      /* quiet bands, table heads, toggles */
  --gt-white: #ffffff;
  --gt-frost: rgba(255, 255, 255, .72);
  --gt-line: #e2daef;
  --gt-line-strong: #cbbfe0;

  /* Text: plum, never pure black */
  --gt-ink: #2b1d4f;
  --gt-ink-2: #3d2c68;
  --gt-soft: #6b5c8c;
  --gt-faint: #a598bf;

  /* Action: violet for buttons, links and headline highlights */
  --gt-violet: #7343e0;
  --gt-violet-deep: #5a2cc4;
  --gt-violet-tint: #ece4fd;

  /* Helper: teal for toggles, checks, "on" dots and small badges */
  --gt-teal: #1fae9c;
  --gt-teal-tint: #dcf5f1;

  /* Night: the one dark tile surface (and the closing band) */
  --gt-night: #19194a;

  /* Tile art colors. Only ever used inside tiles and the gradients below */
  --gt-sun: #ffc94d;
  --gt-tang: #ff8a3d;
  --gt-rose: #ff5c8a;
  --gt-lilac: #c79bf2;
  --gt-sky: #3fc8f4;
  --gt-cobalt: #3157e8;
  --gt-mint: #7be0b5;

  /* Tile gradients: each tile gets exactly one */
  --gt-grad-sunrise: linear-gradient(140deg, var(--gt-sun) 0%, var(--gt-tang) 45%, var(--gt-rose) 100%);
  --gt-grad-lagoon: linear-gradient(160deg, var(--gt-sky) 0%, var(--gt-cobalt) 100%);
  --gt-grad-candy: repeating-linear-gradient(135deg, #f7c6dc 0 22px, #e2b4ee 22px 44px, #c9a5f0 44px 66px);
  --gt-grad-meadow: radial-gradient(circle at 20% 15%, var(--gt-sun) 0 18%, transparent 46%), radial-gradient(circle at 85% 90%, var(--gt-sky) 0 12%, transparent 50%), linear-gradient(150deg, var(--gt-mint), var(--gt-teal));
  --gt-grad-prism: conic-gradient(from 210deg at 50% 55%, var(--gt-rose), var(--gt-sun), var(--gt-mint), var(--gt-sky), var(--gt-lilac), var(--gt-rose));
  --gt-grad-paper: linear-gradient(var(--gt-line) 1px, transparent 1px) 0 0 / 18px 18px, linear-gradient(90deg, var(--gt-line) 1px, transparent 1px) 0 0 / 18px 18px, var(--gt-white);
  --gt-grad-glow: radial-gradient(60% 60% at 70% 30%, var(--gt-violet-tint), transparent 70%), radial-gradient(50% 50% at 10% 90%, var(--gt-teal-tint), transparent 70%);

  /* Type */
  --gt-display: "Bricolage Grotesque", "Avenir Next", system-ui, sans-serif;
  --gt-sans: "Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gt-text-hero: clamp(42px, 6.4vw, 84px);
  --gt-text-h2: clamp(30px, 4vw, 52px);
  --gt-text-h3: 22px;
  --gt-text-tile: clamp(24px, 2.6vw, 34px);
  --gt-text-lead: 20px;
  --gt-text-body: 17px;
  --gt-text-small: 14px;
  --gt-text-micro: 12px;

  --gt-tracking-hero: -.04em;
  --gt-tracking-h2: -.03em;

  /* Shape: squircle tiles, soft round cards, pill buttons */
  --gt-radius-tile: 34%;
  --gt-radius-xl: 36px;
  --gt-radius-lg: 24px;
  --gt-radius: 16px;
  --gt-radius-sm: 10px;
  --gt-radius-pill: 999px;
  --gt-border: 1px solid var(--gt-line);
  --gt-shadow: 0 2px 6px rgba(43, 29, 79, .06), 0 12px 32px -10px rgba(115, 67, 224, .16);
  --gt-shadow-tile: 0 3px 8px rgba(43, 29, 79, .1), 0 22px 40px -16px rgba(115, 67, 224, .38), inset 0 1px 0 rgba(255, 255, 255, .55);
  --gt-shadow-lift: 0 6px 14px rgba(43, 29, 79, .1), 0 34px 60px -18px rgba(115, 67, 224, .46), inset 0 1px 0 rgba(255, 255, 255, .55);
  --gt-shadow-btn: 0 2px 0 var(--gt-violet-deep), 0 10px 22px -8px rgba(115, 67, 224, .6);
  --gt-gloss: linear-gradient(180deg, rgba(255, 255, 255, .42) 0%, rgba(255, 255, 255, 0) 46%);
  --gt-blur: blur(14px);

  /* Space */
  --gt-section: clamp(64px, 9vw, 120px);
  --gt-container: 1180px;
  --gt-narrow: 720px;
  --gt-gap-tile: clamp(12px, 1.6vw, 20px);

  /* Motion: tiles lift and tilt a little on hover */
  --gt-ease: cubic-bezier(.34, 1.4, .64, 1);
  --gt-speed: .35s;
}
