/* ==========================================================================
   Hero — Webflow Component
   Self-contained: does not need base.css. Tokens are used with fallbacks.
   Copy sits on the left. The plate (1672×941) is scaled to 60% of the
   wrap and aligned right so the network sits on the right edge.
   ========================================================================== */

.bd-hero,
.bd-hero *,
.bd-hero *::before,
.bd-hero *::after {
  box-sizing: border-box;
}

.bd-hero {
  --bd-hero-media-scale: 60%;
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  contain: paint;
  font-family: var(--bd-font, InterVariable, sans-serif);
  font-feature-settings: "liga" 1, "calt" 1, "cv02", "cv03", "cv04", "cv11";
  font-optical-sizing: auto;
}

.bd-hero .bd-wrap {
  width: 100%;
  max-width: var(--bd-content, 1440px);
  margin-inline: auto;
}

.bd-hero__stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: end;
  align-items: center;
  width: 100%;
  min-width: 0;
}

.bd-hero__media,
.bd-hero__copy {
  grid-area: 1 / 1;
}

.bd-hero__media {
  display: block;
  width: var(--bd-hero-media-scale);
  height: auto;
  max-width: none;
  margin-inline-start: auto;
  justify-self: end;
  aspect-ratio: 1672 / 941;
  object-fit: contain;
  object-position: right center;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  background: transparent;
}

.bd-hero__copy {
  position: relative;
  z-index: 1;
  justify-self: start;
  align-self: center;
  width: min(46rem, 62%);
  max-width: 100%;
  padding: var(--bd-space-8, 32px) var(--bd-space-8, 32px) var(--bd-space-8, 32px) 0;
}

.bd-hero__title {
  margin: 0;
  font-size: 56px;
  font-weight: 700;
  font-variation-settings: "wght" 700;
  line-height: 1.1;
  color: var(--bd-text, #000);
}

.bd-hero__lead {
  margin: var(--bd-space-5, 20px) 0 0;
  max-width: 44rem;
  font-size: var(--bd-text-lead, 20px);
  font-weight: 400;
  line-height: 1.5;
  color: var(--bd-text, #000);
}

.bd-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--bd-space-4, 16px) var(--bd-space-5, 20px);
  margin-top: var(--bd-space-6, 24px);
}

.bd-hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--bd-space-2, 8px);
  min-height: 48px;
  font-size: var(--bd-text-base, 16px);
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.bd-hero__cta:focus-visible {
  outline: 2px solid var(--bd-text, #000);
  outline-offset: 2px;
}

.bd-hero__cta--solid {
  padding: var(--bd-space-3, 12px) var(--bd-space-5, 20px);
  border-radius: var(--bd-radius, 8px);
  background: var(--bd-accent, #6434d8);
  color: var(--bd-on-accent, #fff);
  transition: background var(--bd-dur, 0.3s) var(--bd-ease, ease);
}

.bd-hero__cta--solid:hover {
  background: var(--bd-accent-hi, #763dff);
  color: var(--bd-on-accent, #fff);
}

.bd-hero__cta--text {
  padding: 0;
  color: var(--bd-link, #2563EB);
}

.bd-hero__cta--text svg {
  width: 8px;
  height: 8px;
  fill: currentColor;
}

/* 768–1023 — overlay stays; type steps down */
@media (max-width: 1023px) {
  .bd-hero__copy {
    width: min(40rem, 58%);
    padding: var(--bd-space-6, 24px) var(--bd-space-6, 24px) var(--bd-space-6, 24px) 0;
  }

  .bd-hero__title {
    font-size: 40px;
  }

  .bd-hero__lead {
    font-size: var(--bd-text-base, 16px);
  }
}

/* <768 — phones: copy first, full-width figure below */
@media (max-width: 767px) {
  .bd-hero__stage {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .bd-hero__copy {
    width: 100%;
    padding: var(--bd-space-6, 24px) 0 var(--bd-space-4, 16px);
  }

  .bd-hero__title {
    font-size: 32px;
  }

  .bd-hero__media {
    width: var(--bd-hero-media-scale);
    max-width: 100%;
    align-self: flex-end;
  }

  .bd-hero__cta {
    white-space: normal;
  }
}
