/* Design tokens — ported from the original Tailwind v4 app/globals.css theme */
:root {
  /* Dark engineering theme — always dark */
  --background: oklch(0.1 0.01 240);       /* slate-950 */
  --foreground: oklch(0.93 0.005 240);     /* slate-100 */
  --card: oklch(0.14 0.015 240);           /* slate-900 */
  --card-foreground: oklch(0.93 0.005 240);
  --popover: oklch(0.14 0.015 240);
  --popover-foreground: oklch(0.93 0.005 240);
  --primary: oklch(0.72 0.2 160);          /* emerald-500 */
  --primary-foreground: oklch(0.1 0.01 240);
  --secondary: oklch(0.18 0.012 240);      /* slate-800 */
  --secondary-foreground: oklch(0.93 0.005 240);
  --muted: oklch(0.18 0.012 240);
  --muted-foreground: oklch(0.55 0.01 240);
  --accent: oklch(0.7 0.18 35);            /* orange accent */
  --accent-foreground: oklch(0.1 0.01 240);
  --destructive: oklch(0.577 0.245 27.325);
  --destructive-foreground: oklch(0.985 0 0);
  --border: oklch(0.22 0.01 240);
  --input: oklch(0.22 0.01 240);
  --ring: oklch(0.72 0.2 160);
  --radius: 0.5rem;
  --radius-sm: calc(var(--radius) - 4px);
  --radius-md: calc(var(--radius) - 2px);
  --radius-lg: var(--radius);
  --radius-xl: calc(var(--radius) + 4px);
  --radius-full: 999px;

  /* Custom brand tokens */
  --slate-surface: oklch(0.14 0.015 240);
  --slate-elevated: oklch(0.18 0.012 240);

  --font-sans: 'Geist', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-mono: 'Geist Mono', ui-monospace, 'SF Mono', 'Cascadia Code', monospace;

  /* Spacing scale — 0.25rem (4px) base unit, named after the multiplier */
  --space-0-5: 0.125rem;
  --space-0-75: 0.1875rem;
  --space-1: 0.25rem;
  --space-1-5: 0.375rem;
  --space-2: 0.5rem;
  --space-2-5: 0.625rem;
  --space-3: 0.75rem;
  --space-3-5: 0.875rem;
  --space-4: 1rem;
  --space-4-5: 1.125rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-9: 2.25rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-14: 3.5rem;
  --space-16: 4rem;
  --space-19: 4.75rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-28: 7rem;
  --space-32: 8rem;
  --space-40: 10rem;

  /* Font-size scale */
  --text-2xs: 0.6875rem;
  --text-xs: 0.75rem;
  --text-sm: 0.8125rem;
  --text-base-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;
  --text-7xl: 4.5rem;

  /* Content measures */
  --measure-sm: 20rem;
  --measure-md: 32rem;
  --measure-lg: 36rem;
  --measure-xl: 42rem;
  --measure-2xl: 48rem;
  --measure-3xl: 64rem;
  --measure-4xl: 72rem;

  /* color-mix tint stops — percentage of a theme color mixed with transparent/border */
  --tint-5: 5%;
  --tint-6: 6%;
  --tint-10: 10%;
  --tint-12: 12%;
  --tint-15: 15%;
  --tint-20: 20%;
  --tint-30: 30%;
  --tint-40: 40%;
  --tint-45: 45%;
  --tint-50: 50%;
  --tint-60: 60%;
  --tint-70: 70%;
  --tint-80: 80%;
  --tint-90: 90%;
  --tint-95: 95%;

  /* Decorative background opacity levels (grid/glow overlays) */
  --opacity-grid-subtle: 0.02;
  --opacity-grid: 0.025;
  --opacity-grid-strong: 0.03;
  --opacity-grid-strongest: 0.04;
  --opacity-hover: 0.9;
  --opacity-pulse-dim: 0.4;

  /* Letter-spacing */
  --tracking-tight: 0.02em;
  --tracking-wide: 0.05em;
  --tracking-widest: 0.15em;

  /* Line-height */
  --leading-none: 1;
  --leading-tight: 1.15;
  --leading-snug: 1.3;
  --leading-normal: 1.5;
  --leading-relaxed: 1.7;

  /* Layout */
  --z-content: 10;
  --z-navbar: 50;

  /*
   * Breakpoints (documentation only — CSS custom properties cannot be
   * substituted inside @media conditions without a preprocessor):
   *   --bp-sm: 640px;
   *   --bp-md: 768px;
   *   --bp-lg: 1024px;
   */
}
