/*
 * Fill Bar: design tokens
 * Plain, honest and quietly useful. A cool off-white page, white cards with hairline borders,
 * heavy rounded headlines in deep navy with the second line in indigo, and one indigo button.
 * The signature move is the fill bar: list rows with a pale indigo bar growing behind the label
 * to show its share, next to a plain number. Stat tabs with small mint and coral changes sit
 * above a soft area chart in a browser frame. Numbers are always shown, never hidden.
 *
 * Fonts (all free on Google Fonts):
 *   <link href="https://fonts.googleapis.com/css2?family=Manrope:wght@600;700;800&family=Public+Sans:wght@400;500;600&family=IBM+Plex+Mono:wght@400;500&display=swap" rel="stylesheet">
 */
:root {
  /* Surfaces: a cool off-white page, white cards on top */
  --fb-page: #f6f7fb;
  --fb-white: #ffffff;
  --fb-mist: #eef0f6;       /* quiet panels, table heads, toggles */
  --fb-line: #e2e5ee;
  --fb-line-strong: #cdd2df;

  /* Text */
  --fb-ink: #171a2c;
  --fb-ink-2: #262a40;
  --fb-soft: #5b6178;
  --fb-faint: #9aa0b4;

  /* The accent: indigo for the main button, links, the second headline line and charts */
  --fb-indigo: #5b4de6;
  --fb-indigo-deep: #4537c8;
  --fb-tint: #ebe9fd;        /* fill bars, chart area, selected tab */
  --fb-tint-2: #d9d5fb;

  /* Change only: up and down next to a number. Never on buttons or headlines */
  --fb-mint: #1c9f74;
  --fb-mint-soft: #e2f5ee;
  --fb-coral: #d9583f;
  --fb-coral-soft: #fbe9e5;

  /* Type */
  --fb-display: "Manrope", "Avenir Next", system-ui, sans-serif;
  --fb-sans: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fb-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --fb-text-hero: clamp(38px, 5.6vw, 68px);
  --fb-text-h2: clamp(28px, 3.6vw, 44px);
  --fb-text-h3: 20px;
  --fb-text-lead: 19px;
  --fb-text-body: 16px;
  --fb-text-small: 14px;
  --fb-text-micro: 12px;
  --fb-text-stat: 26px;

  --fb-tracking-hero: -.035em;
  --fb-tracking-h2: -.025em;

  /* Shape: small radius, hairlines, soft cool shadows */
  --fb-radius-sm: 6px;
  --fb-radius: 10px;
  --fb-radius-lg: 14px;
  --fb-radius-pill: 999px;
  --fb-border: 1px solid var(--fb-line);
  --fb-shadow: 0 1px 2px rgba(23, 26, 44, .05), 0 2px 8px rgba(23, 26, 44, .04);
  --fb-shadow-lg: 0 1px 3px rgba(23, 26, 44, .06), 0 24px 60px -12px rgba(69, 55, 200, .16);
  --fb-shadow-btn: 0 1px 2px rgba(69, 55, 200, .3), inset 0 1px 0 rgba(255, 255, 255, .18);

  /* Space */
  --fb-section: clamp(64px, 8vw, 112px);
  --fb-container: 1120px;
  --fb-narrow: 700px;

  /* Motion */
  --fb-ease: cubic-bezier(.25, .8, .25, 1);
}
