/*
  Scribble Pill: design tokens
  Feel: a bright, friendly consumer app on warm paper. Heavy, tightly tracked
  grotesque headlines, a glossy red-orange pill for the one main action, a
  violet hand-drawn scribble under one word, and a crisp app window as the hero.

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

:root {
  /* Surfaces */
  --sb-paper: #FAF8F3;
  --sb-card: #FFFFFF;
  --sb-mist: #F2F0EA;
  --sb-line: #E6E2D8;
  --sb-line-2: #D7D2C6;

  /* Text */
  --sb-ink: #1D1B26;
  --sb-ink-2: #3A3745;
  --sb-soft: #6C6977;
  --sb-faint: #9A97A3;

  /* Accents */
  --sb-flare: #F0441F;
  --sb-flare-deep: #D02A0B;
  --sb-flare-soft: #FDE6DF;
  --sb-violet: #7A6AF2;
  --sb-violet-soft: #ECE9FD;
  --sb-sky: #3E8DF5;
  --sb-mint: #2FB27A;

  /* Gradients */
  --sb-flare-grad: linear-gradient(180deg, #FF6A3D 0%, #F0441F 55%, #D9300F 100%);
  --sb-paper-glow: radial-gradient(60% 50% at 50% 0%, #FFFFFF 0%, rgba(255,255,255,0) 100%);

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

  /* Type scale */
  --sb-text-hero: clamp(46px, 7.4vw, 92px);
  --sb-text-h2: clamp(34px, 4.6vw, 56px);
  --sb-text-h3: 26px;
  --sb-text-lead: clamp(17px, 1.6vw, 20px);
  --sb-text-body: 16px;
  --sb-text-small: 14px;
  --sb-text-eyebrow: 12px;
  --sb-track-head: -0.045em;
  --sb-track-eyebrow: 0.18em;

  /* Shape */
  --sb-radius-xl: 22px;
  --sb-radius-lg: 16px;
  --sb-radius-md: 12px;
  --sb-radius-sm: 8px;
  --sb-radius-pill: 999px;

  /* Shadows */
  --sb-shadow-sm: 0 1px 2px rgba(29,27,38,.06);
  --sb-shadow: 0 2px 4px rgba(29,27,38,.04), 0 10px 28px rgba(29,27,38,.07);
  --sb-shadow-window: 0 1px 0 rgba(255,255,255,.8) inset, 0 4px 10px rgba(29,27,38,.05), 0 30px 70px -20px rgba(29,27,38,.25);
  --sb-shadow-pill: 0 1px 0 rgba(255,255,255,.35) inset, 0 -2px 0 rgba(0,0,0,.12) inset, 0 6px 16px -4px rgba(240,68,31,.55);

  /* Space */
  --sb-space-1: 4px;
  --sb-space-2: 8px;
  --sb-space-3: 12px;
  --sb-space-4: 16px;
  --sb-space-5: 24px;
  --sb-space-6: 32px;
  --sb-space-7: 48px;
  --sb-space-8: 72px;
  --sb-space-9: 112px;
  --sb-container: 1120px;
  --sb-text-width: 680px;
}
