/* GENERATED FILE — DO NOT EDIT HERE.
 * Source: oddessy-industrial/brand/brand.css
 * Update there, then re-run: node tools/sync-brand.mjs <target>
 */
/* Indagate brand core
 * ----------------------------------------------------------------------------
 * The tokens, faces and controls shared by every Indagate surface. This file is
 * the source of truth; consumers vendor a copy via tools/sync-brand.mjs rather
 * than hand-copying, because hand-copying is how three separate repos ended up
 * declaring `font-family: "Segoe UI", Inter, system-ui` with no @font-face at
 * all — a webfont that was never loaded on any of them.
 *
 * It deliberately contains no layout and no components. Page furniture belongs
 * to the site that owns it; what lives here is only what must not drift.
 *
 * Fonts resolve relative to this file, so keep brand.css and fonts/ together.
 */

@font-face {
  font-family: "Manrope var";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("./fonts/manrope-var-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;
}
@font-face {
  font-family: "Manrope var";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("./fonts/manrope-var-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "DM Sans var";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("./fonts/dmsans-var-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;
}
@font-face {
  font-family: "DM Sans var";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("./fonts/dmsans-var-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Geist Mono var";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("./fonts/geistmono-var-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;
}
@font-face {
  font-family: "Geist Mono var";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("./fonts/geistmono-var-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* Ground and ink. The ground is near-black with a violet bias rather than a
     neutral grey, so the accent sits on it without vibrating. */
  --paper: #0a0a0f;
  --paper-2: #14141c;
  --paper-3: #1c1c26;
  --rule: #23232e;
  --rule-strong: #34343f;
  --ink: #f5f5f7;
  --ink-2: #b4b4c2;
  --ink-3: #85859a;

  /* One accent. --violet-text is the only violet that clears contrast on the
     ground for body-sized text; --violet itself is for fills and edges. */
  --violet: #6c4df6;
  --violet-2: #8f77fa;
  --violet-3: #c0b0fd;
  --violet-tint: rgba(108, 77, 246, .14);
  --violet-text: #b9a8fc;

  /* Controls are a hueless surface with an accent spine, not a violet slab. */
  --action: #1c1c26;
  --action-hover: #23232e;
  --action-fg: #f5f5f7;
  --action-edge: #2a2a36;
  --action-spine: #6c4df6;

  /* Semantic, and separate from the accent so state never reads as branding. */
  --pass: #5fd39a;
  --warn: #e6b45c;
  --fail: #f0798c;
  --pass-tint: rgba(95, 211, 154, .12);
  --fail-tint: rgba(240, 121, 140, .12);

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
  --shadow: 0 20px 50px -28px rgba(0, 0, 0, .85);

  /* DM Sans reads; Manrope is reserved for the logotype so the wordmark stays
     distinct from running text; Geist Mono carries data, labels and records. */
  --sans: "DM Sans var", "DM Sans", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --wordmark: "Manrope var", Manrope, var(--sans);
  --mono: "Geist Mono var", "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --text-xs: 0.75rem;
  --text-sm: 0.8125rem;
  --text-base: 0.9688rem;
  --text-md: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.375rem;
  --text-2xl: clamp(1.375rem, 1.9vw, 1.75rem);
  --text-3xl: clamp(1.875rem, 2.9vw, 2.5rem);
  --text-4xl: clamp(2.25rem, 4.2vw, 3.5rem);

  --lh-tight: 1.06;
  --lh-head: 1.16;
  --lh-body: 1.62;
  --track-display: -0.03em;
  --track-head: -0.02em;
  --track-label: 0.12em;

  /* Square by default. Only genuinely soft objects earn a radius. */
  --radius-sm: 0px;
  --radius: 0px;
  --radius-lg: 2px;
  --radius-xl: 3px;

  color-scheme: dark;
}

/* Aliases for surfaces that were built against older names. Keeping these means
   a consumer can adopt the core without renaming every rule on day one. */
:root {
  --bg: var(--paper);
  --surface: var(--paper-2);
  --surface-2: var(--paper-3);
  --panel: var(--paper-2);
  --line: var(--rule);
  --line-bright: rgba(108, 77, 246, .42);
  --text: var(--ink);
  --muted: var(--ink-3);
  --blue: var(--violet);
  --purple: var(--violet-2);
  --green: var(--pass);
  --amber: var(--warn);
  --red: var(--fail);
}

/* --- Base ----------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--text-md);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 600;
  line-height: var(--lh-head);
  letter-spacing: var(--track-head);
  text-wrap: balance;
}

code, kbd, pre, samp { font-family: var(--mono); font-size: 0.92em; }

a { color: var(--violet-text); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--violet-3); }

:where(a, button, input, select, textarea, summary):focus-visible {
  outline: 2px solid var(--violet-2);
  outline-offset: 2px;
}

/* Uppercase mono labels: the recurring device for data headings and eyebrows. */
.brand-label {
  font-family: var(--mono);
  font-size: var(--text-xs);
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: var(--ink-3);
}

/* The wordmark is the one place Manrope is used. */
.brand-wordmark { font-family: var(--wordmark); font-weight: 600; letter-spacing: -0.02em; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

/* --- Controls -------------------------------------------------------------- */

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  text-decoration: none; /* controls are links often enough to need this here */
  height: 48px; min-height: 48px; padding-inline: 32px;
  border: 1px solid transparent; border-radius: 0;
  font-size: var(--text-base); font-weight: 400; letter-spacing: -0.005em;
  white-space: nowrap; cursor: pointer;
  transition: background-color 400ms ease-out, border-color 400ms ease-out, color 400ms ease-out;
}
.button-primary {
  background: var(--action); color: var(--action-fg);
  border-color: var(--action-edge);
  border-left: 3px solid var(--action-spine);
  padding-left: 30px; /* keeps the label optically centred against the 3px spine */
  box-shadow: 0 3px 12px 3px rgba(0, 0, 0, .19);
  transition: background-color 400ms ease-out, border-color 400ms ease-out;
}
.button-primary:hover { background: var(--action-hover); border-left-color: var(--violet-2); }
.button-secondary { background: transparent; border-color: var(--rule-strong); color: var(--ink); }
.button-secondary:hover { background: transparent; border-color: var(--ink-3); color: var(--ink); }
.button:focus-visible { outline: 2px solid var(--violet-2); outline-offset: 2px; }
