/* 服务条款、退款政策等法律页面。颜色和主页（home.css）一致。 */
:root {
  color-scheme: dark;
  --bg: #111111;
  --line: #2f2f2d;
  --text: #efeee9;
  --muted: #9d9d96;
  --accent: #78a4ff;
}

html[data-theme="light"] {
  color-scheme: light;
  --bg: #ffffff;
  --line: #e4e4e0;
  --text: #1b1b1a;
  --muted: #6b6b66;
  --accent: #2563eb;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.7 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

main { max-width: 720px; margin: 0 auto; padding: 24px 20px 80px; }

header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 32px; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font: 450 26px/1 "Source Serif 4", Georgia, serif;
  letter-spacing: -.02em;
  text-decoration: none;
}

.brand img { width: 30px; height: 30px; border-radius: 8px; }

h1 { margin: 0 0 4px; font-size: 30px; line-height: 1.3; }
h2 { margin: 32px 0 8px; font-size: 20px; }
.updated { margin: 0 0 24px; color: var(--muted); font-size: 15px; }
a { color: var(--accent); }
ul { padding-left: 1.3em; }

footer { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
footer a { margin-right: 16px; color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--text); }
