/* xballs.live — legal/support pages. Shared identity, lifted from the
   web-teaser (design/web-teaser/index.html): dark ground, orange→amber accent,
   green for "live", the x-italic wordmark. Utilitarian docs — readable first,
   branded second. Self-contained (no external fonts/CDN). */
:root {
  --bg: #07090c;
  --surface: #10141a;
  --text: #f2f4f7;
  --muted: #7d8794;
  --dim: #4a525d;
  --accent: #ff5c1a;
  --accent2: #ffb01a;
  --green: #2ee06f;
  --line: #1d2229;
  --maxw: 720px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ambient glow, same as the teaser but calmer for a reading page */
.glow { position: fixed; inset: 0; pointer-events: none; z-index: 0; }
.glow::before {
  content: ""; position: absolute; width: 60vw; height: 60vw; left: 50%; top: -10%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(255, 92, 26, .10), transparent 60%);
  filter: blur(50px);
}

.wrap { position: relative; z-index: 1; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

/* header / wordmark */
header { border-bottom: 1px solid var(--line); background: rgba(10, 13, 17, .7); }
.bar { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; }
.mark { display: flex; align-items: baseline; font-weight: 800; letter-spacing: 1px; font-size: 22px; text-decoration: none; color: var(--text); }
.mark .x { color: var(--accent); font-style: italic; margin-right: 1px; }
.mark .tld { font-size: .5em; color: var(--accent); font-weight: 700; margin-left: 4px; letter-spacing: .5px; }
nav a { color: var(--muted); text-decoration: none; font-size: 13px; font-weight: 600; margin-left: 18px; }
nav a:hover { color: var(--text); }
nav a.active { color: var(--text); }

/* document body */
main { padding: 44px 0 80px; }
h1 { font-size: clamp(28px, 6vw, 40px); font-weight: 800; letter-spacing: .3px; line-height: 1.1; margin-bottom: 8px; text-wrap: balance; }
.updated { color: var(--dim); font-size: 13px; font-weight: 600; margin-bottom: 34px; }
h2 { font-size: clamp(18px, 4vw, 22px); font-weight: 800; margin: 38px 0 12px; letter-spacing: .2px; }
h3 { font-size: 16px; font-weight: 700; margin: 22px 0 8px; color: var(--text); }
p { color: #cbd2da; margin-bottom: 14px; }
ul, ol { margin: 0 0 16px 22px; color: #cbd2da; }
li { margin-bottom: 8px; }
a { color: var(--accent2); text-decoration: none; border-bottom: 1px solid rgba(255, 176, 26, .3); }
a:hover { border-bottom-color: var(--accent2); }
strong { color: var(--text); }

/* the privacy centerpiece: a callout box for the "we barely collect anything" story */
.callout {
  background: linear-gradient(135deg, rgba(46, 224, 111, .06), rgba(255, 176, 26, .04));
  border: 1px solid var(--line);
  border-left: 3px solid var(--green);
  border-radius: 12px;
  padding: 18px 20px;
  margin: 22px 0 30px;
}
.callout p:last-child { margin-bottom: 0; }
.callout strong { color: var(--green); }

/* support: contact + FAQ cards */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 22px;
  margin-bottom: 16px;
}
.card h3 { margin-top: 0; }
.contact-email { font-size: 18px; font-weight: 800; color: var(--accent2); word-break: break-all; }
.faq summary {
  cursor: pointer; font-weight: 700; padding: 14px 0; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-weight: 800; font-size: 20px; }
.faq details[open] summary::after { content: "\2013"; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details p { padding-bottom: 14px; margin-bottom: 0; }

footer {
  border-top: 1px solid var(--line);
  background: rgba(10, 13, 17, .7);
  text-align: center; font-size: 12px; color: var(--dim); padding: 22px 0 28px;
}
footer a { color: var(--muted); margin: 0 8px; border: none; }
footer a:hover { color: var(--text); }

/* light mode: some reviewers/users browse light — keep it legible */
@media (prefers-color-scheme: light) {
  :root {
    --bg: #ffffff; --surface: #f6f7f9; --text: #0d1117; --muted: #5a6570;
    --dim: #98a1ab; --line: #e4e7ec;
  }
  p, ul, ol { color: #2c333b; }
  .glow::before { opacity: .5; }
}
