body{
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(70% 54% at 76% 14%, rgba(81, 88, 233, 0.18), transparent 62%),
    radial-gradient(48% 56% at 16% 32%, rgba(227, 19, 238, 0.1), transparent 64%),
    linear-gradient(180deg, #070813 0%, #0a0014 58%, #060711 100%);
  color: rgba(249, 217, 251, 0.84);
  font-family: Roboto, Arial, sans-serif;
  line-height: 1.7;
}

.legal-top{
  z-index: 5;
  box-sizing: border-box;
  width: 100%;
  padding: 18px max(18px, calc((100vw - 860px) / 2));
}

.legal-top a{
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid rgba(240, 160, 245, 0.24);
  border-radius: 6px;
  background: rgba(5, 7, 17, 0.5);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.legal-top a::before{
  content: "<";
  margin-right: 8px;
  color: rgba(240, 160, 245, 0.82);
}

.legal-top a:hover{
  border-color: rgba(240, 160, 245, 0.62);
  box-shadow: 0 0 16px rgba(227, 19, 238, 0.18);
  transform: translateY(-1px);
}

main{
  box-sizing: border-box;
  width: min(860px, calc(100vw - 28px));
  margin: 8px auto 48px;
  padding: clamp(24px, 5vw, 42px);
  border: 1px solid rgba(240, 160, 245, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.04), transparent 34%),
    rgba(9, 11, 24, 0.9);
  box-shadow:
    0 18px 38px rgba(0, 0, 0, 0.42),
    inset 0 0 18px rgba(81, 88, 233, 0.06);
}

h1{
  margin: 0 0 12px;
  color: #fff;
  font-size: clamp(2rem, 4.5vw, 3.35rem);
  line-height: 1.02;
  letter-spacing: 0;
  text-shadow:
    0 0 12px rgba(249, 217, 251, 0.28),
    0 0 24px rgba(227, 19, 238, 0.24);
}

h1 + p{
  display: inline-flex;
  margin: 0 0 22px;
  padding: 5px 9px;
  border: 1px solid rgba(81, 88, 233, 0.22);
  border-radius: 6px;
  background: rgba(5, 7, 17, 0.32);
  color: rgba(249, 217, 251, 0.72);
  font-size: 0.82rem;
}

h2{
  margin: 28px 0 9px;
  padding-top: 16px;
  border-top: 1px solid rgba(240, 160, 245, 0.12);
  color: #fff;
  font-size: 1.08rem;
  line-height: 1.3;
  letter-spacing: 0.01em;
}

p{
  margin: 0 0 14px;
}

strong{
  color: #fff;
}

a{
  color: #fff;
  font-weight: 900;
  text-decoration: none;
  border-bottom: 1px solid rgba(240, 160, 245, 0.52);
  text-shadow: 0 0 8px rgba(227, 19, 238, 0.18);
}

a:hover{
  border-bottom-color: rgba(240, 160, 245, 0.9);
  text-shadow: 0 0 12px rgba(227, 19, 238, 0.34);
}

ul{
  margin: 0 0 16px;
  padding-left: 1.25rem;
  list-style: disc;
}

li{
  padding-left: 0.25rem;
  margin-bottom: 6px;
}

li::marker{
  color: rgba(240, 160, 245, 0.9);
}

@media (max-width: 620px){
  .legal-top{
    padding-inline: 14px;
  }

  main{
    margin-block: 18px 30px;
    padding: 22px 16px;
  }

  h2{
    font-size: 1rem;
  }
}
