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

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

body {
  background-color: var(--color-canvas);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: 1.65;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--color-ink);
}

h2, h3 {
  letter-spacing: -0.015em;
}

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

a:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(212, 168, 83, 0.12);
  border-radius: 2px;
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  font-family: inherit;
}

/* Enforce the HTML hidden attribute — author display declarations can otherwise
   win the specificity race against the UA stylesheet's [hidden] { display: none } */
[hidden] { display: none !important; }
