.steps {
  max-width: 72rem;
  margin-inline: auto;
  padding: clamp(4rem, 9vw, 7.5rem) clamp(1.25rem, 4vw, 3rem);
  font-family: system-ui, sans-serif;
  color: #17181a;
  background: #ffffff;
}

.steps__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  text-align: center;
}

.steps__eyebrow {
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: #f0efed;
  font-size: 0.8rem;
  color: rgba(23, 24, 26, 0.7);
}

.steps__title {
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  font-weight: 500;
  letter-spacing: -0.02em;
}

.steps__subtitle {
  max-width: 30rem;
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgba(23, 24, 26, 0.6);
}

.steps__grid {
  --gap: 1.5rem;
  --col: calc((100% - 3 * var(--gap)) / 4);
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
}

.steps__card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.75rem;
  border-radius: 1rem;
  background: #f7f6f4;
}

.steps__label {
  margin-bottom: 0.4rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(23, 24, 26, 0.45);
}

.steps__card-title {
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.015em;
}

.steps__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  flex: 1;
  min-height: 9.5rem;
  padding: 1.25rem 0;
}

.steps__chip {
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: #ffffff;
  font-size: 0.75rem;
  color: rgba(23, 24, 26, 0.65);
}

/* Connectors between cards: dark circle + our pixel chevron */
.steps__connector {
  --size: 1.75rem;
  position: absolute;
  top: 50%;
  left: calc(var(--i) * var(--col) + (var(--i) - 0.5) * var(--gap));
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  background: #17181a;
  box-shadow: 0 0 0 0.45rem #ffffff;
  transform: translate(-50%, -50%);
}

.steps__connector-chevron {
  --px: 2px;
  position: absolute;
  top: calc(50% - 3.5 * var(--px));
  left: calc(50% - 2 * var(--px));
  width: var(--px);
  height: var(--px);
  color: #ffffff;
  background: currentColor;
  box-shadow:
    var(--px) var(--px),
    calc(2 * var(--px)) calc(2 * var(--px)),
    calc(3 * var(--px)) calc(3 * var(--px)),
    calc(2 * var(--px)) calc(4 * var(--px)),
    var(--px) calc(5 * var(--px)),
    0 calc(6 * var(--px));
}

/* ---------- Step visuals ---------- */

/* 1: integration rows */
.steps-connect {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
}

.steps-connect__row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.75rem;
  border-radius: 0.6rem;
  background: #ffffff;
  font-size: 0.8rem;
}

.steps-connect__row img {
  width: 1rem;
  height: 1rem;
  object-fit: contain;
}

/* 2: bars */
.steps-watch {
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;
  height: 7rem;
}

.steps-watch span {
  width: 1.1rem;
  border-radius: 0.3rem 0.3rem 0 0;
  background: #ffffff;
}

.steps-watch span:nth-child(1) { height: 38%; }
.steps-watch span:nth-child(2) { height: 55%; }
.steps-watch span:nth-child(3) { height: 44%; }
.steps-watch span:nth-child(4) { height: 88%; }
.steps-watch span:nth-child(5) { height: 60%; }
.steps-watch span:nth-child(6) { height: 48%; }

.steps-watch .is-hot {
  background: #17181a;
}

/* 3: mini alert */
.steps-signal {
  width: 100%;
  padding: 0.85rem 0.95rem;
  border-radius: 0.75rem;
  background: #ffffff;
}

.steps-signal__brand {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.55rem;
  font-size: 0.72rem;
  font-weight: 500;
}

.steps-signal__brand svg {
  width: 0.7rem;
  height: 0.7rem;
}

.steps-signal__line {
  margin-bottom: 0.2rem;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.steps-signal__sub {
  font-size: 0.72rem;
  color: rgba(23, 24, 26, 0.5);
}

/* 4: tilted share chips */
.steps-share {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.steps-share__chip {
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: #ffffff;
  font-size: 0.75rem;
  transform: rotate(-3deg);
}

.steps-share__chip--dark {
  background: #17181a;
  color: #ffffff;
  transform: rotate(2deg);
}

.steps-share__chip:last-child {
  transform: rotate(-1.5deg);
}

@media (max-width: 960px) {
  .steps__grid {
    grid-template-columns: 1fr 1fr;
  }

  .steps__connector {
    display: none;
  }
}

@media (max-width: 560px) {
  .steps__grid {
    grid-template-columns: 1fr;
  }
}
