/* ===== 页面隐私：数据与隐私 ===== */
.page-privacy {
  background: var(--bg-primary);
  position: relative;
  overflow-x: clip;
}

.page-privacy::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(42, 53, 96, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(42, 53, 96, 0.1) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 15%, #000 85%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 15%, #000 85%, transparent 100%);
}

.page-privacy .page-shell {
  position: relative;
  z-index: 1;
}

/* --- 页首区域 --- */
.privacy-hero {
  display: grid;
  gap: 2rem;
  padding: 2.25rem 0 2rem;
}

.privacy-hero__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.1rem;
}

.privacy-hero__content h1 {
  font-family: var(--font-display);
  font-size: var(--text-display);
  line-height: 1.08;
  color: #fff;
  margin: 0;
  letter-spacing: 0.01em;
  max-width: 20em;
}

.privacy-hero__lead {
  color: var(--text-silver);
  font-size: 1.05rem;
  line-height: 1.8;
  margin: 0;
  max-width: 40em;
}

.privacy-hero__meta {
  margin: 0.5rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  border-top: 1px solid var(--line-grid);
  border-bottom: 1px solid var(--line-grid);
}

.privacy-hero__meta-item {
  padding: 0.75rem 1.5rem 0.75rem 0;
  margin-right: 1.5rem;
  border-right: 1px solid rgba(42, 53, 96, 0.8);
}

.privacy-hero__meta-item:last-child {
  border-right: none;
  margin-right: 0;
  padding-right: 0;
}

.privacy-hero__meta dt {
  font-size: 0.72rem;
  color: var(--text-silver);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.privacy-hero__meta dd {
  margin: 0;
  font-family: var(--font-display);
  color: var(--text-light);
  font-size: 0.95rem;
  font-weight: 600;
}

/* --- 页首图 --- */
.privacy-hero__figure {
  margin: 0;
  position: relative;
  background: var(--bg-secondary);
  border: 1px solid var(--line-grid);
  padding: 0.75rem 0.75rem 0;
  align-self: center;
}

.privacy-hero__figure::before {
  content: "";
  position: absolute;
  top: -6px;
  left: -6px;
  width: 26px;
  height: 26px;
  border-top: 2px solid var(--accent-gold);
  border-left: 2px solid var(--accent-gold);
  pointer-events: none;
  z-index: 2;
}

.privacy-hero__figure::after {
  content: "";
  position: absolute;
  top: -6px;
  right: -6px;
  width: 26px;
  height: 26px;
  border-top: 2px solid var(--accent-gold);
  border-right: 2px solid var(--accent-gold);
  pointer-events: none;
  z-index: 2;
}

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

.privacy-hero__figure figcaption {
  padding: 0.75rem 0.2rem 1rem;
  margin-top: 0.75rem;
  border-top: 1px solid rgba(42, 53, 96, 0.65);
  color: var(--text-silver);
  font-size: 0.8rem;
  line-height: 1.6;
  text-align: left;
}

/* --- 目录 --- */
.privacy-toc {
  margin: 1rem 0 3.5rem;
  border: 1px solid var(--line-grid);
  background: rgba(17, 22, 51, 0.5);
  padding: 1.75rem 1.5rem 1.5rem;
  position: relative;
}

.privacy-toc::after {
  content: "";
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: 4rem;
  height: 2px;
  background: var(--accent-red);
}

.privacy-toc__title {
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-size: var(--text-h3);
  color: var(--text-light);
}

.privacy-toc__title .privacy-section-num {
  font-size: 1em;
  color: var(--accent-gold);
  font-weight: 700;
  font-family: var(--font-display);
}

.privacy-toc__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.25rem;
}

.privacy-toc__list a {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 0.6rem 0.25rem;
  color: var(--text-light);
  text-decoration: none;
  border-bottom: 1px solid rgba(42, 53, 96, 0.65);
  font-size: 0.96rem;
  transition: color 0.25s ease;
}

.privacy-toc__list li:last-child a {
  border-bottom: none;
}

.privacy-toc__list a:hover,
.privacy-toc__list a:focus-visible {
  color: var(--accent-gold);
}

.privacy-toc__list a span {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--accent-gold);
  font-size: 0.82rem;
  min-width: 1.6em;
  opacity: 0.85;
}

/* --- 章节 --- */
.privacy-chapter {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  padding: 2.75rem 0;
  border-top: 1px solid var(--line-grid);
  scroll-margin-top: 5.5rem;
}

.privacy-chapter__head {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.privacy-chapter__num {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 4.75rem);
  line-height: 0.8;
  font-weight: 700;
  color: rgba(255, 215, 0, 0.16);
  min-width: 1.5em;
  letter-spacing: -0.02em;
}

.privacy-chapter__head h2 {
  margin: 0.3rem 0 0;
  font-family: var(--font-display);
  font-size: var(--text-h2);
  font-weight: 600;
  color: var(--text-light);
  line-height: 1.15;
}

.privacy-chapter__body {
  font-size: 0.975rem;
  line-height: 1.9;
  color: var(--text-silver);
}

.privacy-chapter__body p {
  margin: 0 0 1.25rem;
}

.privacy-chapter__body p:last-child {
  margin-bottom: 0;
}

.privacy-chapter__body a {
  color: var(--accent-cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(77, 195, 255, 0.35);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.privacy-chapter__body a:hover,
.privacy-chapter__body a:focus-visible {
  color: var(--accent-gold);
  border-color: rgba(255, 215, 0, 0.5);
}

/* --- 条目列表 --- */
.privacy-list {
  list-style: none;
  margin: 1.5rem 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}

.privacy-list li {
  border-left: 2px solid var(--line-grid);
  padding: 0.5rem 0 0.5rem 1.25rem;
  position: relative;
  transition: border-color 0.25s ease;
}

.privacy-list li:hover {
  border-left-color: var(--accent-gold);
}

.privacy-list li::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 1.05rem;
  width: 8px;
  height: 8px;
  background: var(--accent-gold);
  transform: rotate(45deg);
}

.privacy-list h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-light);
  margin: 0 0 0.35rem;
}

.privacy-list p {
  margin: 0;
  color: var(--text-silver);
  line-height: 1.85;
}

/* --- 披露列表 --- */
.privacy-chapter__list {
  list-style: none;
  margin: 1.5rem 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.privacy-chapter__list li {
  padding: 0.85rem 1rem;
  background: rgba(17, 22, 51, 0.7);
  border: 1px solid var(--line-grid);
  border-left: 3px solid var(--accent-cyan);
  color: var(--text-silver);
  line-height: 1.85;
}

.privacy-chapter__list strong {
  color: var(--accent-gold);
  font-weight: 600;
}

/* --- 联系网格 --- */
.privacy-contact-grid {
  display: grid;
  gap: 1px;
  background: var(--line-grid);
  border: 1px solid var(--line-grid);
  margin: 1.75rem 0;
}

.privacy-contact-item {
  background: var(--bg-secondary);
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.privacy-contact-item__label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--accent-gold);
}

.privacy-contact-item__value {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-light);
  font-weight: 600;
}

/* --- 响应式：平板 --- */
@media (min-width: 48rem) {
  .privacy-hero__meta-item {
    flex: 1;
    margin-right: 0;
    border-right: 1px solid rgba(42, 53, 96, 0.8);
    padding-right: 1.5rem;
  }

  .privacy-hero__meta-item:last-child {
    padding-right: 0;
  }

  .privacy-toc__list {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem 2rem;
  }

  .privacy-contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* --- 响应式：桌面 --- */
@media (min-width: 64rem) {
  .privacy-hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
    gap: 3rem;
    align-items: center;
    padding: 3rem 0 4rem;
  }

  .privacy-hero__content h1 {
    font-size: var(--text-display);
    max-width: 12em;
  }

  .privacy-toc__list {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.6rem 2rem;
  }

  .privacy-chapter {
    grid-template-columns: 13rem minmax(0, 1fr);
    gap: 2.5rem 3.5rem;
    padding: 3.5rem 0;
  }

  .privacy-chapter__head {
    flex-direction: column;
    gap: 0.75rem;
  }

  .privacy-chapter__head h2 {
    margin-top: 0.25rem;
  }

  .privacy-chapter__body {
    max-width: 46em;
  }
}
