/* ===============================
   Next Steps v3, ultra clean
   =============================== */
.nextx{
  --rail-max: 1120px;
  --pad: clamp(16px, 4vw, 48px);
  --ink: #1f2434;
  --ink-muted: #6a7284;
  --blue-50: #f4f9fe;
  --blue-200: #b9daf4;
  --blue-400: #5aaee0;
  --blue-700: #1f6fa3;
  --surface: #ffffff;
  --radius-lg: 14px;
  --radius-sm: 10px;

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

.nextx__rail{ max-width: var(--rail-max); margin: 0 auto; }

.nextx__head{ margin-bottom: 14px; }
.nextx__title{
  margin: 0 0 6px 0;
  font-weight: 800;
  font-size: clamp(22px, 2vw, 28px);
  letter-spacing: .2px;
}
.nextx__lede{
  margin: 0;
  color: var(--ink-muted);
  line-height: 1.7;
}

/* Card shell */
.nextx__list{
  list-style: none;
  padding: 0;
  margin: 16px 0 12px 0;
  background: var(--surface);
  border: 1px solid rgba(31,111,163,.14);
  border-radius: var(--radius-lg);
  box-shadow: 0 6px 18px rgba(0,0,0,.06);
  overflow: hidden; /* keep dividers flush */
}

/* Rows */
.nextx__item{
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  padding: 14px 16px;
  align-items: start;
}
.nextx__item + .nextx__item{
  border-top: 1px solid rgba(31,111,163,.12);
}

/* Icon chip, white glyphs on blue gradient */
.nextx__icon{
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  color: #fff; /* SVGs inherit */
  background:
    radial-gradient(120% 120% at 20% 20%, rgba(255,255,255,.55) 0%, rgba(255,255,255,0) 62%),
    linear-gradient(135deg, var(--blue-400), var(--blue-700));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.18);
}
.nextx__icon svg{ width: 20px; height: 20px; display: block; }

/* Content */
.nextx__label{
  margin: 0;
  font-weight: 700;
}
.nextx__text{
  margin: 2px 0 0 0;
  color: var(--ink);
  line-height: 1.65;
}

/* Goal line */
.nextx__goal{
  margin: 10px 2px 0 2px;
  padding: 12px 14px 0 14px;
  color: var(--ink-muted);
  font-size: 14px;
  line-height: 1.6;
}

/* Responsive polish */
@media (min-width: 860px){
  .nextx__item{ 
    grid-template-columns: 44px 1fr;
    padding: 16px 18px; 
  }
  .nextx__icon{ width: 44px; height: 44px; }
  .nextx__icon svg{ width: 22px; height: 22px; }
}

/* Subtle interactive affordance without distraction */
.nextx__item:hover .nextx__label{
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  .nextx__item:hover .nextx__label{ text-decoration: underline; }
}
