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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--scroll-offset-top);
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .nav-pill,
  .nav-pill__link,
  .nav-pill__signin,
  .nav-pill__register,
  .nav-pill__toggle {
    transition: none;
  }
}

body {
  min-height: 100dvh;
  font-family: var(--font-family);
  font-size: var(--text-base);
  line-height: 1.5;
  color: var(--color-text);
  background: var(--color-surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

.hero-carousel__slide {
  max-width: none;
}

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

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul,
ol {
  list-style: none;
}

::selection {
  background: rgba(10, 102, 194, 0.2);
  color: var(--color-text);
}

:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .step-card,
  .step-card__figure,
  .step-card__content,
  .step-card__desc,
  .step-card__cta,
  .step-card::before,
  .step-card::after,
  .step-card__figure::after {
    transition: none;
  }

  .hero-carousel__slide {
    transition: none;
    animation: none !important;
  }

  .hero-carousel--intro .hero-carousel__slide.is-active,
  .hero-carousel__slide.is-entering,
  .hero-carousel__slide.is-exiting {
    opacity: 100%;
    transform: none;
  }
}
