/* Billing + account identity v230. Deliberately scoped to auth/account surfaces. */
.bu-join-wrap,
.bu-account-panel {
  --bill-ink: #082f49;
  --bill-muted: #5f7483;
  --bill-line: rgba(8, 84, 112, .15);
  --bill-mint: #08a982;
  --bill-blue: #1579ee;
  --bill-violet: #5d4ef4;
  --bill-paper: #f8fcfe;
}

.bu-join-wrap {
  width: min(100%, 1520px);
  margin-inline: auto;
  padding-inline: clamp(14px, 2.2vw, 38px);
}

.bu-reg-stage-wrap .bu-reg-stage {
  width: 100%;
  max-width: 1320px;
  margin-inline: auto;
}

.bu-reg-stage-wrap .bu-join-card,
.bu-company-lookup,
.bu-join-exist {
  max-width: 1100px;
}

.bu-auth-paths-wrap {
  position: relative;
  isolation: isolate;
  margin: 0 0 22px;
  padding: clamp(16px, 2vw, 26px);
  overflow: hidden;
  border: 1px solid rgba(13, 148, 136, .18);
  border-radius: 26px;
  background:
    radial-gradient(circle at 92% 0, rgba(72, 86, 255, .13), transparent 36%),
    linear-gradient(135deg, rgba(235, 255, 250, .96), rgba(245, 249, 255, .98));
  box-shadow: 0 20px 50px rgba(3, 46, 69, .09);
}

.bu-auth-paths-wrap::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, var(--bill-mint), var(--bill-blue), var(--bill-violet));
}

.bu-auth-paths-head {
  display: grid;
  grid-template-columns: auto minmax(180px, .75fr) minmax(260px, 1.25fr);
  align-items: end;
  gap: 10px 18px;
  margin-bottom: 16px;
}

.bu-auth-paths-head > span {
  align-self: center;
  padding: 7px 10px;
  border-radius: 999px;
  color: #047d69;
  background: rgba(20, 184, 145, .1);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.bu-auth-paths-head h2 {
  margin: 0;
  color: var(--bill-ink);
  font-size: clamp(21px, 2vw, 29px);
  line-height: 1.05;
  letter-spacing: -.035em;
}

.bu-auth-paths-head p {
  margin: 0;
  color: var(--bill-muted);
  font-size: 14px;
  line-height: 1.5;
}

.bu-auth-pick.bu-auth-paths {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.bu-auth-pick.bu-auth-paths > a {
  position: relative;
  min-width: 0;
  min-height: 92px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 22px;
  align-items: center;
  gap: 11px;
  padding: 15px;
  border: 1px solid rgba(14, 77, 103, .14);
  border-radius: 19px;
  color: #16465d;
  background: rgba(255, 255, 255, .84);
  box-shadow: 0 8px 22px rgba(3, 46, 69, .05);
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.bu-auth-pick.bu-auth-paths > a:hover,
.bu-auth-pick.bu-auth-paths > a:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(21, 121, 238, .38);
  box-shadow: 0 15px 28px rgba(12, 78, 120, .11);
}

.bu-auth-pick.bu-auth-paths > a.is-on {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, #047f77, #078fb2 52%, #3f59e8);
  box-shadow: 0 16px 30px rgba(21, 121, 238, .22);
}

.bu-auth-pick.bu-auth-paths svg {
  width: 34px;
  height: 34px;
  padding: 7px;
  border-radius: 12px;
  background: rgba(16, 143, 157, .09);
}

.bu-auth-pick.bu-auth-paths .is-on svg {
  background: rgba(255, 255, 255, .14);
}

.bu-auth-pick.bu-auth-paths strong,
.bu-auth-pick.bu-auth-paths small {
  display: block;
  min-width: 0;
}

.bu-auth-pick.bu-auth-paths strong {
  font-size: 15px;
  line-height: 1.2;
}

.bu-auth-pick.bu-auth-paths small {
  margin-top: 5px;
  color: #738794;
  font-size: 11px;
  line-height: 1.35;
}

.bu-auth-pick.bu-auth-paths .is-on small { color: rgba(255, 255, 255, .78); }
.bu-auth-pick.bu-auth-paths i { font-style: normal; font-weight: 900; }

.bu-reg-one-form .bu-reg-set,
.bu-reg-one-form .bu-reg-optional,
.bu-form-card.bu-company-lookup {
  border: 1px solid rgba(12, 104, 126, .14);
  border-radius: 23px;
  background: rgba(255, 255, 255, .93);
  box-shadow: 0 12px 32px rgba(3, 46, 69, .06);
}

.bu-reg-one-form .bu-reg-set {
  padding: clamp(17px, 2.4vw, 28px);
}

.bu-reg-one-form .bu-reg-grid {
  gap: 16px;
}

.bu-reg-one-form label,
.bu-bill-form label,
.bu-intl-billing-context label {
  color: #224b5f;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .01em;
}

.bu-reg-one-form input,
.bu-reg-one-form select,
.bu-reg-one-form textarea,
.bu-bill-form input,
.bu-bill-form select,
.bu-intl-billing-context select {
  min-height: 48px;
  border: 1px solid rgba(9, 82, 110, .18);
  border-radius: 14px;
  color: #0a3348;
  background: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .72);
}

.bu-reg-one-form input:focus,
.bu-reg-one-form select:focus,
.bu-bill-form input:focus,
.bu-bill-form select:focus,
.bu-intl-billing-context select:focus {
  border-color: rgba(21, 121, 238, .62);
  outline: 3px solid rgba(21, 121, 238, .12);
}

.bu-intl-billing-context {
  position: relative;
  margin: 20px 0;
  padding: clamp(18px, 2.4vw, 26px);
  overflow: hidden;
  border: 1px solid rgba(16, 142, 147, .2);
  border-radius: 24px;
  background:
    linear-gradient(120deg, rgba(230, 255, 247, .96), rgba(244, 249, 255, .98) 58%, rgba(240, 239, 255, .95));
  box-shadow: 0 18px 38px rgba(5, 66, 91, .08);
}

.bu-intl-billing-context::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -70px;
  top: -90px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(93, 78, 244, .16), transparent 68%);
  pointer-events: none;
}

.bu-intl-billing-copy {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 13px;
  align-items: center;
  margin-bottom: 18px;
}

.bu-intl-billing-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  color: #fff;
  background: linear-gradient(135deg, var(--bill-mint), var(--bill-blue));
  box-shadow: 0 12px 24px rgba(16, 139, 170, .22);
  font-size: 21px;
  font-weight: 900;
}

.bu-intl-billing-copy strong {
  display: block;
  color: var(--bill-ink);
  font-size: 17px;
  line-height: 1.2;
}

.bu-intl-billing-copy p {
  margin: 5px 0 0;
  color: var(--bill-muted);
  font-size: 13px;
  line-height: 1.45;
}

.bu-intl-billing-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.bu-intl-billing-grid label { display: grid; gap: 7px; }
.bu-intl-no-charge {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 14px 0 0;
  color: #356173;
  font-size: 12px;
  line-height: 1.45;
}

.bu-intl-no-charge span {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--bill-mint);
  font-size: 11px;
  font-weight: 900;
}

.bu-bill-fields > .bu-intl-billing-context { margin-bottom: 0; }
.bu-inv-sheet .bu-inv-stamp { display: none; }
.bu-inv-brand small { color: #6d7f8c; }

@media (min-width: 1025px) {
  .bu-reg-stage-wrap .bu-reg-stage {
    display: grid;
    grid-template-columns: minmax(190px, 230px) minmax(0, 1fr);
    gap: clamp(20px, 2.5vw, 38px);
    align-items: start;
  }

  .bu-reg-stage-wrap .bu-reg-rail {
    position: sticky;
    top: 118px;
    grid-column: 1;
  }

  .bu-reg-stage-wrap .bu-join-card {
    grid-column: 2;
    width: 100%;
  }
}

@media (max-width: 980px) {
  .bu-auth-paths-head {
    grid-template-columns: auto 1fr;
    align-items: center;
  }
  .bu-auth-paths-head p { grid-column: 1 / -1; }
  .bu-auth-pick.bu-auth-paths { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  .bu-join-wrap {
    padding-inline: 10px;
  }

  .bu-auth-paths-wrap {
    margin-inline: -2px;
    padding: 15px;
    border-radius: 22px;
  }

  .bu-auth-paths-head {
    display: block;
    margin-bottom: 13px;
  }

  .bu-auth-paths-head > span { display: inline-flex; margin-bottom: 9px; }
  .bu-auth-paths-head h2 { font-size: 22px; }
  .bu-auth-paths-head p { margin-top: 7px; font-size: 12px; }

  .bu-auth-pick.bu-auth-paths {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .bu-auth-pick.bu-auth-paths > a {
    min-height: 88px;
    grid-template-columns: 31px minmax(0, 1fr);
    gap: 8px;
    padding: 12px 10px;
    border-radius: 16px;
  }

  .bu-auth-pick.bu-auth-paths > a > i { display: none; }
  .bu-auth-pick.bu-auth-paths svg { width: 30px; height: 30px; padding: 6px; }
  .bu-auth-pick.bu-auth-paths strong { font-size: 13px; }
  .bu-auth-pick.bu-auth-paths small { font-size: 10px; }

  .bu-reg-one-form .bu-reg-grid,
  .bu-intl-billing-grid {
    grid-template-columns: 1fr;
  }

  .bu-reg-one-form .bu-reg-set { padding: 16px 13px; border-radius: 19px; }
  .bu-intl-billing-context { padding: 16px 13px; border-radius: 20px; }
  .bu-intl-billing-copy { grid-template-columns: 40px minmax(0, 1fr); gap: 10px; }
  .bu-intl-billing-icon { width: 40px; height: 40px; border-radius: 13px; }
  .bu-intl-billing-copy strong { font-size: 15px; }
  .bu-intl-billing-copy p { font-size: 11px; }

  .bu-reg-wiz-nav {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .bu-reg-wiz-nav .bu-btn { width: 100%; min-height: 52px; }
}

@media (prefers-reduced-motion: reduce) {
  .bu-auth-pick.bu-auth-paths > a { transition: none; }
}


