.site-footer {
  padding: 34px 0;
  border-top: 1px solid rgba(255, 255, 255, .1);
  background: #111816;
  color: #d6ddda;
}

.site-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  font-size: .82rem;
}

.site-footer-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 28px;
}

.site-footer a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: #d6ddda;
  text-decoration: none;
  transition: color .2s ease;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: #10B981;
}

.form-privacy {
  display: grid;
  gap: 8px;
  margin: 18px 0;
  color: #65706c;
  font-size: .76rem;
  line-height: 1.5;
}

.form-privacy label {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  cursor: pointer;
}

.form-privacy input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: #087f5b;
}

.form-privacy a,
.legal-content a,
.cookie-banner a {
  color: #087f5b;
}

.cookie-banner {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 10000;
  width: min(calc(100% - 36px), 520px);
  border: 1px solid rgba(16, 24, 21, .16);
  border-radius: 10px;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 24px 70px rgba(16, 24, 21, .2);
  padding: 24px;
  color: #28332f;
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner strong {
  display: block;
  margin-bottom: 8px;
  color: #101815;
  font-size: 1rem;
}

.cookie-banner p {
  margin: 0;
  font-size: .86rem;
  line-height: 1.55;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.cookie-action {
  min-height: 42px;
  border: 1px solid #101815;
  border-radius: 6px;
  padding: 0 16px;
  background: #fff;
  color: #101815;
  font: inherit;
  font-size: .76rem;
  font-weight: 750;
  cursor: pointer;
}

.cookie-action--primary {
  border-color: #087f5b;
  background: #087f5b;
  color: #fff;
}

.legal-page {
  min-height: 100vh;
  background: #f7f9f8;
  color: #28332f;
  font-family: Inter, Arial, sans-serif;
}

.legal-main {
  padding: 130px 0 90px;
}

.legal-content {
  width: min(calc(100% - 40px), 860px);
  margin-inline: auto;
}

.legal-content h1 {
  margin: 18px 0 24px;
  color: #101815;
  font-size: clamp(2.3rem, 6vw, 4.4rem);
  font-weight: 450;
  line-height: 1.04;
}

.legal-content h2 {
  margin: 42px 0 14px;
  color: #101815;
  font-size: 1.35rem;
}

.legal-content p,
.legal-content li {
  line-height: 1.75;
}

.legal-notice {
  margin: 28px 0;
  border-left: 4px solid #087f5b;
  background: #fff;
  padding: 20px 22px;
}

.legal-meta {
  color: #65706c;
  font-size: .82rem;
}

@media (max-width: 640px) {
  .site-footer-inner,
  .site-footer-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .site-footer-inner {
    gap: 12px;
  }

  .site-footer a {
    min-height: 40px;
  }

  .cookie-banner {
    right: 12px;
    bottom: 12px;
    width: calc(100% - 24px);
    padding: 20px;
  }

  .cookie-actions,
  .cookie-action {
    width: 100%;
  }
}
