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

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  background-color: var(--background);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "cv11", "ss01";
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-weight: 600;
  color: var(--text);
}
h1 { letter-spacing: -0.02em; line-height: 1.15; }
h2 { letter-spacing: -0.015em; line-height: 1.2; }
h3, h4, h5, h6 { letter-spacing: -0.01em; line-height: 1.3; }

p { margin: 0; }

a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.15s var(--ease);
}
a:hover { color: var(--unique); }

.mono {
  font-family: var(--font-mono);
  font-feature-settings: "tnum";
  letter-spacing: 0;
}

img, video {
  max-width: 100%;
  display: block;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

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

hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 24px 0;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.page {
  padding-top: 32px;
  padding-bottom: 64px;
}

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

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
