:root {
  color-scheme: light;
  --paper: #fafbf9;
  --ink: #202722;
  --body: #414b45;
  --accent: #255c48;
  --rule: #d3ddd5;
  --link-hover: #edf4ee;
  font-family: "Instrument Sans", system-ui, sans-serif;
}

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.65;
}

.page {
  max-width: 54rem;
  margin-inline: auto;
  padding: clamp(3.5rem, 10vw, 7rem) clamp(1.5rem, 5vw, 3rem) 4rem;
}

.intro {
  padding-bottom: clamp(2.5rem, 6vw, 3.75rem);
}

h1, h2 {
  font-family: "Spectral", Georgia, serif;
  font-weight: 400;
  line-height: 1.12;
  margin: 0;
}

h1 {
  font-size: clamp(2.8rem, 7vw, 4.25rem);
  letter-spacing: -0.04em;
}

.intro p {
  max-width: 37rem;
  margin: 1rem 0 0;
  font-size: clamp(1.0625rem, 2vw, 1.2rem);
}

strong {
  color: var(--ink);
  font-weight: 650;
}

p {
  color: var(--body);
}

.research-section {
  padding: 1.8rem 0 2rem;
  border-top: 1px solid var(--rule);
}

.research-section:last-child {
  border-bottom: 1px solid var(--rule);
}

h2 {
  color: var(--accent);
  font-size: clamp(1.55rem, 3.5vw, 1.85rem);
}

.research-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.95rem 1.75rem;
  align-items: start;
  margin-top: 1.15rem;
}

h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 650;
  line-height: 1.4;
}

.research-item p {
  max-width: 62ch;
  margin: 0.5rem 0 0;
}

.document-link {
  display: inline-block;
  justify-self: start;
  padding: 0.45rem 0.75rem;
  border: 1px solid var(--rule);
  border-radius: 0.25rem;
  color: var(--accent);
  font-size: 0.875rem;
  font-weight: 650;
  white-space: nowrap;
  text-decoration: none;
}

.document-link:hover {
  background: var(--link-hover);
  border-color: var(--accent);
}

.document-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

@media (max-width: 38rem) {
  .research-item {
    grid-template-columns: minmax(0, 1fr);
  }
}
