/*
   Design tokens of the storefront, taken from the WiAutomation reference
   (docs/wiautomation-reference/03-design-tokens.md). Colours are sampled from the
   reference's pixels; sizes are measured on its 1920 px captures.
*/

@font-face {
  font-family: "Work Sans";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/work-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Work Sans";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/work-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* Brand */
  --c-navy: #111626;
  --c-navy-2: #1b2133;
  --c-teal: #31c7c7;
  --c-teal-dark: #27a9a9;
  --c-teal-pale: #d4f1f1;
  --c-orange: #ef6523;
  --c-orange-dark: #d6551a;
  --c-yellow: #ffcf48;
  --c-yellow-pale: #fbefc9;
  --c-salmon: #ff9a6d;
  --c-pink-pale: #f9dcd8;
  --c-green: #5fd57c;
  --c-green-text: #2fae4e;
  --c-red-soft: #fde8e6;
  --c-error: #f0786c;
  --c-whatsapp: #25d366;

  /* Neutrals */
  --c-white: #ffffff;
  --c-bg: #f3f4f4;
  --c-bg-alt: #eeeff0;
  --c-border: #e3e5e8;
  --c-border-strong: #cfd3d9;
  --c-text: #111626;
  --c-text-2: #3a4050;
  --c-text-muted: #7b8190;
  --c-text-faint: #a9adb6;

  /* Type */
  --font-sans: "Work Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --fs-xs: 11px;
  --fs-sm: 12px;
  --fs-base: 14px;
  --fs-md: 16px;
  --fs-lg: 18px;
  --fs-xl: 22px;
  --fs-2xl: 26px;
  --fs-3xl: 34px;

  /* Spacing */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 20px;
  --sp-6: 24px;
  --sp-8: 32px;
  --sp-10: 40px;
  --sp-12: 48px;
  --sp-16: 64px;
  --sp-20: 80px;

  /* Layout */
  --container: 1032px;
  --gutter: 16px;
  --header-top-h: 44px;
  --header-main-h: 56px;

  /* Shape */
  --radius-sm: 2px;
  --radius: 4px;
  --radius-lg: 8px;
  --shadow-card: 0 1px 3px rgba(17, 22, 38, .08);
  --shadow-pop: 0 6px 24px rgba(17, 22, 38, .12);
  --shadow-modal: 0 10px 40px rgba(17, 22, 38, .25);
  --overlay: rgba(17, 22, 38, .35);

  /* Controls */
  --control-h: 38px;
  --btn-h-lg: 46px;

  /* Motion */
  --ease: cubic-bezier(.2, .7, .3, 1);
  --t-fast: .15s;
}
