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

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

body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  color: var(--text-secondary);
  background: var(--bg-primary);
  line-height: 1.5;
  min-height: 100vh;
}

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

h1 { font-size: var(--text-2xl); }
h2 { font-size: var(--text-xl); }
h3 { font-size: var(--text-lg); }
h4 { font-size: var(--text-base); }

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

code, .mono {
  font-family: var(--font-mono);
}

input, select, textarea, button {
  font-family: inherit;
  font-size: inherit;
}

::selection {
  background: rgba(108, 92, 231, 0.3);
  color: var(--text-primary);
}

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--border-active);
  border-radius: 3px;
}
