/* 上线流程、常见问题、联系、页脚、渐显 / Timeline, FAQ, contact, footer, reveal. */
/* 上线四步 / onboarding timeline */
.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 24px;
  counter-reset: step;
}
.timeline li {
  position: relative;
  padding-left: 64px;
}
.timeline .num {
  position: absolute;
  left: 0;
  top: -4px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  background: var(--txy-brand);
  color: var(--txy-on-brand);
}
.timeline h3 {
  font-size: 18px;
}
.timeline p {
  margin: 6px 0 0;
  color: var(--txy-text-secondary);
}
@media (min-width: 900px) {
  .timeline {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .timeline li {
    padding: 64px 0 0;
  }
  .timeline li::before {
    content: "";
    position: absolute;
    top: 18px;
    left: 56px;
    right: 8px;
    height: 2px;
    background: var(--txy-border);
  }
  .timeline li:last-child::before {
    display: none;
  }
}

/* 常见问题 / FAQ */
.faq details {
  border-bottom: 1px solid var(--txy-border);
  padding: 4px 0;
}
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  padding: 16px 0;
  font-size: 17px;
  font-weight: 600;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
/* 右侧加号，展开后转成乘号；读屏照样读「已展开 / 已折叠」 / plus sign that turns on open */
.faq summary::after {
  content: "+";
  flex: none;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--txy-border-strong);
  color: var(--txy-brand-text);
  font-weight: 400;
  transition: transform 0.2s;
}
.faq details[open] summary::after {
  transform: rotate(45deg);
}
.faq p {
  margin: 0 0 16px;
  color: var(--txy-text-secondary);
}

/* 联系、页脚 / contact and footer */
.contact {
  display: grid;
  gap: 24px;
  padding: 32px;
  border-radius: 16px;
  background: var(--txy-brand-soft);
}
.contact .section-lead {
  margin-bottom: 0;
}
.contact-list {
  margin: 0;
  display: grid;
  gap: 12px;
}
.contact-list dt {
  font-size: 13px;
  color: var(--txy-text-secondary);
}
.contact-list dd {
  margin: 0;
  font-weight: 600;
  color: var(--txy-brand-soft-text);
}
.contact-list a {
  color: inherit;
  text-underline-offset: 3px;
}
@media (min-width: 900px) {
  .contact {
    grid-template-columns: 1fr 1fr;
    padding: 48px;
  }
}
.site-footer {
  padding: 32px 0 48px;
  border-top: 1px solid var(--txy-border);
  font-size: 14px;
  color: var(--txy-text-muted);
}
.footer-row p {
  margin: 8px 0 0;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}
.site-footer a {
  color: var(--txy-text-secondary);
  text-decoration: underline;
}

/* 滚动渐显（没开脚本时一直可见） / reveal on scroll; always visible without JS */
.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
