/* Shared style for the legal pages (privacy / terms / risk / license) —
   matches the login/account bluish theme. */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg: #080b12;
  --blue-deep: #171B37;
  --blue-bright: #3D7EFF;
  --text: #d1d4dc;
  --text-dim: rgba(255,255,255,0.45);
}
html { -webkit-text-size-adjust: 100%; background: var(--bg); }
body {
  min-height: 100dvh;
  background: radial-gradient(1200px 700px at 50% -200px, #141b3a 0%, var(--bg) 60%);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  line-height: 1.65;
  padding: 0 18px calc(env(safe-area-inset-bottom) + 48px);
}
.legal-body { max-width: 760px; margin: 0 auto; }
.legal-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: calc(26px + env(safe-area-inset-top,0px)) 0 18px;
  margin-bottom: 26px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.legal-head img { width: 44px; height: 44px; border-radius: 10px; }
.legal-head a.back {
  display: inline-flex; align-items: center; gap: 7px;
  color: var(--text-dim); text-decoration: none; font-size: 13px; font-weight: 600;
}
.legal-head a.back svg { flex-shrink: 0; }
.legal-head a.back:hover { color: #fff; }
h1 { font-size: 24px; font-weight: 700; color: #fff; margin-bottom: 6px; letter-spacing: -0.01em; }
.updated { font-size: 12.5px; color: var(--text-dim); margin-bottom: 30px; }
h2 { font-size: 16px; font-weight: 700; color: #fff; margin: 30px 0 10px; }
h3 { font-size: 14px; font-weight: 700; color: #fff; margin: 22px 0 8px; }
p { font-size: 14px; margin-bottom: 12px; }
ul { margin: 0 0 14px 22px; }
li { font-size: 14px; margin-bottom: 6px; }
a { color: var(--blue-bright); text-decoration: none; }
a:hover { text-decoration: underline; }
strong { color: #fff; }
.callout {
  background: rgba(61,126,255,0.07); border: 1px solid rgba(61,126,255,0.25);
  border-radius: 12px; padding: 14px 16px; margin-bottom: 24px; font-size: 13.5px;
}
.legal-foot {
  margin-top: 44px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 12.5px; color: var(--text-dim);
  display: flex; flex-wrap: wrap; gap: 8px 18px;
}
.legal-foot a { color: var(--text-dim); }
.legal-foot a:hover { color: #fff; }
