/* ===============================
   NEXT STEPS SECTION
   Matches Key Learnings layout
   =============================== */

#next-steps.learn {
  --rail-max: 1160px;
  --pad: clamp(16px, 4vw, 48px);
  --ink: #2b3147;
  --ink-muted: #6a7284;
  --surface: #ffffff;
  --surface-soft: #ffffff;

  /* Coral gradient stops */
  --coral-1: #ff7d71;
  --coral-2: #ff6c63;
  --coral-3: #ff9087;

  font-family: 'Montserrat', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--ink);
  padding: clamp(40px, 6vw, 80px) var(--pad);
}

#next-steps .learn__rail {
  max-width: var(--rail-max);
  margin: 0 auto;
}

/* Card container */
#next-steps .learn-card {
  background: var(--surface);
  border-radius: 14px;
  box-shadow: 0 10px 26px rgba(25, 33, 61, 0.10);
  padding: 18px;
}

/* Title and intro */
#next-steps .learn__title {
  margin: 0 0 4px 0;
  font-weight: 800;
  font-size: clamp(24px, 2.3vw, 32px);
  color: var(--ink);
}

#next-steps .learn__intro {
  margin: 0 0 16px 0;
  color: var(--ink-muted);
  font-size: 15px;
}

/* List wrapper */
#next-steps .learn__list {
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--surface);
  border-radius: 10px;
  overflow: hidden;
}

/* Items */
#next-steps .learn__item {
  position: relative;
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 14px;
  align-items: center;
  padding: 18px;
  background: var(--surface-soft);
}

/* Full-width divider */
#next-steps .learn__item + .learn__item::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: rgba(43, 49, 71, 0.10);
}

/* Icon square with coral gradient */
#next-steps .learn__icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  position: relative;
  background: linear-gradient(
    145deg,
    var(--coral-1) 0%,
    var(--coral-2) 55%,
    var(--coral-3) 100%
  );
  box-shadow:
    0 6px 14px rgba(255, 108, 99, 0.35),
    inset 0 1px 0 rgba(255,255,255,0.35);
}

#next-steps .learn__icon::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 12px;
  background: linear-gradient(
    to bottom,
    rgba(255,255,255,0.38),
    rgba(255,255,255,0) 60%
  );
  pointer-events: none;
}

#next-steps .learn__icon svg {
  width: 20px;
  height: 20px;
  fill: #fff;
  filter: drop-shadow(0 1px 0 rgba(0,0,0,0.06));
}

/* Text */
#next-steps .learn__text {
  line-height: 1.55;
}

#next-steps .learn__item-title {
  margin: 0 0 4px 0;
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
}

#next-steps .learn__item-body {
  margin: 0;
  font-size: 15px;
  color: var(--ink-muted);
}

/* Footer note */
#next-steps .learn__final {
  margin: 14px 2px 2px 2px;
  font-size: 14.5px;
  color: var(--ink-muted);
}

/* Responsive */
@media (max-width: 560px) {
  #next-steps .learn__item {
    grid-template-columns: 40px 1fr;
    gap: 12px;
    padding: 16px;
  }
  #next-steps .learn__item-title {
    font-size: 16.5px;
  }
  #next-steps .learn__item-body {
    font-size: 14.5px;
  }
}
