/*
 * ═══════════════════════════════════════════════════════════════
 * COREDEVEX — BASE RESET
 * ═══════════════════════════════════════════════════════════════
 */

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

html {
  background-color: var(--navy-base);
  color: var(--cdx-white);
  font-family: var(--font-sans);
  font-weight: var(--weight-regular);
  font-size: 16px;
  line-height: 1.6;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  background-color: var(--navy-base);
  color: var(--cdx-white);
  font-family: var(--font-sans);
  font-weight: var(--weight-regular);
  line-height: 1.6;
}

/* Lists */
ul,
ol {
  list-style: none;
}

/* Responsive media */
img,
svg,
video {
  max-width: 100%;
  display: block;
}

/* Buttons */
button {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

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

/* Inputs */
input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

/* Tables */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* HR */
hr {
  border: none;
  border-top: 1px solid var(--border-dark);
}

/* Focus ring — accessibility */
:focus-visible {
  outline: 2px solid var(--cdx-accent);
  outline-offset: 2px;
  border-radius: var(--radius-ui);
}

/* Text selection */
::selection {
  background-color: rgba(59, 130, 246, 0.25);
  color: var(--cdx-white);
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: var(--navy-base);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.2);
}
