/* ============================================================
   BILHON OS Design System v2.0 — Reset
   Modern CSS reset for dark-mode premium UI.
   ============================================================ */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bl-bg-primary);
  color: var(--bl-text-primary);
  font-family: var(--bl-font-sans);
  font-size: var(--bl-text-base);
  line-height: var(--bl-leading-normal);
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

input, button, textarea, select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

h1, h2, h3, h4, h5, h6, p {
  overflow-wrap: break-word;
}

/* ── Scrollbar ── */
::-webkit-scrollbar {
  width: var(--bl-scroll-width);
  height: var(--bl-scroll-width);
}

::-webkit-scrollbar-track {
  background: var(--bl-scroll-track);
}

::-webkit-scrollbar-thumb {
  background: var(--bl-scroll-thumb);
  border-radius: var(--bl-radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--bl-scroll-hover);
}

* {
  scrollbar-width: thin;
  scrollbar-color: var(--bl-scroll-thumb) transparent;
}

/* ── Selection ── */
::selection {
  background: rgba(var(--bl-accent-rgb), 0.3);
  color: var(--bl-text-primary);
}

/* ── Focus ── */
:focus-visible {
  outline: 2px solid var(--bl-accent);
  outline-offset: 2px;
}
