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

html {
  color-scheme: dark;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  touch-action: manipulation;
}

body {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  font-family: var(--ds-font-body);
  font-size: var(--ds-text-base);
  line-height: var(--ds-line-height-base);
  color: var(--ds-ink-700);
  background-color: var(--ds-backdrop);
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

h1, h2, h3, h4, h5, h6 {
  text-wrap: balance;
  line-height: 1.25;
}

a {
  color: var(--ds-seal-600);
}

a:hover {
  color: var(--ds-seal-400);
}

a:focus-visible {
  outline: 2px solid var(--ds-seal-400);
  outline-offset: 2px;
}

img, video, svg {
  max-width: 100%;
}

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