/* ServiceLift AI design tokens. Shared by every page (milestone 1 and 2).
   Source: approved spec sections 2.1, 3.1-3.3 and the build-decisions note (2026-11-28).
   Contrast for every text/background pair used is recorded in tests/m1-results.md. */

@font-face {
  font-family: "Barlow Semi Condensed";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/barlow-semi-condensed-600.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/ibm-plex-sans-400.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/ibm-plex-sans-600.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/ibm-plex-mono-500.woff2") format("woff2");
}

:root {
  /* Colour */
  --ink: #14202B;              /* text on light; dark bands */
  --ground-dark: #0E161E;      /* footer only */
  --paper: #F4F2EE;            /* page ground (decisions note) */
  --paper-2: #FFFFFF;          /* alternate band */
  --line: #D9DDE1;             /* 1px hairlines on light (decorative) */
  --line-dark: #33414E;        /* 1px hairlines on dark (decorative) */
  --button: #17716A;           /* primary button fill on light, white text */
  --button-hover: #125C56;     /* primary button hover on light */
  --accent-light-bg: #1F8F86;  /* large display text, icons, diagram strokes on light */
  --accent-dark-bg: #3FB8AF;   /* buttons (ink text) and accents on dark */
  --eyebrow-on-dark: #EAD9BE;  /* eyebrow text on dark */
  --on-dark: #F4F2EE;          /* body text on dark */
  --white: #FFFFFF;
  --focus: #17716A;            /* focus ring on light */
  --focus-on-dark: #3FB8AF;    /* focus ring on dark */

  /* Type families */
  --font-display: "Barlow Semi Condensed", Bahnschrift, "Arial Narrow", sans-serif;
  --font-body: "IBM Plex Sans", Bahnschrift, Arial, sans-serif;
  --font-mono: "IBM Plex Mono", Consolas, monospace;

  /* Type scale (spec 3.2) */
  --fs-display-xl: clamp(2.5rem, 1.6rem + 3.7vw, 4.5rem);
  --fs-display-l: clamp(2.125rem, 1.5rem + 2.6vw, 3.5rem);
  --fs-h2: clamp(1.75rem, 1.3rem + 1.8vw, 2.5rem);
  --fs-h3: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  --fs-body-l: 1.25rem;
  --fs-body: 1.0625rem;
  --fs-small: 0.9375rem;
  --fs-eyebrow: 0.8125rem;

  /* Spacing (4px base, spec 3.3) */
  --s1: 4px;
  --s2: 8px;
  --s3: 12px;
  --s4: 16px;
  --s5: 24px;
  --s6: 32px;
  --s7: 48px;
  --s8: 64px;
  --s9: 96px;
  --s10: 128px;

  /* Layout */
  --container: 1200px;
  --measure: 68ch;
  --header-h: 64px;
  --radius: 4px;
  --motion: 150ms;
}
