/* Lumetix AI — generated from tokens.json of the Lumetix AI design system
   (https://claude.ai/artifact/LNazhASqysqWBmu61Sq3eR). Change values there, then regenerate.
   This is the site copy of design/tokens.css: the same file with font paths pointing to ../fonts/.

   Fonts are self-hosted in ../fonts/: nothing loads from Google.
   Orbitron (headings) and Saira (text) are OFL, see ../fonts/OFL-*.txt. Orbitron covers Latin only,
   Saira Latin and Latin Extended. Conthrax, the wordmark's face, is NOT a webfont here: its free
   desktop licence doesn't allow embedding in websites, so it appears only inside the logo files.

   Theme: follows the OS (prefers-color-scheme); force one with <html data-theme="light|dark">. */

/* Orbitron, variable weight 400–900 in one file; headings use 600 */
@font-face {
  font-family: "Orbitron";
  src: url("../fonts/orbitron-latin.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
  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;
}

/* Saira, variable weight (400 and 600 come from the same file); subsets and ranges as Google Fonts serves them */
@font-face {
  font-family: "Saira";
  src: url("../fonts/saira-latin-ext.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
  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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Saira";
  src: url("../fonts/saira-latin.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
  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;
}

:root {
  color-scheme: light;

  /* Brand: exact values from the logo files */
  --lumetix-ink: #282828;
  --lumetix-white: #ffffff;
  --spectrum-000: #00ffdd;
  --spectrum-016: #2bcae4;
  --spectrum-039: #6383ee;
  --spectrum-060: #904bf5;
  --spectrum-078: #b123fa;
  --spectrum-091: #c50afe;
  --spectrum-100: #cc01ff;
  --backdrop-000: var(--spectrum-000);
  --backdrop-002: #06f8de;
  --backdrop-030: #4ba1ea;
  --backdrop-055: #825df3;
  --backdrop-076: #aa2bf9;
  --backdrop-091: #c30cfd;
  --backdrop-100: var(--spectrum-100);

  /* Interface: light theme */
  --surface: var(--lumetix-white);
  --surface-raised: #f5f5f5;
  --line: #e5e5e5;
  --line-strong: #8a8a8a;
  --text: var(--lumetix-ink);
  --text-muted: #5c5c5c;
  --accent: var(--spectrum-060);
  --on-accent: var(--lumetix-white);
  --shadow-md: 0 8px 24px #2828281f, 0 1px 2px #28282814;
  --focus-ring: 0 0 0 2px #ffffff, 0 0 0 4px #904bf5;

  /* Gradients */
  --gradient-spectrum: linear-gradient(180deg, #00ffdd 0%, #2bcae4 16%, #6383ee 39.03%, #904bf5 59.78%, #b123fa 77.5%, #c50afe 91.48%, #cc01ff 100%);
  --gradient-backdrop: linear-gradient(180deg, #00ffdd 0%, #06f8de 2.33%, #4ba1ea 30.44%, #825df3 55.22%, #aa2bf9 75.76%, #c30cfd 91.28%, #cc01ff 100%);
  --gradient-tile: linear-gradient(180deg, #4f9ceb 0%, #825df3 44.23%, #aa2bf9 84.04%, #b71bfb 100%);

  /* Type */
  --font-display: Orbitron, Saira, system-ui, sans-serif;
  --font-sans: Saira, system-ui, sans-serif;

  /* Spacing */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --space-16: 64px;
  --space-24: 96px;

  /* Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-full: 9999px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --surface: var(--lumetix-ink);
    --surface-raised: #333333;
    --line: #3d3d3d;
    --line-strong: #808080;
    --text: var(--lumetix-white);
    --text-muted: #b3b3b3;
    --accent: var(--spectrum-016);
    --on-accent: var(--lumetix-ink);
    --shadow-md: 0 8px 24px #00000099;
    --focus-ring: 0 0 0 2px #282828, 0 0 0 4px #2bcae4;
  }
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --surface: var(--lumetix-ink);
  --surface-raised: #333333;
  --line: #3d3d3d;
  --line-strong: #808080;
  --text: var(--lumetix-white);
  --text-muted: #b3b3b3;
  --accent: var(--spectrum-016);
  --on-accent: var(--lumetix-ink);
  --shadow-md: 0 8px 24px #00000099;
  --focus-ring: 0 0 0 2px #282828, 0 0 0 4px #2bcae4;
}

/* Type styles: Display group sets in Orbitron 600, Text group in Saira */
.type-display { font-family: var(--font-display); font-size: 64px; line-height: 68px; font-weight: 600; }
.type-h1 { font-family: var(--font-display); font-size: 44px; line-height: 52px; font-weight: 600; }
.type-h2 { font-family: var(--font-display); font-size: 32px; line-height: 40px; font-weight: 600; }
.type-h3 { font-family: var(--font-display); font-size: 22px; line-height: 30px; font-weight: 600; }
.type-eyebrow { font-family: var(--font-display); font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; }
.type-lead { font-family: var(--font-sans); font-size: 20px; line-height: 32px; font-weight: 400; }
.type-body { font-family: var(--font-sans); font-size: 17px; line-height: 28px; font-weight: 400; }
.type-small { font-family: var(--font-sans); font-size: 14px; line-height: 22px; font-weight: 400; }
.type-label { font-family: var(--font-sans); font-size: 15px; line-height: 20px; font-weight: 600; }

/* Below 600px: display steps down to h1 size, h1 to h2 size */
@media (max-width: 599.98px) {
  .type-display { font-size: 44px; line-height: 52px; }
  .type-h1 { font-size: 32px; line-height: 40px; }
}

/* Keyboard focus: a 2px gap in the page colour, then 2px of accent */
:focus-visible { outline: none; box-shadow: var(--focus-ring); }
