.legal-page {
  color: #202020;
  background: #f6f7f7;
}

.legal-header {
  border-bottom: 1px solid #dedede;
  background: #fff;
}

.legal-header .container {
  display: flex;
  max-width: 1120px;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.legal-header img {
  width: min(250px, 58vw);
  height: auto;
}

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

.legal-header nav a,
.legal-nav a {
  color: #202020;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.legal-hero {
  padding: 64px 0 42px;
  color: #fff;
  background: #171717;
}

.legal-hero .container {
  max-width: 1120px;
}

.legal-kicker {
  margin-bottom: 10px;
  color: var(--candy-pink);
  font-size: .76rem;
  font-weight: 700;
  text-transform: uppercase;
}

.legal-hero h1 {
  max-width: 16ch;
  margin: 0 0 18px;
  font-size: 3.2rem;
  line-height: 1.05;
}

.legal-hero p {
  max-width: 760px;
  color: #c8c8c8;
  line-height: 1.7;
}

.legal-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 42px;
  max-width: 1120px;
  padding: 48px 1rem 80px;
}

.legal-nav {
  position: sticky;
  top: 100px;
  display: grid;
  align-self: start;
  gap: 12px;
}

.legal-nav strong {
  margin-bottom: 5px;
}

.legal-nav a {
  color: #5c5c5c;
  font-size: .88rem;
  text-decoration: none;
}

.legal-nav a:hover {
  color: #171717;
}

.legal-content {
  min-width: 0;
  padding: 38px clamp(22px, 5vw, 58px);
  border: 1px solid #dedede;
  background: #fff;
}

.legal-content section {
  padding: 4px 0 28px;
  scroll-margin-top: 100px;
}

.legal-content section + section {
  padding-top: 30px;
  border-top: 1px solid #e5e5e5;
}

.legal-content h2 {
  margin: 0 0 14px;
  color: #171717;
  font-size: 1.45rem;
}

.legal-content h3 {
  margin: 20px 0 8px;
  font-size: 1.05rem;
}

.legal-content p,
.legal-content li {
  color: #4e4e4e;
  line-height: 1.72;
}

.legal-content ul,
.legal-content ol {
  display: grid;
  gap: 8px;
  padding-left: 22px;
  list-style: disc;
}

.legal-content ol {
  list-style: decimal;
}

.legal-alert {
  margin-bottom: 28px;
  padding: 18px;
  border-left: 4px solid var(--candy-pink);
  background: #fff0f3;
}

.legal-alert strong {
  display: block;
  margin-bottom: 5px;
}

.legal-meta {
  display: flex;
  margin-top: 18px;
  flex-wrap: wrap;
  gap: 10px 24px;
  color: #888;
  font-size: .82rem;
}

.legal-meta a {
  color: #f58aa0;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-footer {
  padding: 28px 0;
  color: #c6c6c6;
  background: #171717;
}

.legal-footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.legal-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.legal-footer a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-source a {
  color: #202020;
  font-weight: 600;
}

@media (max-width: 780px) {
  .legal-header nav {
    display: none;
  }

  .legal-hero {
    padding: 45px 0 34px;
  }

  .legal-hero h1 {
    font-size: 2.35rem;
  }

  .legal-layout {
    grid-template-columns: 1fr;
    padding-top: 26px;
  }

  .legal-nav {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .legal-nav strong {
    grid-column: 1 / -1;
  }

  .legal-content {
    padding: 28px 20px;
  }

  .legal-footer .container {
    align-items: flex-start;
    flex-direction: column;
  }
}
