html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  color: var(--color-text);
  background-color: var(--color-bg);
  background-image: var(--color-bg-pattern);
  background-attachment: fixed;
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  line-height: var(--line-normal);
}

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

a {
  color: var(--color-warm);
  text-underline-offset: 0.18em;
}

a:hover {
  color: #c93845;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 3px;
}

h1,
h2,
h3 {
  color: #44404a;
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: var(--line-tight);
}

h1 {
  font-size: var(--font-size-xl);
}

h2 {
  font-size: var(--font-size-lg);
}

h3 {
  font-size: var(--font-size-md);
}

p {
  color: var(--color-muted);
}

button {
  min-height: 2.5rem;
}

img {
  height: auto;
}

::selection {
  color: #ffffff;
  background: var(--color-purple-700);
}
