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

html {
  font-size: var(--font-scale);
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Accessibility Skip Link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 10px;
  background: var(--gov-blue);
  color: #fff;
  padding: 8px 16px;
  z-index: 10000;
  text-decoration: none;
  font-weight: bold;
  border-radius: var(--radius-sm);
  transition: top var(--transition-fast);
}

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

/* Focus styles for keyboard accessibility */
:focus-visible {
  outline: 3px solid var(--agua-teal);
  outline-offset: 2px;
}

a {
  color: var(--gov-blue);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--agua-teal);
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--gov-blue);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

main {
  flex: 1;
}
