@import url('https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,300;0,400;0,600;0,700;1,400&family=Merriweather:ital,wght@0,400;0,700;0,900;1,400;1,700&display=swap');

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--surface-page);
}

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.15;
  margin: 0 0 var(--space-3);
}

h1 { font-weight: 900; font-style: italic; font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-weight: 700; font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-style: normal; }
h3 { font-weight: 700; font-size: 1.15rem; font-family: var(--font-body); }

p { margin: 0 0 var(--space-3); color: var(--text-secondary); }

a { color: var(--text-link); text-decoration: none; }
a:hover, a:focus-visible { text-decoration: underline; }

.eyebrow {
  font-family: var(--font-body);
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  color: var(--aims-red);
  display: block;
  margin-bottom: var(--space-2);
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--space-5);
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

:focus-visible {
  outline: 3px solid var(--aims-red);
  outline-offset: 2px;
}

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

table { border-collapse: collapse; width: 100%; }

button {
  font-family: var(--font-body);
  cursor: pointer;
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
