/* ==========================================================
   XZLENZ — CUSTOM FRAMEWORK BUILDER
   Design 2 foundation + Design 3 capability/steps treatment
   ========================================================== */

:root {
  --cfb-ink: #061b45;
  --cfb-muted: #687d9c;
  --cfb-blue: #2682ff;
  --cfb-cyan: #19c8e9;
  --cfb-purple: #765cff;
  --cfb-green: #20c99b;
  --cfb-border: #dbe7f4;
  --cfb-soft: #f5f9ff;
  --cfb-navy: #03172f;
  --cfb-navy-2: #082f64;
}

.cfb-page {
  margin: 0;
  overflow-x: hidden;
  color: var(--cfb-ink);
  background: #fff;
  font-family:
    "Poppins",
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

.cfb-page *,
.cfb-page *::before,
.cfb-page *::after {
  box-sizing: border-box;
}

.cfb-page svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cfb-container {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.cfb-eyebrow {
  display: inline-block;
  color: #347cff;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.cfb-eyebrow-light {
  color: #59ddf7;
}


/* ==========================================================
   HERO
   ========================================================== */

.cfb-hero {
  position: relative;
  min-height: 675px;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background: #03152f;
}

.cfb-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.cfb-hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(
      90deg,
      rgba(1, 14, 37, .96) 0%,
      rgba(1, 14, 37, .86) 31%,
      rgba(1, 14, 37, .40) 50%,
      rgba(1, 14, 37, .05) 69%,
      rgba(1, 14, 37, .03) 100%
    );
}

.cfb-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 30%;
  background:
    linear-gradient(
      180deg,
      transparent,
      rgba(2, 17, 42, .35)
    );
}

.cfb-hero-inner {
  display: flex;
  align-items: center;
  min-height: 675px;
}

.cfb-hero-copy {
  width: min(650px, 50%);
}

.cfb-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #58dcf7;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.cfb-kicker-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #22d1ad;
  box-shadow: 0 0 0 8px rgba(34,209,173,.10);
}

.cfb-hero h1 {
  margin: 22px 0 20px;
  color: #fff;
  font-size: clamp(48px, 4vw, 84px);
  line-height: .97;
  letter-spacing: -.058em;
}

.cfb-hero h1 span {
  display: block;
  margin-top: 8px;
  color: transparent;
  background:
    linear-gradient(
      90deg,
      #1cc9ea 0%,
      #2e84ff 52%,
      #765cff 100%
    );
  -webkit-background-clip: text;
  background-clip: text;
}

.cfb-hero p {
  max-width: 600px;
  margin: 0 0 27px;
  color: #d7e3f1;
  font-size: 16px;
  line-height: 1.78;
}

.cfb-hero-cta {
  min-width: 190px;
}

.cfb-hero-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 26px;
}

.cfb-hero-notes span {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid rgba(142,193,255,.24);
  border-radius: 999px;
  color: #c6d9ef;
  background: rgba(255,255,255,.055);
  backdrop-filter: blur(8px);
  font-size: 8px;
  font-weight: 650;
}


/* ==========================================================
   WHY
   ========================================================== */

.cfb-why {
  position: relative;
  padding: 76px 0;
  background:
    radial-gradient(
      circle at 78% 32%,
      rgba(47,124,255,.065),
      transparent 28%
    ),
    linear-gradient(
      180deg,
      #ffffff 0%,
      #fbfdff 75%,
      #f7fbff 100%
    );
}

.cfb-why-grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(460px, 1.05fr);
  gap: 56px;
  align-items: center;
}

.cfb-why-copy h2 {
  max-width: 650px;
  margin: 10px 0 18px;
  color: var(--cfb-ink);
  font-size: clamp(40px, 4vw, 58px);
  line-height: 1.04;
  letter-spacing: -.048em;
}

.cfb-why-copy p {
  max-width: 650px;
  margin: 0 0 16px;
  color: var(--cfb-muted);
  font-size: 15px;
  line-height: 1.78;
}

.cfb-why-copy strong {
  display: block;
  max-width: 610px;
  color: var(--cfb-ink);
  font-size: 14px;
  line-height: 1.6;
}

.cfb-why-visual {
  position: relative;
  min-height: 430px;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 34px;
  border: 1px solid #d8e5f4;
  border-radius: 28px;
  background:
    radial-gradient(
      circle at 76% 28%,
      rgba(90,103,255,.13),
      transparent 34%
    ),
    radial-gradient(
      circle at 18% 76%,
      rgba(24,190,232,.10),
      transparent 30%
    ),
    linear-gradient(
      145deg,
      #fbfdff 0%,
      #f0f6ff 100%
    );
  box-shadow:
    0 24px 58px rgba(31,74,125,.10);
}

.cfb-preview-glow {
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background:
    radial-gradient(
      circle,
      rgba(72,101,255,.15) 0%,
      rgba(72,101,255,.05) 45%,
      transparent 72%
    );
  filter: blur(3px);
}

.cfb-builder-preview {
  position: relative;
  z-index: 2;
  width: min(100%, 610px);
  overflow: hidden;
  border: 1px solid rgba(148,178,219,.55);
  border-radius: 22px;
  background: rgba(255,255,255,.97);
  box-shadow:
    0 24px 50px rgba(42,76,125,.15);
}

.cfb-preview-topbar {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 17px 20px;
  border-bottom: 1px solid #e6edf6;
  background:
    linear-gradient(
      180deg,
      #ffffff 0%,
      #f8fbff 100%
    );
}

.cfb-preview-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cfb-preview-logo {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 12px;
  color: #fff;
  background:
    linear-gradient(
      145deg,
      #2f83ff,
      #6d5cff
    );
  box-shadow:
    0 10px 20px rgba(75,89,229,.19);
}

.cfb-preview-logo svg {
  width: 21px;
  height: 21px;
}

.cfb-preview-brand strong,
.cfb-preview-brand small {
  display: block;
}

.cfb-preview-brand strong {
  color: var(--cfb-ink);
  font-size: 13px;
  line-height: 1.2;
}

.cfb-preview-brand small {
  margin-top: 3px;
  color: #8294aa;
  font-size: 8px;
}

.cfb-preview-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 9px;
  border-radius: 999px;
  color: #148d70;
  background: #eafaf5;
  font-size: 7px;
  font-weight: 800;
  text-transform: uppercase;
}

.cfb-preview-live i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #20c99b;
}

.cfb-preview-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  padding: 14px 16px 8px;
}

.cfb-preview-stats > div {
  min-height: 68px;
  padding: 10px 12px;
  border: 1px solid #e1eaf5;
  border-radius: 12px;
  background: #fbfdff;
}

.cfb-preview-stats span,
.cfb-preview-stats strong,
.cfb-preview-stats small {
  display: block;
}

.cfb-preview-stats span {
  color: #8294aa;
  font-size: 7px;
}

.cfb-preview-stats strong {
  margin-top: 2px;
  color: var(--cfb-ink);
  font-size: 18px;
  line-height: 1.1;
}

.cfb-preview-stats small {
  margin-top: 3px;
  color: #20a77f;
  font-size: 6px;
  font-weight: 700;
}

.cfb-preview-flow {
  display: grid;
  gap: 7px;
  padding: 8px 16px 15px;
}

.cfb-preview-row {
  min-height: 58px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  gap: 11px;
  align-items: center;
  padding: 9px 11px;
  border: 1px solid #e0e9f4;
  border-radius: 12px;
  background:
    linear-gradient(
      180deg,
      #ffffff,
      #fbfdff
    );
}

.cfb-preview-row-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 11px;
}

.cfb-preview-row-icon svg {
  width: 18px;
  height: 18px;
}

.cfb-preview-row-icon.blue {
  color: #267cff;
  background: #eaf2ff;
}

.cfb-preview-row-icon.purple {
  color: #7258f5;
  background: #f0ecff;
}

.cfb-preview-row-icon.green {
  color: #12a987;
  background: #e8faf4;
}

.cfb-preview-row-icon.cyan {
  color: #159fd1;
  background: #e9f8fd;
}

.cfb-preview-row strong,
.cfb-preview-row small {
  display: block;
}

.cfb-preview-row strong {
  color: var(--cfb-ink);
  font-size: 9px;
  line-height: 1.2;
}

.cfb-preview-row small {
  margin-top: 3px;
  color: #8496ad;
  font-size: 6.5px;
  line-height: 1.35;
}

.cfb-preview-row > b {
  color: #347cff;
  font-size: 9px;
}

.cfb-preview-footer {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  padding: 11px 16px 14px;
  border-top: 1px solid #e8eef6;
  color: #8799ae;
  font-size: 6px;
}

.cfb-preview-footer b {
  padding: 4px 7px;
  border-radius: 999px;
  color: #43658a;
  background: #f2f6fb;
  font-size: 6px;
}

.cfb-preview-float {
  position: absolute;
  z-index: 3;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 11px;
  border: 1px solid #d7e4f4;
  border-radius: 11px;
  color: #3b5778;
  background: rgba(255,255,255,.97);
  box-shadow:
    0 12px 25px rgba(37,77,124,.12);
  font-size: 7px;
  font-weight: 750;
}

.cfb-preview-float span {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  color: #fff;
  background:
    linear-gradient(
      145deg,
      #2f83ff,
      #6d5cff
    );
}

.cfb-preview-float-a {
  top: 18px;
  right: 18px;
  transform: translateY(-34%);
}

.cfb-preview-float-b {
  left: 18px;
  bottom: 18px;
  transform: translateY(34%);
}


/* ==========================================================
   CAPABILITIES — LIGHT SECTION / DARK CARDS
   ========================================================== */

.cfb-capabilities {
  position: relative;
  padding: 74px 0 78px;
  background:
    linear-gradient(
      180deg,
      #f7fbff 0%,
      #ffffff 28%,
      #ffffff 100%
    );
}

.cfb-section-head {
  max-width: 860px;
  margin-bottom: 26px;
}

.cfb-section-head h2 {
  margin: 8px 0 10px;
  color: var(--cfb-ink);
  font-size: clamp(36px, 3.5vw, 52px);
  line-height: 1.06;
  letter-spacing: -.046em;
}

.cfb-section-head p {
  max-width: 730px;
  margin: 0;
  color: var(--cfb-muted);
  font-size: 14px;
  line-height: 1.7;
}

.cfb-capability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.cfb-dark-card {
  position: relative;
  min-height: 238px;
  display: flex;
  flex-direction: column;
  padding: 23px 24px;
  overflow: hidden;
  border: 1px solid rgba(88,157,243,.30);
  border-radius: 20px;
  color: #fff;
  background:
    radial-gradient(
      circle at 100% 0,
      rgba(48,126,255,.17),
      transparent 31%
    ),
    linear-gradient(
      145deg,
      #061e43 0%,
      #0a376e 100%
    );
  box-shadow:
    0 20px 45px rgba(5,33,73,.13);
  transition:
    transform .22s ease,
    box-shadow .22s ease;
}

.cfb-dark-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 28px 58px rgba(5,33,73,.20);
}

.cfb-dark-card::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -95px;
  bottom: -90px;
  border: 1px solid rgba(94,166,255,.13);
  border-radius: 50%;
  box-shadow:
    0 0 0 36px rgba(94,166,255,.025);
}

.cfb-dark-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  box-shadow:
    0 13px 25px rgba(0,17,48,.18);
}

.cfb-dark-icon svg {
  width: 24px;
  height: 24px;
}

.cfb-blue {
  color: #fff;
  background: linear-gradient(145deg, #168eea, #2769ff);
}

.cfb-purple {
  color: #fff;
  background: linear-gradient(145deg, #855cff, #5942e8);
}

.cfb-green {
  color: #fff;
  background: linear-gradient(145deg, #1ec9bd, #128f8c);
}

.cfb-card-no {
  position: absolute;
  top: 24px;
  right: 24px;
  color: #7baee9;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
}

.cfb-dark-card h3 {
  margin: 18px 0 7px;
  font-size: 22px;
  line-height: 1.1;
  letter-spacing: -.025em;
}

.cfb-dark-card p {
  margin: 0;
  color: #c6d8eb;
  font-size: 12px;
  line-height: 1.7;
}

.cfb-card-footer {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 16px;
}

.cfb-card-footer span {
  padding: 5px 8px;
  border: 1px solid rgba(133,186,242,.17);
  border-radius: 999px;
  color: #9fc8f4;
  background: rgba(255,255,255,.045);
  font-size: 6px;
  font-weight: 700;
}


/* ==========================================================
   HOW IT WORKS — DESIGN 3 STYLE
   ========================================================== */

.cfb-how {
  position: relative;
  padding: 76px 0 82px;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 80% 5%,
      rgba(75,123,255,.08),
      transparent 28%
    ),
    linear-gradient(
      180deg,
      #ffffff 0%,
      #f8fbff 100%
    );
}

.cfb-steps {
  display: grid;
  grid-template-columns:
    minmax(0, 1fr)
    50px
    minmax(0, 1fr)
    50px
    minmax(0, 1fr);
  gap: 10px;
  align-items: stretch;
}

.cfb-step-card {
  position: relative;
  min-height: 245px;
  padding: 23px 24px;
  overflow: hidden;
  border: 1px solid rgba(88,157,243,.28);
  border-radius: 19px;
  color: #fff;
  background:
    linear-gradient(
      145deg,
      #082958 0%,
      #0a3b77 100%
    );
  box-shadow:
    0 18px 42px rgba(12,52,99,.13);
}

.cfb-step-card::after {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  right: -74px;
  bottom: -80px;
  border-radius: 50%;
  background: rgba(50,124,255,.08);
}

.cfb-step-number {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  box-shadow:
    0 9px 20px rgba(0,16,44,.18);
}

.cfb-step-blue {
  background: linear-gradient(145deg, #178fea, #2768ff);
}

.cfb-step-purple {
  background: linear-gradient(145deg, #885dff, #6443e8);
}

.cfb-step-green {
  background: linear-gradient(145deg, #21cbb9, #128f8c);
}

.cfb-step-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-top: 17px;
  border: 1px solid rgba(142,191,243,.20);
  border-radius: 14px;
  color: #8fcaff;
  background: rgba(255,255,255,.055);
}

.cfb-step-icon svg {
  width: 22px;
  height: 22px;
}

.cfb-step-card h3 {
  max-width: 290px;
  margin: 14px 0 8px;
  font-size: 19px;
  line-height: 1.2;
  letter-spacing: -.025em;
}

.cfb-step-card p {
  margin: 0;
  color: #c7d9eb;
  font-size: 11px;
  line-height: 1.72;
}

.cfb-step-connector {
  display: grid;
  place-items: center;
}

.cfb-step-connector span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-size: 19px;
  font-weight: 800;
  box-shadow:
    0 10px 22px rgba(27,92,181,.18);
}

.cfb-connector-blue span {
  background: linear-gradient(145deg, #188fe8, #256dff);
}

.cfb-connector-green span {
  background: linear-gradient(145deg, #22c9b9, #159389);
}


/* ==========================================================
   CLOSING — DARK
   ========================================================== */

.cfb-closing {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(
      circle at 80% 35%,
      rgba(109,83,255,.21),
      transparent 28%
    ),
    linear-gradient(
      135deg,
      #03162f 0%,
      #062752 55%,
      #0a3470 100%
    );
}

.cfb-closing-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .12;
  background-image:
    linear-gradient(rgba(91,157,255,.36) 1px, transparent 1px),
    linear-gradient(90deg, rgba(91,157,255,.36) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image:
    linear-gradient(
      90deg,
      transparent 0%,
      #000 55%,
      #000 100%
    );
}

.cfb-closing-inner {
  min-height: 270px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(380px, .9fr);
  gap: 60px;
  align-items: center;
  padding: 65px 0;
}

.cfb-closing-copy h2 {
  margin: 9px 0 13px;
  color: #fff;
  font-size: clamp(42px, 4.2vw, 62px);
  line-height: 1;
  letter-spacing: -.052em;
}

.cfb-closing-copy h2 span {
  color: transparent;
  background:
    linear-gradient(
      90deg,
      #20cae9,
      #765cff
    );
  -webkit-background-clip: text;
  background-clip: text;
}

.cfb-closing-copy p {
  max-width: 650px;
  margin: 0;
  color: #c9d9ea;
  font-size: 14px;
  line-height: 1.72;
}

.cfb-closing-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.cfb-secondary-btn {
  min-height: 49px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 17px;
  border: 1px solid rgba(130,187,246,.38);
  border-radius: 11px;
  color: #d8e9fb;
  background: rgba(255,255,255,.045);
  font-size: 10px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition:
    border-color .18s ease,
    background .18s ease;
}

.cfb-secondary-btn:hover {
  border-color: rgba(138,203,255,.7);
  background: rgba(255,255,255,.08);
}


/* ==========================================================
   REVEAL
   ========================================================== */

.cfb-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity .65s ease,
    transform .65s ease;
}

.cfb-reveal.is-visible {
  opacity: 1;
  transform: none;
}


/* ==========================================================
   RESPONSIVE
   ========================================================== */

@media (max-width: 1180px) {
  .cfb-why-grid {
    grid-template-columns: 1fr 1fr;
    gap: 45px;
  }

  .cfb-closing-inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .cfb-closing-actions {
    justify-content: flex-start;
  }
}


@media (max-width: 980px) {
  .cfb-hero {
    min-height: 700px;
  }

  .cfb-hero-bg {
    object-position: 68% center;
  }

  .cfb-hero-shade {
    background:
      linear-gradient(
        180deg,
        rgba(1,14,37,.97) 0%,
        rgba(1,14,37,.90) 47%,
        rgba(1,14,37,.44) 75%,
        rgba(1,14,37,.12) 100%
      );
  }

  .cfb-hero-inner {
    min-height: 700px;
    align-items: flex-start;
    padding-top: 70px;
  }

  .cfb-hero-copy {
    width: 100%;
    max-width: 650px;
  }

  .cfb-why-grid {
    grid-template-columns: 1fr;
  }

  .cfb-why-visual {
    max-width: 720px;
  }

  .cfb-capability-grid {
    grid-template-columns: 1fr;
  }

  .cfb-dark-card {
    min-height: 270px;
  }

  .cfb-steps {
    grid-template-columns: 1fr;
  }

  .cfb-step-connector {
    min-height: 42px;
  }

  .cfb-step-connector span {
    transform: rotate(90deg);
  }
}


@media (max-width: 680px) {
  .cfb-container {
    width: calc(100% - 30px);
  }

  .cfb-hero {
    min-height: 660px;
  }

  .cfb-hero-inner {
    min-height: 660px;
    padding-top: 50px;
  }

  .cfb-hero h1 {
    font-size: clamp(46px, 13vw, 62px);
  }

  .cfb-hero p {
    font-size: 14px;
  }

  .cfb-why,
  .cfb-capabilities,
  .cfb-how {
    padding: 68px 0;
  }

  .cfb-why-visual {
    min-height: 315px;
  }

  .cfb-chip-b {
    left: 14px;
  }

  .cfb-chip-a {
    right: 14px;
  }

  .cfb-chip-c {
    right: 14px;
  }

  .cfb-closing-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cfb-closing-actions .btn,
  .cfb-secondary-btn {
    width: 100%;
  }
}


@media (max-width: 480px) {
  .cfb-container {
    width: calc(100% - 24px);
  }

  .cfb-hero h1 {
    font-size: 43px;
  }

  .cfb-why-copy h2,
  .cfb-section-head h2 {
    font-size: 36px;
  }

  .cfb-why-visual {
    min-height: 330px;
  }

  .cfb-why-core {
    width: 135px;
    height: 135px;
  }

  .cfb-why-chip {
    min-height: 45px;
    padding: 0 10px;
    font-size: 7px;
  }

  .cfb-dark-card,
  .cfb-step-card {
    padding: 23px;
  }
}


@media (prefers-reduced-motion: reduce) {
  .cfb-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}


/* ==========================================================
   REFINEMENT OVERRIDES
   ========================================================== */

.cfb-capability-grid,
.cfb-steps {
  align-items: stretch;
}

.cfb-dark-card {
  justify-content: flex-start;
}

.cfb-dark-card .cfb-card-footer {
  margin-top: 15px;
}

.cfb-step-card {
  display: flex;
  flex-direction: column;
}

.cfb-step-card p {
  max-width: 96%;
}

@media (max-width: 980px) {
  .cfb-why-visual {
    min-height: 410px;
  }

  .cfb-builder-preview {
    width: min(100%, 620px);
  }

  .cfb-preview-float-a,
  .cfb-preview-float-b {
    transform: none;
  }

  .cfb-preview-float-a {
    top: 12px;
    right: 12px;
  }

  .cfb-preview-float-b {
    left: 12px;
    bottom: 12px;
  }

  .cfb-dark-card,
  .cfb-step-card {
    min-height: auto;
  }
}

@media (max-width: 680px) {
  .cfb-why-visual {
    min-height: 390px;
    padding: 22px;
  }

  .cfb-preview-float {
    display: none;
  }

  .cfb-preview-stats {
    gap: 6px;
  }

  .cfb-preview-stats > div {
    padding: 9px;
  }

  .cfb-preview-row {
    grid-template-columns: 34px minmax(0, 1fr) auto;
  }

  .cfb-dark-card,
  .cfb-step-card {
    padding: 21px;
  }
}

@media (max-width: 480px) {
  .cfb-preview-stats {
    grid-template-columns: 1fr;
  }

  .cfb-preview-stats > div {
    min-height: 52px;
  }

  .cfb-why-visual {
    min-height: auto;
  }
}
