.xuntingbao-page {
  --xtb-coral: #bc493b;
  --xtb-ink: #302e2b;
  --xtb-soft: #fcf5ed;
  color: var(--xtb-ink);
}

.button-coral {
  color: #fff;
  background: #bc493b;
  border-color: #bc493b;
}

.button-coral:hover {
  background: #a33b30;
  border-color: #a33b30;
}

.button-outline {
  color: #302e2b;
  background: #fff;
  border-color: #d6cbc2;
}

.button-outline:hover {
  color: #302e2b;
  background: #fcf5ed;
}

.button-row {
  align-items: center;
}

.xuntingbao-summary-visual {
  background: #fff9df;
  border-radius: 36px;
}

.catalog-intro {
  padding-bottom: 54px;
  background: var(--surface-soft);
}

.catalog-intro h1 {
  margin: 0 0 24px;
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.22;
}

.catalog-products {
  background: #fffaf4;
}

.product-note {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.xuntingbao-hero {
  padding: 64px 0 72px;
  background: linear-gradient(125deg, #fff7e9, #fcf3ef 64%, #edf3e9);
}

.xuntingbao-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  gap: 64px;
  align-items: center;
}

.xuntingbao-identity {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 32px;
}

.xuntingbao-identity img {
  border-radius: 18px;
}

.xuntingbao-identity strong,
.xuntingbao-identity span {
  display: block;
}

.xuntingbao-identity strong {
  font-size: 22px;
}

.xuntingbao-identity span {
  color: var(--muted);
  font-size: 14px;
}

.xuntingbao-hero h1 {
  margin: 0;
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  line-height: 1.25;
}

.xuntingbao-lead {
  max-width: 580px;
  margin: 24px 0 0;
  color: #615a54;
  font-size: 18px;
  line-height: 1.85;
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin: 28px 0 0;
  padding: 0;
  color: #736b63;
  font-size: 14px;
  list-style: none;
}

.app-preview {
  width: min(100%, 270px);
  margin: 0 auto;
}

.app-preview img {
  width: 100%;
  height: auto;
  border: 7px solid #fff;
  border-radius: 28px;
  box-shadow: 0 18px 52px rgba(91, 64, 40, 0.12);
}

.app-preview figcaption {
  margin-top: 16px;
  color: #736b63;
  font-size: 12px;
  text-align: center;
}

.xuntingbao-page .section-kicker {
  color: #9d4437;
}

.xtb-features,
.download-platforms {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 36px;
}

.xtb-feature,
.download-platform {
  padding: 30px;
  background: #fff;
  border: 1px solid #e5ddd5;
  border-radius: 18px;
}

.xtb-feature-number {
  color: #bc493b;
  font-size: 14px;
  font-weight: 700;
}

.xtb-feature h3,
.download-platform h3 {
  margin: 12px 0;
  font-size: 22px;
}

.xtb-feature p,
.download-platform p {
  margin: 0 0 20px;
  color: var(--muted);
}

.xtb-notice {
  padding: 24px 28px;
  background: #fcf5ed;
  border-left: 3px solid #bc493b;
  border-radius: 0 12px 12px 0;
}

.xtb-notice p {
  margin: 8px 0;
}

.xtb-notice a,
.xtb-document a,
.xtb-help a {
  color: #9d4437;
  text-decoration: underline;
  text-underline-offset: 4px;
  overflow-wrap: anywhere;
}

.xtb-download-section {
  background: #fcf5ed;
}

.download-status {
  display: block;
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
  overflow-wrap: anywhere;
}

.xtb-document,
.xtb-help {
  max-width: 820px;
  padding-block: 48px 76px;
}

.xtb-document h1,
.xtb-help h1 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.3;
}

.document-meta {
  color: var(--muted);
  font-size: 14px;
}

.document-index {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  padding: 22px 0;
  margin: 28px 0;
  border-block: 1px solid var(--line);
}

.xtb-document section + section,
.xtb-help section + section {
  margin-top: 38px;
}

.xtb-document h2,
.xtb-help h2 {
  margin-bottom: 14px;
  font-size: 22px;
}

.xtb-document li + li {
  margin-top: 8px;
}

.xtb-help details {
  border-bottom: 1px solid var(--line);
}

.xtb-help summary {
  padding: 20px 0;
  font-weight: 600;
  cursor: pointer;
}

.xtb-help details p {
  margin: 0 0 22px;
  color: var(--muted);
}

@media (max-width: 900px) {
  .xuntingbao-hero-inner {
    gap: 36px;
  }
}

@media (max-width: 680px) {
  .xuntingbao-hero h1 {
    font-size: 2.125rem;
    line-height: 1.3;
  }

  .xuntingbao-hero {
    padding: 38px 0 48px;
  }

  .xuntingbao-hero-inner,
  .xtb-features,
  .download-platforms {
    grid-template-columns: minmax(0, 1fr);
  }

  .xuntingbao-lead {
    font-size: 16px;
  }

  .app-preview {
    width: 220px;
    margin-top: 12px;
  }

  .xtb-feature,
  .download-platform,
  .xtb-notice {
    padding: 22px;
  }

  .xuntingbao-summary-visual {
    width: min(100%, 260px);
    justify-self: center;
  }
}
