.bilcustom-steps {
  box-sizing: border-box;
  width: 100%;
  color: var(--bil-dark);
  background: var(--bil-background);
  padding-block: var(--bilcustom-steps-padding, 80px);
}
.bilcustom-steps--none { background: transparent; }
.bilcustom-steps--background { background: var(--bil-background); }
.bilcustom-steps--dark { background: var(--bil-dark); color: var(--bil-white); }
.bilcustom-steps--purple { background: var(--bil-purple); color: var(--bil-white); }
.bilcustom-steps--color01 { background: var(--bil-surface-01); }
.bilcustom-steps--color02 { background: var(--bil-surface-02); }
.bilcustom-steps--color03 { background: var(--bil-surface-03); }
.bilcustom-steps--softPurple { background: #e2d7e5; }
.bilcustom-steps__inner {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(280px, .85fr) minmax(420px, 1.35fr);
  gap: clamp(48px, 8vw, 120px);
  align-items: start;
}
.bilcustom-steps__intro { min-width: 0; }
.bilcustom-steps__title {
  
  max-width: 100%;
  font-family: var(--font-bil-condensed, "Mona Sans Condensed", ui-sans-serif, system-ui, sans-serif);
  
  font-weight: 400;
  line-height: .92;
  letter-spacing: -.025em;
}
.bilcustom-steps__cta { margin-top: 32px; }
.bilcustom-steps__list {
  list-style: none;
  padding: 22px 0 0;
  margin: 0;
}
.bilcustom-steps__item {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  position: relative;
  padding: 0 0 30px;
}
.bilcustom-steps__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 17px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  opacity: .8;
}
.bilcustom-steps__number {
  padding-left: 18px;
  font-family: var(--font-bil, "Mona Sans", ui-sans-serif, system-ui, sans-serif);
  font-size: clamp(1.75rem, 2.4vw, 2.35rem);
  line-height: 1;
  font-weight: 600;
  color: var(--bil-purple);
}
.bilcustom-steps--dark .bilcustom-steps__number,
.bilcustom-steps--purple .bilcustom-steps__number { color: inherit; }
.bilcustom-steps__copy { min-width: 0; padding-top: 1px; }
.bilcustom-steps__step-title,
.bilcustom-steps__text {
  display: block;
  margin: 0;
  font-family: var(--font-bil, "Mona Sans", ui-sans-serif, system-ui, sans-serif);
  font-size: 1rem;
  line-height: 1.45;
  font-weight: 400;
}
.bilcustom-steps__step-title { font-weight: 700; margin-bottom: 4px; }
@media (max-width: 64rem) {
  .bilcustom-steps__inner { grid-template-columns: minmax(220px, .8fr) minmax(340px, 1.2fr); gap: 48px; }
  .bilcustom-steps__title {  }
}
@media (max-width: 48rem) {
  .bilcustom-steps { padding-block: min(var(--bilcustom-steps-padding, 80px), 56px); }
  .bilcustom-steps__inner { width: min(100% - 32px, 720px); grid-template-columns: 1fr; gap: 44px; }
  .bilcustom-steps__title { max-width: 100%;  }
  .bilcustom-steps__list { padding-top: 0; }
  .bilcustom-steps__item { grid-template-columns: 64px minmax(0, 1fr); gap: 14px; padding-bottom: 28px; }
  .bilcustom-steps__number { font-size: 1.75rem; }
}

/* bilcustom-steps-background-radius-v3.6 */
.bilcustom-steps--dark,
.bilcustom-steps--purple,
.bilcustom-steps--color01,
.bilcustom-steps--color02,
.bilcustom-steps--color03,
.bilcustom-steps--softPurple {
  border-radius: 32px;
  overflow: hidden;
}

@media (max-width: 767px) {
  .bilcustom-steps--dark,
  .bilcustom-steps--purple,
  .bilcustom-steps--color01,
  .bilcustom-steps--color02,
  .bilcustom-steps--color03,
  .bilcustom-steps--softPurple {
    border-radius: 24px;
  }
}

/* V5.32 — rollback native heading typography only (pre-V3.5 sizing). */
.bilcustom-steps__title{font-size:clamp(3.5rem,6vw,6rem)}
@media(max-width:64rem){.bilcustom-steps__title{font-size:clamp(3.25rem,7vw,5rem)}}
@media(max-width:48rem){.bilcustom-steps__title{font-size:clamp(3rem,14vw,4.5rem)}}

/* V5.39 mobile gutter audit */

@media(max-width:767px){
  .bilcustom-steps{
    width:calc(100% - 40px);
    margin-inline:auto;
  }
}

/* V5.70 — apply the White option available in the dialog. */
.bilcustom-steps--white { background: var(--bil-white, #fff); color: var(--bil-dark, #2d153f); }
.bilcustom-steps--white { border-radius: 32px; overflow: hidden; }
@media (max-width: 767px) { .bilcustom-steps--white { border-radius: 24px; } }

/* Optional left-column rich text and DAM image. */
.bilcustom-steps__description { margin-top: 24px; font-family: var(--font-bil, "Mona Sans", ui-sans-serif, system-ui, sans-serif); font-size: 1rem; line-height: 1.5; overflow-wrap: anywhere; }
.bilcustom-steps__description .rich-text { width: 100%; max-width: none; margin: 0; padding: 0; color: inherit; }
.bilcustom-steps__description .rich-text > :first-child { margin-top: 0; }
.bilcustom-steps__description .rich-text > :last-child { margin-bottom: 0; }
.bilcustom-steps__description a { color: inherit; text-decoration: underline; }
.bilcustom-steps__description a:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.bilcustom-steps__media { margin-top: 24px; width: 100%; overflow: hidden; border-radius: 24px; aspect-ratio: 16 / 9; background: var(--bil-surface-purple); }
.bilcustom-steps__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.bilcustom-steps__media--svg { border-radius: 0; aspect-ratio: auto; background: transparent; }
.bilcustom-steps__media--svg img { height: auto; object-fit: contain; }

.bilcustom-steps-modal.bilcustom-cta-modal {
  width: min(48rem, calc(100% - 2rem));
  max-height: calc(100dvh - 2rem);
}

.bilcustom-steps-modal .bilcustom-cta-modal__shell {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  max-height: calc(100dvh - 2rem);
  padding: 0;
  overflow: hidden;
}

.bilcustom-steps-modal__header {
  display: flex;
  justify-content: flex-end;
  padding: 12px 16px 0;
}

.bilcustom-steps-modal .bilcustom-cta-modal__close {
  position: static;
  width: 44px;
  height: 44px;
}

.bilcustom-steps-modal__scroll {
  padding: 6px clamp(20px, 5vw, 36px) 28px;
  overflow: auto;
  overscroll-behavior: contain;
  overflow-wrap: anywhere;
}

.bilcustom-steps-modal__fallback {
  padding: 20px;
}

.bilcustom-steps-modal__scroll .bilcustom-steps-modal__fallback {
  padding: 0;
}

.bilcustom-steps-modal__title {
  margin: 0 0 1rem;
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  line-height: 1.25;
  font-weight: 600;
}

/* V6.75 — make each step title more prominent than its description. */
.bilcustom-steps .bilcustom-steps__step-title {
  font-size:1.4rem;
  font-weight:700;
  line-height:1.3;
  margin-bottom:8px;
}
.bilcustom-steps .bilcustom-steps__text,
.bilcustom-steps .bilcustom-steps__text .rich-text {
  font-size:1rem;
  line-height:1.5;
}
.bilcustom-steps .bilcustom-steps__text .rich-text :is(p,li) {
  font-size:inherit;
  line-height:inherit;
}
