/* MARKIT's existing charcoal, off-white and mint palette; a quiet circular flow. */
.markit-flow {
  --flow-mint: #10b981;
  --flow-paper: #f4f4f5;
  --flow-muted: #b8b8c2;
  --flow-ground: hsl(var(--background));
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 48px;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 96px 48px;
  scroll-margin-top: 88px;
}
.markit-flow-heading h2 {
  margin: 0;
  color: var(--flow-paper);
  font-size: clamp(56px, 6.8vw, 92px);
  font-weight: 800;
  line-height: .97;
  letter-spacing: -.055em;
}
.markit-flow-heading h2 > span { display: block; }
.markit-flow-heading .markit-flow-the {
  margin-bottom: 16px;
  font-size: 18px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: .02em;
}
.markit-flow-heading .markit-flow-word { color: var(--flow-mint); }
.markit-flow-heading > p {
  margin: 24px 0;
  color: var(--flow-muted);
  font-size: 20px;
  line-height: 1.5;
}
.markit-flow-cta {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-height: 48px;
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid var(--flow-mint);
  background: transparent;
  color: var(--flow-paper);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}
.markit-flow-cta > span { color: var(--flow-mint); font-size: 24px; }
.markit-flow-cta:hover { color: var(--flow-mint); }
.markit-flow-cta:focus-visible { outline: 2px solid var(--flow-mint); outline-offset: 6px; }
.markit-flow-cycle {
  position: relative;
  isolation: isolate;
  width: 100%;
  aspect-ratio: 1;
  max-width: 580px;
  justify-self: end;
}
/* One continuous path: a substantial track and a smoothly tapered moving arc. */
.markit-flow-ring {
  position: absolute;
  inset: 11%;
  border: 8px solid rgba(110, 231, 183, .16);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16, 185, 129, .055), transparent 72%);
  box-shadow: inset 0 0 0 1px rgba(167, 243, 208, .04), 0 0 0 1px rgba(167, 243, 208, .04);
}
.markit-flow-ring::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(110, 231, 183, .1);
  border-radius: 50%;
}
.markit-flow-ring::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  padding: 8px;
  background: conic-gradient(from 0deg, transparent 0deg 145deg, #10664f 205deg, #10b981 285deg, #a7f3d0 350deg, transparent 360deg);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  animation: markit-flow-orbit 12s linear infinite;
}
.markit-flow-stages { margin: 0; padding: 0; list-style: none; }
.markit-flow-stages li {
  position: absolute;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 14px 10px 10px;
  border: 1px solid rgba(167, 243, 208, .2);
  border-radius: 999px;
  background: #222d29;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .16), inset 0 1px rgba(255, 255, 255, .04);
  color: var(--flow-paper);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  transform: translate(-50%, -50%);
  white-space: nowrap;
}
.markit-flow-stages li > span {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(110, 231, 183, .09);
  color: #a7f3d0;
  font-size: 10px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.markit-flow-stages li:nth-child(1) { top: 11%; left: 50%; }
.markit-flow-stages li:nth-child(2) { top: 37.95%; left: 87.09%; }
.markit-flow-stages li:nth-child(3) { top: 81.55%; left: 72.92%; }
.markit-flow-stages li:nth-child(4) { top: 81.55%; left: 27.08%; }
.markit-flow-stages li:nth-child(5) { top: 37.95%; left: 12.91%; }
.markit-flow-center {
  position: absolute;
  inset: 25% 21%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 16px;
  text-align: center;
}
.markit-flow-eyebrow {
  color: #a7f3d0;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.markit-flow-center p { margin: 0; color: #dedee3; font-size: clamp(14px, 1.3vw, 18px); line-height: 1.65; text-wrap: pretty; }
@keyframes markit-flow-orbit { to { transform: rotate(360deg); } }
@media (max-width: 767px) {
  .markit-flow { grid-template-columns: minmax(0, 1fr); gap: 32px; padding: 64px 20px; }
  .markit-flow-heading h2 { font-size: clamp(56px, 12vw, 80px); }
  .markit-flow-heading > p { margin: 24px 0; font-size: 18px; }
  .markit-flow-cycle { justify-self: center; max-width: 480px; }
  .markit-flow-center { inset: 23% 21%; gap: 10px; }
  .markit-flow-center p { max-width: 94%; font-size: clamp(12px, 3.3vw, 16px); line-height: 1.55; }
  .markit-flow-eyebrow { font-size: 9px; letter-spacing: .06em; }
  .markit-flow-stages li { gap: 5px; padding: 6px 9px 6px 6px; font-size: 11px; }
  .markit-flow-stages li > span { width: 19px; height: 19px; font-size: 9px; }
  .markit-flow-stages li:nth-child(2) { left: 92%; }
  .markit-flow-stages li:nth-child(5) { left: 8%; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .markit-flow { gap: 24px; padding: 80px 32px; }
  .markit-flow-heading h2 { font-size: 60px; }
  .markit-flow-stages li { gap: 5px; padding: 6px 9px 6px 6px; font-size: 11px; }
  .markit-flow-stages li > span { width: 19px; height: 19px; font-size: 9px; }
  .markit-flow-center { inset: 23% 21%; gap: 10px; }
  .markit-flow-center p { font-size: 13px; line-height: 1.5; }
  .markit-flow-eyebrow { font-size: 8px; letter-spacing: .08em; }
}
@media (prefers-reduced-motion: reduce) {
  .markit-flow-ring::after { animation: none; transform: rotate(35deg); }
}
