.site-footer {
  width: 100%;
  margin-top: auto;
  padding-top: 24px;
  padding-bottom: max(28px, env(safe-area-inset-bottom));
  padding-left: max(16px, env(safe-area-inset-left));
  padding-right: max(16px, env(safe-area-inset-right));
  text-align: center;
  color: #1f2937;
}

.site-footer-copy {
  font-size: 0.92rem;
  font-weight: 400;
  color: #1f2937;
  margin-bottom: 18px;
}

.site-footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 28px;
}

.site-footer-link {
  color: #1f2937;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 400;
  cursor: pointer;
  transition: color 0.15s ease;
}

.site-footer-link:hover,
.site-footer-link.active {
  color: #1a73e8;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.legal-page-wrap {
  width: 100%;
  max-width: 720px;
  margin: 8px auto 24px auto;
  text-align: left;
}

.legal-page-nav {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.legal-back-btn {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #334155;
  min-height: 36px;
  padding: 6px 16px;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.15s ease;
}

.legal-back-btn:hover {
  border-color: #cbd5e1;
  color: #090d16;
  background: #f1f5f9;
}

.legal-page-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: clamp(22px, 4vw, 34px);
  box-shadow: 0 2px 10px -2px rgba(15, 23, 42, 0.04);
}

.legal-page-title {
  font-size: clamp(1.35rem, 3vw, 1.7rem);
  font-weight: 700;
  color: #090d16;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.legal-page-meta {
  font-size: 0.82rem;
  color: #64748b;
  margin-bottom: 20px;
}

.legal-page-lead {
  font-size: 0.98rem;
  color: #334155;
  line-height: 1.65;
  margin-bottom: 20px;
}

.legal-section {
  margin-top: 20px;
}

.legal-section h2 {
  font-size: 1rem;
  font-weight: 700;
  color: #090d16;
  margin-bottom: 6px;
}

.legal-section p {
  font-size: 0.93rem;
  color: #334155;
  line-height: 1.65;
}

.legal-section a {
  color: #1a73e8;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-list {
  margin-top: 8px;
  padding-left: 20px;
  color: #334155;
  font-size: 0.93rem;
  line-height: 1.65;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-box {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 18px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  margin-bottom: 20px;
}

.contact-box-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
}

.contact-box-email {
  font-size: 1rem;
  font-weight: 600;
  color: #1a73e8;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.contact-box-email:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 480px) {
  .site-footer-nav {
    gap: 10px 18px;
  }

  .site-footer-copy,
  .site-footer-link {
    font-size: 0.86rem;
  }
}