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

.bk-scope {
  color: var(--bk-text);
  font-family: var(--bk-font-ui);
  font-size: var(--bk-type-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.bk-scope :where(h1, h2, h3, h4, p, ul, ol, figure, fieldset) {
  margin-block: 0;
}

.bk-scope :where(ul, ol) {
  padding-inline-start: 0;
}

.bk-scope :where(button, input, select, textarea) {
  color: inherit;
  font: inherit;
}

.bk-scope :where(img, svg) {
  display: block;
  max-width: 100%;
}

.bk-scope :where(a) {
  color: inherit;
}

.bk-scope :where(button, a, input, select, textarea, [tabindex]):focus-visible {
  outline: 3px solid var(--bk-focus-ring);
  outline-offset: 3px;
}

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