/*
 * Torn Sky: tokens
 * Dreamy, crafty and calm, like a scrapbook left out on a sunny afternoon.
 * Warm paper pages, a soft sky gradient with drawn CSS clouds, torn-paper edges
 * and collage scraps in pastel tints, note cards with thick colored borders,
 * a floating frosted pill nav and one ink-black pill for the main action.
 * Headlines are a friendly serif, body is a clean grotesk, and small notes are handwritten.
 *
 * Fonts (free on Google Fonts):
 * <link href="https://fonts.googleapis.com/css2?family=Young+Serif&family=Manrope:wght@400;500;600;700&family=Kalam:wght@400&display=swap" rel="stylesheet">
 */
:root {
  /* Surfaces */
  --ts-paper: #FBF7F0;
  --ts-card: #FFFFFF;
  --ts-linen: #F2ECE1;
  --ts-line: #E4DCCD;
  --ts-frost: rgba(255, 255, 255, .72);
  --ts-frost-line: rgba(255, 255, 255, .9);

  /* Sky */
  --ts-sky-top: #93C6EE;
  --ts-sky: #B9DCF5;
  --ts-sky-low: #E3F1FA;
  --ts-cloud: #FFFFFF;
  --ts-sky-gradient: linear-gradient(180deg, var(--ts-sky-top) 0%, var(--ts-sky) 52%, var(--ts-sky-low) 100%);

  /* Text */
  --ts-ink: #17171C;
  --ts-ink-soft: #2E2F38;
  --ts-soft: #5D606C;
  --ts-faint: #8D8F99;
  --ts-on-ink: #FBF7F0;

  /* Collage tints: scraps, note borders, tags and charts */
  --ts-periwinkle: #8794EC;
  --ts-butter: #F5D774;
  --ts-coral: #EE8B7B;
  --ts-mint: #93D3AE;
  --ts-lilac: #C3A3EC;
  --ts-denim: #4E63C8;

  /* Soft tints: note card headers and callouts */
  --ts-periwinkle-soft: #E6E9FC;
  --ts-butter-soft: #FCF3D3;
  --ts-coral-soft: #FCE4DF;
  --ts-mint-soft: #DFF4E7;
  --ts-lilac-soft: #F0E6FC;

  --ts-alert: #C2412F;

  /* Fonts */
  --ts-serif: "Young Serif", Georgia, serif;
  --ts-sans: "Manrope", "Helvetica Neue", system-ui, sans-serif;
  --ts-hand: "Kalam", "Comic Sans MS", cursive;

  /* Type scale */
  --ts-text-hero: clamp(44px, 6.6vw, 92px);
  --ts-text-h2: clamp(34px, 4.4vw, 60px);
  --ts-text-h3: 22px;
  --ts-text-lead: 19px;
  --ts-text-body: 17px;
  --ts-text-small: 14px;
  --ts-text-label: 13px;
  --ts-text-hand: 22px;
  --ts-tracking-display: -0.025em;

  /* Shape */
  --ts-radius-xl: 32px;
  --ts-radius-lg: 22px;
  --ts-radius: 16px;
  --ts-radius-sm: 10px;
  --ts-pill: 999px;
  --ts-note-border: 3px;
  --ts-border: 1px solid var(--ts-line);
  --ts-shadow-float: 0 10px 30px -12px rgba(40, 60, 100, .28);
  --ts-shadow-window: 0 30px 60px -24px rgba(30, 45, 90, .38), 0 2px 6px rgba(30, 45, 90, .08);
  --ts-scrap-drop: drop-shadow(0 6px 7px rgba(30, 30, 40, .16));
  --ts-tape: rgba(245, 215, 116, .78);
  --ts-scrim: rgba(23, 23, 28, .45);
  --ts-focus: 0 0 0 3px var(--ts-paper), 0 0 0 5px var(--ts-periwinkle);

  /* Space */
  --ts-container: 1200px;
  --ts-narrow: 720px;
  --ts-gutter: clamp(18px, 3vw, 40px);
  --ts-section: clamp(72px, 9vw, 120px);
  --ts-gap: 24px;
}
