/* ==========================================================================
   Base Styles
   ========================================================================== */

body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  color: var(--text);
  background-color: var(--bg);
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--neutral-900);
}

h1 { font-size: var(--fs-4xl); }
h2 { font-size: var(--fs-3xl); }
h3 { font-size: var(--fs-2xl); }
h4 { font-size: var(--fs-xl); }
h5 { font-size: var(--fs-lg); }

p {
  margin-bottom: var(--sp-4);
  color: var(--neutral-800);
  line-height: 1.7;
}

p:last-child {
  margin-bottom: 0;
}

a {
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--primary);
}

strong {
  font-weight: 600;
}

::selection {
  background-color: var(--primary);
  color: var(--white);
}

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

img {
  border-radius: var(--radius);
}

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

::-webkit-scrollbar-track {
  background: var(--neutral-100);
}

::-webkit-scrollbar-thumb {
  background: var(--neutral-400);
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--neutral-500);
}
