:root {
  --ink: #18261e;
  --muted: #667269;
  --line: #dce2d9;
  --paper: #f8f8f3;
  --accent: #276347;
  font-family: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
body { margin: 0; }
.flow-head {
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 clamp(16px, 4vw, 54px);
  border-bottom: 1px solid var(--line);
  background: #fbfcf8;
  font-size: 12px;
}
.flow-head a { color: var(--accent); text-decoration: none; }
.flow-head span { color: var(--muted); }
.flow-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  background: #eef3eb;
}
.flow-steps span { display: flex; align-items: center; gap: 8px; color: #879087; font-size: 12px; }
.flow-steps b {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border: 1px solid #c4cfc2;
  border-radius: 50%;
  font-size: 11px;
}
.flow-steps em { font-style: normal; }
.flow-steps i { width: clamp(20px, 6vw, 72px); height: 1px; background: #cbd5c9; }
.flow-steps .current { color: var(--accent); font-weight: 650; }
.flow-steps .current b { background: var(--accent); border-color: var(--accent); color: white; }
main { width: min(1160px, 100%); margin: auto; padding: 34px clamp(14px, 4vw, 42px) 54px; }
.flow-intro { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 24px; margin-bottom: 20px; }
.flow-intro p { grid-column: 1; margin: 0 0 7px; color: var(--accent); font-size: 11px; letter-spacing: .12em; }
.flow-intro h1 { grid-column: 1; margin: 0; font: 500 clamp(24px, 3vw, 34px)/1.2 "Songti SC", "STSong", serif; }
.flow-intro span { grid-column: 2; grid-row: 1 / 3; max-width: 360px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.video-wrap { height: clamp(360px, calc(100svh - 360px), 640px); overflow: hidden; background: #171b21; border-radius: 6px; }
.video-wrap iframe { width: 100%; height: 100%; display: block; border: 0; }
.next-step {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 24px 0 0;
}
.next-step strong { font-size: 15px; font-weight: 600; }
.next-step p { margin: 6px 0 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.retry {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 13px 18px;
  border-radius: 4px;
  background: var(--accent);
  color: white;
  text-decoration: none;
  font-size: 14px;
  transition: transform .18s ease, background .18s ease;
}
.retry:hover { background: #194f36; transform: translateY(-2px); }
.retry span { font-size: 19px; }
@media (max-width: 700px) {
  .flow-head { height: 52px; }
  .flow-steps { gap: 7px; padding: 11px 10px; }
  .flow-steps span { gap: 5px; }
  .flow-steps i { width: 12px; }
  main { padding-top: 24px; }
  .flow-intro { display: block; }
  .flow-intro h1 { margin-bottom: 10px; }
  .flow-intro span { display: block; }
  .video-wrap { height: 390px; }
  .next-step { align-items: stretch; flex-direction: column; gap: 16px; }
  .retry { justify-content: center; }
}
@media (max-width: 390px) {
  .flow-steps em { font-size: 11px; }
  .video-wrap { height: 340px; }
}
@media (prefers-reduced-motion: reduce) {
  .retry { transition: none; }
}
