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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--dj-font-body);
  color: var(--dj-ink);
  background: var(--dj-white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--dj-font-display);
  color: var(--dj-navy-900);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.12;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4.25rem);
}

h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
}

h3 {
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--dj-cyan-600);
  text-decoration: none;
  transition: color var(--dj-transition);
}

a:hover {
  color: var(--dj-cyan-500);
}

img {
  max-width: 100%;
  height: auto;
}

:focus-visible {
  outline: 3px solid var(--dj-cyan-400);
  outline-offset: 3px;
}

.dj-skip-link:focus {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 2000;
  width: auto;
  height: auto;
  padding: 0.75rem 1rem;
  clip: auto;
  overflow: visible;
  color: var(--dj-navy-950);
  background: var(--dj-amber-400);
  border-radius: var(--dj-radius-sm);
  font-weight: 700;
}

.form-label {
  font-weight: 600;
  color: var(--dj-navy-800);
  font-size: 0.92rem;
  margin-bottom: 0.4rem;
}

.form-control,
.form-select {
  border: 1px solid var(--dj-border);
  border-radius: var(--dj-radius-sm);
  padding: 0.72rem 0.95rem;
  color: var(--dj-ink);
  background-color: var(--dj-white);
  font-size: 0.98rem;
  transition: border-color var(--dj-transition), box-shadow var(--dj-transition);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--dj-cyan-500);
  box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.18);
}

.form-control::placeholder {
  color: #8a9aab;
}

.form-check-input:checked {
  background-color: var(--dj-cyan-600);
  border-color: var(--dj-cyan-600);
}

.form-check-input:focus {
  border-color: var(--dj-cyan-500);
  box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.18);
}

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
