/* Shared blue theme for the existing legal and support pages. */
:root {
  color-scheme: light dark;
  --bg: #f9fbfe;
  --card: #fdfefe;
  --ink: #18324f;
  --sub: #526780;
  --accent: #245bb2;
  --accent-soft: #e1edfc;
  --line: #d9e5f3;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #101e31;
    --card: #1b2e48;
    --ink: #e0ebfa;
    --sub: #afc1d9;
    --accent: #9bc2ff;
    --accent-soft: #223d5d;
    --line: #2b4260;
  }
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--bg); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", sans-serif; line-height: 1.85; }
a { color: var(--accent); text-decoration: none; text-underline-offset: 4px; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.site-header, .topbar { width: min(1080px, calc(100% - 48px)); margin: 0 auto; padding: 24px 0; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; font-size: 23px; font-weight: 750; color: var(--ink); }
.brand-mark { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; font-size: 18px; background: var(--accent-soft); color: var(--accent); }
.site-header nav, .topbar .nav { display: flex; flex-wrap: wrap; gap: 14px 24px; font-size: 14px; }
.document, .page { width: min(860px, calc(100% - 48px)); margin: 0 auto; padding: 48px 0 64px; overflow-wrap: anywhere; }
.document h1, .page h1 { font-size: clamp(28px, 5vw, 38px); margin: 0 0 10px; line-height: 1.5; }
.document h2 { font-size: 22px; margin: 32px 0 12px; line-height: 1.6; }
.document h3 { font-size: 18px; margin-top: 24px; }
.document p, .document li { font-size: 16px; }
.meta, .muted { color: var(--sub); font-size: 14px; }
.document ul { padding-left: 24px; }
.document li { margin-bottom: 6px; }
.document strong { color: var(--ink); }
.site-footer { width: min(1080px, calc(100% - 48px)); margin: 0 auto; }
.document footer, .footer, .site-footer { border-top: 1px solid var(--line); padding: 22px 0; color: var(--sub); font-size: 13px; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.card { border: 1px solid var(--line); border-radius: 20px; background: var(--card); padding: 24px; }
.notice { padding: 16px 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--accent-soft); }
@media (max-width: 640px) {
  .site-header, .topbar { width: calc(100% - 40px); align-items: flex-start; flex-direction: column; gap: 16px; padding: 20px 0; }
  .site-header nav, .topbar .nav { gap: 12px 18px; }
  .document, .page { width: calc(100% - 40px); padding: 32px 0 48px; }
  .document h2 { font-size: 20px; }
  .site-footer { width: calc(100% - 40px); }
  .grid { grid-template-columns: minmax(0, 1fr); }
}
