:root{
  --bg:#070914;
  --bg2:#0c1021;
  --card:#0f1326;
  --card2:#12172c;
  --text:#f5f6ff;
  --muted:#929bb7;
  --border:rgba(128,111,255,.18);
  --purple:#775bff;
  --purple2:#aa63ff;
  --green:#43e69a;
}

*{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  background:
    radial-gradient(circle at 15% 0%,rgba(105,73,255,.10),transparent 30%),
    #070914;
  color:var(--text);
  font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}

a{
  color:inherit;
}

.legal-header{
  position:sticky;
  top:0;
  z-index:100;
  padding:14px 20px;
  background:rgba(7,9,20,.88);
  backdrop-filter:blur(16px);
  border-bottom:1px solid var(--border);
}

.legal-header-inner{
  width:min(1180px,100%);
  margin:auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}

.legal-brand{
  display:flex;
  align-items:center;
  gap:11px;
  text-decoration:none;
  font-size:21px;
  font-weight:800;
}

.legal-logo{
  width:29px;
  height:29px;
  display:block;
}

.legal-nav{
  display:flex;
  align-items:center;
  gap:18px;
  flex-wrap:wrap;
}

.legal-nav a{
  color:#aab2cb;
  text-decoration:none;
  font-size:13px;
}

.legal-nav a:hover{
  color:#fff;
}

.legal-back{
  padding:10px 16px;
  border:1px solid var(--border);
  border-radius:999px;
  color:#fff !important;
}

.legal-page{
  width:min(960px,calc(100% - 32px));
  margin:48px auto 70px;
}

.legal-kicker{
  margin-bottom:12px;
  color:#9b83ff;
  font-size:11px;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
}

.legal-page h1{
  margin:0 0 18px;
  max-width:820px;
  font-size:clamp(34px,5vw,58px);
  line-height:1;
  letter-spacing:-.045em;
}

.legal-intro{
  max-width:760px;
  margin-bottom:32px;
  color:#abb3cb;
  font-size:16px;
  line-height:1.65;
}

.legal-meta{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-bottom:32px;
}

.legal-chip{
  padding:8px 12px;
  border:1px solid var(--border);
  border-radius:999px;
  background:rgba(255,255,255,.025);
  color:#9ba4bf;
  font-size:11px;
}

.legal-section{
  margin-bottom:14px;
  padding:25px 27px;
  border:1px solid var(--border);
  border-radius:18px;
  background:linear-gradient(180deg,rgba(16,20,42,.96),rgba(10,13,29,.97));
}

.legal-section h2{
  margin:0 0 16px;
  font-size:20px;
  letter-spacing:-.02em;
}

.legal-section h3{
  margin:20px 0 9px;
  font-size:15px;
}

.legal-section p,
.legal-section li{
  color:#abb3c9;
  font-size:14px;
  line-height:1.7;
}

.legal-section p{
  margin:9px 0;
}

.legal-section ul,
.legal-section ol{
  margin:10px 0;
  padding-left:22px;
}

.legal-highlight{
  border-color:rgba(124,94,255,.34);
  background:
    linear-gradient(135deg,rgba(112,79,255,.13),rgba(16,20,42,.96));
}

.legal-requisites{
  display:grid;
  grid-template-columns:190px 1fr;
  gap:10px 20px;
}

.legal-requisites dt{
  color:#707a99;
  font-size:12px;
}

.legal-requisites dd{
  margin:0;
  color:#eef0f8;
  font-size:13px;
  word-break:break-word;
}

.site-footer{
  border-top:1px solid var(--border);
  background:#050711;
}

.site-footer-inner{
  width:min(1180px,calc(100% - 32px));
  margin:auto;
  padding:34px 0 28px;
}

.footer-top{
  display:grid;
  grid-template-columns:1.2fr 1fr;
  gap:40px;
}

.footer-brand{
  margin-bottom:10px;
  font-size:20px;
  font-weight:800;
}

.footer-description{
  max-width:500px;
  color:#737d9a;
  font-size:12px;
  line-height:1.6;
}

.footer-links{
  display:flex;
  flex-wrap:wrap;
  gap:10px 18px;
}

.footer-links a{
  color:#949db8;
  font-size:12px;
  text-decoration:none;
}

.footer-links a:hover{
  color:#fff;
}

.footer-requisites{
  margin-top:26px;
  padding-top:22px;
  border-top:1px solid rgba(255,255,255,.055);
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:7px 32px;
  color:#68728f;
  font-size:11px;
  line-height:1.6;
}

.footer-requisites a{
  color:#858fac;
  text-decoration:none;
}

.footer-bottom{
  margin-top:20px;
  color:#555f7a;
  font-size:10px;
}

@media(max-width:720px){
  .legal-header{
    padding:12px 14px;
  }

  .legal-nav{
    display:none;
  }

  .legal-page{
    margin-top:32px;
  }

  .legal-section{
    padding:20px 18px;
  }

  .legal-requisites{
    grid-template-columns:1fr;
    gap:4px;
  }

  .legal-requisites dd{
    margin-bottom:10px;
  }

  .footer-top,
  .footer-requisites{
    grid-template-columns:1fr;
  }

  .footer-top{
    gap:24px;
  }
}
