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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-black);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
}

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

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

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

p {
  margin: 0 0 1em;
  color: var(--color-text);
}

h1,
h2,
h3,
h4,
h5 {
  margin: 0 0 0.4em;
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-black);
}

h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  line-height: 1.4;
}

h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.75rem, 3.2vw, 2.8125rem); /* ~45px */
  line-height: 1.25;
}

h3 {
  font-size: 1.35rem;
  font-weight: 500;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.eyebrow,
.section-eyebrow,
p.section-eyebrow,
h3.section-eyebrow {
  color: var(--color-accent-text);
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
  text-transform: none;
  font-family: var(--font-body);
}

.underline-word {
  color: var(--color-accent-text);
  background: url("../assets/brand/underline.svg") no-repeat bottom center;
  background-size: 100% auto;
  padding-bottom: 6px;
  display: inline-block;
}

.section {
  padding: var(--space-section) 20px;
}

.section--surface {
  background: var(--color-surface);
}

.container {
  width: min(100%, var(--container));
  margin-inline: auto;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2.5rem;
}

.section-head--center {
  text-align: center;
  margin-inline: auto;
}
