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

html {
  font-size: 100%;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--bm-bg);
  color: var(--bm-ink);
  font-family: var(--bm-font-sans);
  font-size: var(--bm-text-base);
  font-weight: var(--bm-weight-regular);
  line-height: var(--bm-leading-normal);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
}

.bm-skip-link {
  position: absolute;
  top: -999px;
  left: var(--bm-space-4);
  background: var(--bm-brand);
  color: var(--bm-surface);
  padding: var(--bm-space-3) var(--bm-space-6);
  border-radius: var(--bm-radius-sm);
  font-weight: var(--bm-weight-medium);
  font-size: var(--bm-text-sm);
  z-index: var(--bm-z-modal);
  text-decoration: none;
  transition: top var(--bm-duration-fast) var(--bm-ease-standard);
}

.bm-skip-link:focus {
  top: var(--bm-space-4);
  box-shadow: var(--bm-focus-ring);
}

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

svg {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

.bm-svg {
  width: 1.25rem;
  height: 1.25rem;
}

.bm-svg--xs {
  width: 0.75rem;
  height: 0.75rem;
}

.bm-svg--sm {
  width: 1rem;
  height: 1rem;
}

.bm-svg--md {
  width: 1.25rem;
  height: 1.25rem;
}

.bm-svg--lg {
  width: 1.5rem;
  height: 1.5rem;
}

::selection {
  background-color: var(--bm-brand);
  color: var(--bm-surface);
}

:focus-visible {
  outline: none;
  box-shadow: var(--bm-focus-ring);
  border-radius: var(--bm-radius-sm);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--bm-duration-fast) var(--bm-ease-standard);
}

a:hover {
  color: var(--bm-brand);
}

ul,
ol {
  list-style: none;
}

table {
  border-collapse: collapse;
  width: 100%;
}

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: inherit;
  color: inherit;
  border: none;
  background: transparent;
}

button {
  cursor: pointer;
}