.legal-page {
  min-width: 0;
  font-family: Gilroy,Montserrat,Arial,sans-serif;
  font-weight: 400
}

.legal-page h1,
.legal-page h2,
.legal-page h3,
.legal-page h4,
.legal-page strong,
.legal-page .button,
.legal-page .eyebrow {
  font-weight: 400
}

.legal-header {
  border-bottom: 1px solid var(--line)
}

.legal-hero {
  position: relative;
  min-height: 360px;
  padding: 88px 0 72px;
  overflow: hidden;
  background:
    radial-gradient(circle at 74% 48%,rgba(139,69,246,.18),transparent 24%),
    radial-gradient(circle at 22% 68%,rgba(244,0,137,.16),transparent 28%)
}

.legal-hero::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: 7%;
  top: -176px;
  border: 1px solid rgba(244,0,137,.22);
  border-radius: 50%;
  box-shadow:
    0 0 0 38px rgba(139,69,246,.035),
    0 0 0 76px rgba(244,0,137,.025)
}

.legal-hero .container {
  position: relative;
  z-index: 1
}

.legal-hero h1 {
  max-width: 820px;
  margin: 30px 0 20px;
  font-size: 68px;
  line-height: 1.08;
  letter-spacing: -2px;
  color: var(--text)
}

.legal-hero h1 em {
  font-style: normal;
  background: linear-gradient(90deg,#f40089,#ffb52e);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent
}

.legal-hero p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7
}

.legal-content {
  padding: 80px 0 104px
}

.legal-document {
  width: min(1264px,calc(100% - 96px));
  margin: 0 auto;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8
}

.legal-document>p:first-child {
  margin: 0 0 52px;
  padding: 26px 30px;
  border: 1px solid #2a2338;
  border-radius: 14px;
  background: #0c0a18
}

.legal-document section {
  padding: 0 0 50px;
  margin: 0 0 50px;
  border-bottom: 1px solid var(--line)
}

.legal-document section:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: 0
}

.legal-document h2 {
  margin: 0 0 24px;
  color: var(--text);
  font-size: 30px;
  line-height: 1.3;
  letter-spacing: -.5px
}

.legal-document p {
  margin: 0 0 20px
}

.legal-document p:last-child {
  margin-bottom: 0
}

.legal-document ul,
.legal-document ol {
  margin: 8px 0 24px;
  padding: 0;
  list-style: none
}

.legal-document ul li,
.legal-document ol li {
  position: relative;
  padding: 6px 0 6px 25px
}

.legal-document ul li::before {
  content: "";
  position: absolute;
  width: 7px;
  height: 7px;
  left: 0;
  top: 16px;
  border-radius: 50%;
  background: linear-gradient(135deg,var(--pink),var(--orange))
}

.legal-document ol {
  counter-reset: legal-list
}

.legal-document ol li {
  counter-increment: legal-list;
  padding-left: 34px
}

.legal-document ol li::before {
  content: counter(legal-list) ".";
  position: absolute;
  left: 0;
  top: 6px;
  color: #f257a3
}

.legal-document address {
  margin: 0 0 22px;
  padding: 24px 28px;
  border: 1px solid #2a2338;
  border-radius: 14px;
  background: #0c0a18;
  color: var(--text);
  font-style: normal
}

.legal-document a {
  color: #f257a3;
  transition: color .2s ease
}

.legal-document a:hover,
.legal-document a:focus-visible,
.legal-page footer a:hover,
.legal-page footer a:focus-visible {
  color: var(--orange)
}

.legal-page footer [aria-current="page"] {
  color: #f257a3
}

@media (min-width: 1101px) {
  .legal-page .nav {
    width: min(1324px,calc(100% - 64px))
  }
}

@media (min-width: 1101px) and (max-width: 1440px) {
  .legal-document {
    width: min(1200px,calc(100% - 80px))
  }
}

@media (max-width: 1100px) {
  .legal-hero {
    min-height: 320px;
    padding: 72px 0 62px
  }

  .legal-hero h1 {
    font-size: clamp(52px,7vw,64px)
  }

  .legal-document {
    width: min(820px,calc(100% - 64px))
  }
}

@media (max-width: 767px) {
  .number,
  .eyebrow {
    font-size: 14px
  }

  .legal-header .button-nav {
    width: 136px
  }

  .legal-hero {
    min-height: 280px;
    padding: 62px 0 52px
  }

  .legal-hero::after {
    width: 260px;
    height: 260px;
    right: -110px;
    top: -90px
  }

  .legal-hero h1 {
    margin-top: 24px;
    font-size: clamp(42px,13vw,54px);
    letter-spacing: -1.2px
  }

  .legal-hero p {
    font-size: 15px
  }

  .legal-content {
    padding: 54px 0 72px
  }

  .legal-document {
    width: calc(100% - 40px);
    font-size: 14px;
    line-height: 1.72
  }

  .legal-document>p:first-child {
    margin-bottom: 40px;
    padding: 22px 20px
  }

  .legal-document section {
    padding-bottom: 38px;
    margin-bottom: 38px
  }

  .legal-document h2 {
    margin-bottom: 20px;
    font-size: 24px
  }

  .legal-document address {
    padding: 20px
  }
}

@media (max-width: 390px) {
  .legal-document {
    width: calc(100% - 32px)
  }

  .legal-header .button-nav {
    width: 128px
  }
}
