.legal-hero {
  background-color: #f6f6f8;
  padding: 72px 80px 86px;
}

.legal-shell {
  width: min(100%, 1040px);
  margin: 0 auto;
}

.legal-home {
  display: inline-flex;
  align-items: center;
  color: #1552ff;
  font-size: 18px;
  line-height: 1;
  text-decoration: none;
  margin-bottom: 54px;
  transition:
    transform 0.25s ease,
    color 0.25s ease;
}

.legal-home:hover {
  color: #0d123a;
  transform: translateX(-4px);
}

.legal-kicker {
  color: #1552ff;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 18px;
}

.legal-title {
  color: #191919;
  font-size: 51px;
  font-weight: 500;
  line-height: 1.12;
  max-width: 900px;
}

.legal-title-uppercase {
  text-transform: uppercase;
}

.legal-subtitle {
  color: #191919;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.35;
  margin-top: 24px;
  max-width: 720px;
}

.legal-content-section {
  padding: 92px 80px 108px;
}

.legal-content {
  color: #191919;
  counter-reset: legal-heading;
  font-size: 18px;
  line-height: 1.65;
}

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

.legal-content h2 {
  align-items: flex-start;
  color: #191919;
  counter-increment: legal-heading;
  display: flex;
  font-size: 32px;
  font-weight: 500;
  gap: 20px;
  line-height: 1.2;
  margin: 56px 0 20px;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content h2::before {
  align-items: center;
  background-color: #1552ff;
  border-radius: 50%;
  color: #ffffff;
  content: counter(legal-heading);
  display: flex;
  flex: 0 0 38px;
  font-size: 18px;
  font-weight: 500;
  height: 38px;
  justify-content: center;
  line-height: 1;
  width: 38px;
}

.legal-content ul {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
}

.legal-content ul li {
  margin: 0 0 12px;
  padding-left: 28px;
  position: relative;
}

.legal-content ul li::before {
  background-color: #1552ff;
  border-radius: 50%;
  content: "";
  height: 9px;
  left: 0;
  position: absolute;
  top: 0.78em;
  width: 9px;
}

.legal-content ol {
  counter-reset: consent;
  list-style: none;
  margin: 34px 0 0;
  padding: 0;
}

.legal-content ol li {
  counter-increment: consent;
  margin: 0 0 28px;
  padding-left: 58px;
  position: relative;
}

.legal-content ol li::before {
  align-items: center;
  background-color: #1552ff;
  border-radius: 50%;
  color: #ffffff;
  content: counter(consent);
  display: flex;
  font-size: 18px;
  font-weight: 500;
  height: 38px;
  justify-content: center;
  left: 0;
  line-height: 1;
  position: absolute;
  top: 2px;
  width: 38px;
}

.legal-note {
  background-color: #f6f6f8;
  border-left: 4px solid #1552ff;
  margin: 20px 0;
  padding: 22px 24px;
}

@media (max-width: 991px) {
  .legal-hero {
    padding: 52px 20px 68px;
  }

  .legal-home {
    margin-bottom: 38px;
  }

  .legal-title {
    font-size: 40px;
  }

  .legal-subtitle {
    font-size: 21px;
  }

  .legal-content-section {
    padding: 66px 20px 82px;
  }

  .legal-content {
    font-size: 17px;
  }

  .legal-content h2 {
    font-size: 28px;
    margin-top: 44px;
  }
}

@media (max-width: 560px) {
  .legal-title {
    font-size: 34px;
  }

  .legal-title-uppercase {
    font-size: 32px;
  }

  .legal-subtitle {
    font-size: 19px;
  }

  .legal-content h2 {
    font-size: 25px;
    gap: 14px;
  }

  .legal-content ol li {
    padding-left: 0;
    padding-top: 52px;
  }
}
