/* ============================================================
   FABIUS — CSS Reset & Base Styles
   ============================================================ */

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

html {
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  text-size-adjust: 100%;
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--fab-font-sans);
  font-size: var(--fab-fs-base);
  font-weight: var(--fab-fw-normal);
  line-height: var(--fab-lh-normal);
  color: var(--fab-text-0);
  background: var(--fab-bg-0);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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: var(--fab-shield-blue);
  text-decoration: none;
  transition: color var(--fab-duration) var(--fab-ease);
}

a:hover {
  color: var(--fab-shield-light);
}

h1, h2, h3, h4, h5, h6 {
  font-weight: var(--fab-fw-semi);
  line-height: var(--fab-lh-tight);
  color: var(--fab-text-0);
}

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

:focus-visible {
  outline: 2px solid var(--fab-border-focus);
  outline-offset: 2px;
}

::selection {
  background: var(--fab-shield-blue);
  color: white;
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--fab-bg-1);
}

::-webkit-scrollbar-thumb {
  background: var(--fab-border-light);
  border-radius: var(--fab-radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--fab-text-2);
}
