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

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

body {
  margin: 0;
  min-width: 320px;
  background: var(--ink-950);
  color: var(--fog-100);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body.is-locked {
  overflow: hidden;
}

img,
picture,
svg,
canvas {
  display: block;
  max-width: 100%;
}

button,
input,
textarea,
select {
  font: inherit;
}

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

button {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
}

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

ul,
ol {
  margin: 0;
  padding: 0;
}

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

[hidden] {
  display: none !important;
}

::selection {
  background: rgba(0, 215, 122, 0.28);
  color: var(--fog-50);
}

:focus-visible {
  outline: 2px solid var(--brand-strong);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 2000;
  inset: 12px auto auto 12px;
  padding: 10px 14px;
  background: var(--brand);
  color: var(--ink-950);
  font-weight: 800;
  transform: translateY(-160%);
  transition: transform var(--duration) var(--ease-out);
}

.skip-link:focus {
  transform: translateY(0);
}
