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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: var(--lh-body);
  color: var(--color-text);
  background: var(--color-bg-page);
  -webkit-font-smoothing: antialiased;
}

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

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

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

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 700;
  line-height: var(--lh-tight);
  color: var(--color-text);
}

p {
  margin: 0 0 var(--space-md);
}

p:last-child {
  margin-bottom: 0;
}

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

.site-wrap {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  background: var(--color-bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 0 28px rgba(0, 0, 0, 0.045);
}

.site-wrap > main {
  flex: 1;
}

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

.section {
  padding: var(--space-2xl) 0;
}

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

.section__label {
  display: inline-block;
  font-size: 24px;
  font-weight: 700;
  color: var(--color-nav-active);
  margin-bottom: var(--space-md);
  padding-bottom: 0.35rem;
  border-bottom: 2px solid var(--color-nav-active);
}

.section__title {
  display: inline-block;
  font-size: 24px;
  font-weight: 700;
  color: var(--color-nav-active);
  margin-bottom: var(--space-xl);
  padding-bottom: 0.35rem;
  border-bottom: 2px solid var(--color-nav-active);
}

.section__title--center {
  display: block;
  text-align: center;
  border-bottom: 0;
}

.section__title--center::after {
  content: "";
  display: block;
  width: 4.5rem;
  height: 2px;
  margin: 0.5rem auto 0;
  background: var(--color-nav-active);
}

.section__lead {
  max-width: 42rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-xl);
  margin-inline: auto;
  text-align: center;
  font-size: var(--fs-base);
}

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

:focus-visible {
  outline: 2px solid var(--color-nav-active);
  outline-offset: 3px;
}
