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

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: auto;
  /* GSAP handles smooth scrolling */
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: var(--body-lh);
  color: var(--black);
  background: var(--teal-white);
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: var(--heading-tracking);
  line-height: 1.05;
}


/* ============================================
   Focus-Visible — keyboard navigation feedback
   ============================================ */

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
  border-radius: 4px;
}

.footer :focus-visible {
  outline-color: var(--green);
}

/* Pill buttons get a matching rounded outline */
.btn:focus-visible {
  outline-offset: 4px;
  border-radius: var(--radius-full);
}

/* Nav toggle focus */
.nav__toggle:focus-visible {
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}


/* ============================================
   Reduced Motion — accessibility
   ============================================ */

@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;
  }
}