:root {
  --bv-ink: #111936;
  --bv-indigo: #6674f8;
  --bv-indigo-deep: #4d5ee8;
  --bv-cyan: #08b8d1;
  --bv-surface: #f5f7ff;
  --bv-line: rgb(69 83 162 / 18%);
  --md-primary-fg-color: var(--bv-indigo-deep);
  --md-accent-fg-color: #007f94;
  --md-text-font: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  --md-code-font: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

[data-md-color-scheme="slate"] {
  --bv-ink: #f5f7ff;
  --bv-surface: #161c37;
  --bv-line: rgb(159 170 255 / 24%);
  --md-accent-fg-color: #42d3e6;
}

.md-typeset {
  line-height: 1.65;
}

.md-typeset h1,
.md-typeset h2,
.md-typeset h3 {
  color: var(--bv-ink);
  font-weight: 760;
  letter-spacing: -0.025em;
}

.md-typeset h1 {
  max-width: 18ch;
}

.md-typeset h2 {
  margin-top: 2.6em;
}

.md-typeset .md-button {
  border-radius: 0.55rem;
  min-height: 2.65rem;
  padding: 0.65rem 1rem;
}

.md-typeset .md-button--primary {
  background: var(--bv-indigo-deep);
  border-color: var(--bv-indigo-deep);
}

.md-typeset a:focus-visible,
.md-typeset button:focus-visible,
.md-header a:focus-visible {
  outline: 3px solid var(--bv-cyan);
  outline-offset: 3px;
}

.bv-hero {
  background:
    radial-gradient(circle at 92% 10%, rgb(8 184 209 / 18%), transparent 35%),
    linear-gradient(145deg, var(--bv-surface), transparent);
  border: 1px solid var(--bv-line);
  border-radius: 1.25rem;
  margin: 0.7rem 0 2.5rem;
  overflow: hidden;
  padding: clamp(1.25rem, 4vw, 3.25rem);
}

.bv-hero > * {
  min-width: 0;
}

.bv-hero > p:first-of-type {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  max-width: 43rem;
}

.bv-hero img {
  border: 1px solid var(--bv-line);
  border-radius: 0.8rem;
  box-shadow: 0 1.25rem 3rem rgb(17 25 54 / 16%);
  display: block;
  margin-top: 1.8rem;
  width: 100%;
}

.bv-eyebrow {
  color: var(--md-accent-fg-color);
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.bv-actions {
  margin: 1.3rem 0 0;
}

.bv-actions > p {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 0;
  min-width: 0;
}

.bv-facet-grid,
.bv-route-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 1.2rem 0;
}

.bv-facet-grid > article,
.bv-route-grid > ul > li,
.bv-route-grid > li {
  background: var(--bv-surface);
  border: 1px solid var(--bv-line);
  border-radius: 0.8rem;
  min-width: 0;
  padding: 1rem 1.1rem;
}

.bv-facet-grid h3 {
  color: var(--bv-indigo);
  margin: 0 0 0.35rem;
}

.bv-facet-grid p {
  margin: 0;
}

.md-typeset .bv-route-grid > ul {
  display: contents;
}

.bv-route-grid > ul > li {
  list-style: none;
  margin: 0;
}

.md-typeset ol.bv-steps:not([hidden]) {
  counter-reset: bv-step;
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 1.2rem 0 1.8rem;
  padding: 0;
}

.bv-steps li {
  border-left: 3px solid var(--bv-cyan);
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-width: 0;
  padding: 0.4rem 0.8rem;
}

.bv-steps span {
  font-size: 0.85rem;
}

@media screen and (max-width: 44rem) {
  .bv-hero {
    border-radius: 0.8rem;
    padding: 1.15rem;
  }

  .bv-actions > p {
    align-items: stretch;
    flex-direction: column;
  }

  .bv-actions .md-button {
    box-sizing: border-box;
    margin: 0;
    text-align: center;
    width: 100%;
  }

  .bv-facet-grid,
  .bv-route-grid,
  .md-typeset ol.bv-steps:not([hidden]) {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
