/* ============================================
   Lords of Lending - CSS Reset & Base Styles
   ============================================ */

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

/* HTML Base */
html {
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Body Base */
body {
  font-family: var(--font-sans);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.5;
  min-height: 100vh;
  letter-spacing: -0.01em;
  transition: background-color 0.2s ease, color 0.2s ease;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--color-bg);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb {
  background: var(--gradient-navy);
  border-radius: 5px;
  border: 2px solid var(--color-bg);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-primary);
}

/* Focus visible for accessibility */
:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* Image defaults */
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

/* Remove default list styles */
ul, ol {
  list-style: none;
}

/* Link reset */
a {
  text-decoration: none;
  color: inherit;
}

/* Button reset */
button {
  font: inherit;
  cursor: pointer;
  background: none;
  border: none;
}

/* Input reset */
input, textarea, select {
  font: inherit;
}
