﻿/* 产品协作 flow 页 — 首屏轨道 + bento / timeline */

/* —— 页级：弱化默认奇偶灰底，改用更疏的节奏 —— */
.flow-page .home-section {
  row-gap: 28px;
  padding: clamp(48px, 7vw, 88px) 0;
  border-top-color: color-mix(in srgb, var(--wa-color-border) 70%, transparent);
}

/* rail 下覆盖 home.css 的版心规则，保持与 blocks 同档上下内边距 */
.flow-page.wa-index-page:not(.wa-index-page--blocks) .home-section {
  padding: clamp(48px, 7vw, 88px) 0;
}

.flow-page.wa-index-page:not(.wa-index-page--blocks) .home-section:last-child {
  padding-bottom: clamp(48px, 7vw, 88px);
}

/* 区块头：标签 / 标题字号对齐 shadcnuikit.com/figma（outline badge + text-3xl→5xl） */
.flow-section-head {
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.flow-page .home-section__eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: fit-content;
  min-height: 28px;
  margin: 0 auto 12px;
  padding: 6px 12px 6px 10px;
  border: 1px solid var(--wa-color-border);
  border-radius: 9999px;
  background: transparent;
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--wa-color-text);
}

.flow-page .home-section__eyebrow > i {
  font-size: 12px;
  line-height: 1;
  opacity: 0.85;
}

.flow-section-head .home-section__title {
  margin: 0 0 12px;
  font-size: clamp(1.875rem, 4vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.flow-section-head .home-section__desc {
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(1rem, 1.6vw, 1.125rem);
  line-height: 1.55;
  letter-spacing: -0.02em;
  color: var(--wa-color-text-secondary, var(--wa-color-muted));
}

/* —— Hero：通栏；亮色纯面；暗色对齐 aurora demo 舞台底 #120f17 —— */
.flow-page .flow-hero.wa-comp-index__head {
  position: relative;
  overflow: visible;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: clamp(36px, 4.5vw, 56px);
  max-width: none;
  width: 100%;
  min-height: min(92vh, 900px);
  margin: 0;
  padding: clamp(72px, 8vw, 104px) var(--wa-content-pad-x, 32px) clamp(56px, 7vw, 88px);
  border-bottom: 1px solid var(--wa-index-rail, var(--wa-color-border));
  background: var(--wa-color-surface);
  color: var(--wa-color-text);
}

html[data-theme="dark"] .flow-page .flow-hero.wa-comp-index__head {
  background: #120f17;
  border-bottom-color: color-mix(in srgb, #fff 10%, transparent);
}

/* rail：版心宽度已由壳层全局对齐 flow；此处只调首屏出血
 * 底边距为 0：间隔交给首个 .home-section 的 padding-top，避免与 --wa-index-gap 叠成过大上内边距 */
.flow-page.wa-index-page:not(.wa-index-page--blocks) .flow-hero.wa-comp-index__head {
  width: calc(100% + 62px);
  max-width: none;
  min-height: min(78vh, 760px);
  margin: -28px -31px 0;
  padding: clamp(48px, 6vw, 72px) 32px clamp(40px, 5vw, 64px);
  border-bottom: 0;
  background: var(--wa-color-surface);
}

html[data-theme="dark"] .flow-page.wa-index-page:not(.wa-index-page--blocks) .flow-hero.wa-comp-index__head {
  background: #120f17;
}

.flow-page .flow-hero.wa-comp-index__head > .wa-comp-index__fx {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

/* 仅下移色带渐态；点阵 .ln-dot-field 仍铺满首屏 */
.flow-page .flow-hero.wa-comp-index__head > .wa-comp-index__fx .ln-hero-band {
  transform: translateY(24%);
}

/* 色带已下移：关掉底部白渐隐 */
.flow-page .flow-hero.wa-comp-index__head > .wa-comp-index__fx.ln-hero[data-theme="light"]::after {
  display: none;
}

.flow-page .flow-hero.wa-comp-index__head > .wa-comp-index__fx.ln-hero {
  min-height: 0;
  height: 100%;
  background: transparent;
}

/* 暗色：交还包内 .ln-hero 底色，screen 混色才能像 demo 一样亮 */
html[data-theme="dark"] .flow-page .flow-hero.wa-comp-index__head > .wa-comp-index__fx.ln-hero {
  background: #120f17;
}

.flow-page .flow-hero.wa-comp-index__head > .flow-hero__main,
.flow-page .flow-hero.wa-comp-index__head > .flow-hero__stats {
  position: relative;
  z-index: 2;
  box-sizing: border-box;
  width: 100%;
  max-width: var(--wa-content-max, 1280px);
  margin-left: auto;
  margin-right: auto;
}

.flow-page .flow-hero.wa-comp-index__head > .flow-hero__stats {
  margin-top: auto;
}

.flow-page .flow-hero.wa-comp-index__head > .flow-support--hero {
  position: relative;
  z-index: 2;
  box-sizing: border-box;
  width: min(100%, 720px);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 0;
}

.flow-hero__main {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(28px, 4vw, 40px);
  align-items: center;
  justify-items: center;
  text-align: center;
}

.flow-hero__inner {
  max-width: min(100%, 56rem);
  margin: 0 auto;
}

/* —— Signalry 式虚线轨道（产品协作标签） —— */
.flow-orbit {
  position: relative;
  width: 100%;
  min-height: 300px;
  pointer-events: none;
}

.flow-orbit__stage {
  position: relative;
  width: 100%;
  height: 300px;
  max-width: 720px;
  margin: 0 auto;
  overflow: hidden;
}

.flow-orbit__scale {
  position: absolute;
  inset: 0;
  transform-origin: center center;
  transform: scale(0.52);
}

.flow-orbit__ring {
  position: absolute;
  left: 50%;
  top: 50%;
  border: 1px dashed color-mix(in srgb, var(--wa-color-primary) 28%, transparent);
  border-radius: 999px;
  box-sizing: border-box;
}

.flow-orbit__ring--inner {
  width: 300px;
  height: 300px;
  margin: -150px 0 0 -150px;
  animation: flow-orbit-spin 40s linear infinite;
}

.flow-orbit__ring--outer {
  width: 560px;
  height: 560px;
  margin: -280px 0 0 -280px;
  animation: flow-orbit-spin 60s linear infinite reverse;
}

.flow-orbit__slot {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  margin-left: var(--ox);
  margin-top: var(--oy);
}

.flow-orbit__counter {
  display: block;
}

.flow-orbit__counter--inner {
  animation: flow-orbit-spin 40s linear infinite reverse;
}

.flow-orbit__counter--outer {
  animation: flow-orbit-spin 60s linear infinite;
}

.flow-orbit__chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid color-mix(in srgb, var(--wa-color-border) 88%, transparent);
  border-radius: 12px;
  background: var(--wa-color-surface);
  color: var(--wa-color-text);
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 8px 20px -8px color-mix(in srgb, var(--wa-color-primary) 22%, transparent);
}

.flow-orbit__chip i {
  color: var(--wa-color-primary);
  font-size: 0.95rem;
}

.flow-orbit__chip em {
  font-style: normal;
}

.flow-orbit__core {
  position: absolute;
  left: 50%;
  top: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 96px;
  margin: -48px 0 0 -48px;
  border-radius: 24px;
  background: var(--wa-color-primary);
  color: var(--wa-color-on-primary, #fff);
  font-size: 2rem;
  box-shadow: 0 20px 50px -12px color-mix(in srgb, var(--wa-color-primary) 55%, transparent);
}

@keyframes flow-orbit-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (min-width: 640px) {
  .flow-orbit__stage {
    height: 400px;
  }

  .flow-orbit__scale {
    transform: scale(0.72);
  }
}

@media (min-width: 960px) {
  .flow-orbit {
    min-height: 520px;
  }

  .flow-orbit__stage {
    height: 560px;
  }

  .flow-orbit__scale {
    transform: scale(0.92);
  }
}

@media (prefers-reduced-motion: reduce) {
  .flow-orbit__ring--inner,
  .flow-orbit__ring--outer,
  .flow-orbit__counter--inner,
  .flow-orbit__counter--outer {
    animation: none !important;
  }
}

/* 字号/颜色对齐 frame hero-centered-announce */
.flow-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  margin: 0 0 16px;
  padding: 6px 14px;
  border: 1px solid var(--wa-color-border-1, var(--wa-color-border));
  border-radius: 999px;
  background: var(--wa-color-surface);
  color: var(--wa-color-text);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
  overflow: visible;
}

/* 占位跟行高，图标视觉放大并居中溢出，不撑高徽章 */
.flow-hero__ripples {
  position: relative;
  display: inline-block;
  flex-shrink: 0;
  width: 0.85em;
  height: 0.85em;
  color: var(--wa-color-primary);
  opacity: 0.92;
  overflow: visible;
}

.flow-hero__ripples svg {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 28px;
  height: 28px;
  transform: translate(-50%, -50%);
  overflow: visible;
  pointer-events: none;
}

.flow-page .flow-hero.wa-comp-index__head .flow-hero__title {
  margin: 0 auto;
  width: max-content;
  max-width: min(100%, 36em);
  font-family: var(--wa-font-display);
  font-size: clamp(28px, 4.5vw, 48px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--wa-color-text);
}

.flow-hero__hl {
  color: inherit;
}

.flow-page .flow-hero.wa-comp-index__head .flow-hero__lead {
  margin: 16px auto 0;
  width: 100%;
  max-width: 40rem;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--wa-color-muted);
  text-wrap: pretty;
}

.flow-hero__cta {
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.flow-social-proof {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: auto;
  max-width: 560px;
  margin: 22px auto 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.flow-social-proof__avatars {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  margin: 0;
  padding: 0;
}

.flow-social-proof__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid color-mix(in srgb, var(--wa-color-surface) 88%, var(--wa-color-border));
  margin-left: -14px;
  position: relative;
  box-shadow: none;
  background: color-mix(in srgb, var(--wa-color-muted) 18%, var(--wa-color-surface));
}

.flow-social-proof__avatar:first-child {
  margin-left: 0;
}

.flow-social-proof__avatar:nth-child(1) { z-index: 1; }
.flow-social-proof__avatar:nth-child(2) { z-index: 2; }
.flow-social-proof__avatar:nth-child(3) { z-index: 3; }
.flow-social-proof__avatar:nth-child(4) { z-index: 4; }
.flow-social-proof__avatar:nth-child(5) { z-index: 5; }

.flow-social-proof__text {
  margin: 0;
  text-align: center;
  font-size: 12px;
  line-height: 1.55;
  font-weight: 500;
  color: var(--wa-color-text-secondary, var(--wa-color-muted));
}

.flow-social-proof__text strong {
  font-family: var(--wa-font-serif, var(--wa-font-display));
  font-variant-numeric: tabular-nums;
  color: var(--wa-color-text);
  font-weight: 800;
}

/* 首屏 CTA：比导航主钮大一号 */
.flow-hero__cta .wa-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 500;
}

.flow-hero__cta .wa-btn--primary {
  box-shadow:
    inset 0 0 0 1px color-mix(in srgb, #fff 22%, transparent),
    inset 0 0 10px color-mix(in srgb, #fff 18%, transparent);
}

.flow-hero__cta .wa-btn--primary:hover {
  box-shadow:
    inset 0 0 0 1px color-mix(in srgb, #fff 36%, transparent),
    inset 0 0 18px color-mix(in srgb, #fff 28%, transparent),
    var(--wa-shadow-button-hover, none);
}

html[data-theme="dark"] .flow-hero__cta .wa-btn--primary {
  box-shadow:
    inset 0 0 0 1px color-mix(in srgb, #000 18%, transparent),
    inset 0 0 10px color-mix(in srgb, #000 14%, transparent);
}

html[data-theme="dark"] .flow-hero__cta .wa-btn--primary:hover {
  box-shadow:
    inset 0 0 0 1px color-mix(in srgb, #000 28%, transparent),
    inset 0 0 18px color-mix(in srgb, #000 22%, transparent),
    var(--wa-shadow-button-hover, none);
}

/* 次级：透明底 + 描边；嵌边环对齐主钮 */
.flow-hero__cta .wa-btn--outline {
  background: transparent;
  border-color: var(--wa-btn-outline-bd, var(--wa-color-primary));
  color: var(--wa-color-primary);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, #fff 55%, var(--wa-color-primary));
}

.flow-hero__cta .wa-btn--outline:hover {
  background: transparent;
  border-color: var(--wa-btn-outline-bd, var(--wa-color-primary));
  color: var(--wa-color-primary);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, #fff 72%, var(--wa-color-primary));
}

html[data-theme="dark"] .flow-hero__cta .wa-btn--outline {
  box-shadow: inset 0 0 0 1px color-mix(in srgb, #fff 16%, transparent);
}

html[data-theme="dark"] .flow-hero__cta .wa-btn--outline:hover {
  background: color-mix(in srgb, var(--wa-color-surface) 72%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, #fff 28%, transparent);
}

.flow-support--hero {
  width: min(100%, 720px);
  margin: 0 auto;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.flow-support__chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  min-width: 0;
}

.flow-support__chip--static {
  cursor: default;
  border: 1px solid color-mix(in srgb, var(--wa-color-border) 85%, transparent);
  background: color-mix(in srgb, var(--wa-color-surface) 70%, transparent);
  color: var(--wa-color-text-secondary, var(--wa-color-muted));
}

.flow-support__chip--static:hover {
  color: var(--wa-color-text-secondary, var(--wa-color-muted));
  background: color-mix(in srgb, var(--wa-color-surface) 70%, transparent);
}

.flow-hero__stats {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 0 auto;
  padding: 8px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: visible;
}

.flow-hero__stats li {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  padding: 22px 18px;
  border: 0;
}

.flow-hero__stats li:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 2.25em;
  background: color-mix(in srgb, var(--wa-color-border) 70%, transparent);
}

.flow-hero__stats li:nth-child(2n)::after {
  display: none;
}

.flow-hero__stats strong {
  /* 对齐首页 .home-proof__num：KPI 吃 --wa-font-serif */
  font-family: var(--wa-font-serif, var(--wa-font-display));
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 750;
  letter-spacing: -0.03em;
  color: var(--wa-color-primary);
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}

.flow-hero__stats span {
  font-size: 0.86rem;
  line-height: 1.45;
  color: var(--wa-color-text-secondary, var(--wa-color-muted));
}

/* 页内次级操作：无描边、无底，继承正文字体（覆盖 button UA 默认） */
.flow-soft-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--wa-color-primary);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 550;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.flow-soft-btn:hover,
.flow-soft-btn:focus-visible {
  background: transparent;
  color: var(--wa-color-primary);
  text-decoration: none;
  opacity: 0.82;
  outline: none;
}

.flow-soft-btn i {
  font-size: 0.82em;
  transition: transform 0.2s ease;
}

.flow-soft-btn[aria-expanded="true"] i.fa-chevron-down {
  transform: rotate(180deg);
}

/* —— Modes：双卡详情（workflows 页） / 落地页摘要同结构 —— */
.flow-modes__grid {
  display: grid;
  gap: 16px;
  align-items: stretch;
}

.flow-mode {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  margin: 0;
  padding: 24px 22px 20px;
  /* 背景/边框对齐 .flow-feature */
  border: 1px solid color-mix(in srgb, var(--wa-color-border) 72%, transparent);
  border-radius: var(--wa-radius-lg, var(--wa-radius));
  background:
    linear-gradient(
      165deg,
      color-mix(in srgb, var(--wa-color-primary) 4.5%, var(--wa-color-surface)) 0%,
      var(--wa-color-surface) 42%
    );
  color: inherit;
  text-align: left;
  text-decoration: none;
  box-sizing: border-box;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

a.flow-mode:hover,
a.flow-mode:focus-visible,
button.flow-mode:hover,
button.flow-mode:focus-visible {
  text-decoration: none;
  color: inherit;
  outline: none;
}

button.flow-mode {
  appearance: none;
  font: inherit;
  cursor: pointer;
}

.flow-mode--dev {
  background:
    linear-gradient(
      165deg,
      color-mix(in srgb, var(--wa-color-primary) 4.5%, var(--wa-color-surface)) 0%,
      var(--wa-color-surface) 42%
    );
}

.flow-mode:hover {
  border-color: color-mix(in srgb, var(--wa-color-primary) 28%, var(--wa-color-border));
  background:
    linear-gradient(
      165deg,
      color-mix(in srgb, var(--wa-color-primary) 7%, var(--wa-color-surface)) 0%,
      var(--wa-color-surface) 48%
    );
  box-shadow: 0 10px 28px color-mix(in srgb, var(--wa-color-primary) 8%, transparent);
}

.flow-modes__grid--summary {
  margin-bottom: 4px;
}

a.flow-mode .flow-mode__foot,
button.flow-mode .flow-mode__foot {
  color: var(--wa-color-primary);
}

a.flow-mode:hover .flow-mode__foot,
button.flow-mode:hover .flow-mode__foot {
  opacity: 0.85;
}

.flow-wf-modal__lead {
  margin: 6px 0 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--wa-color-muted);
}

.flow-wf-panel[hidden] {
  display: none !important;
}

.flow-wf-panel .flow-mode__block + .flow-mode__block {
  margin-top: 18px;
}

.flow-wf-panel__note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 16px 0 0;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--wa-color-text-secondary, var(--wa-color-muted));
}

body.is-flow-wf-open {
  overflow: hidden;
}

@media (min-width: 720px) {
  .flow-modes__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }
}

@media (min-width: 960px) {
  .flow-modes__grid {
    gap: 20px;
  }

  .flow-mode {
    padding: 26px 24px 22px;
  }
}

/* —— Outputs：独立轨道区块 —— */
.flow-outputs .flow-section-head {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.flow-orbit--solo {
  margin: 8px auto 0;
  min-height: 360px;
}

.flow-orbit--solo .flow-orbit__stage {
  height: 360px;
  max-width: 760px;
}

@media (min-width: 640px) {
  .flow-orbit--solo {
    min-height: 440px;
  }

  .flow-orbit--solo .flow-orbit__stage {
    height: 440px;
  }

  .flow-orbit--solo .flow-orbit__scale {
    transform: scale(0.78);
  }
}

@media (min-width: 960px) {
  .flow-orbit--solo {
    min-height: 560px;
  }

  .flow-orbit--solo .flow-orbit__stage {
    height: 560px;
    max-width: 820px;
  }

  .flow-orbit--solo .flow-orbit__scale {
    transform: scale(0.92);
  }
}

.flow-mode__head {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  flex: 1;
  min-height: 0;
}

.flow-mode__copy {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.flow-mode__badge {
  margin: 0 0 8px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--wa-color-primary);
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.3;
}

.flow-mode__icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-top: 2px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--wa-color-primary) 8%, var(--wa-color-surface));
  border: 1px solid color-mix(in srgb, var(--wa-color-primary) 14%, transparent);
  color: var(--wa-color-primary);
  font-size: 1.1rem;
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease,
    box-shadow 0.18s ease;
}

.flow-mode:hover .flow-mode__icon {
  border-color: var(--wa-color-primary);
  background: var(--wa-color-primary);
  /* 主色可为白（如白场暗色），勿写死 #fff 以免图标糊成色块 */
  color: var(--wa-color-on-primary, #fff);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--wa-color-primary) 18%, transparent);
}

.flow-mode__title,
.flow-mode__badge,
.flow-mode__text,
.flow-mode__meta,
.flow-mode__block,
.flow-mode__skills,
.flow-mode__foot {
  position: relative;
}

.flow-mode__title {
  margin: 0 0 4px;
  font-family: var(--wa-font-display);
  font-size: clamp(1.2rem, 2vw, 1.4rem);
  font-weight: 750;
  letter-spacing: -0.025em;
  color: var(--wa-color-text);
}

.flow-mode__text {
  margin: 0 0 16px;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--wa-color-text-secondary, var(--wa-color-muted));
  text-wrap: pretty;
}

.flow-mode__meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0 0 18px;
  padding: 12px 4px;
  border-radius: 12px;
  border: 1px solid color-mix(in srgb, var(--wa-color-border) 82%, transparent);
  background: color-mix(in srgb, var(--wa-color-muted) 5%, var(--wa-color-surface));
}

.flow-mode__meta-item + .flow-mode__meta-item {
  border-left: 1px solid color-mix(in srgb, var(--wa-color-border) 75%, transparent);
}

.flow-mode__meta-item {
  min-width: 0;
  padding: 2px 12px;
}

.flow-mode__meta-item dt {
  margin: 0 0 4px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--wa-color-text-secondary, var(--wa-color-muted));
}

.flow-mode__meta-item dd {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 650;
  line-height: 1.35;
  color: var(--wa-color-text);
  word-break: break-word;
}

.flow-mode__block {
  margin: 0 0 14px;
}

.flow-mode__label {
  margin: 0 0 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--wa-color-text-secondary, var(--wa-color-muted));
}

.flow-mode__steps {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
}

.flow-mode__steps li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 10px 6px 7px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--wa-color-primary) 8%, var(--wa-color-surface));
  border: 1px solid color-mix(in srgb, var(--wa-color-primary) 16%, transparent);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--wa-color-text);
}

.flow-mode__step-n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--wa-color-primary);
  color: var(--wa-color-on-primary, #fff);
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1;
}

.flow-mode__skills {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  border: 1px solid color-mix(in srgb, var(--wa-color-border) 82%, transparent);
  border-radius: 12px;
  overflow: hidden;
  background: color-mix(in srgb, var(--wa-color-muted) 3%, var(--wa-color-surface));
}

.flow-mode__skill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-top: 1px solid color-mix(in srgb, var(--wa-color-border) 78%, transparent);
}

.flow-mode__skill:first-child {
  border-top: 0;
}

.flow-mode__skill:hover {
  background: color-mix(in srgb, var(--wa-color-muted) 6%, var(--wa-color-surface));
}

.flow-mode__skill-copy {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 10px;
  min-width: 0;
}

.flow-mode__skill-title {
  font-size: 0.8rem;
  font-weight: 650;
  color: var(--wa-color-text);
}

.flow-mode__skill-slug {
  font-size: 0.72rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: 0.02em;
  color: color-mix(in srgb, var(--wa-color-text-secondary, var(--wa-color-muted)) 82%, transparent);
}

.flow-mode__skill-btn {
  flex: 0 0 auto;
  appearance: none;
  margin: 0;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--wa-color-primary) 28%, transparent);
  background: color-mix(in srgb, var(--wa-color-primary) 8%, var(--wa-color-surface));
  font: inherit;
  font-size: 0.72rem;
  font-weight: 400;
  line-height: 1.2;
  color: var(--wa-color-primary);
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.flow-mode__skill-btn:hover,
.flow-mode__skill-btn:focus-visible {
  border-color: color-mix(in srgb, var(--wa-color-primary) 48%, transparent);
  background: color-mix(in srgb, var(--wa-color-primary) 14%, var(--wa-color-surface));
  outline: none;
}

.flow-mode__skill-btn:focus-visible {
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--wa-color-primary) 22%, transparent);
}

/* —— 核心技能手风琴（grid 高度过渡） —— */
.flow-mode__skills--acc {
  display: flex;
  flex-direction: column;
  border: 1px solid color-mix(in srgb, var(--wa-color-border) 78%, transparent);
  border-radius: 12px;
  overflow: hidden;
  background: var(--wa-color-surface);
}

.flow-skill-acc {
  margin: 0;
  border-top: 1px solid color-mix(in srgb, var(--wa-color-border) 78%, transparent);
}

.flow-skill-acc:first-child {
  border-top: 0;
}

.flow-skill-acc__sum {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  margin: 0;
  padding: 12px 14px;
  border: 0;
  background: transparent;
  font: inherit;
  text-align: left;
  color: inherit;
  cursor: pointer;
  user-select: none;
}

.flow-skill-acc__sum:hover {
  background: color-mix(in srgb, var(--wa-color-muted) 5%, var(--wa-color-surface));
}

.flow-skill-acc__sum:focus-visible {
  outline: 2px solid var(--wa-color-primary);
  outline-offset: -2px;
}

.flow-skill-acc__copy {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 10px;
  min-width: 0;
}

.flow-skill-acc__title {
  font-size: 0.88rem;
  font-weight: 650;
  color: var(--wa-color-text);
}

.flow-skill-acc__slug {
  font-size: 0.72rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: 0.02em;
  color: color-mix(in srgb, var(--wa-color-text-secondary, var(--wa-color-muted)) 82%, transparent);
}

.flow-skill-acc__chev {
  flex: 0 0 auto;
  font-size: 0.75rem;
  color: var(--wa-color-muted);
  transition: transform 0.28s ease;
}

.flow-skill-acc.is-open .flow-skill-acc__chev {
  transform: rotate(180deg);
}

.flow-skill-acc__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.28s ease;
}

.flow-skill-acc.is-open .flow-skill-acc__panel {
  grid-template-rows: 1fr;
}

.flow-skill-acc__panel-inner {
  min-height: 0;
  overflow: hidden;
}

.flow-skill-acc__body {
  padding: 0 14px 14px;
}

.flow-skill-acc__desc {
  margin: 0 0 10px;
  font-size: 0.8rem;
  line-height: 1.6;
  color: color-mix(in srgb, var(--wa-color-text) 78%, var(--wa-color-muted));
}

.flow-skill-acc__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.flow-skill-acc__tag {
  padding: 3px 8px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--wa-color-primary) 8%, var(--wa-color-surface));
  color: var(--wa-color-primary);
  font-size: 0.72rem;
  font-weight: 500;
}

@media (prefers-reduced-motion: reduce) {
  .flow-skill-acc__panel,
  .flow-skill-acc__chev {
    transition: none;
  }
}

/* —— 技能介绍弹层 —— */
.flow-skill-modal[hidden] {
  display: none !important;
}

.flow-skill-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.flow-skill-modal__backdrop {
  position: absolute;
  inset: 0;
  background: color-mix(in srgb, #0b1220 48%, transparent);
  backdrop-filter: blur(2px);
}

.flow-skill-modal__panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(100%, 520px);
  max-height: min(84vh, 640px);
  border-radius: calc(var(--wa-radius-lg, var(--wa-radius)) + 4px);
  border: 1px solid color-mix(in srgb, var(--wa-color-border) 80%, transparent);
  background: var(--wa-color-surface);
  box-shadow: 0 24px 56px color-mix(in srgb, #000 22%, transparent);
  overflow: hidden;
}

.flow-skill-modal__panel.flow-wf-modal__panel {
  width: min(100%, 600px);
  max-width: min(600px, calc(100vw - 32px));
  /* 固定高度：内容在体内滚动，手风琴切换不改变外框 */
  height: min(78vh, 640px);
  max-height: min(78vh, 640px);
}

.flow-skill-modal__panel.flow-wf-modal__panel .flow-skill-modal__body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  /* 槽位常在避免宽度抖动；滑块默认透明 = 视觉上默认隐藏 */
  scrollbar-width: thin;
  scrollbar-color: transparent transparent;
}

.flow-skill-modal__panel.flow-wf-modal__panel .flow-skill-modal__body:hover,
.flow-skill-modal__panel.flow-wf-modal__panel .flow-skill-modal__body:focus-within,
.flow-skill-modal__panel.flow-wf-modal__panel .flow-skill-modal__body.is-scrolling {
  scrollbar-color: color-mix(in srgb, var(--wa-color-muted) 55%, transparent) transparent;
}

.flow-skill-modal__panel.flow-wf-modal__panel .flow-skill-modal__body::-webkit-scrollbar {
  width: 6px;
}

.flow-skill-modal__panel.flow-wf-modal__panel .flow-skill-modal__body::-webkit-scrollbar-track {
  background: transparent;
}

.flow-skill-modal__panel.flow-wf-modal__panel .flow-skill-modal__body::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: transparent;
}

.flow-skill-modal__panel.flow-wf-modal__panel .flow-skill-modal__body:hover::-webkit-scrollbar-thumb,
.flow-skill-modal__panel.flow-wf-modal__panel .flow-skill-modal__body:focus-within::-webkit-scrollbar-thumb,
.flow-skill-modal__panel.flow-wf-modal__panel .flow-skill-modal__body.is-scrolling::-webkit-scrollbar-thumb {
  background: color-mix(in srgb, var(--wa-color-muted) 45%, transparent);
}

.flow-skill-modal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 18px 12px;
  border-bottom: 1px solid color-mix(in srgb, var(--wa-color-border) 78%, transparent);
}

.flow-skill-modal__meta {
  min-width: 0;
}

.flow-skill-modal__title {
  margin: 0 0 4px;
  font-family: var(--wa-font-display);
  font-size: 1.2rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  color: var(--wa-color-text);
}

.flow-skill-modal__slug {
  margin: 0;
  font-size: 0.78rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: var(--wa-color-text-secondary, var(--wa-color-muted));
}

.flow-skill-modal__close {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin: -4px -4px 0 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--wa-color-text-secondary, var(--wa-color-muted));
  cursor: pointer;
}

.flow-skill-modal__close:hover,
.flow-skill-modal__close:focus-visible {
  background: color-mix(in srgb, var(--wa-color-muted) 10%, transparent);
  color: var(--wa-color-text);
  outline: none;
}

.flow-skill-modal__body {
  padding: 16px 18px;
  overflow: auto;
}

.flow-skill-modal__desc {
  margin: 0 0 14px;
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--wa-color-text-secondary, var(--wa-color-muted));
  text-wrap: pretty;
}

.flow-skill-modal__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.flow-skill-modal__tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--wa-color-border) 88%, transparent);
  background: color-mix(in srgb, var(--wa-color-muted) 6%, var(--wa-color-surface));
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--wa-color-text-secondary, var(--wa-color-muted));
}

.flow-skill-modal__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  padding: 14px 18px 18px;
  border-top: 1px solid color-mix(in srgb, var(--wa-color-border) 78%, transparent);
}

.flow-skill-modal__link {
  margin-right: auto;
  padding: 0;
  border: 0;
  background: none;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--wa-color-primary);
  text-decoration: none;
}

.flow-skill-modal__link:hover,
.flow-skill-modal__link:focus-visible {
  color: var(--wa-color-primary);
  text-decoration: none;
  opacity: 0.82;
  outline: none;
}

body.is-flow-skill-open,
body.is-flow-fw-open,
body.is-flow-starts-open,
body.is-flow-wf-open {
  overflow: hidden;
}

/* —— Workflows 详情页头 —— */
.flow-workflows-hero {
  padding: clamp(36px, 6vw, 64px) 0 clamp(28px, 4vw, 40px);
}

.flow-workflows-hero__inner {
  max-width: 720px;
}

.flow-workflows-hero__crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  font-size: 0.86rem;
  color: var(--wa-color-muted);
}

.flow-workflows-hero__crumb a {
  color: var(--wa-color-primary);
  text-decoration: none;
}

.flow-workflows-hero__crumb a:hover {
  text-decoration: underline;
}

.flow-workflows-hero__title {
  margin: 0 0 12px;
  font-size: clamp(1.55rem, 3.2vw, 2.1rem);
  letter-spacing: -0.03em;
}

.flow-workflows-hero__lead {
  margin: 0 0 22px;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--wa-color-muted);
}

.flow-workflows-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.flow-mode__foot {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: auto;
  max-width: 100%;
  margin: auto 0 0;
  margin-left: calc(44px + 14px);
  padding: 14px 0 0;
  border-top: 0;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1;
  color: var(--wa-color-text-secondary, var(--wa-color-muted));
}

.flow-mode__foot > span {
  line-height: 1.2;
}

.flow-mode__foot > i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 1em;
  height: 1em;
  font-size: 0.85em;
  line-height: 1;
  translate: 0 0.02em;
}

@media (max-width: 520px) {
  .flow-mode__meta {
    grid-template-columns: 1fr;
    padding: 8px 12px;
  }

  .flow-mode__meta-item {
    display: grid;
    grid-template-columns: 4.5rem 1fr;
    align-items: baseline;
    gap: 8px;
    padding: 8px 0;
  }

  .flow-mode__meta-item + .flow-mode__meta-item {
    border-left: 0;
    border-top: 1px solid color-mix(in srgb, var(--wa-color-border) 75%, transparent);
  }

  .flow-mode__meta-item dt {
    margin: 0;
  }
}

/* —— 支持工具条 —— */
.flow-support {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 920px;
  color: var(--wa-color-text-secondary, var(--wa-color-muted));
}

.flow-support__label {
  flex: 0 0 auto;
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
  color: var(--wa-color-muted);
}

.flow-support__marquee {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  mask-image: linear-gradient(
    to right,
    transparent,
    #000 12px,
    #000 calc(100% - 12px),
    transparent
  );
}

.flow-support__track {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  width: max-content;
  gap: 14px;
  animation: flow-support-marquee 36s linear infinite;
  will-change: transform;
}

.flow-support__marquee:hover .flow-support__track {
  animation-play-state: paused;
}

.flow-support__items {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: nowrap;
  flex: 0 0 auto;
  min-width: max-content;
}

@keyframes flow-support-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.flow-support__chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--wa-color-text-secondary, var(--wa-color-muted));
  font-size: 0.82rem;
  font-weight: 500;
  white-space: nowrap;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.flow-support__chip:hover {
  color: var(--wa-color-text);
  background: color-mix(in srgb, var(--wa-color-muted) 8%, transparent);
}

.flow-support__chip img {
  width: 16px;
  height: 16px;
  display: block;
  flex: 0 0 auto;
  opacity: 0.88;
}

html[data-theme="dark"] .flow-support__chip img {
  filter: brightness(0) invert(1);
  opacity: 0.78;
}

/* —— 配套资产：四卡统一 —— */
.flow-eco-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}

.flow-eco-card {
  /* 图标 42px + 间距 12px，描述与箭头与标题左对齐 */
  --flow-eco-indent: calc(42px + 12px);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: start;
  min-height: 100%;
  padding: 20px 18px 18px;
  /* 背景/边框对齐 .flow-feature */
  border: 1px solid color-mix(in srgb, var(--wa-color-border) 72%, transparent);
  border-radius: var(--wa-radius-lg, var(--wa-radius));
  background:
    linear-gradient(
      165deg,
      color-mix(in srgb, var(--wa-color-primary) 4.5%, var(--wa-color-surface)) 0%,
      var(--wa-color-surface) 42%
    );
  color: inherit;
  text-decoration: none;
  box-shadow: none;
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease,
    background 0.18s ease;
}

.flow-eco-card:hover {
  border-color: color-mix(in srgb, var(--wa-color-primary) 28%, var(--wa-color-border));
  background:
    linear-gradient(
      165deg,
      color-mix(in srgb, var(--wa-color-primary) 7%, var(--wa-color-surface)) 0%,
      var(--wa-color-surface) 48%
    );
  box-shadow: 0 10px 28px color-mix(in srgb, var(--wa-color-primary) 8%, transparent);
  transform: translateY(-2px);
}

.flow-eco-card__top {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
}

.flow-eco-card__icon {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--wa-color-primary) 10%, transparent);
  color: var(--wa-color-primary);
  font-size: 1.08rem;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--wa-color-primary) 10%, transparent);
  transition:
    background 0.18s ease,
    color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

.flow-eco-card:hover .flow-eco-card__icon {
  background: var(--wa-color-primary);
  color: var(--wa-color-on-primary, #fff);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--wa-color-primary) 18%, transparent);
  transform: translateY(-1px);
}

.flow-eco-card__heading {
  min-width: 0;
  padding-top: 1px;
}

.flow-eco-card__eyebrow {
  margin: 0 0 4px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--wa-color-primary);
}

.flow-eco-card__title {
  margin: 0;
  font-family: var(--wa-font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.3;
  color: var(--wa-color-text);
  text-wrap: pretty;
}

.flow-eco-card__text {
  margin: 0;
  padding-left: var(--flow-eco-indent);
  font-size: 14px;
  line-height: 1.6;
  color: var(--wa-color-text-secondary, var(--wa-color-muted));
  text-wrap: pretty;
}

.flow-eco-card__go {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  margin-top: 4px;
  margin-left: var(--flow-eco-indent);
  padding: 5px 12px;
  border: 1px solid color-mix(in srgb, var(--wa-color-border) 85%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--wa-color-muted) 6%, var(--wa-color-surface));
  color: var(--wa-color-primary);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.2;
  transition:
    color 0.18s ease,
    gap 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease;
}

.flow-eco-card__go i {
  font-size: 0.78em;
  transition: transform 0.18s ease;
}

.flow-eco-card:hover .flow-eco-card__go {
  border-color: color-mix(in srgb, var(--wa-color-primary) 40%, var(--wa-color-border));
  background: color-mix(in srgb, var(--wa-color-primary) 8%, var(--wa-color-surface));
  color: var(--wa-color-primary);
  gap: 8px;
}

.flow-eco-card:hover .flow-eco-card__go i {
  transform: translateX(2px);
}

button.flow-eco-card {
  width: 100%;
  margin: 0;
  font: inherit;
  text-align: left;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

button.flow-eco-card:focus-visible {
  outline: 2px solid var(--wa-color-primary);
  outline-offset: 2px;
}

.flow-fw-modal__panel {
  width: min(100%, 640px);
  max-height: min(86vh, 780px);
}

.flow-fw-modal__lead {
  margin: 0;
  font-family: var(--wa-font-sans, inherit);
  font-size: 0.88rem;
  font-weight: 400;
  line-height: 1.55;
  color: var(--wa-color-text-secondary, var(--wa-color-muted));
}

.flow-fw-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.flow-fw-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px 16px;
  align-items: start;
  padding: 14px 14px 14px 16px;
  border: 1px solid color-mix(in srgb, var(--wa-color-border) 88%, transparent);
  border-radius: calc(var(--wa-radius, 12px) + 2px);
  background: color-mix(in srgb, var(--wa-color-fill-1, var(--wa-color-muted)) 8%, var(--wa-color-surface));
}

.flow-fw-item__name {
  margin: 0 0 4px;
  font-family: var(--wa-font-display);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--wa-color-text);
}

.flow-fw-item__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  margin: 0 0 8px;
}

.flow-fw-item__stack {
  margin: 0;
  font-family: var(--wa-font-sans, inherit);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--wa-color-primary);
}

.flow-fw-item__ends {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
}

.flow-fw-item__end {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--wa-color-border) 88%, transparent);
  background: var(--wa-color-surface);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--wa-color-text-secondary, var(--wa-color-muted));
}

.flow-fw-item__desc {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--wa-color-text-secondary, var(--wa-color-muted));
}

.flow-fw-item__repo {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--wa-color-border) 88%, transparent);
  background: var(--wa-color-surface);
  color: var(--wa-color-text);
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.flow-fw-item__repo:hover,
.flow-fw-item__repo:focus-visible {
  border-color: color-mix(in srgb, var(--wa-color-primary) 40%, var(--wa-color-border));
  color: var(--wa-color-primary);
  outline: none;
}

@media (max-width: 560px) {
  .flow-fw-item {
    grid-template-columns: 1fr;
  }

  .flow-fw-item__repo {
    justify-self: start;
  }
}

.flow-feature-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
  align-items: stretch;
}

.flow-feature {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  height: 100%;
  min-height: 100%;
  box-sizing: border-box;
  padding: 22px 20px 20px;
  border: 1px solid color-mix(in srgb, var(--wa-color-border) 72%, transparent);
  border-radius: var(--wa-radius-lg, var(--wa-radius));
  background:
    linear-gradient(
      165deg,
      color-mix(in srgb, var(--wa-color-primary) 4.5%, var(--wa-color-surface)) 0%,
      var(--wa-color-surface) 42%
    );
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease,
    background 0.2s ease;
}

.flow-feature:hover {
  border-color: color-mix(in srgb, var(--wa-color-primary) 28%, var(--wa-color-border));
  box-shadow: 0 10px 28px color-mix(in srgb, var(--wa-color-primary) 8%, transparent);
  transform: translateY(-2px);
  background:
    linear-gradient(
      165deg,
      color-mix(in srgb, var(--wa-color-primary) 7%, var(--wa-color-surface)) 0%,
      var(--wa-color-surface) 48%
    );
}

.flow-feature__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin: 0;
  border-radius: var(--wa-input-radius, var(--wa-radius));
  border: 1px solid transparent;
  background: var(--wa-color-primary);
  color: var(--wa-color-on-primary, #fff);
  font-size: 1.05rem;
  --fa-primary-color: #fff;
  --fa-secondary-color: color-mix(in srgb, #fff 58%, var(--wa-color-primary));
  --fa-primary-opacity: 1;
  --fa-secondary-opacity: 1;
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

.flow-feature__icon .fa-duotone {
  display: inline-block;
  line-height: 1;
}

.flow-feature:hover .flow-feature__icon {
  background: color-mix(in srgb, var(--wa-color-primary) 88%, #000);
  box-shadow: 0 4px 12px color-mix(in srgb, var(--wa-color-primary) 28%, transparent);
  transform: translateY(-1px);
}

.flow-feature__title {
  margin: 2px 0 0;
  font-family: var(--wa-font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.25;
  color: var(--wa-color-text);
}

.flow-feature__text {
  margin: 0;
  flex: 1;
  font-size: 0.9rem;
  line-height: 1.65;
  min-height: calc(0.9rem * 1.65 * 3);
  color: var(--wa-color-text-secondary, var(--wa-color-muted));
}

.flow-feature__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 4px;
}

.flow-feature__tags span {
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--wa-color-border) 85%, transparent);
  background: color-mix(in srgb, var(--wa-color-muted) 6%, var(--wa-color-surface));
  color: var(--wa-color-text-secondary, var(--wa-color-muted));
  font-size: 0.72rem;
  font-weight: 500;
}

.flow-feature--more[hidden] {
  display: none !important;
}

.flow-features__more {
  display: flex;
  justify-content: center;
  margin-top: 18px;
}

@media (prefers-reduced-motion: reduce) {
  .flow-feature,
  .flow-feature:hover {
    transition: none;
    transform: none;
  }

  .flow-soft-btn i {
    transition: none;
  }
}

/* —— Tutorial（系统学习教程 · 十章目录） —— */
.flow-knowledge-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
  align-items: stretch;
}

.flow-knowledge-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  height: 100%;
  min-height: 100%;
  padding: 22px 20px 20px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--wa-color-border) 72%, transparent);
  border-radius: var(--wa-radius-lg, var(--wa-radius));
  background:
    linear-gradient(
      165deg,
      color-mix(in srgb, var(--wa-color-primary) 4.5%, var(--wa-color-surface)) 0%,
      var(--wa-color-surface) 42%
    );
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease,
    background 0.2s ease;
}

.flow-knowledge-card:hover {
  border-color: color-mix(in srgb, var(--wa-color-primary) 28%, var(--wa-color-border));
  box-shadow: 0 10px 28px color-mix(in srgb, var(--wa-color-primary) 8%, transparent);
  transform: translateY(-2px);
  background:
    linear-gradient(
      165deg,
      color-mix(in srgb, var(--wa-color-primary) 7%, var(--wa-color-surface)) 0%,
      var(--wa-color-surface) 48%
    );
}

.flow-knowledge-card__no {
  position: absolute;
  top: 12px;
  right: 14px;
  z-index: 0;
  font-family: var(--wa-font-serif, var(--wa-font-display));
  font-size: 2rem;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.05em;
  line-height: 1;
  color: color-mix(in srgb, var(--wa-color-primary) 5%, transparent);
  pointer-events: none;
}

.flow-knowledge-card:hover .flow-knowledge-card__no {
  color: color-mix(in srgb, var(--wa-color-primary) 9%, transparent);
}

.flow-knowledge-card__icon {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid color-mix(in srgb, var(--wa-color-primary) 14%, transparent);
  border-radius: var(--wa-input-radius, var(--wa-radius));
  background: color-mix(in srgb, var(--wa-color-primary) 10%, var(--wa-color-surface));
  color: var(--wa-color-primary);
  font-size: 1rem;
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease,
    box-shadow 0.18s ease;
}

.flow-knowledge-card:hover .flow-knowledge-card__icon {
  border-color: var(--wa-color-primary);
  background: var(--wa-color-primary);
  color: var(--wa-color-on-primary, #fff);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--wa-color-primary) 18%, transparent);
}

.flow-knowledge-card__title {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 0 2.2em 0 0;
  border: 0;
  font-family: var(--wa-font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.25;
  color: var(--wa-color-text);
}

.flow-knowledge-card__list {
  position: relative;
  z-index: 1;
  list-style: none;
  margin: 0;
  margin-top: auto;
  padding: 12px 0 0;
  border-top: 1px solid color-mix(in srgb, var(--wa-color-border) 78%, transparent);
  display: grid;
  gap: 8px;
  width: 100%;
}

.flow-knowledge-card__list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--wa-color-text-secondary, var(--wa-color-muted));
}

.flow-knowledge-card__list i {
  margin-top: 0.15em;
  color: var(--wa-color-primary);
  font-size: 0.88rem;
  flex: 0 0 auto;
}

/* —— Pipeline：阶段 + 起点整合面板 —— */
.flow-pipeline__panel {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid color-mix(in srgb, var(--wa-color-border) 78%, transparent);
  border-radius: calc(var(--wa-radius-lg, var(--wa-radius)) + 4px);
  background:
    linear-gradient(
      180deg,
      color-mix(in srgb, var(--wa-color-primary) 4%, var(--wa-color-surface)) 0%,
      var(--wa-color-surface) 28%
    );
  box-shadow:
    0 1px 2px color-mix(in srgb, #000 4%, transparent),
    0 10px 28px color-mix(in srgb, #000 4%, transparent);
  overflow: hidden;
}

.flow-pipeline__stage {
  padding: 22px 20px 24px;
}

.flow-pipeline__stage--starts {
  border-top: 1px solid color-mix(in srgb, var(--wa-color-border) 78%, transparent);
  background: color-mix(in srgb, var(--wa-color-muted) 3.5%, var(--wa-color-surface));
}

.flow-pipeline__actions {
  display: flex;
  justify-content: center;
  padding: 0 20px 22px;
}

.flow-starts-modal__lead {
  margin: 6px 0 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--wa-color-muted);
}

.flow-skill-modal__panel.flow-starts-modal__panel {
  width: min(100%, 640px);
  max-width: min(640px, calc(100vw - 32px));
}

.flow-paths--modal {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
}

.flow-paths--modal .flow-path {
  align-items: flex-start;
  gap: 14px;
  padding: 16px 16px 18px;
  border-radius: 14px;
  border-color: color-mix(in srgb, var(--wa-color-border) 72%, transparent);
  background:
    linear-gradient(
      160deg,
      color-mix(in srgb, var(--wa-color-primary) 5%, var(--wa-color-surface)) 0%,
      var(--wa-color-surface) 48%
    );
  box-shadow: 0 1px 2px color-mix(in srgb, #000 3%, transparent);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease,
    background 0.2s ease;
}

.flow-paths--modal .flow-path:hover {
  border-color: color-mix(in srgb, var(--wa-color-primary) 32%, var(--wa-color-border));
  box-shadow: 0 10px 24px color-mix(in srgb, var(--wa-color-primary) 9%, transparent);
  transform: translateY(-1px);
  background:
    linear-gradient(
      160deg,
      color-mix(in srgb, var(--wa-color-primary) 8%, var(--wa-color-surface)) 0%,
      var(--wa-color-surface) 52%
    );
}

.flow-paths--modal .flow-path__step {
  width: 36px;
  height: 36px;
  margin-top: 1px;
  border-radius: 11px;
  border: 0;
  background: color-mix(in srgb, var(--wa-color-primary) 12%, var(--wa-color-surface));
  color: var(--wa-color-primary);
  font-size: 0.88rem;
  font-weight: 750;
  letter-spacing: 0.02em;
}

.flow-paths--modal .flow-path__title {
  margin: 0 0 6px;
  font-family: var(--wa-font-display);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.flow-paths--modal .flow-path__text {
  font-size: 0.8rem;
  line-height: 1.6;
  color: color-mix(in srgb, var(--wa-color-text) 72%, var(--wa-color-muted));
}

.flow-starts-modal__panel .flow-skill-modal__foot {
  justify-content: flex-end;
}

@media (min-width: 560px) {
  .flow-paths--modal {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .flow-paths--modal .flow-path,
  .flow-paths--modal .flow-path:hover {
    transition: none;
    transform: none;
  }
}

body.is-flow-starts-open {
  overflow: hidden;
}

.flow-pipeline__stage-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  margin-bottom: 16px;
}

.flow-pipeline__label {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  line-height: 1.3;
  text-transform: none;
  color: var(--wa-color-primary);
}

.flow-pipeline__hint {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--wa-color-text-secondary, var(--wa-color-muted));
}

.flow-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
  align-items: stretch;
}

.flow-step {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
  min-height: 188px;
  padding: 20px 16px 18px;
  border: 1px solid color-mix(in srgb, #fff 14%, var(--wa-color-primary));
  border-radius: 14px;
  background:
    linear-gradient(
      160deg,
      color-mix(in srgb, #fff 9%, var(--wa-color-primary)) 0%,
      var(--wa-color-primary) 52%,
      color-mix(in srgb, var(--wa-color-primary) 86%, #000) 100%
    );
  color: var(--wa-color-on-primary, #fff);
  box-shadow:
    0 1px 0 color-mix(in srgb, #fff 16%, transparent) inset,
    0 10px 24px color-mix(in srgb, var(--wa-color-primary) 28%, transparent);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, filter 0.2s ease;
}

.flow-step:hover {
  border-color: color-mix(in srgb, #fff 26%, var(--wa-color-primary));
  box-shadow:
    0 1px 0 color-mix(in srgb, #fff 20%, transparent) inset,
    0 14px 30px color-mix(in srgb, var(--wa-color-primary) 36%, transparent);
  transform: translateY(-2px);
  filter: brightness(1.03);
}

.flow-step__num,
.flow-step__title,
.flow-step__text {
  position: relative;
  z-index: 1;
}

.flow-step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-width: 2.1rem;
  height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, #fff 22%, transparent);
  background: color-mix(in srgb, #fff 14%, transparent);
  color: var(--wa-color-on-primary, #fff);
  font-family: var(--wa-font-serif, var(--wa-font-display));
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  font-variant-numeric: tabular-nums;
}

.flow-step__mark {
  position: absolute;
  right: 6px;
  bottom: -4px;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4.2rem;
  line-height: 1;
  /* 跟 on-primary：白场主色为白时仍可见水印，勿写死 #fff */
  color: color-mix(in srgb, var(--wa-color-on-primary, #fff) 22%, transparent);
  pointer-events: none;
  user-select: none;
}

.flow-step__title {
  margin: 0;
  font-size: 1.22rem;
  font-weight: 750;
  line-height: 1.25;
  letter-spacing: -0.03em;
  color: var(--wa-color-on-primary, #fff);
}

.flow-step__text {
  margin: 0;
  margin-top: 14px;
  font-size: 0.8rem;
  line-height: 1.5;
  min-height: 0;
  color: color-mix(in srgb, var(--wa-color-on-primary, #fff) 78%, transparent);
}

.flow-paths {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
  align-items: stretch;
}

.flow-path {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  height: 100%;
  padding: 16px 14px;
  border: 1px solid color-mix(in srgb, var(--wa-color-border) 82%, transparent);
  border-radius: 12px;
  background: var(--wa-color-surface);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.flow-path:hover {
  border-color: color-mix(in srgb, var(--wa-color-primary) 28%, var(--wa-color-border));
  box-shadow: 0 8px 20px color-mix(in srgb, var(--wa-color-primary) 7%, transparent);
}

.flow-path__step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--wa-color-primary) 10%, var(--wa-color-surface));
  border: 1px solid color-mix(in srgb, var(--wa-color-primary) 14%, transparent);
  color: var(--wa-color-primary);
  font-family: var(--wa-font-display);
  font-size: 0.95rem;
  font-weight: 700;
}

.flow-path__body {
  min-width: 0;
}

.flow-path__title {
  margin: 0 0 6px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--wa-color-text);
}

.flow-path__text {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--wa-color-text-secondary, var(--wa-color-muted));
}

@media (min-width: 640px) {
  .flow-pipeline__stage {
    padding: 24px 22px 26px;
  }

  .flow-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .flow-paths {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .flow-pipeline__stage {
    padding: 26px 24px 28px;
  }

  .flow-steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .flow-steps {
    grid-template-columns: repeat(7, minmax(0, 1fr));
  }
}

/* —— FAQ（上下布局 + 条目样式对齐定价页） —— */
.flow-faq-layout {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.flow-faq-layout > .home-section__head {
  max-width: 40em;
}

.flow-faq {
  --flow-faq-icon: 1.1rem;
  --flow-faq-gap: 10px;
  --flow-faq-pad-x: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  max-width: 46rem;
  margin-left: auto;
  margin-right: auto;
}

.flow-faq__item {
  border: 1px solid color-mix(in srgb, var(--wa-color-border) 85%, transparent);
  border-radius: var(--wa-radius);
  background: var(--wa-color-surface);
  overflow: hidden;
}

.flow-faq__item[open] {
  border-color: color-mix(in srgb, var(--wa-color-primary) 32%, var(--wa-color-border));
}

.flow-faq__q {
  display: flex;
  align-items: flex-start;
  gap: var(--flow-faq-gap);
  cursor: pointer;
  list-style: none;
  padding: 16px var(--flow-faq-pad-x);
  font-size: 0.98rem;
  font-weight: 650;
  color: var(--wa-color-text);
}

.flow-faq__icon {
  flex: 0 0 var(--flow-faq-icon);
  width: var(--flow-faq-icon);
  margin-top: 0.18em;
  font-size: 0.95em;
  font-weight: 400;
  line-height: 1;
  text-align: center;
  color: var(--wa-color-primary);
}

.flow-faq__q-text {
  flex: 1;
  min-width: 0;
}

.flow-faq__q::-webkit-details-marker {
  display: none;
}

.flow-faq__toggle {
  flex: 0 0 auto;
  width: 0.85em;
  margin-top: 0.28em;
  margin-left: 8px;
  font-size: 0.72em;
  font-weight: 300;
  line-height: 1;
  color: var(--wa-color-muted);
}

.flow-faq__item[open] .flow-faq__toggle {
  --fa: "\f068"; /* fa-minus */
}

.flow-faq__q:focus-visible {
  outline: 2px solid var(--wa-color-primary);
  outline-offset: -2px;
}

.flow-faq__a {
  padding: 0 var(--flow-faq-pad-x) 16px;
  padding-left: calc(var(--flow-faq-pad-x) + var(--flow-faq-icon) + var(--flow-faq-gap));
}

.flow-faq__a p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--wa-color-muted);
}

.flow-faq__cta {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  padding-top: 4px;
}

.flow-faq__cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 28px;
  border-radius: 12px;
  font-size: 0.98rem;
  font-weight: 550;
  letter-spacing: 0.01em;
  box-shadow:
    inset 0 0 0 1px color-mix(in srgb, #fff 22%, transparent),
    inset 0 0 10px color-mix(in srgb, #fff 18%, transparent);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
}

.flow-faq__cta-btn:hover {
  transform: translateY(-1px);
  box-shadow:
    inset 0 0 0 1px color-mix(in srgb, #fff 36%, transparent),
    inset 0 0 18px color-mix(in srgb, #fff 28%, transparent),
    var(--wa-shadow-button-hover, none);
}

.flow-faq__cta-btn .fa-arrow-right {
  font-size: 0.85em;
  transition: transform 0.2s ease;
}

.flow-faq__cta-btn:hover .fa-arrow-right {
  transform: translateX(3px);
}

html[data-theme="dark"] .flow-faq__cta-btn {
  box-shadow:
    inset 0 0 0 1px color-mix(in srgb, #000 18%, transparent),
    inset 0 0 10px color-mix(in srgb, #000 14%, transparent);
}

html[data-theme="dark"] .flow-faq__cta-btn:hover {
  box-shadow:
    inset 0 0 0 1px color-mix(in srgb, #000 28%, transparent),
    inset 0 0 18px color-mix(in srgb, #000 22%, transparent),
    var(--wa-shadow-button-hover, none);
}

/* —— Reveal（只用透明度，避免盖住卡片 hover 的 translateY 抬升） —— */
[data-flow-reveal] {
  opacity: 0;
  transition: opacity 0.55s ease;
}

[data-flow-reveal].is-in {
  opacity: 1;
}

@media (min-width: 720px) {
  .flow-hero__stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .flow-hero__stats li:nth-child(2n)::after {
    display: block;
  }

  .flow-hero__stats li:nth-child(3n)::after {
    display: none;
  }

  .flow-paths {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .flow-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .flow-eco-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .flow-knowledge-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .flow-hero__stats {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    padding: 12px 0;
  }

  .flow-hero__stats li {
    text-align: center;
    padding: 28px 12px;
  }

  .flow-hero__stats li:nth-child(3n)::after {
    display: block;
  }

  .flow-hero__stats li:last-child::after {
    display: none;
  }

  .flow-feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .flow-eco-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .flow-eco-card {
    padding: 18px 16px;
  }

  .flow-knowledge-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

}

@media (prefers-reduced-motion: reduce) {
  /* SMIL 不受 animation:none 约束：直接藏起扩散环，只留中心点 */
  .flow-hero__ripples svg circle:not(:last-child) {
    display: none;
  }

  .flow-mode,
  .flow-feature,
  .flow-eco-card,
  .flow-knowledge-card,
  .flow-path,
  .flow-step,
  .flow-support__track,
  [data-flow-reveal] {
    animation: none !important;
    transition: none !important;
  }

  [data-flow-reveal] {
    opacity: 1;
    transform: none;
  }

}
