:root{
  --legal-bg:#070a16;
  --legal-panel:#0d1224;
  --legal-text:#e9edfa;
  --legal-muted:#aab3c8;
  --legal-line:rgba(150,171,255,.14);
  --legal-blue:#6688ff;
}

html,body{background:var(--legal-bg)!important}
body{color:var(--legal-text)!important}

.legal-nav{
  height:82px;
  display:flex;
  align-items:center;
  border-bottom:1px solid var(--legal-line);
  background:rgba(7,10,22,.92);
  backdrop-filter:blur(16px);
  position:sticky;
  top:0;
  z-index:20;
}
.legal-nav-inner{
  width:min(1180px,calc(100% - 48px));
  margin:auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.legal-brand{display:flex;align-items:center;gap:10px;color:#fff;font-weight:800}
.legal-brand img{height:52px;width:auto}
.legal-home{
  border:1px solid var(--legal-line);
  border-radius:999px;
  padding:10px 15px;
  color:#dfe5ff!important;
  font-size:14px;
  background:rgba(255,255,255,.04);
}
.legal-home:hover{border-color:rgba(102,136,255,.55);background:rgba(102,136,255,.10)}

.legal-hero{
  position:relative;
  overflow:hidden;
  border-bottom:1px solid var(--legal-line);
  background:
    radial-gradient(circle at 78% 20%,rgba(62,98,255,.22),transparent 28%),
    radial-gradient(circle at 12% 110%,rgba(74,130,255,.10),transparent 30%);
}
.legal-hero::after{
  content:"";
  position:absolute;
  width:420px;height:420px;
  right:-220px;bottom:-290px;
  border:1px solid rgba(130,158,255,.12);
  border-radius:50%;
  box-shadow:0 0 0 70px rgba(130,158,255,.025),0 0 0 140px rgba(130,158,255,.018);
}
.legal-hero-inner{
  width:min(1180px,calc(100% - 48px));
  margin:auto;
  min-height:240px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  position:relative;
  z-index:1;
}
.legal-kicker{
  display:inline-flex;
  align-items:center;
  gap:8px;
  width:max-content;
  color:#aebcff;
  font-size:12px;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
  margin-bottom:16px;
}
.legal-kicker i{width:7px;height:7px;border-radius:50%;background:#6688ff;box-shadow:0 0 18px #6688ff}
.legal-hero h1{
  margin:0;
  max-width:760px;
  font-size:clamp(38px,5vw,64px);
  line-height:1.02;
  letter-spacing:-.045em;
  color:#fff;
}
.legal-effective{margin:18px 0 0;color:var(--legal-muted);font-size:14px}

.legal-layout{
  width:min(1180px,calc(100% - 48px));
  margin:38px auto 72px;
  display:grid;
  grid-template-columns:230px minmax(0,850px);
  gap:34px;
  align-items:start;
}
.legal-toc{
  position:sticky;
  top:120px;
  border:1px solid var(--legal-line);
  border-radius:18px;
  padding:18px;
  background:rgba(13,18,36,.72);
}
.legal-toc strong{
  display:block;
  margin:0 0 10px;
  color:#fff;
  font-size:13px;
  text-transform:uppercase;
  letter-spacing:.08em;
}
.legal-toc a{
  display:block;
  padding:8px 10px;
  color:var(--legal-muted)!important;
  border-radius:8px;
  font-size:13px;
  line-height:1.35;
}
.legal-toc a:hover{color:#fff!important;background:rgba(102,136,255,.10)}

.legal-content{
  min-width:0;
  border:1px solid var(--legal-line);
  border-radius:24px;
  background:linear-gradient(145deg,rgba(15,21,43,.96),rgba(10,14,29,.96));
  box-shadow:0 24px 70px -42px rgba(42,85,255,.48);
  padding:12px 44px 44px;
}
.legal-section{
  padding:32px 0 2px;
  scroll-margin-top:110px;
  border-bottom:1px solid var(--legal-line);
}
.legal-section:last-child{border-bottom:0}
.legal-section h2{
  display:flex;
  align-items:center;
  gap:12px;
  margin:0 0 14px;
  color:#fff;
  font-size:21px;
  line-height:1.25;
  letter-spacing:-.015em;
}
.legal-section h2 .section-no{
  flex:0 0 34px;
  height:34px;
  display:grid;
  place-items:center;
  border:1px solid rgba(102,136,255,.28);
  border-radius:10px;
  background:rgba(102,136,255,.10);
  color:#9eb1ff;
  font-size:12px;
}
.legal-section p,.legal-section li{
  color:#c1c8da;
  font-size:16px;
  line-height:1.78;
}
.legal-section p{margin:0 0 16px}
.legal-section ul{margin:10px 0 18px;padding-left:22px}
.legal-section li{margin:7px 0;padding-left:4px}
.legal-section a{color:#96acff!important;text-decoration:underline;text-underline-offset:3px}
.legal-section a:hover{color:#c1ceff!important}

.legal-footer{
  border-top:1px solid var(--legal-line);
  background:#080b17;
}
.legal-footer-inner{
  width:min(1180px,calc(100% - 48px));
  min-height:84px;
  margin:auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  color:#8791a8;
  font-size:13px;
}
.legal-footer-links{display:flex;flex-wrap:wrap;gap:18px}
.legal-footer-links a{color:#b7c0d8!important}
.legal-footer-links a:hover{color:#fff!important}

@media(max-width:900px){
  .legal-layout{grid-template-columns:1fr}
  .legal-toc{display:none}
  .legal-content{padding:8px 24px 34px}
}
@media(max-width:600px){
  .legal-nav-inner,.legal-hero-inner,.legal-layout,.legal-footer-inner{width:min(100% - 32px,1180px)}
  .legal-nav{height:70px}
  .legal-brand img{height:44px}
  .legal-home{padding:8px 10px;font-size:12px}
  .legal-hero-inner{min-height:210px}
  .legal-layout{margin-top:20px;margin-bottom:40px}
  .legal-content{border-radius:18px;padding:5px 18px 24px}
  .legal-section{padding-top:24px}
  .legal-section h2{font-size:18px}
  .legal-section p,.legal-section li{font-size:15px;line-height:1.72}
  .legal-footer-inner{padding:18px 0;align-items:flex-start;flex-direction:column}
}
