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

html { font-size: 14px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: #818cf8; }

code {
  font-family: var(--mono);
  font-size: 0.9em;
  color: var(--accent);
}

::selection {
  background: rgba(99,102,241,0.25);
  color: var(--text);
}

::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--border-hi); }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.placeholder {
  text-align: center;
  padding: 5rem 2rem;
  color: var(--text-dim);
  font-size: 0.95rem;
}
