/* Base */
:root {
  color-scheme: light dark;
}

html {
  scroll-behavior: smooth;
}

/* Scrollbar for section containers (webkit) */
*::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
*::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 9999px;
}
.dark *::-webkit-scrollbar-thumb {
  background: #475569;
}
*::-webkit-scrollbar-track {
  background: transparent;
}

/* Active nav link state (used by scrollspy) */
a[data-nav].active {
  background: rgba(59, 130, 246, 0.12);
  color: rgb(37, 99, 235);
}

/* Small helpers */
.backdrop-blur { backdrop-filter: saturate(180%) blur(6px); }

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}


