.legal-page {
  margin: 0;
  background: #f7f4ee;
  color: #25251f;
  font-family: Montserrat, Arial, sans-serif;
  line-height: 1.65;
}

.legal-header {
  background: #20271f;
  color: #fff;
}

.legal-header__inner,
.legal-main,
.site-legal-footer__inner {
  width: min(100% - 32px, 980px);
  margin-inline: auto;
}

.legal-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 88px;
}

.legal-brand {
  color: #fff;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-decoration: none;
}

.legal-back,
.legal-language a {
  color: #fff;
}

.legal-language {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .9rem;
}

.legal-main {
  padding: 56px 0 72px;
}

.legal-main h1 {
  margin: 0 0 8px;
  font-size: clamp(2rem, 6vw, 3.5rem);
  line-height: 1.15;
}

.legal-main h2 {
  margin: 40px 0 12px;
  font-size: 1.35rem;
  line-height: 1.3;
}

.legal-main p,
.legal-main ul {
  max-width: 78ch;
}

.legal-main li + li {
  margin-top: 8px;
}

.legal-meta {
  margin: 0 0 32px;
  color: #5d6158;
}

.legal-callout {
  margin: 28px 0;
  padding: 18px 20px;
  border-left: 4px solid #8a5a32;
  background: #fff;
}

.legal-missing {
  color: #8a2e21;
  font-weight: 700;
}

.legal-contact {
  padding: 20px;
  border: 1px solid #d7d2c7;
  border-radius: 8px;
  background: #fff;
}

.legal-consent {
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
  margin: 18px 0;
  color: #272821;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  text-align: left;
}

.legal-consent input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  flex: 0 0 auto;
  accent-color: #4e5c45;
}

.legal-consent a {
  color: inherit;
  font-weight: 600;
  text-decoration: underline;
}

.site-legal-footer {
  padding: 18px 0;
  background: #171b16;
  color: #e7e7df;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 13px;
  line-height: 1.5;
}

.site-legal-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
}

.site-legal-footer p {
  margin: 0;
}

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

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

@media (max-width: 640px) {
  .legal-header__inner,
  .site-legal-footer__inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 18px 0;
  }

  .legal-main {
    padding-top: 36px;
  }
}
