:root{
  --bg-0:#070A12;
  --bg-1:#0B1220;
  --text:#EAF0FF;
  --muted:rgba(234,240,255,.72);
  --border:rgba(255,255,255,.10);
  --shadow: 0 18px 50px rgba(0,0,0,.45);
  --accent:#6D5EF7;
  --accent-2:#33D1FF;
  --radius:18px;
  --radius-sm:14px;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, "Noto Sans", "Liberation Sans", sans-serif;
  background: radial-gradient(1200px 600px at 20% 0%, rgba(109,94,247,.30), transparent 60%),
              radial-gradient(1000px 500px at 80% 20%, rgba(51,209,255,.18), transparent 60%),
              linear-gradient(180deg, var(--bg-0), var(--bg-1));
  color: var(--text);
}

.skip-link{
  position:absolute;
  left:-9999px;
  top:0;
  background:#fff;
  color:#000;
  padding:10px 12px;
  border-radius:10px;
  z-index:9999;
}
.skip-link:focus{ left:12px; top:12px; }

.navbar{ padding-top:18px; padding-bottom:18px; }

.brand-mark{
  width:38px;
  height:38px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:12px;
  background: linear-gradient(135deg, rgba(109,94,247,.85), rgba(51,209,255,.70));
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
}
.brand-mark i{ font-size:18px; color:#071022; }

.btn-primary{
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border:0;
}
.btn-primary:hover{ filter: brightness(1.05); }

.page-header{
  border-bottom:1px solid rgba(255,255,255,.08);
  background: linear-gradient(180deg, rgba(255,255,255,.04), transparent 65%);
}
.hero-legal{ padding: 30px 0 22px; }

.legal-badge{
  display:inline-flex;
  gap:10px;
  align-items:center;
  padding: 10px 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  color: rgba(234,240,255,.86);
  backdrop-filter: blur(10px);
}
.legal-badge i{
  width:26px;
  height:26px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  background: rgba(255,255,255,.08);
}

.meta-card{
  border-radius: var(--radius);
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  box-shadow: 0 14px 45px rgba(0,0,0,.25);
  padding: 14px 16px;
}
.meta-row{
  display:flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom:1px solid rgba(255,255,255,.08);
}
.meta-row:last-child{ border-bottom:0; }
.meta-label{ color: rgba(234,240,255,.58); font-size: .92rem; }
.meta-value{ color: rgba(234,240,255,.92); text-align: right; font-weight: 600; }

.legal-main{ padding: 36px 0 64px; }

.toc-card{
  position: sticky;
  top: 18px;
  border-radius: var(--radius);
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  box-shadow: 0 14px 45px rgba(0,0,0,.25);
  padding: 16px;
}
.toc-title{ font-weight: 750; margin-bottom: 10px; }
.toc{
  display:grid;
  gap: 8px;
}
.toc a{
  display:flex;
  align-items:center;
  gap:10px;
  padding: 10px 12px;
  border-radius: 14px;
  text-decoration:none;
  color: rgba(234,240,255,.84);
  border:1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.10);
}
.toc a:hover{
  background: rgba(255,255,255,.06);
  color:#fff;
  border-color: rgba(255,255,255,.12);
}
.toc i{ opacity:.9; }

.legal-article{
  border-radius: var(--radius);
  border:1px solid rgba(255,255,255,.10);
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  box-shadow: var(--shadow);
  padding: 18px;
}
@media (min-width: 992px){
  .legal-article{ padding: 22px 24px; }
}

.legal-section{
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.legal-section:last-child{ border-bottom:0; }
.legal-section h2{
  font-size: 1.35rem;
  font-weight: 780;
  margin-bottom: 10px;
}
.text-muted{ color: var(--muted) !important; }

.contact-box{
  display:grid;
  gap: 12px;
  margin-top: 10px;
}
.contact-item{
  display:flex;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
}
.contact-icon{
  width:42px;
  height:42px;
  border-radius: 16px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(109,94,247,.12);
  border:1px solid rgba(109,94,247,.22);
}
.contact-label{ color: rgba(234,240,255,.58); font-size: .9rem; }
.contact-value a{ color: rgba(234,240,255,.92); }
.contact-value a:hover{ color:#fff; }

.page-footer{
  padding: 38px 0 48px;
  border-top:1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.18);
}
.footer-title{ font-weight: 700; margin-bottom: 10px; }
.footer-links{
  margin:0;
  padding:0;
  list-style:none;
  display:grid;
  gap: 8px;
}
.footer-links a{
  color: rgba(234,240,255,.78);
  text-decoration:none;
}
.footer-links a:hover{ color:#fff; }
.footer-mini{ font-size: .92rem; }
