/* ── Legal pages (Privacy Policy & Terms of Service) ──────── */

/* Back button */
.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 40px;
  padding: 8px 16px 8px 12px;
  font-family: 'Geist', sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: #052e28;
  text-decoration: none;
  background: rgba(5, 46, 40, 0.06);
  border-radius: 100px;
  outline: 2px solid transparent;
  outline-offset: 2px;
  transition: background 0.2s, outline-color 0.2s;
}

.legal-back:hover {
  background: rgba(5, 46, 40, 0.12);
}

.legal-back:focus-visible {
  outline-color: #1d7c80;
}

.legal-page {
  min-height: 100vh;
  padding: 100px 6% 100px;
  background: #f9f8f5;
}

.legal-inner {
  max-width: 780px;
  margin: 0 auto;
}

/* Header block */
.legal-eyebrow {
  font-family: 'Geist', sans-serif;
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #1d7c80;
  margin-bottom: 16px;
}

.legal-title {
  font-family: 'Oceanic', sans-serif;
  font-weight: 400;
  font-size: clamp(36px, 4vw, 60px);
  line-height: 1.1;
  color: #052e28;
  margin-bottom: 16px;
}

.legal-meta {
  font-family: 'Geist', sans-serif;
  font-weight: 300;
  font-size: 14px;
  color: #052e28;
  opacity: 0.5;
  margin-bottom: 64px;
}

/* Body text */
.legal-body {
  font-family: 'Geist', sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.8;
  color: #1a1a1a;
}

.legal-body p {
  margin-bottom: 20px;
}

.legal-body h2 {
  font-family: 'Geist', sans-serif;
  font-weight: 500;
  font-size: 20px;
  line-height: 1.3;
  color: #052e28;
  margin-top: 52px;
  margin-bottom: 16px;
}

.legal-body h3 {
  font-family: 'Geist', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.4;
  color: #052e28;
  margin-top: 28px;
  margin-bottom: 10px;
}

.legal-body ul {
  padding-left: 24px;
  margin-bottom: 20px;
}

.legal-body ul li {
  margin-bottom: 10px;
}

.legal-body a {
  color: #1d7c80;
  text-decoration: none;
  border-bottom: 1px solid rgba(29, 124, 128, 0.3);
  border-radius: 2px;
  outline: 2px solid transparent;
  outline-offset: 2px;
  transition: border-color 0.2s, outline-color 0.2s;
}

.legal-body a:hover {
  border-color: #1d7c80;
}

.legal-body a:focus-visible {
  outline-color: #1d7c80;
}

.legal-body address {
  font-style: normal;
  line-height: 1.8;
  margin-top: 8px;
}

/* Footer on legal pages */
.legal-footer-row {
  padding: 28px 6%;
  border-top: 1px solid rgba(5, 46, 40, 0.1);
  background: #f9f8f5;
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 768px) {
  .legal-page {
    padding: 90px 6% 72px;
  }

  .legal-meta {
    margin-bottom: 48px;
  }

  .legal-body {
    font-size: 15px;
  }

  .legal-body h2 {
    font-size: 18px;
    margin-top: 40px;
  }
}

@media (max-width: 480px) {
  .legal-page {
    padding: 120px 5% 64px;
  }
}
