/*
 * Dusk Select: tokens
 * Feel: a harbour at dusk seen through a well-kept tool. A flat charcoal top
 * strip, then a wide band of evening gradient (slate blue sliding into plum).
 * Headlines sit on dark "selection" bars, like text you just highlighted.
 * Under the headline, a layered app window (title bar, sidebar, tabs, line
 * numbers, minimap) rises out of the band. Square corners, one steel-blue
 * button, a warm amber mark for small highlights.
 *
 * Fonts (free, Google Fonts):
 * <link href="https://fonts.googleapis.com/css2?family=Red+Hat+Display:wght@600;800&family=Red+Hat+Text:ital,wght@0,400;0,500;0,700;1,400&family=Red+Hat+Mono:wght@400;500&display=swap" rel="stylesheet">
 */
:root {
  /* Surfaces */
  --ds-strip: #3B3D42;
  --ds-page: #22252B;
  --ds-panel: #2B2F37;
  --ds-window: #262A31;
  --ds-sidebar: #1E2126;
  --ds-tab: #30343C;
  --ds-select: #3A3460;
  --ds-select-deep: rgba(36, 30, 66, .82);
  --ds-line: #383C45;
  --ds-line-bright: #4C515C;

  /* Text */
  --ds-paper: #F3F1EC;
  --ds-fog: #B9BCC6;
  --ds-dim: #828796;

  /* Accents */
  --ds-steel: #3A7DC0;
  --ds-steel-hi: #5396D8;
  --ds-amber: #F2A541;
  --ds-amber-soft: rgba(242, 165, 65, .16);
  --ds-sea: #7FC3B8;
  --ds-rose: #E07A93;
  --ds-lilac: #B39DDB;

  /* The dusk band */
  --ds-dusk-a: #46628F;
  --ds-dusk-b: #6A507F;
  --ds-dusk-c: #93416E;
  --ds-dusk: linear-gradient(100deg, var(--ds-dusk-a) 0%, var(--ds-dusk-b) 52%, var(--ds-dusk-c) 100%);
  --ds-dusk-fade: linear-gradient(180deg, rgba(34, 37, 43, 0) 60%, var(--ds-page) 100%);

  /* Fonts */
  --ds-display: "Red Hat Display", "Helvetica Neue", Arial, sans-serif;
  --ds-sans: "Red Hat Text", "Helvetica Neue", Arial, sans-serif;
  --ds-mono: "Red Hat Mono", ui-monospace, Menlo, monospace;
  --ds-weight-regular: 400;
  --ds-weight-medium: 500;
  --ds-weight-bold: 700;
  --ds-weight-heavy: 800;

  /* Type scale */
  --ds-text-display: clamp(38px, 6vw, 76px);
  --ds-text-h1: clamp(34px, 4.8vw, 58px);
  --ds-text-h2: clamp(28px, 3.4vw, 42px);
  --ds-text-h3: 20px;
  --ds-text-lead: 19px;
  --ds-text-body: 16px;
  --ds-text-small: 14px;
  --ds-text-micro: 12px;
  --ds-tracking-display: -.025em;

  /* Shape */
  --ds-radius-sm: 2px;
  --ds-radius: 3px;
  --ds-radius-lg: 6px;
  --ds-border: 1px solid var(--ds-line);
  --ds-shadow-window: 0 30px 70px -20px rgba(10, 10, 20, .65), 0 0 0 1px rgba(0, 0, 0, .35);
  --ds-shadow-card: 0 1px 0 rgba(255, 255, 255, .04) inset, 0 10px 30px -18px rgba(0, 0, 0, .6);
  --ds-select-pad: .06em .22em .1em;

  /* Space */
  --ds-container: 1200px;
  --ds-narrow: 700px;
  --ds-gutter: 24px;
  --ds-section: clamp(64px, 9vw, 120px);
  --ds-strip-h: 58px;

  /* Motion */
  --ds-fast: 140ms;
  --ds-ease: cubic-bezier(.2, .7, .2, 1);
}
