/* ==========================================================================
   Homepage only. Loaded after style.css through $pageCss in index.php.
   Everything is prefixed hm- or scoped to a homepage section.
   ========================================================================== */

/* ---- lifecycle rail above the three service cards ---- */
.hm-lifecycle {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  counter-reset: none;
}
.hm-lifecycle li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
}
.hm-lifecycle li span {
  flex: none;
  width: 32px; height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--blue);
  color: var(--gold);
  font-size: 12.5px;
  font-weight: 800;
}
/* arrow between the stages */
.hm-lifecycle li:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 50%; right: -18px;
  width: 12px; height: 12px;
  border-top: 2px solid var(--blue-3);
  border-right: 2px solid var(--blue-3);
  transform: translateY(-50%) rotate(45deg);
}
@media (max-width: 767.98px) {
  .hm-lifecycle { grid-template-columns: 1fr; gap: 10px; }
  .hm-lifecycle li:not(:last-child)::after { display: none; }
}

/* ---- blue band: a periwinkle disc in the corner, echoing the hero ---- */
.hm-blue-disc {
  position: absolute;
  top: -180px; right: -160px;
  width: 460px; height: 460px;
  border-radius: 50%;
  background: rgba(91, 124, 245, .45);
  pointer-events: none;
}

.hm-band-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 44px;
}
.hm-band-cta.justify-content-start { justify-content: flex-start; margin-top: 30px; }

/* ---- reporting split: links inside the check list ---- */
.check-list span a { color: var(--blue); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ---- friendly fraud on black ---- */
.hm-fraud .hm-dark-sun {
  position: absolute;
  right: -160px; bottom: -160px;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: var(--sun);
  opacity: .9;
  pointer-events: none;
}
.hm-fraud .check-list strong { color: #fff; }
.hm-fraud .check-list span { color: rgba(255, 255, 255, .72); }
.hm-fraud .check-list i { color: var(--gold); background: rgba(255, 186, 0, .14); }
.hm-fraud .split-img-frame::before { background: var(--peri); opacity: .55; }

/* ---- win a chargeback ---- */
.cmp-note a { color: var(--blue); font-weight: 600; }
.hm-why { margin-top: 56px; }

/* ---- integrations lead link ---- */
#integrations .lead-cg a { color: var(--blue); font-weight: 600; }

/* ---- FAQ answers carry links ---- */
#faq .accordion-body a { color: var(--blue); font-weight: 600; }


/* ---- reporting showcase: heading row, full-width dashboard, four points ---- */
.hm-dash-head { margin-bottom: 40px; }
.hm-dash-shot { position: relative; }
.hm-dash-shot::before {
  content: '';
  position: absolute;
  inset: 8% 6% -4%;
  border-radius: 40px;
  background: radial-gradient(60% 60% at 50% 40%, rgba(91, 124, 245, .22), transparent 70%);
  filter: blur(30px);
  z-index: 0;
}
.hm-dash-shot .mock { position: relative; z-index: 1; }
.hm-dash-shot .ui-note { position: relative; z-index: 1; margin-top: 14px; text-align: center; }
.hm-dash-points { margin-top: 36px; }
.hm-dash-point {
  height: 100%;
  padding: 20px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.hm-dash-point i { color: var(--blue); font-size: 20px; }
.hm-dash-point strong { font-size: 15.5px; color: var(--ink); }
.hm-dash-point span { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* lifecycle cards: the stage screens replace the photos, without the wash */
.hm-stage-img::after { content: none; }
.hm-stage-img .mk-home-stage-card { transition: transform .35s ease; }
.cg-card:hover .hm-stage-img .mk-home-stage-card { transform: translateY(-3px); }
/* friendly fraud case window on the black band */
.hm-fraud-shot { position: relative; }
.hm-fraud-shot::before {
  content: '';
  position: absolute;
  inset: 10% -4% -6% 10%;
  border-radius: 32px;
  background: var(--peri);
  opacity: .5;
  filter: blur(50px);
}
.hm-fraud-shot .mock { position: relative; }
