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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 1rem);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--background);
  color: var(--foreground);
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body,
button {
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
}

h1,
h2,
h3,
p,
figure,
blockquote {
  margin: 0;
}

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

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

button {
  border: 0;
}

img,
svg {
  display: block;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

strong {
  font-weight: 700;
}

::selection {
  background: var(--brand);
  color: var(--ink);
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  border: 0;
  white-space: nowrap;
}

.site-main {
  overflow: hidden;
  background: #fff;
}

.site-container {
  width: 100%;
  margin-inline: auto;
  padding-inline: var(--page-gutter);
}

.site-container--hero {
  max-width: var(--container-hero);
}

.site-container--wide {
  max-width: var(--container-wide);
}

.site-container--content {
  max-width: var(--container-content);
}

.site-container--narrow {
  max-width: var(--container-narrow);
}

.site-section {
  padding-block: var(--section-space);
}

.site-section--topless {
  padding-top: 0;
}

.scroll-mt-header {
  scroll-margin-top: calc(var(--header-height) + 1rem);
}

.heading-1,
.heading-2 {
  font-weight: 800;
  letter-spacing: -0.045em;
}

.heading-1 {
  font-size: 3rem;
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.heading-2 {
  font-size: 2.25rem;
  line-height: 1.08;
}

.icon {
  width: 1.5rem;
  height: 1.5rem;
  flex: 0 0 auto;
}

.icon--small {
  width: 1.25rem;
  height: 1.25rem;
}

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

@media (max-width: 25rem) {
  .heading-1 {
    font-size: 2.5rem;
  }
}

@media (min-width: 40rem) {
  .site-section--tight {
    padding-block: 7rem;
  }

  .heading-1 {
    font-size: 3.75rem;
  }

  .heading-2 {
    font-size: 3rem;
  }
}

@media (min-width: 64rem) {
  .heading-2--large {
    font-size: 3.75rem;
    line-height: 1.05;
  }
}

@media (min-width: 80rem) {
  .heading-1 {
    font-size: 5.4rem;
  }
}
