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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 20rem;
  font-family: var(--font-sans);
  line-height: 1.5;
  color: var(--color-text);
  background:
    radial-gradient(circle at top, rgb(15 118 110 / 0.08), transparent 28rem),
    linear-gradient(180deg, #fbfaf5 0%, var(--color-bg) 100%);
}

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

a {
  color: inherit;
}

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

h1,
h2,
h3 {
  font-family: var(--font-sans);
  line-height: 1.1;
}

h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}

h3 {
  font-size: 1.25rem;
}

p,
label,
input,
textarea,
button {
  font-size: 1rem;
}

:focus-visible {
  outline: 3px solid rgb(15 118 110 / 0.45);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
