/*
 * Direction C design tokens. Every colour, font, radius and shadow lives here;
 * components use the variables, never raw hex values.
 * Amber is the lit window: shapes only, never text, buttons or borders.
 */
:root {
  /* Ink and text */
  --cd-ink: #0E1726;          /* body text, headings, primary buttons, focus ring */
  --cd-ink-hover: #1B2638;    /* primary button hover */
  --cd-ink-active: #0A111D;   /* primary button pressed */
  --cd-text-2: #3D4757;       /* secondary text, lead paragraphs, inactive nav */
  --cd-muted: #5B6575;        /* labels, meta, table headers, help text */

  /* Surfaces */
  --cd-surface: #FFFFFF;      /* page and cards */
  --cd-surface-2: #F7F8FA;    /* sidebar, auth and worker background, inset boxes, landing bands */
  --cd-surface-3: #F2F4F7;    /* secondary button, active filter chip, neutral chip */
  --cd-surface-3-hover: #E7EAEE;
  --cd-row-hover: #FAFBFC;

  /* Lines */
  --cd-border-control: #878F9E; /* inputs, selects, quantity buttons (3.25:1 on white) */
  --cd-border-float: #E4E7EC;   /* floating cards, dropdowns, company switcher */
  --cd-border: #EEF0F3;         /* panel cards, sidebar edge, table header rule */
  --cd-divider: #F3F4F6;        /* table row dividers */

  /* Amber: the lit window. Shapes only, never text */
  --cd-amber: #F59E0B;
  --cd-amber-tint: #FFF7E8;   /* warning banners, due chips */
  --cd-amber-text: #7A4A06;   /* text on the amber tint */
  --cd-link-hover: #B45309;

  /* States */
  --cd-danger: #B42318;
  --cd-danger-hover: #912018;
  --cd-danger-active: #7A1A14;
  --cd-danger-tint: #FEF3F2;
  --cd-success: #067647;
  --cd-success-tint: #ECFDF3;
  --cd-off: #C9CED6;          /* paused and removed markers */
  --cd-mark-grey: #9AA3AF;    /* the "off" building */
  --cd-tray: #1F2937;         /* the Windows taskbar chip */
  --cd-tray-text: #E5E7EB;

  /* Type */
  --cd-font-display: "Outfit", "Inter", system-ui, sans-serif; /* Inter covers Cyrillic */
  --cd-font-body: "Inter", system-ui, sans-serif;
  --cd-font-mono: ui-monospace, "SFMono-Regular", Consolas, monospace;

  /* Radii */
  --cd-radius-marker: 2px;    /* status markers */
  --cd-radius-sm: 8px;        /* tray chip, dropdown items */
  --cd-radius-nav: 10px;      /* sidebar items */
  --cd-radius-input: 12px;    /* inputs, selects, company switcher */
  --cd-radius-inset: 14px;    /* inset boxes, banners, dropdown menu */
  --cd-radius-tile: 16px;     /* stat tiles, table cards */
  --cd-radius-card: 18px;     /* panel cards */
  --cd-radius-float: 22px;    /* auth card, modals */
  --cd-radius-hero: 24px;     /* worker card, pricing band */
  --cd-radius-pill: 999px;

  /* Shadows */
  --cd-shadow-float: 0 1px 2px rgba(14, 23, 38, .04), 0 16px 48px rgba(14, 23, 38, .08);
  --cd-shadow-nav: 0 1px 2px rgba(14, 23, 38, .06);
  --cd-focus-ring: 0 0 0 3px rgba(14, 23, 38, .15);

  --cd-transition: 150ms ease;
}
