* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #fbfdff;
  color: var(--ink);
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

small {
  font-size: 15px;
  line-height: 1.5;
}

p,
a,
span,
strong,
small,
label,
summary,
dt,
dd,
li {
  font-family: var(--font-primary);
}

button,
input,
select,
textarea {
  font: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font-family: inherit;
}

button {
  color: inherit;
}

.container {
  width: min(calc(100% - 48px), var(--container-max-width));
  margin-inline: auto;
}

@media (max-width: 560px) {
  .container {
    width: min(calc(100% - 28px), var(--container-max-width));
  }
}