/* Next-step panel (ui.next-step, prototype "next-panel"): eyebrow, arrow visual with a label pill,
   heading, lead, full-width primary action and a numbered "how it works" list. */

.ui-next-step {
  display: flex;
  min-width: 0;
  height: 100%;
  padding: 1.6rem;
  flex-direction: column;
  color: var(--color-ink);
  background: linear-gradient(145deg, var(--color-brand-soft), var(--color-surface) 70%);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--surface-shadow);
}

.ui-next-step__eyebrow {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ui-next-step__visual {
  position: relative;
  display: grid;
  width: 6.25rem;
  height: 6.25rem;
  margin: 1.6rem auto;
  place-items: center;
  color: var(--color-brand-text);
  background: radial-gradient(
    circle at 30% 20%,
    light-dark(#d8f1e0, #1f4a42),
    var(--color-brand-muted)
  );
  border: 1px solid var(--color-brand-border);
  border-radius: 50%;
}

.ui-next-step__visual svg {
  width: 3rem;
  height: 3rem;
}

.ui-next-step__visual-label {
  position: absolute;
  bottom: -0.35rem;
  padding: 0.3rem 0.6rem;
  color: var(--color-ink-soft);
  background: var(--color-surface);
  border: 1px solid var(--color-brand-border);
  border-radius: 999px;
  font-size: 0.62rem;
  white-space: nowrap;
}

.ui-next-step__title {
  margin: 0.9rem 0 0.6rem;
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.ui-next-step__text {
  margin: 0 0 1.1rem;
  color: var(--color-muted);
  font-size: 0.8rem;
  line-height: 1.75;
}

.ui-next-step__action {
  width: 100%;
  justify-content: center;
}

.ui-next-step__how {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-line);
}

.ui-next-step__steps {
  margin: 1.1rem 0 0;
  padding: 0;
  counter-reset: ui-next-step;
  list-style: none;
}

.ui-next-step__steps > li {
  position: relative;
  padding: 0 0 1.2rem 2rem;
  font-size: 0.8rem;
}

.ui-next-step__steps > li:last-child {
  padding-bottom: 0;
}

.ui-next-step__steps > li::before {
  position: absolute;
  top: -0.1rem;
  left: 0;
  display: grid;
  width: 1.35rem;
  height: 1.35rem;
  place-items: center;
  color: var(--color-brand-text);
  border: 1px solid var(--color-brand-border);
  border-radius: 50%;
  content: counter(ui-next-step);
  counter-increment: ui-next-step;
  font-size: 0.65rem;
}

.ui-next-step__steps strong {
  display: block;
  font-family: "Manrope", system-ui, sans-serif;
}

.ui-next-step__steps small {
  display: block;
  margin-top: 0.25rem;
  color: var(--color-muted);
  font-size: 0.7rem;
  line-height: 1.5;
}
