@import "tailwindcss";
@import "@fontsource-variable/inter";

/* === Design Tokens === */
@theme {
  --color-page: #0b0f19;
  --color-surface: #111827;
  --color-elevated: #1e293b;
  --color-border: #334155;
  --color-text-muted: #94a3b8;
  --color-text-secondary: #cbd5e1;
  --color-text-primary: #ffffff;
  --color-accent: #0d9488;
  --color-accent-hover: #0f766e;

  --font-sans: "Inter Variable", "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "SF Mono", Monaco, "Cascadia Code", "Fira Code", "Consolas", monospace;
}

/* === Base Styles === */
html {
  font-family: var(--font-sans);
  background-color: var(--color-page);
  color: var(--color-text-secondary);
}

body {
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--color-text-primary);
  font-weight: 600;
  line-height: 1.3;
}

/* === Scrollbar === */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--color-page);
}
::-webkit-scrollbar-thumb {
  background: var(--color-border);
  border-radius: 4px;
}

/* === Selection === */
::selection {
  background-color: var(--color-accent);
  color: var(--color-text-primary);
}
