/* Shared art direction: graphite structure, cobalt actions, quiet technical surfaces.
   Keep model/material colours in engineering drawings independent of UI colours. */
/* Fira Sans and Fira Code (SIL OFL 1.1, licences in styles/fonts/), served from the site (WEB-VIS-009). */
@font-face { font-family: 'Fira Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url('/styles/fonts/fira-sans-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Fira Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url('/styles/fonts/fira-sans-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Fira Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url('/styles/fonts/fira-sans-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Fira Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url('/styles/fonts/fira-sans-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Fira Code'; font-style: normal; font-weight: 400; font-display: swap; src: url('/styles/fonts/fira-code-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Fira Code'; font-style: normal; font-weight: 500; font-display: swap; src: url('/styles/fonts/fira-code-latin-500-normal.woff2') format('woff2'); }
:root {
  --bc-ink: #202a30;
  --bc-muted: #52616a;
  --bc-blue: #2458c6;
  --bc-blue-dark: #19469f;
  --bc-paper: #f7f8f5;
  --bc-surface: #ffffff;
  --bc-soft: #edf1f6;
  --bc-line: #cbd4da;
  --bc-selected: #edf3ff;
  --bc-text-selection: #d7e3fb;
  --bc-on-accent: #ffffff;
  --bc-radius: 4px;
  --bc-font: 'Fira Sans', Arial, Helvetica, sans-serif;
  --bc-mono: 'Fira Code', 'Courier New', monospace;
  /* The compiled _astro stylesheet reads these two; overriding them here keeps it untouched. */
  --font-sans: var(--bc-font);
  --font-mono: var(--bc-mono);
  /* Motion tokens for home animation (WEB-VIS-010). */
  --bc-motion-fast: 150ms;
  --bc-motion-base: 320ms;
  --bc-motion-slow: 700ms;
  --bc-ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --bc-space-1: 8px;
  --bc-space-2: 16px;
  --bc-space-3: 24px;
  --bc-space-4: 32px;
  /* Graphite band of the home ecosystem (WEB-HOME-021). */
  --bc-graphite: #1b2328;
  --bc-graphite-text: #e8edf0;
  --bc-graphite-muted: #aab7bf;
  --bc-graphite-faint: #7f909b;
  --bc-graphite-line: #3a4852;
  --bc-graphite-accent: #9db5df;
  --bc-graphite-active: #6e91d6;
  --bc-graphite-panel: #223650;
  --bc-graphite-panel-on: #2c4a73;
  --bc-graphite-panel-hover: #3a5a8c;
  --bc-graphite-return: #5fb3a8;
  --bc-graphite-return-panel: #1f3436;
}
body { font-family: var(--bc-font); }
/* Component display rules must preserve native hidden states, including success. */
[hidden] { display: none !important; }
:where(a, button, input, select, textarea, summary, [role=tabpanel]):focus-visible {
  outline: 3px solid var(--bc-blue); outline-offset: 4px;
}
::selection { background: var(--bc-text-selection); color: var(--bc-ink); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
