/* Restrained homepage polish pass — preserve the approved layout and visual direction. */

/* Give the benefit row just enough structure without turning it into another card grid. */
.marketing-page .feature-grid-v2 > article {
  position: relative;
  padding: 4px 22px 6px 0;
}
.marketing-page .feature-grid-v2 > article:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 4px;
  right: 0;
  width: 1px;
  height: 118px;
  background: rgba(45, 160, 249, .16);
}
.marketing-page .feature-grid-v2 .feature-icon-v2 {
  box-shadow: 0 5px 0 rgba(161, 207, 255, .18);
}

/* Swap the abstract hero gradient for the generated Japanese video still,
   while keeping YomuFlow's subtitle/timeline overlays and floating study cards intact. */
.marketing-page .preview-video-v2 {
  background-image:
    linear-gradient(180deg, rgba(7, 35, 51, .08) 0%, rgba(7, 35, 51, .12) 48%, rgba(7, 35, 51, .48) 100%),
    url('/yomuflow-hero-video-scene.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* The use-case cards were visually taller than their content needed. */
.marketing-page .use-cases-v2 {
  padding-top: 72px;
  padding-bottom: 72px;
}
.marketing-page .use-case-grid-v2 > article {
  min-height: 0;
  padding: 24px 24px 26px;
}
.marketing-page .use-case-grid-v2 .feature-icon-v2 {
  margin-bottom: 14px;
}
.marketing-page .use-case-grid-v2 h3 {
  margin-bottom: 7px;
}
.marketing-page .use-case-grid-v2 p {
  margin-bottom: 0;
}

/* Tablet widths: add a little vertical breathing room to the four-step flow. */
@media (min-width: 821px) and (max-width: 1180px) {
  .marketing-page .process-v2 {
    padding-top: 76px;
    padding-bottom: 84px;
  }
  .marketing-page .steps-grid-v2 {
    gap: 30px;
  }
  .marketing-page .step-card-v2 {
    margin-top: 20px;
    margin-bottom: 16px;
  }
}

@media (max-width: 820px) {
  .marketing-page .feature-grid-v2 > article {
    padding-right: 0;
  }
  .marketing-page .feature-grid-v2 > article:not(:last-child)::after {
    display: none;
  }
}
