/* ==========================================================================
   NumOneList Design Tokens — Swiss Architectural Minimalism
   Aligned with Pure Engineering LLC and OpenMat: light-first square monochrome
   foundation with Inter + JetBrains Mono and restrained functional signals.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  color-scheme: light dark;

  &:has(> head > meta[name="color-scheme"][content="dark"]) {
    color-scheme: dark;
  }

  &:has(> head > meta[name="color-scheme"][content="light"]) {
    color-scheme: light;
  }

  /* Typography */
  --nol-font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --nol-font-mono: "JetBrains Mono", "DejaVu Sans Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Square architectural geometry */
  --nol-radius-editorial: 0px;
  --nol-radius-card: 0px;
  --nol-radius-control: 0px;
  --nol-shell-max: 72rem;

  /* Raw monochrome palette */
  --nol-white: #ffffff;
  --nol-paper: #f7f7f5;
  --nol-stone: #f0f0ec;
  --nol-carbon: #111111;
  --nol-obsidian: #0b0b0c;
  --nol-chalk: #f7f7f5;

  /* Semantic surfaces and ink */
  --nol-bg: light-dark(#ffffff, #0b0b0c);
  --nol-surface: light-dark(#f7f7f5, #161618);
  --nol-elevated: light-dark(#f0f0ec, #202024);
  --nol-hover: light-dark(#f5f5f2, #26262b);
  --nol-ink: light-dark(#111111, #f7f7f5);
  --nol-body: light-dark(#262626, #d4d4d8);
  --nol-muted: light-dark(#636363, #a1a1a6);
  --nol-line: light-dark(#e5e5e5, #2c2c31);
  --nol-frame: light-dark(#111111, #f7f7f5);
  --nol-accent: light-dark(#111111, #ffffff);
  --nol-on-accent: light-dark(#ffffff, #111111);

  /* Restrained functional status signals only */
  --nol-green: light-dark(#16794b, #2ba86c);
  --nol-green-tint: light-dark(#eaf7f0, #0f261c);
  --nol-amber: light-dark(#b45309, #e5a93b);
  --nol-amber-tint: light-dark(#fef5e7, #2b1f0b);
  --nol-red: light-dark(#c8232c, #e03e43);
  --nol-red-tint: light-dark(#fdecec, #2b1215);
}

:root[data-theme="light"] {
  color-scheme: light;
}

:root[data-theme="dark"] {
  color-scheme: dark;
}

@media (forced-colors: active) {
  :root {
    --nol-line: CanvasText;
    --nol-frame: CanvasText;
  }
}
