/*
 * Signal Slab: design tokens
 * Confident, plain-spoken product marketing on white. Very heavy, tightly tracked grotesk
 * headlines in a green-black ink, a yellow pill badge above the hero, and one big near-black
 * dashboard slab where magenta and violet chart lines do all the color work. Deep navy bands
 * with lime eyebrows break up the page. Article bodies switch to a warm serif.
 *
 * Fonts (all free on Google Fonts):
 *   <link href="https://fonts.googleapis.com/css2?family=Inter+Tight:wght@400;500;600;800&family=Source+Serif+4:ital,opsz,wght@0,8..60,400;0,8..60,600;1,8..60,400&family=JetBrains+Mono:wght@400;500&display=swap" rel="stylesheet">
 */
:root {
  /* Surfaces: white page, one dark slab, navy bands */
  --sg-paper: #ffffff;
  --sg-mist: #f3f5f7;        /* quiet panels, form fields, table stripes */
  --sg-line: #e3e7eb;        /* every border on light surfaces */
  --sg-slab: #15171c;        /* the dashboard slab and dark windows */
  --sg-slab-2: #1e2128;      /* cards inside the slab */
  --sg-slab-line: #2b2f38;   /* borders inside the slab */
  --sg-navy: #121a35;        /* full-width feature bands */
  --sg-navy-2: #1b2547;

  /* Text */
  --sg-ink: #111c1f;         /* green-black, for headlines and body */
  --sg-soft: #56636d;
  --sg-faint: #8b96a0;
  --sg-link: #5a6c80;        /* the big muted "try it" link under a statement */

  /* Accents. Magenta and violet live in charts and data; yellow is the badge; lime is navy eyebrows */
  --sg-magenta: #e5338c;
  --sg-violet: #8e52f5;
  --sg-yellow: #ffc61a;
  --sg-lime: #c9f03a;
  --sg-green: #33c27a;       /* up arrows in stats only */
  --sg-red: #ef4b4b;         /* errors only */

  /* Type */
  --sg-sans: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;
  --sg-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sg-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --sg-text-hero: clamp(44px, 7.2vw, 96px);
  --sg-text-h2: clamp(32px, 4.4vw, 56px);
  --sg-text-statement: clamp(26px, 3.2vw, 40px);
  --sg-text-h3: 22px;
  --sg-text-lead: 20px;
  --sg-text-body: 16px;
  --sg-text-small: 14px;
  --sg-text-micro: 12px;

  --sg-tracking-hero: -.045em;
  --sg-tracking-h2: -.035em;
  --sg-tracking-statement: -.025em;

  /* Shape: crisp. Small radii, thin lines, one deep shadow under the slab */
  --sg-radius-xs: 4px;
  --sg-radius-sm: 6px;
  --sg-radius: 10px;
  --sg-radius-lg: 16px;
  --sg-radius-pill: 999px;
  --sg-border: 1px solid var(--sg-line);
  --sg-border-dark: 1px solid var(--sg-slab-line);
  --sg-shadow: 0 1px 2px rgba(17, 28, 31, .06), 0 6px 20px rgba(17, 28, 31, .06);
  --sg-shadow-slab: 0 30px 80px rgba(17, 28, 31, .28), 0 4px 10px rgba(17, 28, 31, .12);

  /* Chart fill under the magenta line */
  --sg-chart-fill: linear-gradient(180deg, rgba(229, 51, 140, .38) 0%, rgba(229, 51, 140, 0) 100%);

  /* Space */
  --sg-section: clamp(72px, 10vw, 136px);
  --sg-container: 1200px;
  --sg-narrow: 720px;

  /* Motion */
  --sg-ease: cubic-bezier(.2, .7, .2, 1);
}
