:root {
  color-scheme: light;
  @media (prefers-color-scheme: dark) {
    color-scheme: dark;
  }
}

body {
  font-family: system-ui, sans-serif;
}

*,
::before,
::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
  -webkit-overflow-scrolling: touch;
  @media (prefers-reduced-motion) {
    transition: none !important;
    animation: none !important;
  }
}

button,
input,
optgroup,
select,
textarea {
  -webkit-appearance: none;
  appearance: none;
  font: inherit;
  color: inherit;
  margin: 0;
  border: none;
  padding: 0;
  background: none;
}
button:enabled,
select:enabled {
  cursor: pointer;
}
a {
  text-decoration: unset;
  color: unset;
}

.link {
  color: LinkText;
  text-decoration: underline;
  text-decoration-color: color-mix(
    in srgb,
    currentColor 20%,
    transparent
  );
  &:hover {
    text-decoration-color: currentColor;
  }
}
