*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  color-scheme: dark;
  background: #000 url('/images/hooked-bg.jpg') no-repeat center center fixed;
  background-size: cover;
  color: #fff;
  font-family: 'HK Grotesk', Arial, sans-serif;
}

.legal-top {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 80px 70px 0;
}

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

.legal-logo img {
  width: 100%;
  height: auto;
  display: block;
}

.legal-nav {
  display: flex;
  gap: 4px;
}

.legal-nav a {
  font-family: 'HK Grotesk Bold', Arial, sans-serif;
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  padding: 15px 18px;
}

.legal-nav a:hover,
.legal-nav a.active {
  color: #709efc;
}

.legal-article {
  position: relative;
  z-index: 10;
  width: min(1200px, 100%);
  max-width: 100%;
  margin: 0 auto;
  padding: 35px 20px 120px;
  box-sizing: border-box;
}

.legal-article h1 {
  font-family: 'HK Grotesk Bold', Arial, sans-serif;
  font-size: 2em;
  font-weight: 400;
  margin: 0 0 28px;
  color: #fff;
  letter-spacing: 0;
}

.legal-article h2 {
  font-family: 'HK Grotesk Bold', Arial, sans-serif;
  font-size: 22px;
  font-weight: 400;
  margin: 36px 0 16px;
  color: #fff;
  white-space: normal;
  letter-spacing: 0;
}

.legal-article p,
.legal-article li {
  color: #a2a4af;
  font-size: 17.5px;
  line-height: 1.7;
  letter-spacing: 0.03em;
  font-weight: 400;
}

.legal-article p {
  margin: 0 0 18px;
}

.legal-article ul {
  margin: 0 0 18px;
  padding: 0 0 0 22px;
}

.legal-article li {
  margin: 6px 0;
}

.legal-article a {
  color: #fff;
  text-decoration: none;
  overflow-wrap: break-word;
}

.legal-article a:hover {
  text-decoration: underline;
}

.legal-figure {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 0 18px;
}

.legal-article strong {
  font-weight: bolder;
}

.legal-article li strong {
  font-weight: bold;
  color: #fff;
}

.legal-article h1,
.legal-article h2,
.legal-article p,
.legal-article li {
  max-width: 100%;
  overflow-wrap: break-word;
}

@media (max-width: 900px) {
  .legal-top {
    padding: 24px 16px 0;
    flex-direction: column;
    gap: 16px;
  }

  .legal-logo {
    width: 100px;
  }

  .legal-nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .legal-nav a {
    padding: 8px 10px;
    font-size: 12px;
    letter-spacing: 0.16em;
  }

  .legal-article {
    padding: 32px 18px 60px;
  }

  .legal-article h1 {
    font-size: 28px;
  }

  .legal-article p,
  .legal-article li {
    font-size: 16px;
  }
}
