:root {
  --bg: #010409;
  --blue: #0a84ff;
  --sky: #4fb4ff;
  --ice: #c9e4ff;
  --muted: rgba(214, 227, 247, 0.86);
  --line: rgba(130, 190, 255, 0.16);
}
* { box-sizing: border-box; }
html { color-scheme: dark; }
body {
  margin: 0;
  background: var(--bg);
  color: #f3f7ff;
  font: 16px/1.7 'Inter', system-ui, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--sky); text-decoration: none; }
a:hover { text-decoration: underline; }

.legal-top {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  max-width: 880px; margin: 0 auto; padding: 22px 20px;
}
.legal-top img { display: block; height: 28px; width: auto; }
.legal-top .back {
  font-size: 13px; color: var(--ice); padding: 8px 14px; border-radius: 99px;
  border: 1px solid var(--line); background: rgba(10, 132, 255, 0.08);
}
.legal-top .back:hover { text-decoration: none; border-color: rgba(130, 190, 255, 0.4); }

main { max-width: 760px; margin: 0 auto; padding: 24px 20px 72px; }
h1 {
  font: 600 clamp(32px, 6vw, 48px)/1.08 'Inter Tight', 'Inter', system-ui, sans-serif;
  letter-spacing: -0.04em; margin: 8px 0 8px;
}
.updated { color: var(--muted); font-size: 14px; margin: 0 0 40px; }
h2 {
  font: 600 22px/1.25 'Inter Tight', 'Inter', system-ui, sans-serif;
  letter-spacing: -0.02em; margin: 44px 0 10px;
}
h3 { font-size: 16px; margin: 24px 0 6px; color: var(--ice); }
p, li { color: var(--muted); }
p { margin: 0 0 14px; }
ul { margin: 0 0 14px; padding-left: 20px; }
li { margin: 4px 0; }
strong { color: #fff; font-weight: 600; }

.box {
  border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px;
  background: rgba(10, 132, 255, 0.05); margin: 0 0 18px;
}
.box p:last-child { margin-bottom: 0; }
dl.facts { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 6px 22px; }
dl.facts > div { display: contents; }
dl.facts dt { color: var(--ice); font-size: 14px; }
dl.facts dd { margin: 0; color: #fff; }
dl.facts [hidden] { display: none; }
@media (max-width: 520px) { dl.facts { grid-template-columns: 1fr; gap: 0; } dl.facts dd { margin-bottom: 10px; } }

.table-wrap { overflow-x: auto; margin: 0 0 18px; }
table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
th { color: var(--ice); font-weight: 600; white-space: nowrap; }
td { color: var(--muted); }

h2[id], h3[id] { scroll-margin-top: 20px; }
.toc { border: 1px solid var(--line); border-radius: 16px; padding: 16px 22px; margin: 0 0 36px; }
.toc strong { display: block; margin-bottom: 8px; color: var(--ice); font-size: 14px; letter-spacing: 0.02em; }
.toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 32px; }
.toc li { margin: 3px 0; font-size: 14.5px; break-inside: avoid; }
@media (max-width: 620px) { .toc ol { columns: 1; } }
.callout {
  border-left: 3px solid var(--blue); padding: 12px 16px; margin: 0 0 18px;
  background: rgba(10, 132, 255, 0.07); border-radius: 0 12px 12px 0;
}
.callout p:last-child { margin-bottom: 0; }
.caps { font-size: 14.5px; }
ol.clauses { padding-left: 22px; }
ol.clauses > li { margin: 8px 0; }
.legal-todo { color: #ffd479; background: rgba(255, 212, 121, 0.12); border-radius: 6px; padding: 0 6px; }

footer.legal-foot {
  border-top: 1px solid var(--line); max-width: 880px; margin: 0 auto; padding: 28px 20px 48px;
  display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: 13px; color: var(--muted);
}
footer.legal-foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
footer.legal-foot a { color: var(--muted); }
footer.legal-foot a:hover { color: #fff; text-decoration: none; }
