@tailwind base;
@tailwind components;
@tailwind utilities;

:root {
  --surface-0: #09090b;
  --surface-1: #111114;
  --surface-2: #1a1a1f;
  --surface-3: #232328;
  --brand: #3b82f6;
  --brand-dim: #2563eb;
  --text-primary: #fafafa;
  --text-secondary: #a1a1aa;
  --text-tertiary: #71717a;
  --text-code: #e879f9;
  --code-bg: #18181b;
  --code-border: #27272a;
}

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

html {
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-inter), -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-primary);
  background-color: var(--surface-0);
  overflow-x: hidden;
}

a {
  color: var(--brand);
  text-decoration: none;
  transition: color 150ms cubic-bezier(0.16, 1, 0.3, 1);
}

a:hover {
  color: var(--text-primary);
}

code {
  font-family: var(--font-mono), 'SFMono-Regular', Consolas, monospace;
  font-size: 0.875em;
  background-color: var(--code-bg);
  border: 1px solid var(--code-border);
  padding: 0.15em 0.4em;
  border-radius: 6px;
  color: var(--text-code);
}

/* Particle canvas */
#particle-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
