/* ==========================================================================
   Design System Tokens — Spectrum Piano (Laser Diode Component Portal)
   All wavelength colors are stored as CSS custom properties (tokens.colors.wavelength.*)
   ========================================================================== */

:root {
  /* Brand & Surface Palette (Clean Precision Photonics B2B Aesthetic) */
  --bg-page: #f8fafc;
  --bg-hero: #0b1120;
  --bg-hero-grad-end: #111b33;
  --bg-surface: #ffffff;
  --bg-surface-subtle: #f1f5f9;
  --bg-surface-dark: #152038;
  --border-subtle: #e2e8f0;
  --border-strong: #cbd5e1;
  --border-dark: rgba(148, 163, 184, 0.22);

  /* Text */
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --text-on-dark: #f8fafc;
  --text-on-dark-muted: #94a3b8;

  /* Brand Accent */
  --accent-primary: #2563eb;
  --accent-primary-hover: #1d4ed8;
  --accent-gold: #f59e0b;
  --accent-gold-bright: #fbbf24;
  --focus-ring: #38bdf8;

  /* tokens.colors.wavelength.* (Strict compliance with Section 3.1 Spec) */
  --wl-405: #8b00ff;        /* UV/Violet - Visible */
  --wl-450: #3b5cff;        /* Blue - Visible */
  --wl-462: #2e8bff;        /* Light Blue - Visible */
  --wl-520: #22c55e;        /* Green - Visible */
  --wl-638: #ff4040;        /* Red-Orange - Visible */
  --wl-650: #ff2d2d;        /* Red - Visible */
  --wl-780: #ff6a3d;        /* NIR Boundary - Agreed Orange */
  --wl-808: #ff7a1a;        /* NIR - Agreed Orange-Red */
  --wl-850: #ff8c42;        /* NIR - Agreed Light Orange */
  --wl-905: #c2410c;        /* NIR Core - Agreed Deep Orange */
  --wl-915-940: #a3330a;    /* NIR - Agreed Brown-Orange */
  --wl-980: #8a2a14;        /* NIR - Agreed Brown */
  --wl-1064: #5c1a0a;       /* NIR - Agreed Deep Brown */
  --wl-1535-1550: #1e1e2e;  /* SWIR Core - Obsidian + Gold Border */
  --wl-1535-1550-border: #f59e0b;

  /* Typography */
  --font-sans: "Inter", "PingFang SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", "Consolas", "SFMono-Regular", monospace;

  /* Radii & Shadows */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 6px 20px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 16px 40px rgba(15, 23, 42, 0.14);

  /* Layout */
  --container-max: 1320px;
  --nav-height: 68px;
}
