/* Shared styles for Summit's Terms, Privacy and Contact pages. */
:root {
  --font: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  --bg: #f6f5ff;
  --card: #ffffff;
  --text: #151937;
  --muted: #5d6390;
  --line: #e3e5f5;
  --accent: #3d6bff;
  --accent-2: #8b4dff;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0e26;
    --card: #141a44;
    --text: #eef0ff;
    --muted: #9aa0d0;
    --line: #262d66;
    --accent: #7d9bff;
    --accent-2: #b08bff;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 var(--font);
  -webkit-text-size-adjust: 100%;
}
.wrap { max-width: 720px; margin: 0 auto; padding: 24px 16px 64px; }
.back {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--text); text-decoration: none; font-weight: 800; font-size: 20px;
}
.back svg { width: 32px; height: 24px; }
.back span { color: var(--muted); font-weight: 600; font-size: 15px; margin-left: 6px; }
article {
  margin-top: 20px; background: var(--card); border: 1px solid var(--line);
  border-radius: 22px; padding: 28px 24px;
}
h1 { font-size: 30px; line-height: 1.2; margin: 0 0 4px; }
.updated { color: var(--muted); margin: 0 0 20px; font-size: 15px; }
h2 { font-size: 20px; margin: 30px 0 8px; }
p, li { overflow-wrap: anywhere; }
ul { padding-left: 22px; }
li { margin: 4px 0; }
a { color: var(--accent); font-weight: 600; }
.summary {
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  border-radius: 14px; padding: 14px 18px; margin: 0 0 8px;
}
.summary p { margin: 0; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 8px 6px; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-weight: 600; }
.table-scroll { overflow-x: auto; }
footer.legal { margin-top: 24px; text-align: center; color: var(--muted); font-size: 15px; }
footer.legal a { margin: 0 6px; }
