/* Origion design tokens · v2 · generated from the Origion design system (tokens.json)
   Load once, before any other stylesheet:
     <link rel="stylesheet" href="origion-tokens.css">
   Themes: light is the default. Put data-theme="dark" on any section (or <html>) to switch it.
   Do not edit values here; change them in the design system and re-export. */

@import url("https://fonts.googleapis.com/css2?family=Instrument+Sans:ital,wdth,wght@0,75..100,400..700;1,75..100,400..700&family=IBM+Plex+Mono:wght@300;400;500;600&display=swap");

:root,
[data-theme="light"] {
  color-scheme: light;
  --ink: #ffffff;
  --ink-2: #ffffff;
  --panel: #ffffff;
  --line: #e3e6e5;
  --line-2: #c9cecd;
  --fg: #111313;
  --fg-2: #454b4a;
  --fg-3: #626968;
  --mute: #8a9190;
  --signal: #0e6b65;
  --signal-soft: rgba(14,107,101,0.12);
  --amber: #9a5200;
  --amber-soft: rgba(154,82,0,0.14);
  --resolved: #467314;
  --resolved-fill: #8dc63f;
  --on-resolved: #111313;
  --resolved-soft: rgba(141,198,63,0.18);
  --accent: #111313;
  --on-accent: #f5f6f5;
  --hl: #0e8c83;
  --brand-teal: #16a79d;
  --amber-graphic: #c77700;
  --amber-tint: #fff6ea;
  --surface-stack: #f4f5f5;
  --hair-stack: #dde1e0;
  --viz-tint: #eaf4f3;
}

[data-theme="dark"] {
  color-scheme: dark;
  --ink: #0b0c0c;
  --ink-2: #111313;
  --panel: #161919;
  --line: #242828;
  --line-2: #333939;
  --fg: #f5f6f5;
  --fg-2: #b9bebd;
  --fg-3: #8c9291;
  --mute: #5e6564;
  --signal: #16a79d;
  --signal-soft: rgba(22,167,157,0.12);
  --amber: #f2a541;
  --amber-soft: rgba(242,165,65,0.14);
  --resolved: #8dc63f;
  --resolved-soft: rgba(141,198,63,0.14);
  --accent: #16a79d;
  --on-accent: #0b0c0c;
  --hl: #16a79d;
  --amber-graphic: #f2a541;
}

:root {
  /* Type */
  --font-display: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* Spacing (4px scale) */
  --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;
  --space-32: 128px;
  --space-44: 176px;

  /* Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-pill: 999px;

  /* Elevation */
  --elevation-1: 0 1px 2px rgba(11,12,12,0.04), 0 8px 24px -12px rgba(11,12,12,0.12);
  --elevation-2: 0 8px 22px -12px rgba(11,12,12,0.35);
  --elevation-3: 0 30px 80px -40px rgba(11,12,12,0.35);

  /* Motion */
  --duration-fast: 150ms;
  --duration-base: 250ms;
  --duration-slow: 500ms;
  --duration-connect: 900ms;
  --duration-scene: 700ms;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-connect: cubic-bezier(0.34, 1.36, 0.64, 1);

  /* Compatibility with the current index.html (remove once migrated) */
  --radius: var(--radius-sm);
  --f-display: var(--font-display);
  --f-body: var(--font-body);
  --f-mono: var(--font-mono);
}

[data-theme] { background: var(--ink); color: var(--fg); }

@media (prefers-reduced-motion: reduce) {
  :root {
    --duration-fast: 0ms; --duration-base: 0ms; --duration-slow: 0ms;
    --duration-connect: 0ms; --duration-scene: 0ms;
  }
}
