/* shared styles for legal pages */
:root {
  --bg: #0a0a0f;
  --bg-2: #11121a;
  --surface: rgba(255, 255, 255, 0.04);
  --border: rgba(255, 255, 255, 0.08);
  --text: #f5f5f7;
  --text-dim: #b8b8c4;
  --text-muted: #7a7a86;
  --accent: #b6ff3b;
  --accent-2: #7c5cff;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--bg); color: var(--text); font-family: 'Manrope', system-ui, -apple-system, sans-serif; min-height: 100%; -webkit-font-smoothing: antialiased; line-height: 1.7; }
body { overflow-x: hidden; }

.bg-orb { position: fixed; border-radius: 50%; filter: blur(120px); opacity: 0.35; pointer-events: none; z-index: 0; }
.bg-orb.a { width: 480px; height: 480px; background: #7c5cff; top: -180px; left: -180px; }
.bg-orb.b { width: 380px; height: 380px; background: #b6ff3b; bottom: -150px; right: -150px; }

.wrap { position: relative; z-index: 2; max-width: 820px; margin: 0 auto; padding: 48px 28px 96px; }

.nav { display: flex; align-items: center; justify-content: space-between; margin-bottom: 56px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 16px; letter-spacing: -0.01em; color: var(--text); text-decoration: none; }
.brand .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 16px var(--accent); }
.back { display: inline-flex; align-items: center; gap: 8px; color: var(--text-muted); font-size: 14px; text-decoration: none; transition: 0.2s; }
.back:hover { color: var(--accent); }
.back::before { content: '←'; }

.doc-eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border: 1px solid var(--border); border-radius: 999px; font-size: 12px; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 20px; background: var(--surface); }
.doc-eyebrow::before { content: ''; width: 6px; height: 6px; background: var(--accent); border-radius: 50%; box-shadow: 0 0 12px var(--accent); }

h1.doc-title { font-family: 'Unbounded', 'Manrope', sans-serif; font-size: clamp(32px, 5vw, 52px); line-height: 1.1; letter-spacing: -0.03em; font-weight: 700; margin-bottom: 18px; }
.doc-meta { color: var(--text-muted); font-size: 14px; margin-bottom: 48px; padding-bottom: 24px; border-bottom: 1px solid var(--border); }

h2 { font-family: 'Unbounded', sans-serif; font-size: 22px; font-weight: 600; letter-spacing: -0.02em; margin: 48px 0 16px; color: var(--text); }
h2 .num { color: var(--accent); margin-right: 10px; font-variant-numeric: tabular-nums; }
h3 { font-family: 'Manrope', sans-serif; font-size: 16px; font-weight: 600; margin: 24px 0 10px; color: var(--text); }

p { color: var(--text-dim); margin-bottom: 14px; font-size: 15px; }
ul, ol { color: var(--text-dim); font-size: 15px; padding-left: 24px; margin-bottom: 14px; }
li { margin-bottom: 6px; }
li::marker { color: var(--accent); }
a { color: var(--accent); text-decoration: none; border-bottom: 1px solid rgba(182,255,59,0.3); transition: 0.2s; }
a:hover { border-color: var(--accent); }

.callout {
  margin: 24px 0; padding: 20px 22px; border: 1px solid var(--border); border-radius: 14px;
  background: linear-gradient(135deg, rgba(124,92,255,0.06), rgba(182,255,59,0.04));
  font-size: 14px; color: var(--text-dim);
}
.callout strong { color: var(--text); }

.info-table { width: 100%; border-collapse: collapse; margin: 16px 0 8px; }
.info-table td { padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 14px; vertical-align: top; }
.info-table td:first-child { color: var(--text-muted); width: 200px; padding-right: 16px; }
.info-table td:last-child { color: var(--text); }

.foot { margin-top: 72px; padding-top: 32px; border-top: 1px solid var(--border); text-align: center; color: var(--text-muted); font-size: 13px; line-height: 1.7; }
.foot a { color: var(--text-dim); border: none; border-bottom: 1px dotted var(--text-muted); }
.foot a:hover { color: var(--accent); border-color: var(--accent); }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.08); border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.16); }

@media (max-width: 640px) {
  .wrap { padding: 28px 18px 64px; }
  .nav { margin-bottom: 36px; }
  h2 { font-size: 19px; margin: 36px 0 12px; }
  .info-table td:first-child { width: 130px; font-size: 13px; }
}
