/*
  Wireframe tokens

  The look of the interactive wireframes. Used by the Aiven create service example and the
  CGI design principles demo (which keeps its brand swatch colours):
  light grey surfaces, thin 1px borders, softly rounded corners, near-black text and soft grey placeholder
  bars. Change a token here and every wireframe follows. Dark values sit under
  :root[data-theme="dark"], the switch the rest of the site uses.

  Text contrast was checked against WCAG AA (4.5:1) in both themes. Keep it that way when editing:
  - --wf-ink-muted on --wf-surface and on --wf-canvas
  - --wf-button-text on --wf-button-bg
  - --wf-chip-text on --wf-chip-bg
  Body text is 11px (--wf-text-body); do not go smaller.
*/

:root {
  /* Colour */
  --wf-ink: #131313;               /* text, radio rings, headings */
  --wf-ink-muted: #6b7280;         /* descriptions, field labels */
  --wf-line: #e4e7ec;              /* hairline borders and dividers */
  --wf-bar: #e6e9ee;               /* grey placeholder bars and icon circles */
  --wf-selected-border: #8b95a7;   /* border of the selected tile, card, row and tab */
  --wf-focus: #7a96d8;             /* keyboard focus ring */
  --wf-canvas: #fff;               /* the wireframe's own background */
  --wf-surface: #fff;              /* tiles, cards, rows */
  --wf-surface-selected: #f8f9fb;  /* fill of the selected item */
  --wf-highlight-bg: #eff1f4;      /* background of a highlighted (new) section */
  --wf-highlight-border: #8b95a7;  /* dashed border of that section */
  --wf-chip-bg: #3a4151;           /* the "New" chip */
  --wf-chip-text: #f1f2f4;
  --wf-button-bg: #e9ecf1;         /* inactive button, such as Create service */
  --wf-button-text: #4a505c;
  --wf-hover-border: #cfd4dc;

  /* Type */
  --wf-font: Hkgrotesk, Arial, sans-serif;
  --wf-text-body: 0.6875rem;       /* 11px: labels, descriptions, tiles, rows, tabs */
  --wf-text-card-title: 0.72rem;
  --wf-text-trial: 0.7rem;
  --wf-text-heading: 0.78rem;      /* step headings */
  --wf-text-price: 0.9rem;
  --wf-text-title: 1.11rem;        /* "Create service" */
  --wf-weight-regular: 400;
  --wf-weight-medium: 500;
  --wf-leading: 1.4;

  /* Shape */
  --wf-border-width: 1px;
  --wf-radius-card: 3px;          /* tiles, cards, rows, summary, highlighted section */
  --wf-radius-button: 5px;
  --wf-radius-bar: 3px;
  --wf-radius-pill: 999px;         /* the chip, the icon circle uses 50% */

  /* Spacing */
  --wf-space-tight: 0.1rem;        /* title to description inside a card */
  --wf-space-sm: 0.5rem;
  --wf-space-md: 0.75rem;          /* gap between tiles and cards */
  --wf-space-lg: 1.25rem;          /* gap between the steps and the summary */
  --wf-card-padding: 0.8rem;
}

:root[data-theme="dark"] {
  --wf-ink: #f1f2f4;
  --wf-ink-muted: #a3aab6;
  --wf-line: #3a3f49;
  --wf-bar: #3a3f49;
  --wf-selected-border: #98a2b5;
  --wf-focus: #9cb4ee;
  --wf-canvas: #23262c;
  --wf-surface: #2a2e35;
  --wf-surface-selected: #323741;
  --wf-highlight-bg: #2e3138;
  --wf-highlight-border: #98a2b5;
  --wf-chip-bg: #15171b;
  --wf-chip-text: #f1f2f4;
  --wf-button-bg: #343943;
  --wf-button-text: #a3aab6;
  --wf-hover-border: #5a6170;
}
