.feature-grid article {
  min-height: 540px;
  padding-top: 32px;
}

.feature-visual {
  position: relative;
  height: 230px;
  margin: 30px 0 28px;
  overflow: hidden;
  border: 1px solid #30383c;
  border-radius: 12px;
  background-color: #111516;
  background-image:
    linear-gradient(180deg, transparent 52%, #080a0bd9 100%),
    url('/flow-xgen-node-workflow.png');
  background-repeat: no-repeat;
  box-shadow: 0 22px 48px #0007;
  isolation: isolate;
}

.feature-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(130deg, #5bc2ce12, transparent 38%, #70b29c0c);
  box-shadow: inset 0 0 0 1px #ffffff05;
}

.feature-visual span {
  position: absolute;
  z-index: 2;
  left: 14px;
  bottom: 12px;
  padding: 7px 9px;
  border: 1px solid #526067aa;
  border-radius: 6px;
  background: #101516dc;
  color: #b7c5c9;
  font: 500 8px 'DM Mono', monospace;
  letter-spacing: 1.1px;
  backdrop-filter: blur(8px);
}

.feature-visual--canvas {
  background-size: auto 205%;
  background-position: 20% 51%;
}

.feature-visual--models {
  background-size: auto 188%;
  background-position: 60% 51%;
}

.feature-visual--credits {
  background-size: auto 210%;
  background-position: 100% 0%;
}

.feature-grid h3 { font-size: 22px; }
.feature-grid p { font-size: 13px; }

@media (max-width: 1000px) {
  .feature-grid article { min-height: 490px; }
  .feature-visual { height: 260px; margin-top: 24px; }
  .feature-visual--canvas { background-size: cover; background-position: 24% 50%; }
  .feature-visual--models { background-size: cover; background-position: 62% 50%; }
  .feature-visual--credits { background-size: cover; background-position: 100% 0%; }
}

@media (max-width: 620px) {
  .feature-grid article { min-height: 440px; }
  .feature-visual { height: 220px; }
}
