/* ============================================================
   macau-gold-legend.com.cn — /assets/site.css
   共享外壳：reset、变量、中文排版、头部、页脚、基础组件
   ============================================================ */

*,
*::before,
*::after { box-sizing: border-box; }

:root {
  --ink: #0F0E0C;
  --gold: #B8860B;
  --gold-soft: #D9B65A;
  --gold-deep: #7A5A08;
  --copper: #A9744F;
  --paper: #F4F0E6;
  --ivory: #E8DFC8;
  --jade: #2F6B5A;
  --jade-soft: #7FC7AE;
  --teal-deep: #123B3A;
  --wine: #6B2333;
  --indigo: #2E2A4F;

  --line: rgba(184, 134, 11, 0.28);
  --line-strong: rgba(184, 134, 11, 0.52);

  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --radius-pill: 999px;

  --shadow-soft: 0 24px 60px -34px rgba(15, 14, 12, 0.55);
  --shadow-deep: 0 22px 48px -26px rgba(15, 14, 12, 0.72);

  --wrap: 1280px;
  --header-h: 80px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  --font-display: 'Noto Serif SC', 'Source Han Serif SC', 'Songti SC', 'STSong', serif;
  --font-body: 'Noto Sans SC', 'Source Han Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-mono: 'IBM Plex Mono', 'JetBrains Mono', 'SFMono-Regular', Consolas, monospace;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

body {
  margin: 0;
  padding-top: var(--header-h);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd {
  margin: 0;
}

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

button { font: inherit; }

:focus-visible {
  outline: 2px solid var(--gold-soft);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- 跳转链接 ---------- */

.skip-link {
  position: absolute;
  top: 8px;
  left: 20px;
  z-index: 8;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  background: var(--gold);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  transform: translateY(-180%);
  transition: transform 0.22s var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

/* ---------- 固定框架导航 ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(15, 14, 12, 0.97);
  border-top: 3px solid var(--gold);
  border-bottom: 1px solid var(--line);
  color: var(--paper);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 26px;
  max-width: var(--wrap);
  height: 100%;
  margin: 0 auto;
  padding: 0 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  padding: 6px 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong);
  background: linear-gradient(150deg, rgba(217, 182, 90, 0.28), rgba(169, 116, 79, 0.1));
  color: var(--gold-soft);
  transition: border-color 0.24s var(--ease), background 0.24s var(--ease);
}

.brand:hover .brand-mark {
  border-color: var(--gold-soft);
  background: linear-gradient(150deg, rgba(217, 182, 90, 0.44), rgba(169, 116, 79, 0.2));
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.16;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--paper);
}

.brand-sub {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: rgba(244, 240, 230, 0.5);
}

.site-nav {
  display: flex;
  align-items: center;
  margin-left: auto;
  margin-right: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-item { position: relative; }

.nav-link {
  position: relative;
  display: inline-block;
  padding: 9px 13px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(244, 240, 230, 0.68);
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}

.nav-link:hover {
  color: var(--paper);
  background: rgba(184, 134, 11, 0.14);
}

.nav-link[aria-current="page"] {
  color: var(--gold-soft);
  font-weight: 600;
  background: rgba(184, 134, 11, 0.16);
}

.nav-link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: var(--gold-soft);
}

.nav-aside { display: none; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

/* ---------- 按钮族 ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.03em;
  text-align: center;
  cursor: pointer;
  transition: transform 0.22s var(--ease), background 0.22s var(--ease),
    border-color 0.22s var(--ease), color 0.22s var(--ease), box-shadow 0.22s var(--ease);
}

.btn:active { transform: translateY(1px); }

.btn-gold {
  background: linear-gradient(135deg, #D9B65A, #B8860B 62%, #9A6E08);
  color: var(--ink);
  box-shadow: 0 12px 26px -18px rgba(184, 134, 11, 0.9);
}

.btn-gold:hover {
  background: linear-gradient(135deg, #E6C877, #C69413 62%, #A97A0C);
  box-shadow: 0 16px 30px -16px rgba(184, 134, 11, 0.85);
}

.btn-ghost {
  border-color: var(--line-strong);
  background: transparent;
  color: rgba(244, 240, 230, 0.86);
}

.btn-ghost:hover {
  border-color: var(--gold-soft);
  background: rgba(184, 134, 11, 0.14);
  color: var(--paper);
}

.btn-line {
  border-color: var(--line-strong);
  background: transparent;
  color: var(--gold-soft);
}

.btn-line:hover {
  border-color: var(--gold-soft);
  background: rgba(184, 134, 11, 0.16);
}

.header-ghost { display: inline-flex; }
.header-cta { display: inline-flex; }

/* ---------- 移动菜单开关 ---------- */

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--gold-soft);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.nav-toggle:hover {
  border-color: var(--gold-soft);
  background: rgba(184, 134, 11, 0.14);
}

.nav-toggle-bars {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 18px;
  height: 14px;
}

.nav-toggle-bar {
  display: block;
  width: 100%;
  height: 1.5px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.24s var(--ease);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(3.25px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  transform: translateY(-3.25px) rotate(-45deg);
}

.nav-toggle-label {
  font-size: 13px;
  line-height: 1;
}

/* ---------- 阅读进度 ---------- */

.progress-track {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: rgba(244, 240, 230, 0.06);
  overflow: hidden;
}

.progress-bar {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, #8C6A2A, #D9B65A 55%, #B8860B);
  transition: width 0.12s linear;
}

/* ---------- 抽屉遮罩 ---------- */

.nav-scrim {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(10, 9, 8, 0.62);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s var(--ease);
}

.nav-scrim[data-open="true"] {
  opacity: 1;
  pointer-events: auto;
}

@media (min-width: 1081px) {
  .nav-scrim { display: none; }
}

/* ---------- 页脚基座 ---------- */

.site-footer {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  border-top: 1px solid var(--line-strong);
  color: var(--paper);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(217, 182, 90, 0.55), transparent);
}

.site-footer::after {
  content: "";
  position: absolute;
  top: -110px;
  right: -130px;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184, 134, 11, 0.18), transparent 68%);
  pointer-events: none;
}

.footer-inner {
  position: relative;
  z-index: 1;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 76px 28px 34px;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 44px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(244, 240, 230, 0.1);
}

.footer-brand-name {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.08em;
  color: var(--paper);
}

.footer-brand-sub {
  margin-top: 12px;
  max-width: 34ch;
  font-size: 14px;
  line-height: 1.8;
  letter-spacing: 0.04em;
  color: rgba(244, 240, 230, 0.6);
}

.footer-brand-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: rgba(244, 240, 230, 0.45);
}

.footer-dot {
  color: rgba(184, 134, 11, 0.7);
}

.footer-nav-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px 26px;
}

.footer-nav-item { min-width: 0; }

.footer-nav-link {
  display: inline-block;
  padding: 9px 0;
  font-size: 15px;
  letter-spacing: 0.03em;
  color: rgba(244, 240, 230, 0.72);
  border-bottom: 1px solid transparent;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.footer-nav-link:hover {
  color: var(--gold-soft);
  border-bottom-color: var(--line-strong);
}

.footer-feedback {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 44px;
  padding: 44px 0;
  border-bottom: 1px solid rgba(244, 240, 230, 0.1);
}

.footer-feedback-copy { min-width: 0; }

.footer-feedback-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--paper);
}

.footer-feedback-text {
  margin-top: 12px;
  max-width: 38ch;
  font-size: 14px;
  line-height: 1.85;
  color: rgba(244, 240, 230, 0.62);
}

.footer-feedback-cta {
  margin-top: 22px;
  padding: 9px 18px;
  font-size: 13px;
}

.footer-contact-list {
  display: grid;
  gap: 14px;
  align-content: start;
}

.footer-contact-item {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  font-size: 14px;
}

.footer-contact-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: rgba(217, 182, 90, 0.85);
}

.footer-contact-value {
  min-width: 0;
  color: rgba(244, 240, 230, 0.84);
  word-break: break-word;
  overflow-wrap: anywhere;
}

.copy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 12px;
  border: 1px solid rgba(184, 134, 11, 0.42);
  border-radius: var(--radius-pill);
  background: transparent;
  color: rgba(244, 240, 230, 0.72);
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease), background 0.2s var(--ease);
}

.copy-btn:hover {
  border-color: var(--gold-soft);
  background: rgba(184, 134, 11, 0.16);
  color: var(--paper);
}

.copy-btn[data-copied="true"] {
  border-color: var(--jade-soft);
  color: var(--jade-soft);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 26px;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: rgba(244, 240, 230, 0.48);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.footer-link {
  color: rgba(244, 240, 230, 0.7);
  border-bottom: 1px solid rgba(184, 134, 11, 0.4);
  padding-bottom: 1px;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.footer-link:hover {
  color: var(--gold-soft);
  border-bottom-color: var(--gold-soft);
}

.footer-icp {
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(244, 240, 230, 0.42);
}

.footer-copy {
  font-size: 12.5px;
}

.feedback-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, #D9B65A, #B8860B);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  box-shadow: var(--shadow-deep), 0 0 0 1px rgba(217, 182, 90, 0.5);
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease);
}

.feedback-fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 26px 48px -20px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(217, 182, 90, 0.78);
}

.feedback-fab-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--jade);
  box-shadow: 0 0 0 3px rgba(47, 107, 90, 0.28);
}

/* ---------- 页面基础容器 ---------- */

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 28px;
}

.narrow {
  width: 100%;
  max-width: 780px;
  margin-inline: auto;
}

.section { padding-block: clamp(56px, 7vw, 96px); }

.section--tight { padding-block: clamp(36px, 5vw, 60px); }

/* 背景分区（珠宝色节奏） */

.tint-paper { background: var(--paper); color: var(--ink); }
.tint-ivory { background: var(--ivory); color: var(--ink); }
.tint-ink { background: var(--ink); color: var(--paper); }
.tint-teal { background: var(--teal-deep); color: var(--paper); }
.tint-wine { background: var(--wine); color: var(--paper); }
.tint-indigo { background: var(--indigo); color: var(--paper); }

/* ---------- 展签与标题 ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--gold-deep);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
  opacity: 0.8;
}

:where(.tint-ink, .tint-teal, .tint-wine, .tint-indigo) .eyebrow {
  color: var(--gold-soft);
}

.display {
  font-family: var(--font-display);
  font-size: clamp(38px, 6.2vw, 82px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.01em;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.6vw, 50px);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.005em;
}

/* ---------- 网格 ---------- */

.grid {
  display: grid;
  gap: 24px;
}

.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.split-5-7 {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 32px;
}

.split-4-8 {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 32px;
}

/* ---------- 展板 ---------- */

.card {
  position: relative;
  padding: 28px;
  border: 1px solid rgba(184, 134, 11, 0.22);
  border-radius: var(--radius-lg);
  background: var(--ivory);
  color: var(--ink);
}

.card--ink {
  background: rgba(244, 240, 230, 0.04);
  border-color: var(--line);
  color: var(--paper);
}

.card-lift {
  transition: transform 0.24s var(--ease), border-color 0.24s var(--ease), box-shadow 0.24s var(--ease);
}

.card-lift:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-soft);
}

/* ---------- 标签胶囊 ---------- */

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  background: rgba(184, 134, 11, 0.08);
  color: var(--gold-deep);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.tag--gold {
  border-color: transparent;
  background: var(--gold);
  color: var(--ink);
  font-weight: 600;
}

.tag--jade {
  border-color: transparent;
  background: var(--jade);
  color: var(--paper);
}

/* ---------- 数字与价格 ---------- */

.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}

.price-mark {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 8px;
  background: var(--gold);
  color: var(--ink);
  font-family: var(--font-mono);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stat-number {
  font-family: var(--font-mono);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 13px;
  letter-spacing: 0.08em;
  opacity: 0.7;
}

/* ---------- 图片容器基础规则 ---------- */

.media {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  border: 1px solid rgba(184, 134, 11, 0.3);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(120% 90% at 15% 8%, rgba(217, 182, 90, 0.32), transparent 60%),
    radial-gradient(90% 80% at 86% 92%, rgba(169, 116, 79, 0.28), transparent 62%),
    linear-gradient(140deg, #17140F, #0F0E0C 58%, #1B1509);
}

.media-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-caption {
  position: absolute;
  left: 16px;
  bottom: 14px;
  z-index: 2;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: rgba(15, 14, 12, 0.72);
  color: rgba(244, 240, 230, 0.86);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
}

.media--wide { aspect-ratio: 16 / 9; }
.media--tall { aspect-ratio: 4 / 5; }

/* ---------- 侧边目录（章节高亮） ---------- */

.toc {
  position: sticky;
  top: calc(var(--header-h) + 28px);
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-left: 2px;
  border-left: 1px solid var(--line);
}

.toc-link {
  display: block;
  padding: 9px 14px;
  border-left: 2px solid transparent;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 14px;
  letter-spacing: 0.02em;
  color: rgba(15, 14, 12, 0.6);
  transition: color 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease);
}

.toc-link:hover {
  color: var(--ink);
  background: rgba(184, 134, 11, 0.1);
}

.toc-link[aria-current="true"] {
  color: var(--ink);
  font-weight: 600;
  background: rgba(184, 134, 11, 0.14);
  border-left-color: var(--gold);
}

:where(.tint-ink, .tint-teal, .tint-wine, .tint-indigo) .toc-link {
  color: rgba(244, 240, 230, 0.62);
}

:where(.tint-ink, .tint-teal, .tint-wine, .tint-indigo) .toc-link[aria-current="true"] {
  color: var(--gold-soft);
  background: rgba(184, 134, 11, 0.18);
}

/* ---------- 面包屑 ---------- */

.breadcrumbs {
  padding-top: 18px;
  font-size: 13px;
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: rgba(15, 14, 12, 0.58);
}

.breadcrumb-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: "/";
  color: var(--gold-deep);
  opacity: 0.7;
}

.breadcrumb-link {
  color: inherit;
  border-bottom: 1px solid transparent;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.breadcrumb-link:hover {
  color: var(--gold-deep);
  border-bottom-color: var(--line-strong);
}

/* ---------- 正文排版 ---------- */

.prose {
  max-width: 68ch;
  font-size: 17px;
  line-height: 1.8;
}

.prose p { margin-bottom: 1.1em; }

.prose h2,
.prose h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.24;
  margin: 1.9em 0 0.7em;
}

.prose h2 { font-size: clamp(24px, 2.6vw, 32px); }
.prose h3 { font-size: clamp(19px, 2vw, 23px); }

.prose ul,
.prose ol {
  margin: 0 0 1.2em;
  padding-left: 1.3em;
  list-style: disc;
}

.prose ol { list-style: decimal; }

.prose li { margin-bottom: 0.5em; }

.prose strong { font-weight: 700; color: inherit; }

.prose--legal {
  line-height: 1.9;
  letter-spacing: 0.015em;
}

/* ---------- 条目列表 ---------- */

.ledger {
  display: grid;
  gap: 0;
}

.ledger-item {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

/* ---------- 对比表 ---------- */

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(244, 240, 230, 0.6);
}

.compare {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.compare th,
.compare td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.compare thead th {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  background: rgba(184, 134, 11, 0.12);
  white-space: nowrap;
}

.compare tbody tr:last-child th,
.compare tbody tr:last-child td { border-bottom: 0; }

/* ---------- 显现动效 ---------- */

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ============================================================
   响应式
   ============================================================ */

@media (max-width: 1080px) {
  :root { --header-h: 66px; }

  .header-inner { gap: 14px; padding: 0 20px; }

  .nav-toggle { display: inline-flex; }

  .header-ghost { display: none; }

  .site-nav {
    position: fixed;
    top: var(--header-h);
    right: 0;
    bottom: 0;
    width: min(360px, 86vw);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 22px 20px 36px;
    background: #0F0E0C;
    border-left: 1px solid var(--line-strong);
    overflow-y: auto;
    visibility: hidden;
    transform: translateX(102%);
    transition: transform 0.3s var(--ease), visibility 0s linear 0.3s;
  }

  .site-nav[data-open="true"] {
    visibility: visible;
    transform: translateX(0);
    transition: transform 0.3s var(--ease), visibility 0s;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }

  .nav-link {
    display: block;
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    font-size: 16px;
    color: rgba(244, 240, 230, 0.78);
  }

  .nav-link[aria-current="page"]::after { display: none; }

  .nav-aside {
    display: block;
    margin-top: 24px;
    padding-top: 22px;
    border-top: 1px solid rgba(244, 240, 230, 0.12);
  }

  .nav-aside-text {
    margin-bottom: 14px;
    font-size: 13px;
    line-height: 1.8;
    color: rgba(244, 240, 230, 0.55);
  }

  .nav-aside-cta { width: 100%; }

  .footer-top,
  .footer-feedback {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .split-5-7,
  .split-4-8 { grid-template-columns: minmax(0, 1fr); }

  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .toc {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px;
    border-left: 0;
    padding-left: 0;
  }

  .toc-link {
    border-left: 0;
    border-radius: var(--radius-pill);
    border: 1px solid var(--line);
    padding: 7px 14px;
  }

  .toc-link[aria-current="true"] { border-color: var(--gold); }
}

@media (max-width: 900px) {
  .ledger-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }

  .footer-inner { padding: 56px 20px 28px; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }

  .wrap { padding-inline: 18px; }

  .header-inner { padding: 0 16px; gap: 10px; }

  .header-cta { display: none; }

  .brand-name { font-size: 15.5px; }
  .brand-sub { font-size: 9px; letter-spacing: 0.12em; }
  .brand-mark { width: 34px; height: 34px; border-radius: 11px; }

  .grid-2,
  .grid-3 { grid-template-columns: minmax(0, 1fr); }

  .footer-nav-list { grid-template-columns: minmax(0, 1fr); }

  .footer-contact-item {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 6px 12px;
  }

  .footer-contact-label { grid-column: 1 / -1; }

  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .feedback-fab {
    right: 14px;
    bottom: 14px;
    padding: 10px 14px;
    font-size: 12px;
    letter-spacing: 0.06em;
  }
}

/* ============================================================
   无障碍与动效偏好
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .progress-bar { transition: none; }
}
