/* Legal-page styles only; all fonts and assets are served locally or by the OS. */
body.legal-page {
  --legal-ink: #1c2f36;
  --legal-blue: #006b96;
  --legal-muted: #56676e;
  --legal-line: #d6dfe2;
  margin: 0;
  background: #f3f5f5;
  color: var(--legal-ink);
  font: 16px/1.85 -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  -webkit-text-size-adjust: 100%;
}
.legal-page *, .legal-page *::before, .legal-page *::after { box-sizing: border-box; }
.legal-page h1, .legal-page h2, .legal-page p, .legal-page ol { margin: 0; }
.legal-page a { color: var(--legal-blue); text-underline-offset: .2em; }
.legal-page a:hover { text-decoration-thickness: 2px; }
.legal-page a:focus-visible { outline: 2px solid var(--legal-blue); outline-offset: 4px; }
.legal-page .shell { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
.legal-page .site-header { background: #fff; border-bottom: 1px solid var(--legal-line); }
.legal-page .header-inner { display: flex; align-items: center; gap: 24px; min-height: 92px; }
.legal-page .brand { display: inline-flex; flex-shrink: 0; align-items: center; padding-block: 10px; }
.legal-page .brand img { display: block; width: 142px; height: 52px; object-fit: contain; }
.legal-page .site-nav { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; margin-left: auto; }
.legal-page .site-nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: .9rem; text-decoration: none; }
.legal-page .legal-skip-link { position: absolute; top: 10px; left: 12px; z-index: 20; padding: 10px 16px; background: #fff; border: 2px solid var(--legal-blue); transform: translateY(-170%); }
.legal-page .legal-skip-link:focus { transform: none; }
.legal-page .legal-main { padding-block: 24px 72px; }
.legal-page .legal-breadcrumb { display: flex; flex-wrap: wrap; gap: 6px 10px; color: var(--legal-muted); font-size: .82rem; }
.legal-page .legal-intro { max-width: 850px; padding-block: 42px 36px; }
.legal-page .legal-eyebrow { margin-bottom: 14px; color: var(--legal-blue); font-size: .8rem; font-weight: 600; }
.legal-page h1 { font-size: clamp(2rem, 4.5vw, 3rem); line-height: 1.3; letter-spacing: -.03em; overflow-wrap: break-word; }
.legal-page .legal-summary { margin-top: 22px; color: var(--legal-muted); font-size: 1.03rem; }
.legal-page .legal-updated { margin-top: 18px; color: var(--legal-muted); font-size: .84rem; }
.legal-page .legal-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); align-items: start; gap: 40px; }
.legal-page .legal-toc { padding: 22px; border: 1px solid var(--legal-line); border-radius: 4px; background: #eaf2f5; }
.legal-page .legal-toc h2 { margin-bottom: 12px; font-size: .92rem; line-height: 1.5; }
.legal-page .legal-toc ol { padding-left: 0; list-style: none; font-size: .84rem; line-height: 1.7; }
.legal-page .legal-toc li + li { margin-top: 10px; }
.legal-page .legal-content { min-width: 0; padding: 32px; border: 1px solid var(--legal-line); border-radius: 4px; background: #fff; }
.legal-page .legal-section { scroll-margin-top: 24px; }
.legal-page .legal-section + .legal-section { margin-top: 32px; padding-top: 30px; border-top: 1px solid var(--legal-line); }
.legal-page .legal-section h2 { margin-bottom: 16px; color: var(--legal-ink); font-size: 1.22rem; line-height: 1.5; overflow-wrap: break-word; }
.legal-page .legal-section p { color: #42565e; overflow-wrap: anywhere; }
.legal-page .legal-section p + p { margin-top: 15px; }
.legal-page .site-footer { padding-block: 28px; background: var(--legal-ink); color: #dbe4e7; }
.legal-page .legal-footer-inner, .legal-page .legal-footer-nav { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 24px; }
.legal-page .legal-footer-inner { justify-content: space-between; font-size: .82rem; }
.legal-page .legal-footer-nav a { display: inline-flex; align-items: center; min-height: 44px; color: #fff; }
.legal-page .legal-footer-nav a[aria-current="page"] { font-weight: 600; }
@media (max-width: 800px) {
  .legal-page .legal-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .legal-page .legal-toc ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; }
  .legal-page .legal-toc li { margin-top: 8px; }
}
@media (max-width: 600px) {
  .legal-page .shell { width: calc(100% - 36px); }
  .legal-page .header-inner { flex-wrap: wrap; gap: 8px 15px; min-height: 80px; padding-block: 10px; }
  .legal-page .brand img { width: 112px; height: 42px; }
  .legal-page .site-nav { order: 3; width: 100%; gap: 20px; margin-left: 0; }
  .legal-page .site-nav a { font-size: .84rem; }
  .legal-page .legal-main { padding-block: 20px 44px; }
  .legal-page .legal-intro { padding-block: 30px 28px; }
  .legal-page .legal-summary { font-size: .96rem; }
  .legal-page .legal-toc { padding: 20px; }
  .legal-page .legal-toc ol { display: block; }
  .legal-page .legal-content { padding: 24px 20px; }
  .legal-page .legal-section h2 { font-size: 1.13rem; }
  .legal-page .legal-section p { font-size: .95rem; }
  .legal-page .legal-footer-inner { display: block; }
  .legal-page .legal-footer-nav { margin-top: 12px; gap: 8px 20px; }
}
@media print {
  body.legal-page { background: #fff; color: #000; }
  .legal-page .site-header, .legal-page .site-footer, .legal-page .legal-skip-link, .legal-page .legal-toc, .legal-page .legal-breadcrumb { display: none; }
  .legal-page .shell { width: 100%; }
  .legal-page .legal-layout { display: block; }
  .legal-page .legal-content { padding: 0; border: 0; }
  .legal-page .legal-section { break-inside: avoid; }
}
