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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 1rem);
}

[id] {
  scroll-margin-top: calc(var(--header-height) + 1rem);
}

body {
  margin: 0;
  padding-top: var(--header-height);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--color-ink-800);
  background: var(--color-paper);
}

img {
  display: block;
  max-width: 100%;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
  user-select: none;
}

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

button,
input,
textarea {
  font: inherit;
}

.shell {
  width: var(--shell-width);
  margin-inline: auto;
}

.section-shell {
  position: relative;
  padding: var(--section-space) 0;
}

.section-shell--light {
  background: var(--color-paper-soft);
}

.section-shell--soft {
  background: var(--color-paper-soft);
}

.section-shell--muted {
  background: var(--color-paper-muted);
}
