/* Terms, Privacy and AML pages — plain readable documents in the site's colours. */
:root {
  --violet: #9945ff;
  --mint: #14f195;
  --text: #e9ebff;
  --muted: #9a9cc4;
  --line: rgba(255, 255, 255, 0.1);
  --display: 'Unbounded', 'Chakra Petch', system-ui, sans-serif;
  --ui: 'Chakra Petch', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: radial-gradient(ellipse at 50% -10%, #24104f 0%, #0a0520 45%, #05030f 100%) fixed #05030f;
  color: var(--text);
  font-family: var(--ui);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.65;
}
a { color: var(--mint); text-decoration: none; }
a:hover { text-decoration: underline; }

.top {
  position: sticky; top: 0; z-index: 2;
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  padding: 12px 22px;
  background: rgba(8, 5, 24, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.brand {
  font-family: var(--display); font-weight: 900; font-size: 16px; letter-spacing: 0.04em;
  background: linear-gradient(90deg, var(--violet), var(--mint));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-right: auto;
}
.brand:hover { text-decoration: none; }
.top nav { display: flex; gap: 16px; flex-wrap: wrap; font-size: 14px; }
.top nav a { color: var(--muted); }
.top nav a.on, .top nav a:hover { color: var(--text); text-decoration: none; }
.top .play {
  padding: 7px 14px; border-radius: 9px; font-size: 14px; font-weight: 700; color: #06120c;
  background: linear-gradient(90deg, var(--mint), #7dffc8);
}
.top .play:hover { text-decoration: none; filter: brightness(1.08); }

main { max-width: 800px; margin: 0 auto; padding: 44px 22px 80px; }
h1 { font-family: var(--display); font-weight: 800; font-size: clamp(26px, 5vw, 38px); line-height: 1.15; margin: 0 0 8px; }
.meta { color: var(--muted); font-size: 14px; margin: 0 0 26px; }
h2 {
  font-family: var(--display); font-weight: 700; font-size: 18px; line-height: 1.3;
  margin: 40px 0 10px; padding-top: 18px; border-top: 1px solid var(--line);
  scroll-margin-top: 70px;
}
h3 { font-size: 16px; margin: 22px 0 6px; color: #fff; }
p { margin: 0 0 14px; }
ul, ol { margin: 0 0 14px; padding-left: 22px; }
li { margin-bottom: 6px; }
b, strong { color: #fff; font-weight: 700; }

.key {
  border: 1px solid rgba(20, 241, 149, 0.35);
  background: rgba(20, 241, 149, 0.07);
  border-radius: 12px; padding: 14px 18px; margin: 0 0 22px;
}
.key p:last-child, .key ul:last-child { margin-bottom: 0; }
.warn { border-color: rgba(255, 192, 46, 0.4); background: rgba(255, 192, 46, 0.07); }

.toc { columns: 2; column-gap: 28px; font-size: 14.5px; padding-left: 20px; margin-bottom: 8px; }
.toc li { break-inside: avoid; }
.toc a { color: var(--muted); }
.toc a:hover { color: var(--text); }

.tbl { overflow-x: auto; margin: 0 0 16px; }
table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
th, td { text-align: left; vertical-align: top; padding: 9px 10px; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; }

.unset { background: rgba(255, 192, 46, 0.18); color: #ffd978; border-radius: 4px; padding: 0 5px; }

footer { max-width: 800px; margin: 0 auto; padding: 0 22px 40px; color: var(--muted); font-size: 13.5px; }
footer a { color: var(--muted); margin-right: 14px; }

@media (max-width: 560px) {
  .toc { columns: 1; }
  main { padding-top: 30px; }
}
@media print {
  body { background: #fff; color: #000; }
  .top, footer { display: none; }
  b, strong, h3 { color: #000; }
  a { color: #000; }
}
