/* 代理服务宣传站 — 白底黑字 + 毛玻璃 + 三端适配 */

:root {
  --ink: #0a0a0a;
  --ink-muted: #333;
  --paper: #ffffff;
  --glass-bg: rgba(255, 255, 255, 0.45);
  --glass-border: rgba(0, 0, 0, 0.08);
  --accent: #111;
  --shadow-soft: 0 8px 32px rgba(0, 0, 0, 0.06);
  --radius: 16px;
}

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

html {
  scroll-behavior: smooth;
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  z-index: 200;
  padding: 0.5rem 1rem;
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--paper);
  background: var(--ink);
  border-radius: 8px;
  text-decoration: none;
  transform: translateY(-150%);
  transition: transform 0.2s ease;
}

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Noto Sans SC", "Microsoft YaHei", "PingFang SC", "Heiti SC", sans-serif;
  font-weight: 500;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: clamp(15px, 2.5vw, 17px);
  -webkit-font-smoothing: antialiased;
}

/* 背景动态柔光（轻量，不喧宾夺主） */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 80% 50% at 20% 0%, rgba(0, 0, 0, 0.04), transparent 50%),
    radial-gradient(ellipse 60% 40% at 100% 100%, rgba(0, 0, 0, 0.03), transparent 45%);
  pointer-events: none;
}

.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.glass:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  border-color: rgba(0, 0, 0, 0.12);
}

/* 毛玻璃卡片轻微呼吸动画 */
@keyframes glass-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.glass--animate {
  animation: glass-float 6s ease-in-out infinite;
}

.glass--animate:nth-child(2) { animation-delay: -1.5s; }
.glass--animate:nth-child(3) { animation-delay: -3s; }
.glass--animate:nth-child(4) { animation-delay: -4.5s; }

@keyframes shimmer {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

.hero-glass {
  position: relative;
  overflow: hidden;
}

.hero-glass::after {
  content: "";
  position: absolute;
  inset: -50%;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(255, 255, 255, 0.5) 50%,
    transparent 60%
  );
  background-size: 200% 100%;
  animation: shimmer 8s linear infinite;
  pointer-events: none;
  opacity: 0.35;
}

.wrap {
  width: min(1120px, 92vw);
  margin: 0 auto;
  padding: 0 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.logo {
  font-weight: 900;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  color: var(--ink);
  text-decoration: none;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 1rem;
}

.nav a {
  color: var(--ink-muted);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
}

.nav a:hover {
  color: var(--ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.35rem;
  font-family: inherit;
  font-weight: 800;
  font-size: 0.95rem;
  border-radius: 12px;
  border: 2px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.btn--outline {
  background: transparent;
  color: var(--ink);
}

.btn--outline:hover {
  background: rgba(0, 0, 0, 0.04);
}

/* 首页主 CTA：大号五彩渐变 */
.btn-cta {
  padding: clamp(1rem, 3vw, 1.35rem) clamp(1.75rem, 5vw, 2.75rem);
  font-size: clamp(1.1rem, 3.2vw, 1.45rem);
  font-weight: 900;
  letter-spacing: 0.04em;
  border: none;
  border-radius: 16px;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
  background: linear-gradient(
    125deg,
    #e63946 0%,
    #f4a261 12%,
    #e9c46a 24%,
    #2a9d8f 36%,
    #264653 48%,
    #4361ee 60%,
    #7209b7 72%,
    #f72585 84%,
    #4cc9f0 92%,
    #e63946 100%
  );
  background-size: 400% 400%;
  box-shadow:
    0 14px 40px rgba(67, 97, 238, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.22) inset;
  animation: btn-cta-rainbow 10s ease infinite;
}

@keyframes btn-cta-rainbow {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.btn-cta:hover {
  transform: translateY(-3px);
  box-shadow:
    0 20px 50px rgba(247, 37, 133, 0.38),
    0 0 0 1px rgba(255, 255, 255, 0.28) inset;
  filter: saturate(1.12) brightness(1.05);
}

.btn-cta.is-jump-disabled {
  cursor: not-allowed;
  opacity: 0.55;
  animation: none;
  filter: grayscale(0.2);
  pointer-events: none;
}

/* 文案链接：视觉同正文，无下划线 */
a.plain-jump {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

a.plain-jump:hover,
a.plain-jump:focus {
  color: inherit;
  text-decoration: none;
}

a.plain-jump:focus-visible {
  outline: 2px solid rgba(0, 0, 0, 0.25);
  outline-offset: 3px;
}

.plain-jump--block {
  display: block;
}

.plain-jump--static {
  cursor: default;
  text-decoration: none;
  color: inherit;
}

.hero {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

h1 {
  font-weight: 900;
  font-size: clamp(1.75rem, 4.5vw, 2.5rem);
  line-height: 1.25;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

.lead {
  font-size: clamp(1rem, 2.2vw, 1.1rem);
  color: var(--ink-muted);
  margin: 0 0 1.5rem;
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
  margin-top: 0.25rem;
}

.hero-actions .btn-cta {
  width: 100%;
  max-width: 22rem;
}

.jump-hint {
  font-size: 0.85rem;
  color: var(--ink-muted);
  font-weight: 600;
}

/* Hero 主标题大字 / 副标题小字 */
.hero-title-xl {
  font-weight: 900;
  font-size: clamp(1.55rem, 5.2vw, 2.2rem);
  line-height: 1.22;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}

@media (min-width: 768px) {
  .hero-title-xl {
    font-size: clamp(1.85rem, 4vw, 2.75rem);
  }
}

.hero-sub {
  font-size: clamp(0.86rem, 2.1vw, 1.05rem);
  color: var(--ink-muted);
  margin: 0 0 1.5rem;
  font-weight: 600;
  line-height: 1.75;
  max-width: 40rem;
}

/* 「为什么选择我们」华丽外框 */
@keyframes why-us-gradient {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.why-us-showcase {
  position: relative;
  border-radius: 22px;
  padding: 2px;
  background: linear-gradient(
    130deg,
    #0a0a0a 0%,
    #3d3d3d 18%,
    #9a9a9a 40%,
    #1a1a1a 62%,
    #5a5a5a 82%,
    #0a0a0a 100%
  );
  background-size: 220% 220%;
  animation: why-us-gradient 12s ease-in-out infinite;
  box-shadow:
    0 28px 56px rgba(0, 0, 0, 0.14),
    0 0 0 1px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.why-us-showcase__inner {
  position: relative;
  z-index: 1;
  border-radius: 20px;
  padding: 1.75rem 1.35rem 1.65rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(24px) saturate(185%);
  -webkit-backdrop-filter: blur(24px) saturate(185%);
  border: 1px solid rgba(255, 255, 255, 0.98);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 1);
  overflow: hidden;
}

.why-us-showcase__inner::after {
  content: "";
  position: absolute;
  top: -40%;
  right: -30%;
  width: 70%;
  height: 80%;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.04), transparent 65%);
  pointer-events: none;
}

.why-us-showcase__title {
  font-weight: 900;
  font-size: clamp(1.15rem, 2.8vw, 1.4rem);
  margin: 0 0 1.1rem;
  text-align: center;
  letter-spacing: 0.06em;
  color: var(--ink);
}

.why-us-showcase__title span {
  display: inline-block;
  padding-bottom: 0.35rem;
  border-bottom: 3px solid var(--ink);
}

.why-us-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.why-us-list li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.9rem;
  font-weight: 700;
  color: var(--ink-muted);
  font-size: clamp(0.88rem, 2vw, 0.95rem);
  line-height: 1.55;
}

.why-us-list li:last-child {
  margin-bottom: 0;
}

.why-us-list a.plain-jump {
  display: block;
}

.why-us-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(145deg, #111, #666);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.07);
}

section {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
}

section h2 {
  font-weight: 900;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  margin: 0 0 1.5rem;
  text-align: center;
}

.grid-3 {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

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

@media (min-width: 960px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  padding: 1.35rem 1.25rem;
}

.card--clickable {
  position: relative;
}

.card--clickable .stretched-link {
  border-radius: inherit;
}

.stretched-link {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.stretched-link:focus {
  outline: none;
}

.stretched-link:focus-visible {
  box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.4);
  z-index: 2;
}

.card h3 {
  position: relative;
  z-index: 0;
  font-weight: 900;
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.card p {
  position: relative;
  z-index: 0;
  margin: 0;
  color: var(--ink-muted);
  font-weight: 600;
  font-size: 0.92rem;
}

.faq-list {
  max-width: 42rem;
  margin: 0 auto;
}

.faq-item {
  position: relative;
  margin-bottom: 0.75rem;
  padding: 0;
  overflow: hidden;
}

.faq-item:last-child {
  margin-bottom: 0;
}

.faq-summary {
  position: relative;
  padding: 1rem 1.15rem;
  padding-right: 2.5rem;
  font-weight: 900;
  font-size: 1rem;
  cursor: pointer;
  list-style: none;
}

.faq-summary::-webkit-details-marker {
  display: none;
}

.faq-summary::after {
  content: "";
  position: absolute;
  right: 1.15rem;
  top: 50%;
  width: 0.5rem;
  height: 0.5rem;
  margin-top: -0.2rem;
  border-right: 2px solid var(--ink-muted);
  border-bottom: 2px solid var(--ink-muted);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.faq-item[open] .faq-summary::after {
  transform: rotate(-135deg);
  margin-top: 0.1rem;
}

.faq-body {
  padding: 0 1.15rem 1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.faq-body p {
  margin: 0.85rem 0 0;
  color: var(--ink-muted);
  font-weight: 600;
  font-size: 0.9rem;
}

.faq-cta {
  text-align: center;
  margin: 1.5rem 0 0;
}

.text-link {
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.text-link:hover {
  text-decoration-thickness: 2px;
}

.review {
  position: relative;
  padding: 1.25rem;
}

.review .stars,
.review .who,
.review p {
  position: relative;
  z-index: 0;
}

.review .stars {
  font-weight: 900;
  letter-spacing: 0.15em;
  margin-bottom: 0.5rem;
}

.review .who {
  font-weight: 800;
  font-size: 0.85rem;
  margin-bottom: 0.35rem;
}

.review p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink-muted);
  font-weight: 600;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1rem;
  margin-top: 1rem;
}

.trust-panel {
  padding: 1.75rem 1.5rem;
  text-align: center;
}

.badge {
  padding: 0.5rem 1rem;
  font-weight: 800;
  font-size: 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
}

a.badge {
  display: inline-block;
  color: inherit;
  text-decoration: none;
}

a.badge:hover {
  border-color: rgba(0, 0, 0, 0.18);
  color: var(--ink);
}

.pay-methods {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.pay-methods__label {
  font-weight: 800;
  font-size: 0.92rem;
  color: var(--ink-muted);
  letter-spacing: 0.06em;
}

.pay-methods__buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem 1rem;
}

.btn-pay {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 8.5rem;
  padding: 0.7rem 1.35rem;
  font-family: inherit;
  font-weight: 900;
  font-size: 1rem;
  letter-spacing: 0.04em;
  border-radius: 14px;
  border: none;
  text-decoration: none;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.btn-pay:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.16);
  filter: brightness(1.04);
}

.btn-pay--alipay {
  background: linear-gradient(135deg, #1677ff 0%, #0958d9 50%, #003eb3 100%);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.btn-pay--wechat {
  background: linear-gradient(135deg, #07c160 0%, #06ae56 45%, #05944c 100%);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
}

.compare-card-row {
  display: flex;
  gap: 1rem;
  margin-top: 1.25rem;
  padding-bottom: 0.35rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.compare-card {
  flex: 0 0 min(272px, 86vw);
  scroll-snap-align: start;
  padding: 1.35rem 1.2rem 1.25rem;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border-radius: var(--radius);
}

.compare-card--mexta {
  border: 2px solid rgba(42, 157, 143, 0.45);
  box-shadow: 0 16px 40px rgba(42, 157, 143, 0.12);
}

.compare-card__title {
  margin: 0 0 0.35rem;
  font-weight: 900;
  font-size: 1.05rem;
  color: var(--ink);
}

.compare-card__tag {
  margin: 0 0 0.85rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #1d6f5c;
  text-transform: uppercase;
}

.compare-card__tag--muted {
  color: var(--ink-muted);
}

.compare-card__list {
  margin: 0 0 1.15rem;
  padding-left: 1.1rem;
  flex: 1 1 auto;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-muted);
  line-height: 1.55;
}

.compare-card__list li + li {
  margin-top: 0.45rem;
}

.btn-compare-cta {
  width: 100%;
  margin-top: auto;
  padding: 0.65rem 1rem;
  font-size: 0.9rem;
  font-weight: 900;
  border-radius: 12px;
  text-align: center;
  text-decoration: none;
  border: 2px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-compare-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
}

.btn-compare-cta--outline {
  background: var(--paper);
  color: var(--ink);
}

.btn-compare-cta--outline:hover {
  background: rgba(0, 0, 0, 0.04);
}

@media (min-width: 1100px) {
  .compare-card-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    overflow: visible;
    scroll-snap-type: none;
  }

  .compare-card {
    flex: none;
    min-width: 0;
  }
}

.compare-table-actions th,
.compare-table-actions td {
  vertical-align: middle;
  text-align: center;
}

.compare-table-actions th {
  font-weight: 900;
  color: var(--ink);
  background: rgba(0, 0, 0, 0.03);
}

.btn-compare-table {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 9rem;
  margin: 0 auto;
  padding: 0.5rem 0.75rem;
  font-family: inherit;
  font-weight: 800;
  font-size: 0.82rem;
  border-radius: 10px;
  text-decoration: none;
  border: none;
  background: var(--ink);
  color: var(--paper);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-compare-table:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.btn-compare-table--ghost {
  background: rgba(255, 255, 255, 0.85);
  color: var(--ink);
  border: 1px solid rgba(0, 0, 0, 0.14);
}

.site-footer {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding: 2rem 0 2.5rem;
  margin-top: 2rem;
  background: rgba(250, 250, 250, 0.9);
}

.footer-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

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

@media (min-width: 900px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.site-footer h4 {
  font-weight: 900;
  margin: 0 0 0.65rem;
  font-size: 0.9rem;
}

.site-footer a {
  display: block;
  color: var(--ink-muted);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.88rem;
  margin-bottom: 0.35rem;
}

.site-footer a:hover {
  color: var(--ink);
}

.footer-lead {
  margin: 0;
  font-size: 0.88rem;
  color: var(--ink-muted);
  font-weight: 600;
}

.footer-extended__grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .footer-extended__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .footer-extended__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer-brand-title {
  font-weight: 900;
  font-size: 1.05rem;
  margin: 0 0 0.5rem;
  letter-spacing: 0.04em;
}

.footer-small {
  margin: 0 0 0.5rem;
  font-size: 0.82rem;
  color: var(--ink-muted);
  font-weight: 600;
  line-height: 1.55;
}

.footer-small:last-child {
  margin-bottom: 0;
}

.section-eyebrow {
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin: 0 0 0.75rem;
}

.editorial-block {
  max-width: 44rem;
  margin: 0 auto;
}

.editorial-block p + p {
  margin-top: 1rem;
}

.editorial-block ul {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
  font-weight: 600;
  color: var(--ink-muted);
}

.editorial-block li + li {
  margin-top: 0.45rem;
}

h2 .plain-jump,
h3 .plain-jump {
  font: inherit;
  color: inherit;
  letter-spacing: inherit;
}

.compare-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-top: 1.25rem;
}

.compare-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-muted);
}

.compare-table th,
.compare-table td {
  border: 1px solid rgba(0, 0, 0, 0.1);
  padding: 0.75rem 0.85rem;
  text-align: left;
  vertical-align: top;
}

.compare-table thead th {
  background: rgba(0, 0, 0, 0.04);
  color: var(--ink);
  font-weight: 900;
}

.compare-table .col-mexta {
  background: rgba(42, 157, 143, 0.08);
  color: var(--ink);
}

a.cell-link {
  display: block;
  color: inherit;
  text-decoration: none;
  font-weight: inherit;
}

a.cell-link:hover {
  color: var(--ink);
}

.compare-note {
  text-align: center;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-muted);
  margin: 1rem 0 0;
}

.copy {
  text-align: center;
  font-size: 0.8rem;
  color: var(--ink-muted);
  font-weight: 600;
  margin-top: 1.5rem;
}

/* 内页法律文档 */
.legal {
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem 0 3rem;
}

.legal h1 {
  font-size: clamp(1.5rem, 3vw, 1.85rem);
}

.legal h2 {
  text-align: left;
  font-size: 1.1rem;
  margin-top: 1.75rem;
}

.legal p,
.legal li {
  color: var(--ink-muted);
  font-weight: 600;
}

.legal ul {
  padding-left: 1.25rem;
}

.back-link {
  display: inline-block;
  margin-bottom: 1rem;
  font-weight: 800;
  color: var(--ink);
}

/* 移动端菜单按钮（简化：小屏可横向滚动导航） */
@media (max-width: 520px) {
  .nav {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 0.25rem;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap;
  }

  .nav a {
    white-space: nowrap;
  }
}

/* iPad 横屏等中等宽度 */
@media (min-width: 768px) and (max-width: 1024px) {
  .wrap {
    width: min(900px, 94vw);
  }
}
