/* Base reset and typography — staging body/h1–h3 */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  color: var(--color-body);
  background-color: var(--color-white);
  min-height: 100%;
  margin: 0;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  line-height: 140%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

button,
input,
select,
textarea {
  font-family: var(--font-body);
  font-size: inherit;
}

ul {
  list-style: none;
}

h1,
.h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--fs-h1);
  font-weight: 400;
  line-height: var(--lh-h1);
  color: inherit;
}

h2,
.h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: 400;
  line-height: var(--lh-h2);
  color: inherit;
}

h3,
.h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 400;
  line-height: var(--lh-h3);
  color: inherit;
}

.paragraph-large {
  font-size: 18px;
  line-height: 24px;
  font-weight: 400;
}

.paragraph-medium {
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
}

.paragraph-extra-large {
  font-size: 24px;
  line-height: 32px;
}

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

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

/* Staging .container: max 1440, pad 80/64 desktop */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding: 80px 64px 52px;
  box-sizing: border-box;
}

@media screen and (max-width: 991px) {
  .container {
    padding: 48px 32px;
  }
}

@media screen and (max-width: 767px) {
  .container {
    padding: 32px 16px;
  }

  .paragraph-large {
    font-size: 16px;
    line-height: 1.4em;
  }

  .paragraph-medium {
    font-size: 14px;
    line-height: 1.4em;
  }

  .paragraph-extra-large {
    font-size: 18px;
    line-height: 1.4em;
  }
}

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

.section-head {
  margin-bottom: 40px;
}

.section-head.is-center {
  text-align: center;
}

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