
:root { color-scheme: light; }
* { box-sizing: border-box; }
html, body { min-height: 100%; margin: 0; background: #f7f9fc; color: rgb(51 51 51); }
body { font-family: Microsoft YaHei, PingFang SC, Arial, sans-serif; }
.x2-legal-page { width: min(960px, calc(100% - 32px)); margin: 32px auto; padding: 36px 48px 48px; border: 1px solid rgb(232 237 245); border-radius: 10px; background: #fff; box-shadow: 0 8px 24px rgb(30 55 90 / 0.06); }
.x2-legal-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 22px; border-bottom: 1px solid rgb(235 239 245); }
.x2-legal-title { margin: 0; color: rgb(35 56 91); font-size: 28px; font-weight: 700; line-height: 1.35; }
.x2-legal-home { color: rgb(70 140 255); font-size: 14px; line-height: 20px; text-decoration: none; white-space: nowrap; }
.x2-legal-home:hover, .x2-legal-home:focus-visible { text-decoration: underline; }
.x2-legal-meta { margin: 18px 0 0; color: rgb(153 153 153); font-size: 13px; line-height: 20px; }
.x2-legal-intro { margin: 24px 0 0; color: rgb(85 85 85); font-size: 15px; line-height: 1.9; }
.x2-legal-section { margin-top: 24px; }
.x2-legal-section h2 { margin: 0 0 10px; color: rgb(51 51 51); font-size: 17px; font-weight: 700; line-height: 1.5; }
.x2-legal-section p { margin: 8px 0 0; color: rgb(85 85 85); font-size: 14px; line-height: 1.9; }
.x2-legal-home:focus-visible { outline: 2px solid #2d91ff; outline-offset: 2px; }
@media (max-width: 600px) {
  .x2-legal-page { width: calc(100% - 24px); margin: 12px auto; padding: 24px 20px 32px; border-radius: 8px; }
  .x2-legal-header { align-items: flex-start; }
  .x2-legal-title { font-size: 22px; }
  .x2-legal-home { font-size: 12px; }
  .x2-legal-meta { margin-top: 14px; font-size: 12px; }
  .x2-legal-intro { margin-top: 18px; font-size: 14px; }
  .x2-legal-section { margin-top: 20px; }
  .x2-legal-section h2 { font-size: 15px; }
  .x2-legal-section p { font-size: 13px; line-height: 1.85; }
}
