/* Legal reading pages: shared brand blue, native links, no runtime dependency. */
:root { color-scheme: light; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; color: #212121; background: #fff; }
* { box-sizing: border-box; }
body { margin: 0; -webkit-text-size-adjust: 100%; }
a { color: #245bd1; text-underline-offset: 4px; }
a:hover { color: #1b4ab0; }
a:focus-visible { outline: 2px solid #2e6ae7; outline-offset: 5px; border-radius: 2px; }
.legal-header { border-bottom: 1px solid #e2e8f0; }
.legal-header-inner { max-width: 1200px; margin: auto; padding: 20px 32px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.legal-brand { display: inline-flex; align-items: center; gap: 16px; text-decoration: none; color: #212121; font-size: 16px; font-weight: 600; }
.legal-brand img { display: block; width: 68px; height: 68px; }
.legal-return { display: inline-flex; align-items: center; min-height: 44px; white-space: nowrap; font-size: 14px; }
.legal-layout { max-width: 1200px; margin: auto; padding: 56px 32px 80px; display: grid; grid-template-columns: 176px minmax(0, 760px); justify-content: space-between; gap: 48px; }
.legal-nav { display: flex; flex-direction: column; align-items: stretch; gap: 8px; }
.legal-nav a { display: flex; align-items: center; min-height: 44px; padding: 8px 12px; text-decoration: none; color: #536174; border-left: 2px solid transparent; font-size: 14px; }
.legal-nav a:hover { color: #245bd1; background: #f5f8ff; }
.legal-nav a[aria-current="page"] { border-color: #2e6ae7; background: #f1f5ff; color: #245bd1; font-weight: 600; }
.legal-content { min-width: 0; overflow-wrap: anywhere; }
.legal-content h1 { font-size: clamp(27px, 3vw, 38px); line-height: 1.4; font-weight: 600; letter-spacing: -0.025em; margin: 0 0 36px; }
.legal-content h2 { margin: 36px 0 12px; font-size: 20px; line-height: 1.6; font-weight: 600; }
.legal-content p { margin: 0 0 16px; font-size: 16px; line-height: 1.95; }
.legal-content ul { margin: 0 0 20px; padding-left: 24px; font-size: 16px; line-height: 1.95; }
.legal-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid #e2e8f0; }
.legal-footer { padding: 24px 24px 36px; border-top: 1px solid #e2e8f0; text-align: center; color: #536174; font-size: 12px; line-height: 1.9; }
@media (max-width: 767px) {
  .legal-header-inner { padding: 12px 20px; gap: 12px; }
  .legal-brand { gap: 8px; font-size: 14px; }
  .legal-brand img { width: 48px; height: 48px; }
  .legal-layout { display: block; padding: 24px 20px 48px; }
  .legal-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 8px; margin-bottom: 32px; }
  .legal-content h1 { margin-bottom: 24px; }
  .legal-content h2 { margin-top: 28px; font-size: 19px; }
}
@media print {
  .legal-header, .legal-nav, .legal-bottom, .legal-footer { display: none; }
  .legal-layout { display: block; padding: 0; }
  .legal-content h2 { break-after: avoid; }
}
