/* flow.css */
.container {
  max-width: var(--wrap, 1280px);
  margin: 28px auto;
  padding: 0 16px 60px;
}

.page-title {
  margin: 6px 0 18px;
  text-align: center;
  font-size: 28px;
  font-weight: 1000;
  letter-spacing: -0.2px;
}

.card {
  background: var(--card, #fff);
  border: 1px solid var(--line, #e5e7eb);
  border-radius: var(--radius, 18px);
  box-shadow: 0 8px 30px rgba(17, 24, 39, 0.06);
  padding: 18px;
}

/* hero */
.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 16px;
  align-items: center;
  background: linear-gradient(
    180deg,
    rgba(212, 162, 77, 0.18),
    rgba(255, 255, 255, 0.7)
  );
}

.hero-title {
  font-size: 22px;
  font-weight: 1000;
  letter-spacing: -0.4px;
}
.hero-sub {
  margin-top: 8px;
  color: var(--muted, #6b7280);
  font-weight: 800;
}

.hero-actions {
  margin-top: 14px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-right {
  display: flex;
  justify-content: center;
}
.hero-img {
  width: min(220px, 80%);
  height: auto;
  border-radius: 20px;
  filter: drop-shadow(0 18px 22px rgba(0, 0, 0, 0.12));
}

/* buttons */
.primary-btn,
.ghost-btn {
  height: 40px;
  padding: 0 14px;
  border-radius: 12px;
  font-weight: 1000;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.primary-btn {
  background: var(--accent, #2563eb);
  color: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
}
.primary-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2);
}

.ghost-btn {
  background: #fff;
  color: #111827;
  border: 1px solid var(--line, #e5e7eb);
}
.ghost-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(17, 24, 39, 0.06);
}

/* steps grid */
.grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.step-card {
  background: #fff;
  border: 1px solid var(--line, #e5e7eb);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 6px 18px rgba(17, 24, 39, 0.04);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.step-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(17, 24, 39, 0.08);
}

.step-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.step-badge {
  font-size: 12px;
  font-weight: 1000;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(212, 162, 77, 0.16);
  border: 1px solid rgba(212, 162, 77, 0.25);
  color: #8a5a12;
}
.step-title {
  font-weight: 1000;
  font-size: 16px;
}

.step-list {
  margin: 0;
  padding-left: 18px;
  color: #111827;
  line-height: 1.6;
  font-weight: 800;
}

.step-more {
  margin-top: 12px;
  width: 100%;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--line, #e5e7eb);
  background: #fff;
  font-weight: 1000;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.12s ease;
}
.step-more:hover {
  transform: translateY(-1px);
  background: #f9fafb;
}

.step-detail {
  display: none;
  margin-top: 12px;
}
.step-card.open .step-detail {
  display: block;
}

.detail-box {
  border-radius: 14px;
  border: 1px solid rgba(37, 99, 235, 0.15);
  background: rgba(37, 99, 235, 0.06);
  padding: 12px;
}
.detail-box b {
  font-weight: 1000;
}
.muted {
  margin-top: 6px;
  color: var(--muted, #6b7280);
  font-weight: 800;
}

/* shortcuts */
.shortcuts {
  margin-top: 16px;
}
.sec-title {
  font-weight: 1000;
  font-size: 16px;
  margin-bottom: 10px;
}
.chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid var(--line, #e5e7eb);
  background: #fff;
  font-weight: 1000;
  color: #111827;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.chip:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(17, 24, 39, 0.06);
}
.hint {
  margin-top: 10px;
  font-size: 12px;
  color: var(--muted, #6b7280);
  font-weight: 800;
}

.bottom-actions {
  margin-top: 16px;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* responsive */
@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
  }
  .grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 520px) {
  .page-title {
    font-size: 22px;
  }
}
