/*
 * Spark Rail: tokens
 * Bright white pages, soft gray tiles with no borders, big rounded headlines filled
 * with a hot magenta to violet gradient, a four-point sparkle mark, and one dark
 * "rail" panel where information reads like a colorful command line.
 *
 * Fonts (free, Google Fonts):
 * <link href="https://fonts.googleapis.com/css2?family=Fredoka:wght@500;600;700&family=Figtree:wght@400;500;600;700&family=JetBrains+Mono:wght@400;600&display=swap" rel="stylesheet">
 */
:root {
  /* Surfaces */
  --sr-white: #FFFFFF;
  --sr-tile: #F4F3F6;
  --sr-tile-2: #EAE8EF;
  --sr-line: #E3E0E9;

  /* Text */
  --sr-ink: #1E1B26;
  --sr-soft: #5F5A6B;
  --sr-faint: #8D889A;

  /* Accent: magenta to violet, used as a pair */
  --sr-magenta: #E3127A;
  --sr-magenta-dark: #C10C66;
  --sr-violet: #8A2BE2;
  --sr-blush: #FCE4F0;
  --sr-gradient: linear-gradient(100deg, var(--sr-magenta) 0%, #C21FA8 48%, var(--sr-violet) 100%);

  /* The rail: the dark panel and its token colors */
  --sr-rail: #22202B;
  --sr-rail-2: #2D2A38;
  --sr-rail-text: #E9E6F0;
  --sr-rail-mint: #5EE0C0;
  --sr-rail-sky: #6FC3FF;
  --sr-rail-pink: #FF6FB5;
  --sr-rail-sun: #FFD166;

  /* Fonts */
  --sr-display: "Fredoka", "Figtree", sans-serif;
  --sr-sans: "Figtree", system-ui, sans-serif;
  --sr-mono: "JetBrains Mono", ui-monospace, monospace;

  /* Type scale */
  --sr-text-hero: clamp(56px, 10vw, 132px);
  --sr-text-h2: clamp(32px, 4.4vw, 52px);
  --sr-text-h3: 20px;
  --sr-text-lead: clamp(18px, 2vw, 23px);
  --sr-text-body: 16px;
  --sr-text-small: 14px;
  --sr-text-micro: 12px;
  --sr-tagline-track: .22em;

  /* Shape */
  --sr-radius: 12px;
  --sr-radius-lg: 18px;
  --sr-radius-sm: 8px;
  --sr-radius-pill: 999px;
  --sr-shadow-rail: 0 24px 60px -20px rgba(34, 32, 43, .45);
  --sr-shadow-glow: 0 10px 28px -10px rgba(227, 18, 122, .55);

  /* Space */
  --sr-container: 1080px;
  --sr-narrow: 700px;
  --sr-section: clamp(64px, 9vw, 112px);
  --sr-gap: 16px;
  --sr-ease: cubic-bezier(.3, .7, .2, 1);
}
