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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 500;
  background: var(--color-bg-wash);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.65;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.12;
  color: var(--color-text);
}

h1 {
  font-size: var(--text-4xl);
}

h2 {
  font-size: clamp(var(--text-xl), 4.5vw, var(--text-3xl));
}

h3 {
  font-size: var(--text-xl);
  font-weight: 700;
}

p {
  margin: 0;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--color-accent);
}

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

button {
  font: inherit;
}

:focus-visible {
  outline: 0.15rem solid var(--color-accent);
  outline-offset: 0.15rem;
}

.text-accent {
  color: var(--color-accent);
}
