.page-privacy {
  background: var(--gray-100);
  scroll-behavior: smooth;
}

/* ========== Hero ========== */
.privacy-hero {
  background:
    linear-gradient(135deg, rgba(255, 107, 44, 0.14) 0%, rgba(255, 107, 44, 0) 42%),
    var(--navy-950);
  padding: 2rem 0 0;
  position: relative;
  overflow: hidden;
}

.privacy-hero::before {
  content: "";
  position: absolute;
  top: -90px;
  right: -90px;
  width: 280px;
  height: 280px;
  border: 1px solid rgba(255, 107, 44, 0.28);
  border-radius: 50%;
  pointer-events: none;
}

.privacy-hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--orange-500) 0%, var(--orange-500) 34%, transparent 34%);
  pointer-events: none;
}

.privacy-hero .breadcrumb {
  margin-bottom: 2rem;
}

.privacy-hero .breadcrumb__item {
  color: rgba(255, 255, 255, 0.65);
}

.privacy-hero .breadcrumb__item[aria-current="page"] {
  color: var(--white);
}

.privacy-hero .breadcrumb__separator {
  color: rgba(255, 255, 255, 0.38);
}

.privacy-hero__kicker {
  margin: 0 0 0.875rem;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange-500);
}

.privacy-hero__content h1 {
  margin: 0 0 1rem;
  color: var(--white);
  font-size: 2.125rem;
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.privacy-hero__content h1 small {
  display: block;
  margin-top: 0.75rem;
  font-size: 1.0625rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.72);
  letter-spacing: 0;
  line-height: 1.4;
}

.privacy-hero__lead {
  max-width: 34em;
  margin: 0 0 1.375rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1rem;
  line-height: 1.75;
}

.privacy-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  padding-bottom: 2.25rem;
}

.privacy-hero__figure {
  margin: 0;
  height: 220px;
  border-radius: 16px 16px 0 0;
  overflow: hidden;
  background: var(--navy-900);
}

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

/* ========== 主布局 ========== */
.privacy-layout {
  padding: 2.25rem 0 3.5rem;
}

.privacy-layout__grid {
  display: block;
}

/* ========== 目录 ========== */
.privacy-toc {
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: 14px;
  padding: 1.375rem;
  margin-bottom: 1.5rem;
}

.privacy-toc__label {
  margin: 0 0 0.875rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange-500);
}

.privacy-toc__nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.privacy-toc__link {
  display: block;
  padding: 0.625rem 0.75rem;
  border-radius: 8px;
  background: var(--gray-100);
  border: 1px solid transparent;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--gray-900);
  text-decoration: none;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.privacy-toc__link:hover,
.privacy-toc__link:focus-visible {
  background: var(--white);
  border-color: var(--orange-500);
  color: var(--orange-500);
  outline: none;
}

.privacy-toc__foot {
  display: flex;
  align-items: flex-start;
  gap: 0.5625rem;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--gray-300);
}

.privacy-toc__sign {
  flex-shrink: 0;
  margin-top: 0.25rem;
  color: var(--orange-500);
}

.privacy-toc__foot p {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.65;
  color: var(--gray-700);
}

.privacy-toc__foot a {
  color: var(--navy-900);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--orange-400);
}

.privacy-toc__foot a:hover {
  color: var(--orange-500);
  border-color: var(--orange-500);
}

/* ========== 文档主体 ========== */
.privacy-doc {
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: 14px;
  padding: 0 1.25rem;
}

/* ========== 章节通用 ========== */
.privacy-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  padding: 2.5rem 0 1.25rem;
  scroll-margin-top: 88px;
}

.privacy-section__head {
  display: flex;
  align-items: baseline;
  gap: 0.875rem;
}

.privacy-section__num {
  font-family: var(--font-mono);
  font-size: 2.5rem;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--navy-900);
}

.privacy-section__tag {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange-500);
}

.privacy-section__body {
  min-width: 0;
}

.privacy-section__body h2 {
  margin: 0 0 0.875rem;
  font-size: 1.5rem;
  line-height: 1.3;
  font-weight: 800;
  color: var(--gray-900);
}

.privacy-section__body p {
  margin: 0 0 0.875rem;
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--gray-700);
  max-width: 64ch;
}

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

.privacy-section__body a {
  color: var(--navy-900);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--orange-400);
  text-underline-offset: 4px;
  transition: color 0.18s ease, text-decoration-color 0.18s ease;
}

.privacy-section__body a:hover {
  color: var(--orange-500);
  text-decoration-color: var(--orange-500);
}

.privacy-section__rule {
  display: block;
  grid-column: 1 / -1;
  height: 2px;
  margin-top: 0.25rem;
  background: linear-gradient(90deg, var(--orange-500) 0%, var(--orange-500) 72px, var(--gray-300) 72px, var(--gray-300) 100%);
}

/* ========== 列表 ========== */
.privacy-list {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.625rem;
}

.privacy-list li {
  padding: 0.625rem 1rem 0.625rem 1.25rem;
  border-left: 3px solid var(--orange-500);
  border-radius: 0 8px 8px 0;
  background: var(--gray-100);
  font-size: 0.875rem;
  line-height: 1.75;
  color: var(--gray-700);
}

.privacy-list--mark li {
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-left: 4px solid var(--orange-500);
}

/* ========== 信息卡片 ========== */
.privacy-cards {
  display: grid;
  gap: 0.875rem;
  margin: 1.125rem 0;
}

.privacy-card {
  padding: 1.125rem 1.25rem;
  border: 1px solid var(--gray-300);
  border-radius: 12px;
  background: var(--white);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.privacy-card:hover {
  border-color: var(--orange-400);
  box-shadow: 0 2px 10px rgba(8, 19, 46, 0.06);
}

.privacy-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  line-height: 1.4;
  font-weight: 700;
  color: var(--gray-900);
}

.privacy-card p {
  margin: 0 0 0.75rem;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--gray-700);
}

.privacy-card__meta {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  line-height: 1.6;
  color: var(--gray-700);
}

/* ========== 提示条 ========== */
.privacy-note {
  margin-top: 1.125rem;
  padding: 0.75rem 1rem;
  border-left: 3px solid var(--orange-500);
  border-radius: 0 8px 8px 0;
  background: var(--gray-100);
  font-size: 0.8125rem;
  line-height: 1.7;
  color: var(--gray-700);
}

/* ========== 步骤列表 ========== */
.privacy-steps {
  margin: 1.125rem 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step-counter;
  display: grid;
  gap: 0.875rem;
}

.privacy-steps li {
  counter-increment: step-counter;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 0.75rem;
  align-items: start;
  padding: 0.875rem 1rem;
  border: 1px solid var(--gray-300);
  border-radius: 12px;
}

.privacy-steps li::before {
  content: counter(step-counter, decimal-leading-zero);
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 1.125rem;
  line-height: 1;
  color: var(--orange-500);
}

.privacy-steps li em {
  display: block;
  font-style: normal;
  font-weight: 700;
  color: var(--gray-900);
  font-size: 0.9375rem;
  margin-bottom: 0.25rem;
}

.privacy-steps li span {
  display: block;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--gray-700);
}

/* ========== 存储对照表 ========== */
.privacy-storage {
  margin: 1.125rem 0;
  border: 1px solid var(--gray-300);
  border-radius: 12px;
  overflow: hidden;
}

.privacy-storage__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8125rem 1.125rem;
  border-bottom: 1px solid var(--gray-300);
  background: var(--gray-100);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-900);
}

.privacy-storage__item:nth-child(even) {
  background: var(--white);
}

.privacy-storage__item:last-child {
  border-bottom: 0;
}

.privacy-storage__tag {
  flex-shrink: 0;
  padding: 0.3125rem 0.625rem;
  border-radius: 999px;
  background: var(--navy-900);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
}

.privacy-storage__tag--off {
  background: var(--gray-300);
  color: var(--gray-700);
}

/* ========== 权利操作卡 ========== */
.privacy-actions {
  display: grid;
  gap: 0.875rem;
  margin: 1.125rem 0;
}

.privacy-action {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 0.875rem;
  padding: 1rem;
  border: 1px solid var(--gray-300);
  border-radius: 12px;
  background: var(--white);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.privacy-action:hover {
  border-color: var(--orange-500);
  transform: translateY(-2px);
}

.privacy-action__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--gray-100);
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 1rem;
  color: var(--orange-500);
}

.privacy-action h3 {
  margin: 0 0 0.3125rem;
  font-size: 0.9375rem;
  line-height: 1.4;
  font-weight: 700;
  color: var(--gray-900);
}

.privacy-action p {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.7;
  color: var(--gray-700);
}

/* ========== 版本块 ========== */
.privacy-version {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.25rem;
  padding: 0.8125rem 1rem;
  border: 1px dashed var(--gray-300);
  border-radius: 12px;
  background: var(--gray-100);
}

.privacy-version__label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gray-700);
}

.privacy-version__num {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--navy-900);
}

/* ========== 邮箱与域名 ========== */
.privacy-email {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--orange-500);
  word-break: break-all;
}

.privacy-domain {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--navy-900);
}

/* ========== 底部收束 ========== */
.privacy-bottom {
  padding: 2.25rem 0 3rem;
}

.privacy-bottom p {
  max-width: 38em;
  margin: 0 0 1.5rem;
  font-size: 0.875rem;
  line-height: 1.8;
  color: var(--gray-700);
}

.privacy-bottom__contact {
  display: grid;
  gap: 0.5rem;
  padding: 1.125rem 1.375rem;
  border-radius: 12px;
  background: var(--navy-950);
}

.privacy-bottom__contact span {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.privacy-bottom__contact strong {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--white);
  word-break: break-all;
}

/* ========== 响应式增强 ========== */
@media (min-width: 768px) {
  .privacy-hero {
    padding-top: 3rem;
  }

  .privacy-hero__figure {
    height: 280px;
  }

  .privacy-layout {
    padding: 3rem 0 5rem;
  }

  .privacy-layout__grid {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 1.75rem;
    align-items: start;
  }

  .privacy-toc {
    position: sticky;
    top: 96px;
    margin-bottom: 0;
  }

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

  .privacy-doc {
    padding: 0 1.75rem;
  }

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

@media (min-width: 1024px) {
  .privacy-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 3.5rem;
    align-items: end;
  }

  .privacy-hero__content h1 {
    font-size: 3rem;
  }

  .privacy-hero__lead {
    margin-bottom: 1.5rem;
  }

  .privacy-hero__figure {
    height: 320px;
  }

  .privacy-layout__grid {
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 2.5rem;
  }

  .privacy-doc {
    padding: 0 2.5rem;
  }

  .privacy-section {
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 2.5rem;
    padding: 3.25rem 0 1.5rem;
  }

  .privacy-section__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .privacy-section__num {
    font-size: 4.5rem;
  }

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

  .privacy-section__body p {
    font-size: 1rem;
  }
}
