* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'IBM Plex Sans', sans-serif;
  background: #050506;
  color: #e4e4e7;
  -webkit-font-smoothing: antialiased;
}
.font-mono, pre, code, input {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
}

/* scrollbars */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: #0a0a0b; }
::-webkit-scrollbar-thumb { background: #27272a; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #3f3f46; }

/* page load fade */
.fade-in {
  animation: fadeIn 0.35s ease-out both;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.hover\:bg-neutral-850:hover { background: #1a1a1d; }

input:focus {
  box-shadow: 0 0 0 1px #3f3f46;
}

pre {
  margin: 0;
  scrollbar-width: thin;
}

/* subtle grid atmosphere on main */
main {
  background-image:
    radial-gradient(circle at 15% 10%, rgba(16,185,129,0.03), transparent 40%),
    radial-gradient(circle at 85% 90%, rgba(244,63,94,0.03), transparent 40%);
}