:root {
  color-scheme: light;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #0b2d4e;
  background: #f3f6fa;
}

* { box-sizing: border-box; }
body { margin: 0; background: #f3f6fa; color: #0b2d4e; }
a { color: inherit; }
.legal-header {
  position: sticky; top: 0; z-index: 10;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px;
  min-height: 72px; padding: 12px max(24px, calc((100vw - 1040px) / 2));
  background: #0b416f; color: #fff; box-shadow: 0 8px 24px rgba(5, 34, 60, .16);
}
.legal-header a { text-decoration: none; font-weight: 800; }
.legal-header strong { justify-self: center; font-size: 21px; }
.legal-header span { color: #c9dceb; font-size: 13px; }
.legal-main { width: min(960px, calc(100% - 32px)); margin: 28px auto 56px; }
.legal-summary, .legal-section, .legal-highlight {
  margin-bottom: 16px; padding: 26px 30px; border: 1px solid #dce5ee; border-radius: 14px;
  background: #fff; box-shadow: 0 10px 30px rgba(13, 52, 85, .05);
}
.legal-summary h1 { margin: 0 0 12px; font-size: clamp(25px, 3vw, 34px); }
.legal-summary time { display: block; color: #74889c; font-size: 13px; line-height: 1.8; }
.legal-summary p { margin: 18px 0 0; color: #425f78; line-height: 1.9; }
.legal-section h2 { margin: 0 0 14px; font-size: 19px; }
.legal-section p, .legal-highlight p { margin: 8px 0; color: #48647c; line-height: 1.9; }
.legal-highlight { border-color: #b9dcff; background: #eef7ff; }
.legal-highlight h2 { margin: 0 0 10px; color: #087df3; font-size: 18px; }
.info-card { margin-top: 14px; padding: 17px 19px; border-radius: 10px; background: #f7f9fc; }
.info-card h3 { margin: 0 0 8px; font-size: 16px; }
.legal-footer { padding: 14px; text-align: center; color: #71869a; font-size: 13px; }
@media (max-width: 640px) {
  .legal-header { grid-template-columns: auto 1fr; padding: 12px 16px; }
  .legal-header strong { justify-self: start; font-size: 18px; }
  .legal-header span { display: none; }
  .legal-main { width: min(100% - 22px, 960px); margin-top: 14px; }
  .legal-summary, .legal-section, .legal-highlight { padding: 20px 18px; border-radius: 11px; }
}
