/* ── Linear / Raycast Obsidian Design Tokens ── */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600;700&display=swap');

:root {
  /* True Obsidian & Zinc Surface Palette */
  --bg-main: #08090d;
  --bg-card: #0f121a;
  --bg-card-subtle: #141824;
  --bg-card-hover: #191f2f;
  --bg-elevated: #1b2234;

  /* Hairline Borders & Glass */
  --border-hairline: rgba(255, 255, 255, 0.08);
  --border-subtle: rgba(255, 255, 255, 0.12);
  --border-hover: rgba(255, 255, 255, 0.22);
  --border-focus: #6366f1;
  --blur-glass: blur(20px);

  /* Typography */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  /* Ink Hierarchy */
  --ink-title: #ffffff;
  --ink-primary: #f1f5f9;
  --ink-secondary: #94a3b8;
  --ink-muted: #64748b;
  --ink-faint: #475569;

  /* Electric Accent Tokens */
  --accent-indigo: #6366f1;
  --accent-indigo-glow: rgba(99, 102, 241, 0.35);
  --accent-indigo-soft: rgba(99, 102, 241, 0.12);

  --accent-cyan: #06b6d4;
  --accent-cyan-glow: rgba(6, 182, 212, 0.3);
  --accent-cyan-soft: rgba(6, 182, 212, 0.12);

  --accent-emerald: #10b981;
  --accent-emerald-glow: rgba(16, 185, 129, 0.3);
  --accent-emerald-soft: rgba(16, 185, 129, 0.12);

  --accent-coral: #f43f5e;
  --accent-coral-glow: rgba(244, 63, 94, 0.3);
  --accent-coral-soft: rgba(244, 63, 94, 0.12);

  --accent-amber: #f59e0b;
  --accent-amber-glow: rgba(245, 158, 11, 0.3);
  --accent-amber-soft: rgba(245, 158, 11, 0.12);

  /* Shadows */
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.15);
  --shadow-lg: 0 25px 60px -15px rgba(0, 0, 0, 0.7);

  /* Radii */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-full: 9999px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  min-height: 100%;
}

body {
  background-color: var(--bg-main);
  background-image:
    radial-gradient(ellipse 60% 40% at 50% -10%, rgba(99, 102, 241, 0.18), transparent 70%),
    radial-gradient(ellipse 40% 30% at 90% 85%, rgba(6, 182, 212, 0.12), transparent 60%),
    radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 28px 28px;
  background-attachment: fixed;
  color: var(--ink-primary);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Custom Scrollbars */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: var(--r-full);
}
::-webkit-scrollbar-thumb:hover {
  background: #334155;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
