/*
 * Homepage Pro conversion surface.
 *
 * The whitelist plugin owns behavior and the standalone /pro presentation.
 * The homepage owns a different job: a compact, integrated conversion step
 * inside the product story. Keep this file as the sole visual owner of that
 * embedded context so the homepage never falls back to card-inside-card UI.
 */

#founding-whitelist {
  scroll-margin-top: 78px;
}

.bm-wl-home .bm-container {
  max-width: var(--bm-public-width, 1180px);
}

.bm-wl-home .bm-wl-unified {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(440px, .98fr);
  gap: 0;
  align-items: stretch;
  padding: 0;
  border: 0;
  border-top: 1px solid rgba(255,255,255,.10);
  border-bottom: 1px solid rgba(255,255,255,.10);
  border-radius: 0;
  background: linear-gradient(90deg, rgba(108,142,191,.028), rgba(15,36,52,.16));
}

.bm-wl-home .bm-wl-unified__intro,
.bm-wl-home .bm-wl-unified__form {
  min-width: 0;
}

.bm-wl-home .bm-wl-unified__intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(24px, 3.6vw, 42px) clamp(32px, 5vw, 60px) clamp(24px, 3.6vw, 42px) 0;
}

.bm-wl-home .bm-wl-unified__form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(24px, 3.6vw, 42px) 0 clamp(24px, 3.6vw, 42px) clamp(32px, 5vw, 60px);
  border-left: 1px solid rgba(255,255,255,.10);
}

.bm-wl-home .bm-wl-unified__eyebrow {
  color: var(--bm-accent, #6c8ebf);
  font: 800 var(--bm-type-micro, 11px)/1.3 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: .14em;
}

.bm-wl-home .bm-wl-unified__title {
  max-width: 580px;
  margin: 10px 0 12px;
  color: var(--bm-text, #f1f4f6);
  font-size: clamp(29px, 3.4vw, 42px);
  line-height: 1.1;
  letter-spacing: -.025em;
}

.bm-wl-home .bm-wl-unified__copy {
  max-width: 600px;
  margin: 0;
  color: var(--bm-text-secondary, #b7c0ca);
  font-size: 15px;
  line-height: 1.65;
}

.bm-wl-home .bm-wl-unified__facts {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(100px, .7fr) minmax(100px, .7fr);
  gap: 0;
  margin: 26px 0 0;
  padding: 0;
}

.bm-wl-home .bm-wl-unified__fact {
  min-width: 0;
  padding: 0 18px;
  border-left: 1px solid rgba(255,255,255,.09);
}

.bm-wl-home .bm-wl-unified__fact:first-child {
  padding-left: 0;
  border-left: 0;
}

.bm-wl-home .bm-wl-unified__fact dt {
  margin: 0 0 5px;
  color: var(--bm-text-subtle, #7f8b98);
  font: 800 var(--bm-type-micro, 11px)/1.3 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.bm-wl-home .bm-wl-unified__fact dd {
  margin: 0;
  color: var(--bm-text-secondary, #b7c0ca);
  font-size: 14px;
  font-weight: 730;
  line-height: 1.45;
}

.bm-wl-home .bm-wl-unified__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 20px;
  margin-top: 22px;
}

.bm-wl-home .bm-wl-unified__detail-link,
.bm-wl-home .bm-wl-unified__proof-link {
  color: var(--bm-text-muted, #98a4b1);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.bm-wl-home .bm-wl-unified__proof-link {
  color: var(--bm-accent, #6c8ebf);
}

.bm-wl-home .bm-wl-unified__detail-link:hover,
.bm-wl-home .bm-wl-unified__detail-link:focus-visible,
.bm-wl-home .bm-wl-unified__proof-link:hover,
.bm-wl-home .bm-wl-unified__proof-link:focus-visible {
  color: var(--bm-text, #f1f4f6);
}

.bm-wl-home .bm-wl-unified__detail-link:focus-visible,
.bm-wl-home .bm-wl-unified__proof-link:focus-visible {
  outline: 2px solid var(--bm-accent, #6c8ebf);
  outline-offset: 4px;
  border-radius: 4px;
}

.bm-wl-home .bm-wl-unified__form-head {
  margin: 0 0 16px;
}

.bm-wl-home .bm-wl-unified__form-title {
  margin: 0;
  color: var(--bm-text, #f1f4f6);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -.01em;
}

.bm-wl-home .bm-wl-unified__form-copy {
  margin: 5px 0 0;
  color: var(--bm-text-muted, #98a4b1);
  font-size: 14px;
  line-height: 1.55;
}

/*
 * Flatten the standalone plugin card only in the homepage context. Behavior,
 * form semantics, AJAX, telemetry and success/WhatsApp states remain owned by
 * the plugin; the theme only adapts presentation for this embed.
 */
.bm-wl-home .bm-wl-unified__form > .bm-pro-sales.bm-wl {
  width: 100%;
  max-width: none !important;
  margin: 0;
  padding: 0;
}

.bm-wl-home .bm-wl-unified__form .bm-wl__panel {
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* Product terms are owned by the left-side fact strip on the homepage. */
.bm-wl-home #bm-wl-form-panel > .bm-wl__eyebrow,
.bm-wl-home #bm-wl-form-panel > .bm-wl__price,
.bm-wl-home #bm-wl-form-panel > .bm-wl__cap,
.bm-wl-home #bm-wl-form-panel > .bm-wl__sub {
  display: none;
}

/* Homepage acquisition is deliberately email-first. The plugin continues to
 * accept first_name for other surfaces/backward compatibility; the homepage
 * removes this optional pre-conversion field to minimize commitment cost. */
.bm-wl-home .bm-wl__field:has(input[name="first_name"]) {
  display: none;
}

.bm-wl-home #bm-wl-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 11px;
  margin: 0;
}

.bm-wl-home #bm-wl-form > * {
  grid-column: 1;
}

.bm-wl-home .bm-wl__field {
  min-width: 0;
  gap: 5px;
  color: var(--bm-text-muted, #98a4b1);
  font-size: 13px;
  font-weight: 650;
}

.bm-wl-home .bm-wl__field input {
  width: 100%;
  min-width: 0;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 9px;
  background: rgba(7,18,29,.42);
}

.bm-wl-home .bm-wl__field input:hover {
  border-color: rgba(255,255,255,.20);
}

.bm-wl-home .bm-wl__consent {
  margin-top: 2px;
  color: var(--bm-text-muted, #98a4b1);
  font-size: 12px;
  line-height: 1.5;
}

.bm-wl-home .bm-wl__submit {
  width: 100%;
  min-height: 46px;
  margin-top: 1px;
  border-radius: 9px;
  background: var(--bm-action, #f4ad32) !important;
  color: #111827 !important;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: .015em;
}

.bm-wl-home .bm-wl__submit:hover,
.bm-wl-home .bm-wl__submit:focus-visible {
  background: var(--bm-action-hover, #ffc15a) !important;
  color: #111827 !important;
}

.bm-wl-home .bm-wl__note {
  margin: 9px 0 0;
  color: var(--bm-text-subtle, #7f8b98);
  font-size: var(--bm-type-micro, 11px);
  line-height: 1.5;
}

.bm-wl-home .bm-wl__success {
  max-width: 520px;
}

.bm-wl-home .bm-wl__continuation {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.10);
}

.bm-wl-home .bm-wl__continuation strong {
  display: block;
  color: var(--bm-text, #f1f4f6);
  font-size: 14px;
}

.bm-wl-home .bm-wl__continuation p {
  margin: 5px 0 12px;
  color: var(--bm-text-muted, #98a4b1);
  font-size: 12px;
  line-height: 1.5;
}

.bm-wl-home .bm-wl__continuation-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.bm-wl-home .bm-wl__continuation-actions a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 8px;
  color: var(--bm-text-secondary, #b7c0ca);
  font-size: 12px;
  font-weight: 750;
  text-decoration: none;
}

.bm-wl-home .bm-wl__continuation-actions a:first-child {
  border-color: rgba(108,142,191,.35);
  color: var(--bm-accent, #6c8ebf);
}

.bm-wl-home .bm-wl__continuation-actions a:hover,
.bm-wl-home .bm-wl__continuation-actions a:focus-visible {
  border-color: var(--bm-accent, #6c8ebf);
  color: var(--bm-text, #f1f4f6);
}

.bm-wl-home .bm-wl__continuation-actions a:focus-visible {
  outline: 2px solid var(--bm-accent, #6c8ebf);
  outline-offset: 2px;
}

.bm-wl-home .bm-wl-teaser {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.bm-wl-home .bm-wl-teaser-eyebrow,
.bm-wl-home .bm-wl-teaser-price,
.bm-wl-home .bm-wl-teaser-cap {
  display: none;
}

.bm-wl-home .bm-wl-teaser-cta {
  display: inline-flex;
  width: 100%;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  background: var(--bm-action, #f4ad32);
  color: #111827;
  font-size: 13px;
  font-weight: 850;
}

@media (max-width: 900px) {
  .bm-wl-home .bm-wl-unified {
    grid-template-columns: 1fr;
  }

  .bm-wl-home .bm-wl-unified__intro {
    padding: 28px 0 26px;
  }

  .bm-wl-home .bm-wl-unified__form {
    padding: 26px 0 28px;
    border-top: 1px solid rgba(255,255,255,.10);
    border-left: 0;
  }
}

@media (max-width: 640px) {
  #founding-whitelist {
    scroll-margin-top: 72px;
  }

  .bm-wl-home .bm-wl-unified__facts {
    grid-template-columns: 1fr 1fr;
    row-gap: 16px;
  }

  .bm-wl-home .bm-wl-unified__fact:first-child {
    grid-column: 1 / -1;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }

  .bm-wl-home .bm-wl-unified__fact:nth-child(2) {
    padding-left: 0;
    border-left: 0;
  }

  .bm-wl-home .bm-wl-unified__links,
  .bm-wl-home .bm-wl__continuation-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .bm-wl-home .bm-wl__continuation-actions a {
    width: 100%;
  }
}
