/*
 * Steel Fader: design tokens
 * A sturdy open-source desktop tool page. Slate blue-grey surfaces, a darker top bar that casts
 * a soft shadow down the page, tall condensed headlines whose last lines fade to a misty grey,
 * glossy cobalt buttons with a lit top edge, and the product drawn as a real app window inside
 * a carousel frame with round glass arrows. Level meters in lime are the only bright color.
 *
 * Fonts (all free on Google Fonts):
 *   <link href="https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600&family=Source+Sans+3:wght@400;600;700&family=JetBrains+Mono:wght@400;500&display=swap" rel="stylesheet">
 */
:root {
  /* Surfaces: slate, never black */
  --st-slate: #2c3843;        /* page */
  --st-slate-deep: #1e262e;   /* top bar, footer, app window chrome */
  --st-slate-raised: #374552; /* cards, plans, inputs */
  --st-slate-well: #232c35;   /* app window body, code wells */
  --st-slate-night: #10161b;  /* meter wells and the clock readout */
  --st-line: #4a5a69;         /* borders and rules */
  --st-line-soft: #3a4855;

  /* Text */
  --st-ink: #eef2f5;          /* headlines and body */
  --st-mist: #97a6b3;         /* second tone of headlines, captions, leads */
  --st-faint: #6c7b88;
  --st-ink-soft: #d2dbe2;     /* long-form article text */
  --st-white: #ffffff;        /* label on cobalt buttons */

  /* Accent: cobalt buttons and links */
  --st-cobalt: #2a7bea;
  --st-cobalt-deep: #0f56c4;
  --st-cobalt-lit: #6aa8ff;   /* top highlight on buttons, link hover */
  --st-cobalt-soft: rgba(42, 123, 234, .16);

  /* Signals: only in meters, the logo wedge and status dots */
  --st-lime: #86d13f;
  --st-amber: #e9b33b;
  --st-ember: #dc4a3d;

  /* Type */
  --st-display: "Oswald", "Arial Narrow", "Roboto Condensed", sans-serif;
  --st-sans: "Source Sans 3", "Source Sans Pro", system-ui, -apple-system, "Segoe UI", sans-serif;
  --st-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --st-text-hero: clamp(40px, 5.4vw, 68px);
  --st-text-h1: clamp(34px, 4.2vw, 52px);
  --st-text-h2: clamp(28px, 3.2vw, 40px);
  --st-text-h3: 22px;
  --st-text-lead: 19px;
  --st-text-body: 17px;
  --st-text-small: 14px;
  --st-text-micro: 12px;
  --st-leading-display: 1.08;
  --st-leading-body: 1.6;
  --st-tracking-display: -.005em;
  --st-tracking-label: .06em;

  /* Shape */
  --st-radius: 3px;           /* buttons, inputs, badges */
  --st-radius-panel: 5px;     /* cards, app window, plans */
  --st-radius-round: 999px;   /* carousel arrows, status dots */

  /* Shadows */
  --st-shadow-bar: 0 6px 18px rgba(8, 12, 16, .45);
  --st-shadow-panel: 0 14px 34px rgba(8, 12, 16, .38);
  --st-shadow-btn: inset 0 1px 0 rgba(255, 255, 255, .28), 0 2px 6px rgba(5, 30, 80, .45);
  --st-gloss: linear-gradient(180deg, var(--st-cobalt) 0%, var(--st-cobalt-deep) 100%);
  --st-bar-fade: linear-gradient(180deg, rgba(8, 12, 16, .35) 0%, rgba(8, 12, 16, 0) 100%);
  --st-meter: linear-gradient(0deg, var(--st-lime) 0%, var(--st-lime) 68%, var(--st-amber) 84%, var(--st-ember) 100%);

  /* Space */
  --st-space-1: 4px;
  --st-space-2: 8px;
  --st-space-3: 12px;
  --st-space-4: 16px;
  --st-space-5: 24px;
  --st-space-6: 32px;
  --st-space-7: 48px;
  --st-space-8: 72px;
  --st-space-9: 104px;
  --st-container: 1160px;
  --st-narrow: 700px;
  --st-gutter: 20px;
  --st-speed: .18s;
}
