/* How it works · step 05 — keep the table going */
.how-it-works .step-five {
  background: #f7f4ea;
  padding: 8px 0 28px;
}

.how-it-works .step-five > .dp-wrap {
  display: none !important;
}

.how-it-works .step-five .hiw-keep {
  width: calc(100% - 64px);
  max-width: 1280px;
  margin: 0 auto;
  padding: 36px 36px 28px;
  border-radius: 28px;
  background: #fffdf8;
  border: 1px solid rgba(8, 76, 60, 0.08);
  box-shadow: 0 20px 44px -28px rgba(8, 50, 40, 0.35);
}

.how-it-works .step-five .hiw-keep-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 22px 28px;
  align-items: end;
  margin-bottom: 28px;
}

.how-it-works .step-five .hiw-keep-index {
  margin: 0;
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  background: #c5f45d;
  color: #084c3c;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.how-it-works .step-five .hiw-keep-head h2 {
  margin: 0;
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.045em;
  color: #084c3c;
}

.how-it-works .step-five .hiw-keep-head h2 span {
  display: block;
  color: #fa715b;
}

.how-it-works .step-five .hiw-keep-head p {
  margin: 10px 0 0;
  font-size: 17px;
  line-height: 1.45;
  color: #4f6d64;
}

.how-it-works .step-five .hiw-keep-stage {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  min-height: 420px;
  border-radius: 22px;
  overflow: hidden;
  background: #0b3d32;
}

.how-it-works .step-five .hiw-keep-photo {
  margin: 0;
  min-height: 420px;
}

.how-it-works .step-five .hiw-keep-photo img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  object-position: center 40%;
}

.how-it-works .step-five .hiw-keep-chat {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px 26px 24px;
  background: linear-gradient(180deg, rgba(255, 253, 248, 0.97), #f6f3e8);
  color: #084c3c;
}

.how-it-works .step-five .hiw-keep-chat h3 {
  margin: 0 0 4px;
  font-size: 18px;
  letter-spacing: -0.03em;
}

.how-it-works .step-five .hiw-keep-chat > small {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 700;
  color: #68924b;
}

.how-it-works .step-five .hiw-keep-msg {
  padding: 10px 12px;
  border-radius: 14px 14px 14px 5px;
  background: #eef5df;
}

.how-it-works .step-five .hiw-keep-msg:nth-child(even) {
  background: #fff;
  border: 1px solid rgba(8, 76, 60, 0.08);
}

.how-it-works .step-five .hiw-keep-msg b {
  display: block;
  font-size: 12px;
  color: #0b5a43;
}

.how-it-works .step-five .hiw-keep-msg p {
  margin: 3px 0 0;
  font-size: 13px;
  line-height: 1.4;
  color: #32514a;
}

.how-it-works .step-five .hiw-keep-compose {
  margin-top: auto;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(8, 76, 60, 0.12);
  background: #fff;
  font-size: 13px;
  color: #7a8c84;
}

.how-it-works .step-five .hiw-keep-beats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 8px 4px 0;
}

.how-it-works .step-five .hiw-keep-beats li {
  position: relative;
  padding: 22px 22px 8px 8px;
}

.how-it-works .step-five .hiw-keep-beats li:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 28px;
  bottom: 18px;
  width: 1px;
  background: rgba(8, 76, 60, 0.12);
}

.how-it-works .step-five .hiw-keep-beats h3 {
  margin: 0;
  font-size: 18px;
  letter-spacing: -0.03em;
  color: #084c3c;
}

.how-it-works .step-five .hiw-keep-beats p {
  margin: 8px 0 0;
  max-width: 28ch;
  font-size: 14px;
  line-height: 1.5;
  color: #4f6d64;
}

@media (max-width: 900px) {
  .how-it-works .step-five .hiw-keep {
    width: calc(100% - 32px);
    padding: 22px 18px 16px;
  }

  .how-it-works .step-five .hiw-keep-head {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .how-it-works .step-five .hiw-keep-stage {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .how-it-works .step-five .hiw-keep-photo,
  .how-it-works .step-five .hiw-keep-photo img {
    min-height: 220px;
  }

  .how-it-works .step-five .hiw-keep-beats {
    grid-template-columns: 1fr;
  }

  .how-it-works .step-five .hiw-keep-beats li:not(:last-child)::after {
    display: none;
  }

  .how-it-works .step-five .hiw-keep-beats li {
    padding: 14px 4px;
    border-bottom: 1px solid rgba(8, 76, 60, 0.08);
  }
}
