/*
  Tilt Slab: design tokens
  Feel: serious infrastructure, lit from one side. A near-black ink page with
  a crisp white top bar, centered rounded-geometric headlines and one hard,
  angled slab of violet light that cuts across the hero with a thin bright
  edge. Every product line owns one color (amber, lime, cyan, violet) and
  carries it as a small slanted tag. Corners are almost square (5px). Bold,
  trustworthy, quietly premium.

  Fonts (free, Google Fonts):
  <link href="https://fonts.googleapis.com/css2?family=Urbanist:wght@500;600;700;800&family=Instrument+Sans:wght@400;500;600&family=IBM+Plex+Mono:wght@400;500&display=swap" rel="stylesheet">
*/
:root {
  /* Surfaces */
  --ts-ink: #0c0b13;         /* the page */
  --ts-ink-2: #14131e;       /* raised cards, panels */
  --ts-ink-3: #1d1b2a;       /* hover, inputs, wells */
  --ts-line: #2b2940;        /* every border and divider */
  --ts-line-2: #3d3a58;      /* stronger borders, focus base */
  --ts-bar: #f7f6fb;         /* the white top bar */
  --ts-bar-ink: #16141f;     /* text on the white bar and white buttons */

  /* Text */
  --ts-paper: #f4f2fa;       /* headlines and body */
  --ts-mute: #a9a5bf;        /* secondary text */
  --ts-faint: #6f6b88;       /* captions, placeholders, logo strip */

  /* The slab */
  --ts-slab-deep: #2a1b78;   /* bottom of the slab */
  --ts-slab: #5a3ee6;        /* body of the slab */
  --ts-slab-hi: #8f78ff;     /* lit side of the slab */
  --ts-edge: #cfc4ff;        /* the 1px bright edge line */
  --ts-slab-fill: linear-gradient(100deg, var(--ts-slab-deep) 0%, var(--ts-slab) 55%, var(--ts-slab-hi) 100%);
  --ts-slab-angle: -9deg;    /* the one angle used everywhere */

  /* Action */
  --ts-violet: #6c52ff;      /* the primary call to action */
  --ts-violet-hi: #8169ff;   /* hover */
  --ts-violet-ink: #ffffff;

  /* Product family colors (one per product line, never mixed) */
  --ts-amber: #f3b23a;       /* Store: home batteries */
  --ts-lime: #a3d94b;        /* Sun: rooftop solar */
  --ts-cyan: #39c6dd;        /* Charge: EV charging */
  --ts-orchid: #b78cff;      /* Grid: the virtual power plant */
  --ts-red: #ff6b6b;         /* errors only */

  /* Fonts */
  --ts-font-head: 'Urbanist', 'Instrument Sans', sans-serif;
  --ts-font-body: 'Instrument Sans', system-ui, sans-serif;
  --ts-font-mono: 'IBM Plex Mono', ui-monospace, monospace;

  /* Type scale */
  --ts-text-hero: clamp(44px, 7vw, 92px);
  --ts-text-h2: clamp(32px, 4.2vw, 54px);
  --ts-text-h3: 22px;
  --ts-text-lead: 19px;
  --ts-text-body: 16px;
  --ts-text-small: 14px;
  --ts-text-label: 12px;

  /* Shape */
  --ts-radius-sm: 3px;       /* tags, chips */
  --ts-radius: 5px;          /* buttons, inputs, cards */
  --ts-radius-lg: 8px;       /* big panels, the product console */
  --ts-border: 1px solid var(--ts-line);

  /* Shadows (only on floating product UI) */
  --ts-shadow-float: 0 30px 80px -20px rgba(0, 0, 0, 0.7), 0 0 0 1px var(--ts-line);
  --ts-focus: 0 0 0 3px rgba(108, 82, 255, 0.45);

  /* Space */
  --ts-container: 1200px;
  --ts-reading: 700px;
  --ts-gutter: 24px;
  --ts-section: 120px;
  --ts-section-sm: 72px;
}
