/* Document and container defaults, plus motion accessibility. */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 125px;
}

body {
  margin: 0;
  background: var(--color-white);
  color: var(--color-text);
  font: 17px/1.85 var(--font-body);
  -webkit-font-smoothing: antialiased;
}

button,
input {
  font: inherit;
  color: inherit;
}

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

button {
  cursor: pointer;
}

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

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

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

h1,
h2,
h3,
h4 {
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -.035em;
}

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

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

.wrap {
  max-width: 1320px;
  padding: 0 56px;
  margin-inline: auto;
}

[hidden] {
  display: none!important;
}

:focus-visible {
  outline: 3px solid #e39817;
  outline-offset: 5px;
}

@media (max-width:800px) {
  html {
    scroll-padding-top: 105px;
  }
}

@media (prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *:before,
  *:after {
    animation: none!important;
    transition: none!important;
  }
}

body {
  font-size: 1.0625rem;
  line-height: 1.85;
}
