*,
*::before,
*::after {
  box-sizing: border-box;
}
* {
  margin: 0;
  padding: 0;
}
html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}
html {
  scroll-padding-top: var(--sp-1);
}
@media (min-width: 900px) {
  html {
    scroll-padding-top: var(--sp-4);
  }
}
body {
  min-height: 100vh;
  background-color: var(--c-paper);
  color: var(--c-text);
  font-family: var(--ff-body);
  font-weight: var(--fw-regular);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  letter-spacing: var(--ls-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
h1,
h2,
h3 {
  font-family: var(--ff-heading);
  font-weight: var(--fw-bold);
  color: inherit;
}
h4 {
  font-family: var(--ff-body);
  font-weight: var(--fw-bold);
  color: inherit;
}
h1 { font-size: var(--fs-h1); line-height: var(--lh-h1); letter-spacing: var(--ls-h1); }
h2 { font-size: var(--fs-h2); line-height: var(--lh-h2); letter-spacing: var(--ls-h2); }
h3 { font-size: var(--fs-h3); line-height: var(--lh-h3); letter-spacing: var(--ls-h3); }
h4 { font-size: var(--fs-h4); line-height: var(--lh-h4); letter-spacing: var(--ls-h4); }
p {
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  letter-spacing: var(--ls-body);
}
a {
  color: var(--c-teal-deep);
  text-decoration: underline;
  text-underline-offset: 2px;
}
a:hover {
  text-decoration-thickness: 2px;
}
.is-on-dark a:not(.btn) {
  color: var(--c-paper-dim);
}
img,
svg,
video {
  max-width: 100%;
  height: auto;
  display: block;
}
table {
  max-width: 100%;
  border-collapse: collapse;
}
button {
  font-family: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}
input,
textarea {
  font-family: inherit;
  color: inherit;
}
ul,
ol {
  list-style: none;
}
:focus-visible {
  outline: 3px solid var(--c-primary);
  outline-offset: 2px;
}
.is-on-dark :focus-visible {
  outline-color: var(--c-accent-light);
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
    scroll-behavior: auto !important;
  }
  html {
    scroll-behavior: auto;
  }
}
