@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@200;300;400;500;600;700&display=swap");

:root {
  --bb-ink: #17324d;
  --bb-ink-soft: #45637f;
  --bb-blue: #2f6fe4;
  --bb-blue-soft: #eef5ff;
  --bb-teal: #36c1a7;
  --bb-teal-soft: #dff5f0;
  --bb-coral: #ff8d6c;
  --bb-coral-soft: #fff3e8;
  --bb-sand: #fcfbf8;
  --bb-line: #dde7f3;
  --bb-shadow: 0 30px 90px rgba(23, 50, 77, 0.1);
  --md-default-bg-color: #ffffff;
  --md-primary-fg-color: #ffffff;
  --md-primary-fg-color--light: #ffffff;
  --md-primary-fg-color--dark: #ffffff;
  --md-accent-fg-color: #2f6fe4;
}

body {
  font-family: "Montserrat", sans-serif;
  font-weight: 200;
  color: var(--bb-ink);
  background:
    radial-gradient(circle at 14% 38rem, rgba(47, 111, 228, 0.035), rgba(47, 111, 228, 0) 22rem),
    radial-gradient(circle at 86% 60rem, rgba(54, 193, 167, 0.04), rgba(54, 193, 167, 0) 19rem),
    radial-gradient(circle at 18% 114rem, rgba(47, 111, 228, 0.025), rgba(47, 111, 228, 0) 22rem),
    radial-gradient(circle at 84% 148rem, rgba(54, 193, 167, 0.03), rgba(54, 193, 167, 0) 18rem),
    #ffffff;
  background-repeat: no-repeat;
}

.md-typeset h1,
.md-typeset h2,
.md-typeset h3,
.md-header__title,
.md-tabs__link,
.md-nav__title {
  font-family: "Montserrat", sans-serif;
  letter-spacing: -0.045em;
}

.md-header {
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(221, 231, 243, 0.8);
  box-shadow: 0 12px 30px rgba(23, 50, 77, 0.06);
}

.md-header__topic,
.md-search__input,
.md-tabs__link,
.md-nav__item .md-nav__link,
.md-typeset {
  color: var(--bb-ink);
}

.md-header__button {
  color: var(--bb-ink);
}

.md-header__button.md-icon {
  margin: 0;
  padding: 0.35rem;
}

.md-header__button[for="__drawer"] {
  margin-right: -0.25rem;
}

.md-header__button.md-icon svg {
  width: 1.35rem;
  height: 1.35rem;
  fill: currentColor;
}

.md-header__button.md-logo {
  margin: 0 0.05rem 0 0.05rem;
  padding: 0.2rem;
}

.md-header__button.md-logo img {
  width: 1.15rem;
  height: 1.15rem;
}

.md-header__title {
  margin-left: -0.35rem;
}

.md-header__site-link {
  color: inherit;
  text-decoration: none;
}

.md-search__form {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(47, 111, 228, 0.12);
  border-radius: 0.9rem;
  box-shadow: 0 10px 26px rgba(23, 50, 77, 0.06);
  transition: background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.md-search__form:hover,
.md-search__form:focus-within {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(47, 111, 228, 0.2);
  box-shadow: 0 12px 28px rgba(23, 50, 77, 0.08);
}

.md-search__input::placeholder {
  color: rgba(69, 99, 127, 0.72);
}

.md-main__inner {
  margin-top: 0.6rem;
}

.md-content__inner {
  padding-bottom: 4rem;
}

.md-typeset a {
  color: var(--bb-blue);
}

.md-typeset :where(p, li) {
  font-weight: 300;
}

.hero-shell :where(p, li),
.bb-section :where(p, li),
.cta-panel :where(p, li) {
  font-weight: 200;
}

.md-typeset .admonition,
.md-typeset details {
  border-radius: 1rem;
  border: 1px solid var(--bb-line);
  box-shadow: 0 12px 28px rgba(23, 50, 77, 0.06);
}

.hero-shell {
  position: relative;
  isolation: isolate;
  margin: -0.25rem 0 4rem;
  padding: 2.3rem 0 1.25rem;
}

.hero-shell::before,
.hero-shell::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.hero-shell::before {
  z-index: 0;
  left: calc(50% - 50vw);
  right: calc(50% - 50vw);
  top: -2.7rem;
  bottom: -4.2rem;
  background:
    radial-gradient(circle at 12% 10%, rgba(47, 111, 228, 0.1), rgba(47, 111, 228, 0) 24rem),
    radial-gradient(circle at 88% 12%, rgba(54, 193, 167, 0.18), rgba(54, 193, 167, 0) 22rem),
    linear-gradient(180deg, rgba(244, 248, 255, 0.96) 0%, rgba(250, 252, 255, 0.82) 46%, rgba(255, 255, 255, 0.1) 82%, rgba(255, 255, 255, 0) 100%);
}

.hero-shell::after {
  z-index: 0;
  top: 6rem;
  right: -4rem;
  width: 15rem;
  height: 15rem;
  border-radius: 999px;
  background: rgba(54, 193, 167, 0.14);
  filter: blur(30px);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 2.5rem;
  align-items: center;
}

.hero-copy {
  max-width: 38rem;
  padding: 2rem 0 1rem;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1rem;
  padding: 0.55rem 0.9rem;
  border: 1px solid rgba(47, 111, 228, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--bb-ink-soft);
  font-size: 0.95rem;
  font-weight: 600;
}

.hero-kicker span {
  display: inline-block;
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--bb-blue), var(--bb-teal));
}

.hero-copy .hero-anchor {
  margin: 0 0 1.1rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 100%;
  font-size: clamp(1.45rem, 6vw, 4.25rem);
  line-height: 0.9;
  color: var(--bb-ink);
  font-weight: 200;
  letter-spacing: -0.06em;
}

.hero-copy .hero-line {
  display: block;
  width: max-content;
  white-space: nowrap;
}

.hero-copy .lede {
  max-width: 38rem;
  font-size: 1.18rem;
  line-height: 1.55;
  color: var(--bb-ink-soft);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.8rem 0 1.6rem;
}

.bb-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3.3rem;
  padding: 0.8rem 2.45rem;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none !important;
  font-weight: 700;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.bb-button:hover {
  transform: translateY(-2px);
}

.bb-button.primary {
  background: linear-gradient(135deg, var(--bb-blue), #5b87ea);
  color: white !important;
  box-shadow: 0 18px 40px rgba(47, 111, 228, 0.28);
}

.bb-button.secondary {
  background: white;
  color: var(--bb-ink) !important;
  border-color: var(--bb-line);
  box-shadow: 0 14px 30px rgba(23, 50, 77, 0.07);
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1.8rem;
}

.hero-point {
  padding: 1rem 1.1rem;
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--bb-line);
  box-shadow: 0 18px 36px rgba(23, 50, 77, 0.06);
}

.hero-point strong {
  display: block;
  margin-bottom: 0.3rem;
  font-family: "Montserrat", sans-serif;
  font-size: 1rem;
  font-weight: 500;
}

.hero-point-note {
  display: none;
}

.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: stretch;
}

.hero-card,
.bb-card,
.bb-illustration-card {
  border: 1px solid var(--bb-line);
  border-radius: 2rem;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--bb-shadow);
}

.hero-card {
  position: relative;
  overflow: hidden;
  padding: 1rem;
}

.hero-card.hero-card-bot {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 34rem;
  padding: 1.75rem 1.75rem 5rem;
  background:
    radial-gradient(circle at 50% 24%, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.86) 28%, rgba(255, 255, 255, 0) 55%),
    linear-gradient(180deg, rgba(238, 245, 255, 0.94), rgba(255, 255, 255, 0.98) 62%, rgba(255, 243, 232, 0.78));
}

.hero-card.hero-card-bot::before {
  content: "";
  position: absolute;
  inset: 8% 16% 20%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 111, 228, 0.12), rgba(47, 111, 228, 0));
  filter: blur(10px);
}

.hero-card img,
.bb-illustration-card img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-bot-stage {
  position: relative;
  width: min(82%, 25rem);
  margin-inline: auto;
}

.hero-bot-base {
  position: relative;
  z-index: 1;
}

.hero-bot-overlay {
  position: absolute;
  inset: 0 auto auto 0;
  z-index: 3;
  pointer-events: none;
  clip-path: inset(83.333333% 90% 0 0);
}

.hero-mini {
  position: absolute;
  left: -0.6rem;
  top: calc(100% - 4.333333%);
  z-index: 2;
  width: min(15rem, 78%);
  padding: 1rem 1rem 1.05rem;
  border-radius: 1.35rem;
  border: 2px solid rgba(113, 166, 230, 0.42);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 22px 42px rgba(47, 111, 228, 0.16);
  color: var(--bb-ink-soft);
  transform: none;
}

.hero-mini strong {
  display: block;
  margin-bottom: 0.25rem;
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  color: var(--bb-ink);
}

.bb-section {
  margin: 4rem 0;
}

.section-heading {
  max-width: 44rem;
  margin-bottom: 1.7rem;
}

.section-heading .eyebrow {
  display: inline-block;
  margin-bottom: 0.8rem;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bb-blue);
}

.section-heading h2 {
  margin: 0 0 0.7rem;
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1;
}

.section-heading p {
  margin: 0;
  font-size: 1.08rem;
  color: var(--bb-ink-soft);
}

.feature-grid,
.story-grid,
.steps-grid {
  display: grid;
  gap: 1.25rem;
}

.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.bb-card {
  padding: 1.5rem;
}

.bb-card .icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  margin-bottom: 1rem;
  font-size: 1.35rem;
}

.icon-badge.blue {
  background: var(--bb-blue-soft);
}

.icon-badge.teal {
  background: var(--bb-teal-soft);
}

.icon-badge.coral {
  background: var(--bb-coral-soft);
}

.bb-card h3 {
  margin: 0 0 0.65rem;
  font-size: 1.3rem;
  font-weight: 600;
}

.bb-card p,
.bb-card li,
.split-copy p,
.story-copy p,
.cta-panel p {
  color: var(--bb-ink-soft);
}

.bb-card ul {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
}

.story-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2.6rem;
  align-items: start;
}

.bb-illustration-card {
  overflow: hidden;
  padding: 0.9rem;
  width: min(100%, 27rem);
  align-self: start;
}

.story-grid > .bb-illustration-card:first-child {
  justify-self: start;
}

.story-grid > .bb-illustration-card:last-child {
  justify-self: end;
}

.split-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.split-copy {
  padding: 1.6rem;
  border-radius: 1.75rem;
  background: white;
  border: 1px solid var(--bb-line);
  box-shadow: 0 18px 40px rgba(23, 50, 77, 0.07);
}

.steps-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.step-card {
  position: relative;
  padding: 1.65rem 1.5rem 1.55rem;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.05rem;
  height: 2.05rem;
  margin-bottom: 1rem;
  border-radius: 999px;
  border: 1px solid rgba(47, 111, 228, 0.14);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(238, 245, 255, 0.98));
  color: var(--bb-blue);
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  box-shadow: 0 10px 24px rgba(23, 50, 77, 0.08);
}

.step-card:nth-child(2) .step-number {
  border-color: rgba(54, 193, 167, 0.2);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(223, 245, 240, 0.98));
  color: #1a8f78;
}

.step-card:nth-child(3) .step-number {
  border-color: rgba(255, 141, 108, 0.22);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 243, 232, 0.98));
  color: #de6d4f;
}

.cta-panel {
  position: relative;
  overflow: hidden;
  margin: 4.5rem 0 1rem;
  padding: 2.2rem;
  border-radius: 2rem;
  border: 1px solid rgba(47, 111, 228, 0.12);
  background:
    linear-gradient(135deg, rgba(47, 111, 228, 0.1), rgba(54, 193, 167, 0.08)),
    white;
  box-shadow: 0 24px 60px rgba(23, 50, 77, 0.09);
}

.cta-panel h2 {
  margin-top: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.md-typeset .hero-shell p,
.md-typeset .bb-section p,
.md-typeset .cta-panel p {
  font-size: 1rem;
}

.md-footer-meta {
  background: var(--bb-sand);
}

@media screen and (min-width: 60em) {
  .md-header__inner.md-grid {
    max-width: none;
    padding-inline: 1.1rem;
    position: relative;
  }

  .md-header__title {
    margin-right: 18rem;
  }

  .md-search {
    position: absolute;
    right: 1.1rem;
    top: 50%;
    z-index: 1;
    margin-left: 0;
    transform: translateY(-50%);
  }

  .md-search__inner,
  .md-search__form {
    width: 16rem;
  }
}

@media screen and (max-width: 76.1875em) {
  .story-grid,
  .split-grid,
  .feature-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 64em) {
  .hero-grid,
  .hero-points {
    grid-template-columns: 1fr;
  }

  .hero-mini {
    display: none;
  }

  .hero-point-note {
    display: block;
  }

  .hero-card.hero-card-bot {
    padding-bottom: 1.75rem;
  }
}

@media screen and (max-width: 44em) {
  .hero-card.hero-card-bot {
    min-height: 24rem;
    padding: 1.25rem;
  }

  .bb-section {
    margin: 3rem 0;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
}
