/* 技术方案卡片：苹果极简单色黑白灰风格，紧凑卡片比例 + 定制黑白矢量工程插画 */
#tech .flow-cards {
  max-width: 1020px;
  margin: 0 auto;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: clamp(14px, 1.45vw, 20px);
}

#tech .step-cell::before,
#tech .step-card::before,
#tech .step-card::after {
  content: none;
}

#tech .step-card {
  --inset: clamp(20px, 1.9vw, 26px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 46%;
  grid-template-rows: auto 1fr;
  min-height: clamp(166px, 12.8vw, 188px);
  padding: 0;
  overflow: hidden;
  isolation: isolate;
  text-align: start;
  background: #ffffff;
  border: 1px solid #e6e8ec;
  border-radius: 18px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .03), 0 10px 26px -18px rgba(15, 23, 42, .14);
  transform: none;
  transition: transform .32s var(--ease), box-shadow .32s var(--ease), border-color .32s var(--ease);
}

#tech .step-no {
  position: static;
  grid-area: 1 / 1;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: var(--inset) 0 0 var(--inset);
  color: #86868b;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: .06em;
  font-variant-numeric: tabular-nums;
}

#tech .step-no::after {
  content: "";
  width: 20px;
  height: 1px;
  background: #d2d2d7;
}

#tech .step-copy {
  grid-area: 2 / 1;
  align-self: end;
  min-width: 0;
  padding: 18px 8px var(--inset) var(--inset);
}

#tech .step-card h3 {
  margin: 0 0 6px;
  color: #1d1d1f;
  font-size: clamp(19px, 1.65vw, 23px);
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: -.015em;
}

#tech .step-card p {
  margin: 0;
  color: #6e6e73;
  font-size: 14.5px;
  line-height: 1.58;
}

/* 右侧统一极简浅灰底板，与纯白顶面+深空黑矢量插画形成柔和层次 */
#tech .step-media {
  grid-area: 1 / 2 / 3 / 3;
  position: relative;
  min-width: 0;
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 10px 10px 18px;
  overflow: hidden;
  clip-path: polygon(10% 0, 100% 0, 100% 100%, 0 100%);
  background: #f5f5f7;
}

#tech .step-media img {
  position: relative;
  width: 100%;
  height: 100%;
  max-width: 210px;
  max-height: 150px;
  object-fit: contain;
  mix-blend-mode: normal;
  transition: transform .36s var(--ease);
}

@media (hover: hover) and (pointer: fine) {
  #tech .step-card:hover {
    transform: translateY(-3px);
    border-color: #d6dae2;
    box-shadow: 0 2px 6px rgba(15, 23, 42, .04), 0 18px 34px -20px rgba(15, 23, 42, .18);
  }

  #tech .step-card:hover .step-media img {
    transform: translateY(-2px) scale(1.025);
  }
}

@media (max-width: 980px) {
  #tech .step-card {
    grid-template-columns: minmax(0, 1fr) 43%;
  }
  #tech .step-card h3 {
    font-size: 20px;
  }
}

@media (max-width: 760px) {
  #tech .flow-cards {
    grid-template-columns: minmax(0, 1fr);
    grid-auto-rows: auto;
    gap: 14px;
  }
  #tech .step-card {
    --inset: clamp(16px, 4.4vw, 22px);
    grid-template-columns: minmax(0, 1fr) 44%;
    min-height: clamp(144px, 36vw, 174px);
    border-radius: 16px;
  }
  #tech .step-media {
    padding: 8px 8px 8px 14px;
  }
  #tech .step-card p {
    font-size: 14px;
  }
}

@media (max-width: 360px) {
  #tech .step-card {
    grid-template-columns: minmax(0, 1fr) 39%;
  }
}
