/* Privacy / Legal page styles */

.legal-body {
  background: var(--surface, #f5fafa);
}

/* Override nav background for legal pages */
.legal-body .nav {
  background: rgba(245, 250, 250, 0.9);
}

.legal-main {
  padding: 60px 32px 100px;
}

.legal-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 56px 64px;
  max-width: 760px;
  margin: 0 auto;
  box-shadow: 0 4px 32px rgba(49, 159, 153, 0.07);
}

.legal-header {
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid #e8f0ef;
}

.legal-header h1 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text, #1d1d1f);
  margin: 16px 0 12px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-dark, #319f99);
  transition: opacity 0.2s;
}
.back-link:hover { opacity: 0.7; }

.lang-link {
  display: inline-block;
  font-size: 0.88rem;
  color: var(--text-secondary, #6e6e73);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}
.lang-link:hover { color: var(--primary-dark, #319f99); }

.legal-section {
  margin-bottom: 40px;
}

.legal-section:last-child {
  margin-bottom: 0;
}

.legal-section h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text, #1d1d1f);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.legal-section h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text, #1d1d1f);
  margin: 20px 0 10px;
}

.legal-section p {
  font-size: 0.97rem;
  color: var(--text-secondary, #6e6e73);
  line-height: 1.75;
  margin-bottom: 14px;
}

.legal-section p:last-child { margin-bottom: 0; }

.legal-section ul {
  list-style: none;
  margin: 12px 0 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.legal-section ul li {
  display: flex;
  gap: 10px;
  font-size: 0.97rem;
  color: var(--text-secondary, #6e6e73);
  line-height: 1.65;
}

.legal-section ul li::before {
  content: '';
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  background: var(--primary, #50C9C3);
  border-radius: 50%;
  margin-top: 9px;
}

.legal-section a {
  color: var(--primary-dark, #319f99);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.2s;
}
.legal-section a:hover { opacity: 0.75; }

.legal-section strong { color: var(--text, #1d1d1f); font-weight: 600; }

@media (max-width: 640px) {
  .legal-card {
    padding: 32px 24px;
    border-radius: 16px;
  }

  .legal-main {
    padding: 32px 16px 72px;
  }
}
