.legal-hero {
  background: #101010;
  padding: 0 2.5rem;
  display: flex;
  flex-direction: column;
}

.legal-hero__header {
  padding-top: 4.2rem;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  position: relative;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
}

.legal-hero__header .bar1,
.legal-hero__header .bar2,
.legal-hero__header .bar3 {
  background-color: #ffffff;
}

.legal-hero__content {
  padding: 8rem 0 10rem;
}

.legal-hero__content h1 {
  margin: 0 0 2rem;
  font-weight: bold;
  color: #ffffff;
}

.legal-hero__content p {
  margin: 0;
  color: #c0c0c0;
  font-family: "Roboto", sans-serif;
}

.legal-section {
  background: #1c1c1c;
  padding: 5rem 2.5rem;
}

.legal-section__header {
  font-size: 5rem;
  line-height: 2;
  color: #ffffff;
  margin: 0 0 1rem;
}

.legal-section__description {
  color: #c0c0c0;
  font-family: "Roboto", sans-serif;
  margin: 0 0 4rem;
}

.legal-cards {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

.legal-card {
  background: #242424;
  border: 1px solid #3e3e3e;
  border-radius: 1.1rem;
  padding: 3rem;
}

.legal-card__icon {
  width: 3.3rem;
  margin-right: 1.6rem;
}

.legal-card__title {
  color: #ffffff;
  font-weight: bold;
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
}

.legal-card__body {
  color: #c0c0c0;
  font-family: "Roboto", sans-serif;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.legal-card__body p {
  color: #c0c0c0;
  margin: 0 0 1.5rem;
}

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

.legal-card__body ul {
  padding-left: 0;
  list-style: none;
  margin: 1rem 0;
}

.legal-card__body ul li {
  color: #c0c0c0;
  padding: 0.4rem 0;
}

.legal-card__body ul li::before {
  content: "\2022";
  color: #ffb300;
  display: inline-block;
  width: 4px;
  margin-right: 1.6rem;
}

.legal-card__body h3 {
  color: #ffffff;
  font-size: 1.6rem;
  margin: 2.5rem 0 1rem;
}

.legal-card__body h3:first-child {
  margin-top: 0;
}

.legal-card__link {
  color: #ffb300;
  font-size: 1.6rem;
  text-decoration: none;
  font-weight: bold;
}

.legal-card__link:hover {
  text-decoration: underline;
  color: #ffb300;
}

.legal-card--highlight {
  border-color: #ffb300;
}

.legal-updated {
  color: #888888;
  font-size: 1.3rem;
  font-family: "Roboto", sans-serif;
  margin-bottom: 2rem;
  display: block;
}

/* Extra small and Small screens / phone */
@media (max-width: 768px) {
  .legal-hero__content h1 {
    font-size: 3.5rem;
    line-height: 1.3;
  }

  .legal-hero__content p {
    font-size: 1.8rem;
    line-height: 1.5;
  }

  .legal-section__header {
    font-size: 3.5rem;
    line-height: 1;
    margin-bottom: 1.8rem;
  }

  .legal-section__description {
    font-size: 1.8rem;
    line-height: 1.5;
    margin-bottom: 3rem;
  }

  .legal-card__title {
    font-size: 1.7rem;
  }

  .legal-card__body {
    font-size: 1.6rem;
  }
}

/* Medium screen / tablet */
@media (min-width: 768px) {
  .legal-cards {
    grid-template-columns: 1fr 1fr;
  }

  .legal-hero__content h1 {
    font-size: 7rem;
    line-height: 1.2;
  }

  .legal-hero__content p {
    font-size: 2.2rem;
    line-height: 3rem;
  }

  .legal-section__description {
    font-size: 1.8rem;
    line-height: 3.4rem;
  }

  .legal-card__title {
    font-size: 2.4rem;
    line-height: 3.4rem;
  }

  .legal-card__body {
    font-size: 1.8rem;
    line-height: 3rem;
  }
}

@media (min-width: 992px) {
  .legal-cards {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1400px) {
  .legal-hero {
    padding: 0 8rem;
  }

  .legal-section {
    padding: 12rem 8rem;
  }
}

@media (min-width: 1600px) {
  .legal-hero {
    padding: 0 14rem;
  }

  .legal-section {
    padding: 12rem 14rem;
  }
}

/* Contact CTA reuses .services__contact from services.css (not loaded here) */
.services__contact h4 {
  color: #ffffff;
}

.services__contact p {
  color: #959595;
}

/* Policy document (privacy-policy.html, terms, etc.) */
.policy-doc {
  max-width: 80rem;
}

.policy-doc h2 {
  color: #ffffff;
  font-weight: bold;
  margin: 4rem 0 1.5rem;
}

.policy-doc h2:first-of-type {
  margin-top: 0;
}

.policy-doc p {
  color: #c0c0c0;
  font-family: "Roboto", sans-serif;
  line-height: 1.8;
  margin: 0 0 1.5rem;
}

.policy-doc ul {
  padding-left: 0;
  list-style: none;
  margin: 1rem 0 1.5rem;
}

.policy-doc ul li {
  color: #c0c0c0;
  font-family: "Roboto", sans-serif;
  line-height: 1.8;
  padding: 0.3rem 0;
}

.policy-doc ul li::before {
  content: "\2022";
  color: #ffb300;
  display: inline-block;
  width: 4px;
  margin-right: 1.6rem;
}

.policy-doc strong {
  color: #ffffff;
}

.policy-doc a {
  color: #ffb300;
  text-decoration: none;
}

.policy-doc a:hover {
  text-decoration: underline;
}

.policy-doc hr {
  border: none;
  border-top: 1px solid #3e3e3e;
  margin: 3.5rem 0;
}

@media (max-width: 768px) {
  .policy-doc h2 {
    font-size: 2rem;
  }

  .policy-doc p,
  .policy-doc ul li {
    font-size: 1.6rem;
  }
}

@media (min-width: 768px) {
  .policy-doc h2 {
    font-size: 2.8rem;
    line-height: 1.3;
  }

  .policy-doc p,
  .policy-doc ul li {
    font-size: 1.8rem;
  }
}
