/* EneweCRM design tokens.

   Structure follows the Curtailer backend's design system (neutrals, one
   brand primary, semantic colors, a 4px spacing scale, soft cool shadows);
   the values are Enewe's own, from the website: the ink greys, the cyan
   "pulse" sampled from the logo, Space Grotesk for headings and Inter for
   everything numerate. Component styles live in app.css and use only these. */

/* Fonts: self-hosted (no CDN), Latin subsets, OFL licences alongside. */
@font-face {
  font-family: "Space Grotesk Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 300 700;
  src: url("../vendor/fonts/space-grotesk-latin-wght-normal.87c506d88b9f.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: "Space Grotesk Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 300 700;
  src: url("../vendor/fonts/space-grotesk-latin-ext-wght-normal.0bb2ef2eda4e.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Inter Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../vendor/fonts/inter-latin-wght-normal.260c81a4759b.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: "Inter Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../vendor/fonts/inter-latin-ext-wght-normal.1ad231aac0a8.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* Ink — the website's dark greys; here the sidebar and strong text */
  --ink-950: #080b0d;
  --ink-900: #0e1214;
  --ink-850: #12171a;
  --ink-800: #171d20;
  --ink-700: #1f2629;
  --ink-600: #2a3336;
  --ink-500: #3a4549;

  /* Mist — the website's light greys (text on ink) */
  --mist-50: #f2f6f7;
  --mist-200: #cbd4d8;
  --mist-400: #93a1a7;
  --mist-500: #76858c;

  /* Neutrals for the light work area: cool and close to mist */
  --neutral-0: #ffffff;
  --neutral-50: #f6f8f9;
  --neutral-100: #eef2f4;
  --neutral-200: #dfe5e8;
  --neutral-300: #c6cfd3;
  --neutral-400: #9aa7ad;
  --neutral-500: #76858c;
  --neutral-600: #56646a;
  --neutral-700: #3a4549;
  --neutral-800: #1f2629;
  --neutral-900: #12171a;

  /* Pulse — the Enewe logo cyan. 500 is the logo itself; 700 is the
     shade dark enough for text and buttons on white (WCAG AA). */
  --pulse-50: #eef9fe;
  --pulse-100: #dcf3fd;
  --pulse-200: #c2ecfb;
  --pulse-300: #9be0fa;
  --pulse-400: #6dcff6;
  --pulse-500: #3fbef0;
  --pulse-600: #1b9fd4;
  --pulse-700: #0f7ba8;
  --pulse-800: #0b6189;
  --pulse-900: #08445d;

  /* Semantic */
  --success-100: #e3f5ec;
  --success-500: #22a06b;
  --success-700: #176b47;
  --warning-100: #fdf1d8;
  --warning-300: #f6d48b;
  --warning-500: #e7a417;
  --warning-700: #8a5d00;
  --danger-100: #fde8e7;
  --danger-500: #d6453d;
  --danger-700: #9c2a24;

  /* Semantic aliases */
  --bg-page: var(--neutral-50);
  --bg-surface: var(--neutral-0);
  --bg-surface-sunken: var(--neutral-50);
  --bg-sidebar: var(--ink-900);
  --border-subtle: var(--neutral-200);
  --border-default: var(--neutral-300);
  --text-primary: var(--ink-850);
  --text-secondary: var(--neutral-600);
  --text-tertiary: var(--neutral-500);
  --text-on-primary: var(--neutral-0);
  --link: var(--pulse-700);
  --link-hover: var(--pulse-800);
  --brand-primary: var(--pulse-700);
  --brand-primary-hover: var(--pulse-800);
  --brand-accent: var(--pulse-500);
  --focus-ring: var(--pulse-200);

  /* Type */
  --font-display: "Space Grotesk Variable", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Inter Variable", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --text-heading-lg: 600 28px/1.2 var(--font-display);
  --text-heading-md: 600 21px/1.25 var(--font-display);
  --text-heading-sm: 600 16px/1.3 var(--font-display);
  --text-stat: 600 30px/1.1 var(--font-display);
  --text-body-md: 400 15px/1.55 var(--font-body);
  --text-body-sm: 400 13.5px/1.5 var(--font-body);
  --text-caption: 500 12px/1.4 var(--font-body);
  --text-label: 600 12.5px/1.3 var(--font-body);
  --letter-spacing-tight: -0.02em;
  --letter-spacing-wide: 0.06em;

  /* Spacing — 4px base */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --content-max-width: 1280px;

  /* Effects — flat; soft, cool shadows */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgb(14 18 20 / 0.06);
  --shadow-md: 0 4px 12px rgb(14 18 20 / 0.08), 0 1px 2px rgb(14 18 20 / 0.05);
  --shadow-lg: 0 12px 32px rgb(14 18 20 / 0.14), 0 2px 6px rgb(14 18 20 / 0.06);
  --ease-standard: cubic-bezier(0.2, 0.8, 0.2, 1);
  --duration-fast: 120ms;
  --duration-base: 200ms;
}
