/*
 * Tilt Shelf: design tokens
 * Cheerful, a little retro, made by a small team that loves its stuff. A starry night-blue hero
 * with a warm campfire glow, then a pale gray "shelf" page cut in on a slant. Each section opens
 * with one light-weight sentence in its own bright color (violet, teal, sunflower) and a tiny
 * line icon, followed by a centered shelf of glossy rounded icon tiles. A near-black footer is cut
 * in on the opposite slant, with a sunflower heading and little help rows. Chunky rounded display
 * type is kept for the wordmark and one hero line only.
 *
 * Fonts (free on Google Fonts):
 * <link href="https://fonts.googleapis.com/css2?family=Figtree:wght@300;400;600;700&family=Rammetto+One&display=swap" rel="stylesheet">
 */

:root {
  /* Surfaces */
  --ts-night: #151a35;        /* hero sky */
  --ts-night-2: #222a52;      /* hills, raised panels on night */
  --ts-shelf: #ececf0;        /* the main pale gray page */
  --ts-shelf-2: #dfdfe6;      /* wells, table headers, input fill */
  --ts-white: #ffffff;        /* cards and tiles */
  --ts-coal: #1d1d22;         /* footer */
  --ts-coal-2: #2b2b32;       /* rows and inputs on coal */
  --ts-line: #d2d2da;         /* borders on shelf */

  /* Text */
  --ts-ink: #2a2a31;
  --ts-soft: #686874;
  --ts-mute: #9a9aa6;
  --ts-on-dark: #f2f1ea;
  --ts-on-dark-soft: #a9a9b6;

  /* Accents: each section sentence takes one */
  --ts-violet: #8b2fd6;
  --ts-teal: #10a3b4;
  --ts-sun: #f1c232;
  --ts-tomato: #d8472c;
  --ts-cornflower: #5277c2;
  --ts-mint: #35b58a;
  --ts-glow: #ffb45a;         /* campfire glow in the hero */

  /* Fonts */
  --ts-sans: "Figtree", "Helvetica Neue", Arial, sans-serif;
  --ts-display: "Rammetto One", "Arial Black", sans-serif;

  /* Type scale */
  --ts-text-mark: clamp(56px, 9vw, 120px);   /* chunky wordmark in the hero */
  --ts-text-hero: clamp(30px, 4vw, 46px);    /* light hero sentence */
  --ts-text-say: clamp(23px, 2.6vw, 30px);   /* the colored section sentence */
  --ts-text-h2: clamp(28px, 3.4vw, 40px);
  --ts-text-h3: 20px;
  --ts-text-lead: 19px;
  --ts-text-body: 16px;
  --ts-text-small: 14px;
  --ts-text-micro: 12px;
  --ts-weight-say: 300;

  /* Shape */
  --ts-radius-tile: 26%;      /* app-icon squircle feel, relative to tile size */
  --ts-radius-lg: 22px;
  --ts-radius: 14px;
  --ts-radius-sm: 8px;
  --ts-radius-xs: 4px;
  --ts-pill: 999px;
  --ts-slant: 6vw;            /* height of the diagonal cut between sections */

  /* Shadows: soft, slightly glossy, never hard offsets */
  --ts-shadow-tile: 0 1px 0 rgba(255, 255, 255, .6) inset, 0 10px 18px -8px rgba(20, 20, 40, .45), 0 2px 4px rgba(20, 20, 40, .18);
  --ts-shadow-card: 0 1px 2px rgba(20, 20, 40, .08), 0 14px 30px -14px rgba(20, 20, 40, .28);
  --ts-shadow-lift: 0 18px 30px -12px rgba(20, 20, 40, .45);
  --ts-gloss: linear-gradient(180deg, rgba(255, 255, 255, .45) 0%, rgba(255, 255, 255, 0) 48%);

  /* Space */
  --ts-container: 1040px;
  --ts-narrow: 700px;
  --ts-section: clamp(64px, 8vw, 104px);
  --ts-gap: 24px;
  --ts-tile: 96px;
  --ts-tile-sm: 64px;
}
