/* ============================================
   NEXR ARTS — Base Styles
   ============================================ */

body {
  font-family: var(--font-body);
  font-weight: var(--fw-regular);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--color-text-primary);
  background-color: var(--color-bg-primary);
  overflow-x: hidden;
}

/* --- Typography --- */

.heading-display {
  font-family: var(--font-heading);
  font-size: var(--fs-display);
  font-weight: var(--fw-bold);
  line-height: var(--lh-tight);
  letter-spacing: -0.02em;
}

.heading-1 {
  font-family: var(--font-heading);
  font-size: var(--fs-h1);
  font-weight: var(--fw-bold);
  line-height: var(--lh-heading);
  letter-spacing: -0.02em;
}

.heading-2 {
  font-family: var(--font-heading);
  font-size: var(--fs-h2);
  font-weight: var(--fw-semibold);
  line-height: var(--lh-heading);
  letter-spacing: -0.01em;
}

.heading-3 {
  font-family: var(--font-heading);
  font-size: var(--fs-h3);
  font-weight: var(--fw-semibold);
  line-height: var(--lh-heading);
}

.heading-4 {
  font-family: var(--font-heading);
  font-size: var(--fs-h4);
  font-weight: var(--fw-medium);
  line-height: var(--lh-heading);
}

.text-body {
  font-size: var(--fs-body);
  line-height: var(--lh-body);
}

.text-body-lg {
  font-size: var(--fs-body-lg);
  line-height: var(--lh-body);
}

.text-small {
  font-size: var(--fs-small);
  line-height: var(--lh-body);
}

.text-xs {
  font-size: var(--fs-xs);
  line-height: var(--lh-body);
}

.text-label {
  font-family: var(--font-heading);
  font-size: var(--fs-label);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.text-accent {
  color: var(--color-text-accent);
}

.text-secondary {
  color: var(--color-text-secondary);
}

.text-muted {
  color: var(--color-text-muted);
}

/* --- Links --- */

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

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

/* --- Selection --- */

::selection {
  background: var(--color-accent);
  color: #ffffff;
}

/* --- Scrollbar --- */

::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--color-bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--color-border-light);
  border-radius: 3px;
}

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

/* --- Focus --- */

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