/* ============================================================
   02 方法 · 三步流程（替代原「解决方案 / 产品理念」两段）
   ============================================================ */

#how { overflow: hidden; }

#how .how-flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.4vw, 2rem);
  padding-top: 2.4rem;
}

#how .how-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 8px;
  display: block;
}
#how .how-line-dash { animation: how-dash 14s linear infinite; }
@keyframes how-dash { to { stroke-dashoffset: -240; } }

#how .how-step { position: relative; min-width: 0; }

/* 从横线垂到节点块的连接刻度 */
#how .how-step::before {
  content: "";
  position: absolute;
  top: -2.4rem;
  left: 37px;
  width: 1px;
  height: 2.4rem;
  background: linear-gradient(180deg, var(--cyan-deep), var(--line-bright));
}

#how .how-step-mark {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  margin-bottom: 1.1rem;
  background: linear-gradient(160deg, var(--ink-2), var(--ink));
  border: 1px solid var(--line-bright);
}
#how .how-step-mark svg {
  width: 34px;
  height: 34px;
  color: var(--cyan);
  opacity: 0.9;
}
#how .how-step-idx {
  position: absolute;
  top: -0.55rem;
  left: -0.55rem;
  padding: 0.05rem 0.35rem;
  background: var(--void);
  border: 1px solid var(--line-bright);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--cyan);
}

#how .how-step-title {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  color: var(--text);
}

#how .how-step-desc {
  margin-top: 0.6rem;
  color: var(--text-dim);
  font-size: 0.93rem;
  line-height: 1.8;
}

#how .how-loop {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-top: clamp(1.6rem, 3vw, 2.2rem);
  padding: 0.8rem 1rem;
  border: 1px dashed var(--line-bright);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  line-height: 1.8;
  color: var(--text-dim);
}
#how .how-loop-arrow { color: var(--cyan); flex: none; }

#how .how-quote {
  margin-top: clamp(2rem, 4.5vw, 3.4rem);
  padding-left: clamp(0.9rem, 2vw, 1.6rem);
  border-left: 2px solid var(--cyan);
}
#how .how-quote-main {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.2vw, 2.5rem);
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
  letter-spacing: 0;
}
#how .how-quote-note {
  margin-top: 0.85rem;
  color: var(--text-dim);
  font-size: 0.9rem;
  max-width: 46em;
}

#how .how-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  margin-top: clamp(1.8rem, 3.6vw, 2.8rem);
  padding-top: clamp(1.4rem, 3vw, 2rem);
  border-top: 1px solid var(--line);
}
#how .how-tagline {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  color: var(--text);
}

@media (max-width: 900px) {
  #how .how-flow { grid-template-columns: 1fr; gap: 1.6rem; }
  #how .how-line { display: none; }
  #how .how-step-mark { width: 64px; height: 64px; }
}
