/* base.css - Reset, typography, accessibility */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--express-font);
  background-color: var(--express-background);
  color: var(--express-text);
  line-height: 1.65;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--express-heading);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

h1 {
  font-size: clamp(2rem, 3.8vw, 3.2rem);
}

h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.3rem);
  margin-bottom: 0.75rem;
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  margin-bottom: 0.5rem;
}

p {
  margin-bottom: 1rem;
}

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

a {
  color: var(--express-blue);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  color: var(--express-blue-dark);
}

img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

ul, ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

code, pre {
  font-family: var(--express-mono);
}

/* Accessibility Skip Link */
.skip-link {
  position: absolute;
  top: -60px;
  left: 20px;
  background: var(--express-orange);
  color: #FFFFFF;
  padding: 10px 18px;
  border-radius: var(--express-radius-sm);
  font-weight: 600;
  z-index: 99999;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 15px;
}

:focus-visible {
  outline: 3px solid var(--express-orange);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
