/* KEVOS CAD design tokens: the one source for colour, type, spacing and shape on every page. cados.css maps its own
   variable names to these. The palette is kevos.com's (paper, ink, muted, the accent for buttons and links) with the
   KEVOS logo's own orange for marks and its navy for dark panels. Contrast: every text pairing below meets WCAG 2.2 AA.

   Font: Inter Tight (one family, as on kevos.com), under the SIL Open Font Licence and served from the product's own
   origin. */

@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/inter-tight-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;
}

/* Fallback faces: the visitor's own Arial (or its metric twin Liberation Sans), scaled to the width and vertical
   metrics of each brand face, so text keeps its line breaks and position when the web fonts arrive (no layout
   shift). size-adjust is the brand face's width over Arial's for the same English text, measured in Chromium on
   5 Nov 2026 (Inter Tight 400 / Arial 400 = 95.93 %, Inter Tight 600 / Arial Bold = 93.80 %). The overrides are the
   face's own metrics divided by its size-adjust (Inter Tight: ascent 1984, descent 494, gap 0 of 2048). */
@font-face {
  font-family: 'Inter Tight Fallback';
  font-weight: 100 549;
  src: local('Arial'), local('ArialMT'), local('Liberation Sans'), local('LiberationSans');
  size-adjust: 95.93%;
  ascent-override: 100.98%;
  descent-override: 25.14%;
  line-gap-override: 0%;
}
@font-face {
  font-family: 'Inter Tight Fallback';
  font-weight: 550 900;
  src: local('Arial Bold'), local('Arial-BoldMT'), local('Liberation Sans Bold'), local('LiberationSans-Bold');
  size-adjust: 93.8%;
  ascent-override: 103.28%;
  descent-override: 25.72%;
  line-gap-override: 0%;
}

:root {
  /* Brand */
  --kv-orange: #d24400;        /* the KEVOS logo's orange: marks and the wordmark, never body text */
  --kv-orange-bright: #ff6a13; /* kevos.com's logo orange, on dark surfaces */
  --kv-navy: #002884;          /* the KEVOS logo's navy: dark panels, code */
  --kv-blue: #3366ff;          /* the KEVOS logo's blue: diagrams and highlights, never text on light */
  --kv-accent: #c2410c;        /* buttons and links (kevos.com; 5.2:1 on white) */
  --kv-accent-hover: #9a3412;
  --kv-accent-soft: #fdf1ea;

  /* Surfaces and text (light, the only theme on kevos.com) */
  --kv-paper: #fbfaf7;
  --kv-paper-2: #f3f1ec;
  --kv-surface: #ffffff;
  --kv-ink: #1c1b19;
  --kv-ink-2: #3a3833;
  --kv-muted: #69665f;
  --kv-line: rgb(28 27 25 / 0.1);
  --kv-line-strong: rgb(28 27 25 / 0.2);
  --kv-inverse-bg: #002884;
  --kv-inverse-ink: #f4f6fc;
  --kv-inverse-muted: #b7c2e6;
  --kv-on-accent: #ffffff;
  --kv-focus: #c2410c;

  /* Status */
  --kv-success: #067647;
  --kv-success-soft: #ecfdf3;
  --kv-warning: #b54708;
  --kv-warning-soft: #fffaeb;
  --kv-danger: #b42318;
  --kv-danger-soft: #fef3f2;
  --kv-info: #1d3fb8;
  --kv-info-soft: #eef2ff;

  /* Type */
  --kv-font-display: 'Inter Tight Variable', 'Inter Tight', 'Inter Tight Fallback', ui-sans-serif, system-ui, sans-serif;
  --kv-font-sans: 'Inter Tight Variable', 'Inter Tight', 'Inter Tight Fallback', 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --kv-font-mono: ui-monospace, 'SFMono-Regular', 'Cascadia Mono', Menlo, Consolas, monospace;
  --kv-heading-weight: 650;
  --kv-heading-tracking: -0.02em;
  --kv-step--1: clamp(0.84rem, 0.82rem + 0.1vw, 0.9rem);
  --kv-step-0: clamp(1rem, 0.97rem + 0.15vw, 1.0625rem);
  --kv-step-1: clamp(1.125rem, 1.07rem + 0.3vw, 1.3rem);
  --kv-step-2: clamp(1.375rem, 1.24rem + 0.65vw, 1.8rem);
  --kv-step-3: clamp(1.7rem, 1.45rem + 1.2vw, 2.5rem);
  --kv-step-4: clamp(2.1rem, 1.65rem + 2.2vw, 3.3rem);
  --kv-step-5: clamp(2.5rem, 1.8rem + 3.2vw, 4.2rem);

  /* Space, shape, depth, motion (kevos.com: 8 px buttons, 14 px cards) */
  --kv-gutter: clamp(1.1rem, 4vw, 3rem);
  --kv-max: 1200px;
  --kv-measure: 68ch;
  --kv-space-section: clamp(4rem, 2.8rem + 5.5vw, 7.5rem);
  --kv-radius-sm: 6px;
  --kv-radius: 8px;
  --kv-radius-lg: 14px;
  --kv-shadow-1: 0 1px 2px rgb(28 27 25 / 0.05), 0 4px 16px rgb(28 27 25 / 0.05);
  --kv-shadow-2: 0 12px 32px rgb(28 27 25 / 0.14);
  --kv-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --kv-header-h: 68px;
  color-scheme: light;
}
