.page-disclaimer {
  background: var(--qd-ink);
  color: var(--qd-rock);
  padding-bottom: clamp(40px, 7vw, 80px);
}

.page-disclaimer__crumb {
  padding-top: clamp(16px, 3vw, 28px);
}

/* ---------- 首屏 ---------- */
.terms-hero {
  padding: clamp(24px, 4vw, 44px) 0 clamp(28px, 5vw, 52px);
  position: relative;
  overflow: hidden;
}

.terms-hero__inner {
  position: relative;
}

.terms-hero__title {
  margin: 14px 0 18px;
  font-family: var(--qd-font-sans);
  font-weight: 900;
  font-size: clamp(30px, 7.4vw, 60px);
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--qd-sand);
  max-width: 18ch;
}

.terms-hero__lead {
  margin: 0 0 24px;
  max-width: 64ch;
  font-size: 16.5px;
  line-height: 1.9;
  color: var(--qd-rock);
}

.terms-hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: clamp(24px, 4vw, 36px);
}

.terms-hero__figure {
  margin: 0;
  border-radius: var(--qd-radius-lg);
  overflow: hidden;
  border: 1px solid var(--qd-indigo-700);
  background: var(--qd-indigo-800);
  box-shadow: 0 24px 60px -30px rgba(0, 0, 0, 0.9);
}

.terms-hero__figure img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
}

/* ---------- 章节跳转胶囊 ---------- */
.terms-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: clamp(22px, 4vw, 36px);
}

.terms-jump__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--qd-indigo-700);
  background: var(--qd-indigo-800);
  color: var(--qd-rock);
  font-size: 14px;
  line-height: 1.4;
  text-decoration: none;
  transition: border-color 0.25s var(--qd-ease), color 0.25s var(--qd-ease),
    background-color 0.25s var(--qd-ease), transform 0.25s var(--qd-ease);
}

.terms-jump__num {
  font-family: var(--qd-font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--qd-teal);
  letter-spacing: 0.06em;
}

.terms-jump__link:hover,
.terms-jump__link:focus-visible {
  border-color: var(--qd-teal);
  color: var(--qd-sand);
  transform: translateY(-2px);
}

/* ---------- 条款主体：米白阅读区 ---------- */
.terms-sheet {
  background: var(--qd-sand);
  color: var(--qd-indigo-800);
  border-radius: var(--qd-radius-lg);
  padding: clamp(20px, 4.5vw, 56px);
  box-shadow: 0 30px 70px -40px rgba(0, 0, 0, 0.85);
}

.terms-sec {
  padding: clamp(22px, 3.6vw, 38px) 0;
  scroll-margin-top: 96px;
}

.terms-sec:first-child {
  padding-top: 4px;
}

.terms-sec:last-child {
  padding-bottom: 4px;
}

.terms-sec + .terms-sec {
  border-top: 1px solid rgba(14, 22, 51, 0.14);
}

.terms-sec__head {
  margin-bottom: 14px;
}

.terms-sec__num {
  display: inline-block;
  margin-bottom: 8px;
  font-family: var(--qd-font-mono);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--qd-teal-600);
}

.terms-sec__title {
  margin: 0;
  font-family: var(--qd-font-serif);
  font-weight: 600;
  font-size: clamp(19px, 2.7vw, 26px);
  line-height: 1.4;
  color: var(--qd-ink);
}

.terms-sec__body p {
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 1.92;
  color: var(--qd-indigo-800);
}

.terms-sec__body p:last-child {
  margin-bottom: 0;
}

/* 编号步骤列表 */
.terms-list {
  list-style: none;
  counter-reset: termstep;
  margin: 0 0 18px;
  padding: 0;
  display: grid;
  gap: 14px;
}

.terms-list > li {
  counter-increment: termstep;
  position: relative;
  padding-left: 46px;
  font-size: 15.8px;
  line-height: 1.85;
  color: var(--qd-indigo-800);
}

.terms-list > li::before {
  content: counter(termstep, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 2px;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(201, 122, 92, 0.16);
  font-family: var(--qd-font-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.5;
  color: var(--qd-clay);
}

.terms-list > li > strong {
  color: var(--qd-ink);
  font-weight: 700;
  margin-right: 2px;
}

/* 提示块 */
.terms-hint {
  margin: 0 !important;
  padding: 14px 18px;
  border-left: 3px solid var(--qd-orange);
  border-radius: 0 14px 14px 0;
  background: rgba(255, 158, 74, 0.14);
  font-size: 15px !important;
  line-height: 1.82 !important;
  color: var(--qd-indigo-800);
}

/* 等宽信息块 */
.terms-code {
  font-family: var(--qd-font-mono);
  font-size: 14px;
  padding: 1px 6px;
  border-radius: 6px;
  background: rgba(14, 22, 51, 0.08);
  color: var(--qd-indigo-800);
  word-break: break-all;
}

.terms-code--dark {
  background: rgba(53, 224, 196, 0.14);
  color: var(--qd-teal);
}

.terms-link {
  color: var(--qd-teal-600);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color 0.2s var(--qd-ease);
}

.terms-link:hover,
.terms-link:focus-visible {
  color: var(--qd-ink);
}

/* ---------- 底部引导条 ---------- */
.terms-cta {
  margin-top: clamp(22px, 4vw, 36px);
  padding: clamp(22px, 4vw, 40px);
  border-radius: var(--qd-radius-lg);
  border: 1px solid var(--qd-indigo-700);
  background:
    radial-gradient(120% 160% at 100% 0%, rgba(53, 224, 196, 0.16), transparent 62%),
    var(--qd-indigo-800);
  display: grid;
  gap: 20px;
}

.terms-cta__title {
  margin: 0 0 10px;
  font-family: var(--qd-font-serif);
  font-weight: 600;
  font-size: clamp(21px, 3vw, 28px);
  line-height: 1.35;
  color: var(--qd-sand);
}

.terms-cta__desc {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--qd-rock);
  max-width: 62ch;
}

.terms-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.terms-cta__actions .qd-btn {
  flex: 1 1 auto;
  justify-content: center;
  min-width: 132px;
}

/* ---------- 桌面增强 ---------- */
@media (min-width: 860px) {
  .terms-hero__title {
    font-size: clamp(40px, 5vw, 58px);
    max-width: 16ch;
  }

  .terms-hero__lead {
    font-size: 17.5px;
  }

  .terms-sec {
    display: grid;
    grid-template-columns: minmax(190px, 0.78fr) minmax(0, 1.55fr);
    gap: 12px clamp(28px, 4vw, 56px);
    align-items: start;
  }

  .terms-sec__head {
    margin-bottom: 0;
  }

  .terms-sec__title {
    margin-top: 2px;
  }

  .terms-cta {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 28px;
  }

  .terms-cta__actions .qd-btn {
    flex: 0 0 auto;
    min-width: 146px;
  }
}

@media (min-width: 1080px) {
  .terms-hero__figure {
    margin-top: 8px;
  }

  .terms-sheet {
    padding: clamp(36px, 4vw, 60px) clamp(40px, 5vw, 72px);
  }
}

/* ---------- 动效降级 ---------- */
@media (prefers-reduced-motion: reduce) {
  .terms-jump__link,
  .terms-link {
    transition: none;
  }

  .terms-jump__link:hover,
  .terms-jump__link:focus-visible {
    transform: none;
  }
}

.page-disclaimer {
  background: var(--qd-ink);
  color: var(--qd-rock);
  padding-bottom: clamp(40px, 7vw, 80px);
}

.page-disclaimer__crumb {
  padding-top: clamp(16px, 3vw, 28px);
}

/* ---------- 首屏 ---------- */
.terms-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 4vw, 44px) 0 clamp(28px, 5vw, 52px);
}

.terms-hero__title {
  margin: 14px 0 18px;
  max-width: 18ch;
  font-family: var(--qd-font-sans);
  font-weight: 900;
  font-size: clamp(30px, 7.4vw, 60px);
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--qd-sand);
}

.terms-hero__lead {
  margin: 0 0 24px;
  max-width: 64ch;
  font-size: 16.5px;
  line-height: 1.9;
  color: var(--qd-rock);
}

.terms-hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: clamp(24px, 4vw, 36px);
}

.terms-hero__figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--qd-indigo-700);
  border-radius: var(--qd-radius-lg);
  background: var(--qd-indigo-800);
  box-shadow: 0 24px 60px -30px rgba(0, 0, 0, 0.9);
}

.terms-hero__figure img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

/* ---------- 章节跳转胶囊 ---------- */
.terms-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: clamp(22px, 4vw, 36px);
}

.terms-jump__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border: 1px solid var(--qd-indigo-700);
  border-radius: 999px;
  background: var(--qd-indigo-800);
  color: var(--qd-rock);
  font-size: 14px;
  line-height: 1.4;
  text-decoration: none;
  transition: border-color 0.25s var(--qd-ease), color 0.25s var(--qd-ease),
    transform 0.25s var(--qd-ease);
}

.terms-jump__num {
  font-family: var(--qd-font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--qd-teal);
}

.terms-jump__link:hover,
.terms-jump__link:focus-visible {
  border-color: var(--qd-teal);
  color: var(--qd-sand);
  transform: translateY(-2px);
}

/* ---------- 米白条款阅读区 ---------- */
.terms-sheet {
  padding: clamp(20px, 4.5vw, 56px);
  border-radius: var(--qd-radius-lg);
  background: var(--qd-sand);
  color: var(--qd-indigo-800);
  box-shadow: 0 30px 70px -40px rgba(0, 0, 0, 0.85);
}

.terms-sec {
  padding: clamp(22px, 3.6vw, 38px) 0;
  scroll-margin-top: 96px;
}

.terms-sec:first-child {
  padding-top: 4px;
}

.terms-sec:last-child {
  padding-bottom: 4px;
}

.terms-sec + .terms-sec {
  border-top: 1px solid rgba(14, 22, 51, 0.14);
}

.terms-sec__head {
  margin-bottom: 14px;
}

.terms-sec__num {
  display: inline-block;
  margin-bottom: 8px;
  font-family: var(--qd-font-mono);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--qd-teal-600);
}

.terms-sec__title {
  margin: 0;
  font-family: var(--qd-font-serif);
  font-weight: 600;
  font-size: clamp(19px, 2.7vw, 26px);
  line-height: 1.4;
  color: var(--qd-ink);
}

.terms-sec__body p {
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 1.92;
  color: var(--qd-indigo-800);
}

.terms-sec__body p:last-child {
  margin-bottom: 0;
}

/* 编号步骤 */
.terms-list {
  display: grid;
  gap: 14px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  counter-reset: termstep;
}

.terms-list > li {
  position: relative;
  padding-left: 46px;
  font-size: 15.8px;
  line-height: 1.85;
  color: var(--qd-indigo-800);
  counter-increment: termstep;
}

.terms-list > li::before {
  position: absolute;
  top: 2px;
  left: 0;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(201, 122, 92, 0.16);
  font-family: var(--qd-font-mono);
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.05em;
  color: var(--qd-clay);
  content: counter(termstep, decimal-leading-zero);
}

.terms-list > li > strong {
  margin-right: 2px;
  font-weight: 700;
  color: var(--qd-ink);
}

/* 提示块 */
.terms-hint {
  margin: 0 !important;
  padding: 14px 18px;
  border-left: 3px solid var(--qd-orange);
  border-radius: 0 14px 14px 0;
  background: rgba(255, 158, 74, 0.14);
  font-size: 15px !important;
  line-height: 1.82 !important;
  color: var(--qd-indigo-800);
}

/* 等宽信息 */
.terms-code {
  padding: 1px 6px;
  border-radius: 6px;
  background: rgba(14, 22, 51, 0.08);
  font-family: var(--qd-font-mono);
  font-size: 14px;
  color: var(--qd-indigo-800);
  word-break: break-all;
}

.terms-code--dark {
  background: rgba(53, 224, 196, 0.14);
  color: var(--qd-teal);
}

.terms-link {
  color: var(--qd-teal-600);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.2s var(--qd-ease);
}

.terms-link:hover,
.terms-link:focus-visible {
  color: var(--qd-ink);
}

/* ---------- 底部引导条 ---------- */
.terms-cta {
  display: grid;
  gap: 20px;
  margin-top: clamp(22px, 4vw, 36px);
  padding: clamp(22px, 4vw, 40px);
  border: 1px solid var(--qd-indigo-700);
  border-radius: var(--qd-radius-lg);
  background: radial-gradient(120% 160% at 100% 0%, rgba(53, 224, 196, 0.16), transparent 62%),
    var(--qd-indigo-800);
}

.terms-cta__title {
  margin: 0 0 10px;
  font-family: var(--qd-font-serif);
  font-weight: 600;
  font-size: clamp(21px, 3vw, 28px);
  line-height: 1.35;
  color: var(--qd-sand);
}

.terms-cta__desc {
  margin: 0;
  max-width: 62ch;
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--qd-rock);
}

.terms-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.terms-cta__actions .qd-btn {
  flex: 1 1 auto;
  min-width: 132px;
  justify-content: center;
}

/* ---------- 桌面增强 ---------- */
@media (min-width: 860px) {
  .terms-hero__title {
    max-width: 16ch;
    font-size: clamp(40px, 5vw, 58px);
  }

  .terms-hero__lead {
    font-size: 17.5px;
  }

  .terms-sec {
    display: grid;
    grid-template-columns: minmax(190px, 0.78fr) minmax(0, 1.55fr);
    gap: 12px clamp(28px, 4vw, 56px);
    align-items: start;
  }

  .terms-sec__head {
    margin-bottom: 0;
  }

  .terms-sec__title {
    margin-top: 2px;
  }

  .terms-cta {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 28px;
  }

  .terms-cta__actions .qd-btn {
    flex: 0 0 auto;
    min-width: 146px;
  }
}

@media (min-width: 1080px) {
  .terms-hero__figure {
    margin-top: 8px;
  }

  .terms-sheet {
    padding: clamp(36px, 4vw, 60px) clamp(40px, 5vw, 72px);
  }
}

/* ---------- 动效降级 ---------- */
@media (prefers-reduced-motion: reduce) {
  .terms-jump__link,
  .terms-link {
    transition: none;
  }

  .terms-jump__link:hover,
  .terms-jump__link:focus-visible {
    transform: none;
  }
}
