/* ==========================================================================
   Reset & Base Styles - FullDevGear
   ========================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  background-color: var(--color-background-light);
  color: var(--color-text-dark);
  font-family: 'Inter', 'Source Sans 3', sans-serif;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  transition: background-color var(--animation-duration-smooth) var(--animation-timing-smooth),
    color var(--animation-duration-smooth) var(--animation-timing-smooth);
  /* Always show scrollbars for accessibility */
  scrollbar-width: auto;
  -ms-overflow-style: auto;
}

/* Scrollbar styles for WebKit */
body::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

body::-webkit-scrollbar-track {
  background: #e0e0e0;
}

body::-webkit-scrollbar-thumb {
  background: #b3b3b3;
  border-radius: 6px;
}

body::-webkit-scrollbar-thumb:hover {
  background: #999;
}

html {
  scrollbar-width: auto;
  -ms-overflow-style: auto;
}

html::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Focus visibility */
:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
  background: #000;
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  z-index: 9999;
}

h1 {
  font-size: 2rem;
  font-weight: 900;
  margin: 0 1rem 1rem;
}

h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 1rem;
}