*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  min-height: 100dvh;
  background-color: var(--bl-color-bg);
  color: var(--bl-color-text);
  font-family: var(--bl-font-sans);
  font-size: var(--bl-text-body);
  line-height: 1.45;
}

h1,
h2,
h3,
h4,
p,
figure {
  margin: 0;
}

a {
  color: var(--bl-color-accent);
  text-decoration: none;
}

a:hover {
  color: var(--bl-violet-ink);
}

img,
svg {
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

button[disabled],
a[aria-disabled="true"] {
  cursor: not-allowed;
}

textarea {
  resize: vertical;
}

:focus-visible {
  outline: 2px solid var(--bl-color-accent);
  outline-offset: 2px;
}

::placeholder {
  color: var(--bl-color-text-faint);
  opacity: 1;
}

* {
  scrollbar-width: thin;
  scrollbar-color: var(--bl-color-border) transparent;
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-thumb {
  background-color: var(--bl-color-border);
  border-radius: 5px;
}

::-webkit-scrollbar-track {
  background-color: transparent;
}

.is-hidden {
  display: none;
}

.bl-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none;
    transition: none;
  }
}
