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

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.65;
  background:
    radial-gradient(900px 420px at 0% -10%, rgba(255, 255, 255, 0.85), transparent 55%),
    linear-gradient(180deg, #f7f3eb 0%, #efe6da 100%);
  -webkit-font-smoothing: antialiased;
}

body.is-locked {
  overflow: hidden;
}

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

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

button {
  cursor: pointer;
}

h1,
h2,
h3,
p,
ul {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

::selection {
  background: #d5e4d4;
}

:focus-visible {
  outline: 2px solid var(--sage-deep);
  outline-offset: 2px;
}

.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;
}

.boot-error {
  width: min(640px, calc(100% - 32px));
  margin: 24px auto;
  padding: 16px 18px;
  border-radius: 16px;
  background: #f6e4e1;
  color: var(--danger);
}
