/* Mondera design tokens. Source of truth for colour, type, spacing, radius. */
:root{
  /* Brand */
  --blue-50: #EFEFFA;
  --blue-100: #DEDFF7;
  --blue-200: #BDBEEF;
  --blue-300: #8D8EE2;
  --blue-400: #595BCF;
  --blue-500: #3133B3;
  --blue-600: #2A2C98;
  --blue-700: #222277;
  --blue-800: #1C1B5F;
  --blue-900: #1A1855;
  --brand-deep: var(--blue-900);
  --brand: var(--blue-500);
  --brand-hover: var(--blue-600);
  --brand-tint: var(--blue-50);

  /* Neutrals (cool, hue ~232) */
  --grey-0: #FFFFFF;
  --grey-50: #F2F3F7;
  --grey-100: #E8EAF0;
  --grey-200: #DADDE6;
  --grey-300: #C2C6D4;
  --grey-400: #9298AD;
  --grey-500: #6B7088;
  --grey-600: #525770;
  --grey-700: #3C4058;
  --grey-800: #262940;
  --grey-900: #1A1855;
  --bg: #FFFFFF;
  --surface: var(--grey-50);
  --border: var(--grey-200);
  --text: var(--blue-900);
  --text-muted: var(--grey-600);
  --text-subtle: var(--grey-500);

  /* Status (each pair tested for text on tint) */
  --success: #17794D;
  --success-tint: #E6F4EC;
  --warning: #9A5B00;
  --warning-tint: #FDF1DC;
  --danger: #C0302A;
  --danger-tint: #FBE9E8;
  --info: #3133B3;
  --info-tint: #EEF0FB;

  /* Trade categories, muted so they sit beside the brand blue */
  --cat-ventilation: #2F7FB8;
  --cat-kitchen: #B8651B;
  --cat-outdoor: #3F8F6B;
  --cat-bath: #7A5FB0;
  --cat-electrical: #A07C12;
  --cat-flooring: #9A6B4B;
  --cat-painting: #2A8F96;
  --cat-roofing: #5F7388;

  /* Type */
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-features: "cv11" 1, "ss03" 0; /* cv11 = single-storey a; needs a self-hosted Inter build */
  --text-xs: .75rem;  --text-sm: .875rem; --text-base: 1rem;
  --text-lg: 1.25rem; --text-xl: 1.563rem; --text-2xl: 1.953rem;
  --text-3xl: 2.441rem; --text-4xl: 3.052rem;
  --leading-tight: 1.15; --leading-body: 1.5;

  /* Spacing (4px base), radius, shadow */
  --space-1: .25rem; --space-2: .5rem; --space-3: .75rem; --space-4: 1rem;
  --space-5: 1.5rem; --space-6: 2rem; --space-7: 3rem; --space-8: 4rem; --space-9: 6rem;
  --radius-sm: 8px; --radius-md: 12px; --radius-lg: 16px; --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(26,24,85,.06), 0 1px 3px rgba(26,24,85,.08);
  --shadow-md: 0 4px 12px rgba(26,24,85,.10);
  --focus: 0 0 0 3px rgba(49,51,179,.35);
}
html{font-family:var(--font-sans);font-feature-settings:var(--font-features);color:var(--text);background:var(--bg)}
