/* Homepage chapter markers only. Shared sections, CTAs and journeys stay intact. */
#main-content .fxhome-chapter-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  max-width: 100%;
  box-sizing: border-box;
  margin: 0 0 24px;
  padding: 8px 12px;
  border: 1px solid #e4b8d461;
  border-radius: 999px;
  background: linear-gradient(110deg, #e9ac8214, #d78aba10 48%, #aa95e41a), #101522d9;
  color: #efe6f2;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: .08em;
  white-space: nowrap;
  box-shadow: inset 0 1px #ffe5ef24, 0 0 12px #e1a3c42e, 0 0 22px #a48be024;
}
#main-content .fxhome-chapter-badge::before { content: none; }
#main-content .fxhome-chapter-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  border-radius: 50%;
  background: linear-gradient(120deg, #ffd29e, #f0b5d5, #cdbdfa);
  box-shadow: 0 0 0 3px #e8b4cf16, 0 0 8px #f0b5d580, 0 0 14px #c3a4ee40;
  pointer-events: none;
}
/* The existing title margin provides this badge's spacing below. */
#main-content #rafi-discovery .fxhome-chapter-badge { margin-bottom: 0; }

/* Keep section-end breathing, then 48px from each line to the next badge.
   Estimation retains its own top padding: the Hero stays untouched. */
#main-content #fixeo-diagnostic-signature,
#main-content #rafi-discovery { padding-top: 0; }
#main-content .fxhome-chapter-divider {
  display: block;
  width: min(420px, 82%);
  height: 1px;
  margin: 0 auto 48px;
  padding: 0;
  border: 0;
  background: linear-gradient(90deg, transparent, #dfa06f80 22%, #d68bb999 50%, #aa93dc80 78%, transparent);
  box-shadow: 0 0 7px #d49abb20;
  pointer-events: none;
}
/* Replace the previous wide separator; do not stack two lines. */
#main-content #rafi-discovery::before { content: none; }
/* The closing line uses the existing spacing of Possibilities and Artisan. */
#main-content .fxhome-chapter-divider--closing { margin: 0 auto; }
/* Possibilities to Artisan: the same 48px line-to-badge rhythm. */
#main-content #rafi-discovery { padding-bottom: 60px; }
#main-content #artisan-gateway { padding-top: 48px; }
@media (max-width: 540px) {
  #main-content #rafi-discovery { padding-bottom: 48px; }
}
/* Markers are static, including when reduced motion is requested. */
