/*
 * Helix, brand tokens.
 *
 * The first of two consumer stylesheets. This one holds nothing but
 * token overrides, exactly as tier 2 does; the components Helix had to
 * build for itself live in helix.css, which loads after it.
 *
 *   <link rel="stylesheet" href="semetrika.min.css">
 *   <link rel="stylesheet" href="brand.css">
 *   <link rel="stylesheet" href="helix.css">
 *
 * Splitting the two files is the point: a brand swap stays a data
 * change, and helix.css never hardcodes a color, so re-theming the
 * product re-themes the consumer components with it.
 *
 * Ramps generated with the palette generator on the docs site from one
 * seed color each. They are absolute brand colors, so none of them
 * needs a `:root[data-color-scheme='dark']` counterpart.
 */

:root {
  /* Slate. Structure: surfaces, borders, chrome, body copy. */
  --color-primary-1: #f1f5fe;
  --color-primary-2: #cdd8ec;
  --color-primary-3: #b1bbcf;
  --color-primary-4: #959fb2;
  --color-primary-5: #7a8396;
  --color-primary-6: #60697b;
  --color-primary-7: #475061;
  --color-primary-8: #303848;
  --color-primary-9: #1a2231;
  --color-primary-10: #070d1a;
  --color-primary-11: #000107;

  /* Signal blue. Interactive: links, controls, focus, active nav. */
  --color-secondary-1: #f1f5fe;
  --color-secondary-2: #c7d7fe;
  --color-secondary-3: #9eb8ff;
  --color-secondary-4: #7598fe;
  --color-secondary-5: #5176f8;
  --color-secondary-6: #3a59d9;
  --color-secondary-7: #253cba;
  --color-secondary-8: #151a9c;
  --color-secondary-9: #0a006f;
  --color-secondary-10: #03003a;
  --color-secondary-11: #00000d;

  /* Teal. Accent: healthy services, plan highlights, the wordmark. */
  --color-tertiary-1: #dbffee;
  --color-tertiary-2: #77f3c1;
  --color-tertiary-3: #56d5a5;
  --color-tertiary-4: #31b889;
  --color-tertiary-5: #059b6f;
  --color-tertiary-6: #007c58;
  --color-tertiary-7: #035f43;
  --color-tertiary-8: #00432e;
  --color-tertiary-9: #01291b;
  --color-tertiary-10: #001209;
  --color-tertiary-11: #000201;

  /* System stacks. A product UI has no reason to make its users wait
     on a webfont before the first dashboard paint. */
  --font-family-primary: ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
  --font-family-secondary: ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
  --font-family-mono: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, 'Liberation Mono', monospace;

  /* Half the shipped radius. Console surfaces read as panels, not cards. */
  --option-rounded-corners: 0.5;

  /* A solid call to action. Semetrika ships `accent` as a quiet grey,
     which is right for a documentation system and wrong for a trial
     button. The matching hover is a rule rather than a token, because
     Semetrika shares one hover slot across emphases; it lives in
     helix.css and reads the last declaration below. */
  --btn-accent-background-color: var(--color-secondary-6);
  --btn-accent-border-color: var(--color-secondary-6);
  --btn-accent-color: var(--color-primary-1);
  --btn-accent-hover-background-color: var(--color-secondary-7);
}
