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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav_h) + 26px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.62;
  color: var(--text_secondary_color);
  background: var(--surface_color);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--text_primary_color);
  font-weight: 900;
  font-style: italic;
  line-height: 1.12;
  letter-spacing: -.035em;
}
p {
  margin: 0;
}
ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input {
  font: inherit;
  color: inherit;
}
table {
  border-collapse: collapse;
  width: 100%;
}

.sr_only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.skip_link {
  position: absolute;
  top: -70px;
  left: 14px;
  z-index: 300;
  padding: 10px 18px;
  border-radius: 10px;
  background: var(--primary_color);
  color: var(--on_primary_color);
  font-weight: 600;
  transition: top .2s var(--ease);
}
.skip_link:focus {
  top: 14px;
}
:focus-visible {
  outline: 3px solid var(--primary_color);
  outline-offset: 2px;
  border-radius: 6px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}
