.page-disclaimer {
  --stmt-line: rgba(7, 20, 38, .1);
  --stmt-line-soft: rgba(143, 166, 192, .28);
  background: var(--paper);
  color: var(--ink-900);
  font-family: var(--font-body);
  overflow-wrap: break-word;
}

.page-disclaimer a:focus-visible,
.page-disclaimer summary:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* 面包屑条 */
.stmt-bar {
  background: var(--paper);
  border-bottom: 1px solid var(--stmt-line);
}
.stmt-bar__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 12px var(--gutter);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .05em;
}
.page-disclaimer .breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--mist);
}
.page-disclaimer .breadcrumb li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.page-disclaimer .breadcrumb li + li::before {
  content: "／";
  color: var(--stmt-line-soft);
}
.page-disclaimer .breadcrumb a {
  color: var(--ink-700);
  text-decoration: none;
}
.page-disclaimer .breadcrumb a:hover {
  color: var(--orange);
}
.stmt-doc {
  color: var(--orange);
  letter-spacing: .12em;
  white-space: nowrap;
}

/* 首屏 */
.stmt-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(90% 120% at 88% 0%, rgba(255, 106, 42, .18), transparent 62%),
    linear-gradient(158deg, var(--ink-800), var(--ink-700) 58%, var(--ink-900));
}
.stmt-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(to right, rgba(143, 166, 192, .14) 0 1px, transparent 1px 64px),
    repeating-linear-gradient(to bottom, rgba(143, 166, 192, .1) 0 1px, transparent 1px 64px);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .9), transparent 92%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .9), transparent 92%);
}
.stmt-hero__inner {
  position: relative;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: clamp(30px, 6vw, 64px) var(--gutter) clamp(32px, 5vw, 60px);
  display: grid;
  gap: clamp(22px, 4vw, 44px);
}
.stmt-kicker {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .24em;
  color: var(--cyan);
}
.page-disclaimer .stmt-hero h1 {
  margin: 0 0 16px;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: clamp(32px, 7vw, 54px);
  line-height: 1.04;
  letter-spacing: -.02em;
  color: var(--paper);
}
.stmt-hero__lead {
  margin: 0;
  max-width: 46ch;
  font-size: clamp(15px, 2.2vw, 17px);
  line-height: 1.78;
  color: rgba(245, 240, 230, .86);
}
.stmt-hero__meta {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--mist);
}
.stmt-hero__meta b {
  color: var(--gold);
  font-weight: 700;
}
.stmt-hero__fig {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--stmt-line-soft);
  background: var(--ink-900);
  box-shadow: var(--shadow-1);
}
.stmt-hero__fig img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

/* 主体：目录 + 条款 */
.stmt-shell {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: clamp(26px, 5vw, 56px) var(--gutter) clamp(40px, 6vw, 76px);
  display: grid;
  gap: clamp(20px, 3vw, 40px);
}
.stmt-toc__title {
  display: none;
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .2em;
  color: var(--mist);
}
.stmt-toc__list {
  list-style: none;
  margin: 0;
  padding: 0 0 4px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.stmt-toc__list li {
  flex: 0 0 auto;
}
.stmt-toc__list a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  padding: 8px 14px;
  border-radius: var(--pill);
  border: 1px solid var(--stmt-line);
  background: var(--white);
  color: var(--ink-700);
  font-size: 13px;
  text-decoration: none;
  transition: background-color .2s var(--ease-out), color .2s var(--ease-out), border-color .2s var(--ease-out);
}
.stmt-toc__idx {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--orange);
  font-weight: 700;
}
.stmt-toc__list a:hover {
  border-color: var(--orange);
  color: var(--ink-900);
}

.stmt-body {
  display: grid;
  gap: clamp(16px, 2.4vw, 24px);
  min-width: 0;
}

.stmt-clause {
  background: var(--white);
  border: 1px solid var(--stmt-line);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 3.2vw, 34px);
  box-shadow: var(--shadow-2);
  scroll-margin-top: calc(var(--header-h) + 20px);
  min-width: 0;
}
.stmt-clause:target {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 106, 42, .16), var(--shadow-2);
}
.stmt-clause__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--stmt-line);
}
.stmt-clause__num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  color: var(--orange);
}
.page-disclaimer .stmt-clause h2 {
  margin: 0;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: clamp(19px, 2.6vw, 25px);
  line-height: 1.3;
  letter-spacing: -.01em;
  color: var(--ink-900);
}
.stmt-clause p {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-900);
}
.stmt-clause > p:last-child {
  margin-bottom: 0;
}
.stmt-clause ul {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
}
.stmt-clause ul:last-child {
  margin-bottom: 0;
}
.stmt-clause ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 9px;
  font-size: 14.5px;
  line-height: 1.78;
  color: var(--ink-700);
}
.stmt-clause ul li:last-child {
  margin-bottom: 0;
}
.stmt-clause ul li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: .72em;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--orange);
  transform: rotate(45deg);
}
.page-disclaimer .stmt-clause a {
  color: var(--ink-800);
  text-decoration: underline;
  text-decoration-color: var(--cyan);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.page-disclaimer .stmt-clause a:hover {
  color: var(--orange);
  text-decoration-color: var(--orange);
}
.stmt-note {
  margin: 16px 0 0;
  padding: 12px 16px;
  background: var(--gray);
  border-left: 3px solid var(--cyan);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--ink-700);
}

/* 联系信息 */
.stmt-contact {
  display: grid;
  gap: 12px;
  margin: 2px 0 16px;
}
.stmt-contact__item {
  padding: 12px 14px;
  border: 1px dashed rgba(7, 20, 38, .2);
  border-radius: var(--radius-md);
  background: var(--paper);
  min-width: 0;
}
.stmt-contact__key {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--mist);
}
.stmt-contact__val {
  display: block;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-900);
  overflow-wrap: anywhere;
}
.stmt-contact__val--mono {
  font-family: var(--font-mono);
  letter-spacing: .02em;
}

/* 更新记录 */
.stmt-rev {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.stmt-rev > li {
  border: 1px solid var(--stmt-line);
  border-radius: var(--radius-md);
  background: var(--paper);
  overflow: hidden;
}
.stmt-rev > li::before {
  content: none;
}
.page-disclaimer .stmt-rev > li {
  padding-left: 0;
  margin-bottom: 0;
}
.stmt-rev details {
  min-width: 0;
}
.stmt-rev summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  padding: 12px 16px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-900);
  list-style: none;
}
.stmt-rev summary::-webkit-details-marker {
  display: none;
}
.stmt-rev summary::after {
  content: "+";
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 16px;
  line-height: 1;
  color: var(--cyan);
}
.stmt-rev details[open] summary::after {
  content: "−";
  color: var(--orange);
}
.stmt-rev__ver {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--orange);
}
.stmt-rev__when {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .06em;
  color: var(--mist);
}
.stmt-rev details p {
  margin: 0;
  padding: 0 16px 14px;
  font-size: 14px;
  line-height: 1.78;
  color: var(--ink-700);
}

@media (min-width: 640px) {
  .stmt-contact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .stmt-hero__inner {
    grid-template-columns: 1.08fr .92fr;
    align-items: center;
  }
  .stmt-shell {
    grid-template-columns: 226px minmax(0, 1fr);
    gap: clamp(28px, 4vw, 56px);
    align-items: start;
  }
  .stmt-toc {
    position: sticky;
    top: calc(var(--header-h) + 20px);
    align-self: start;
  }
  .stmt-toc__title {
    display: block;
  }
  .stmt-toc__list {
    flex-direction: column;
    gap: 4px;
    overflow: visible;
    padding-bottom: 0;
  }
  .stmt-toc__list li {
    flex: 0 0 auto;
  }
  .stmt-toc__list a {
    white-space: normal;
    padding: 9px 12px;
    border: 0;
    border-radius: var(--radius-sm);
    background: transparent;
    justify-content: flex-start;
    line-height: 1.5;
  }
  .stmt-toc__list a:hover,
  .stmt-toc__list a:focus-visible {
    background: var(--white);
    color: var(--ink-900);
    box-shadow: var(--shadow-2);
  }
  .stmt-clause:nth-child(even) {
    margin-left: clamp(12px, 5vw, 56px);
  }
  .stmt-clause:nth-child(odd) {
    margin-right: clamp(0px, 2vw, 20px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-disclaimer .stmt-toc__list a {
    transition: none;
  }
}
