﻿/* ===== LEGAL PAGES ===== */

.legal-page {
  padding-top: 100px;
  padding-bottom: 60px;
  min-height: 100vh;
  background: linear-gradient(180deg, #f0faf5 0%, #fff 40%);
}

.legal-topbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(46, 125, 94, 0.08);
  box-shadow: 0 4px 18px rgba(26, 82, 71, 0.08);
}

.legal-topbar-inner {
  display: flex;
  align-items: center;
  min-height: 72px;
}

.legal-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #1a5247;
  text-decoration: none;
  font-weight: 800;
}

.legal-brand-logo {
  width: 32px;
  height: 32px;
  display: block;
  object-fit: contain;
  flex-shrink: 0;
}

.legal-brand-name {
  font-size: 1.05rem;
  color: #1a5247;
}

.legal-shell {
  max-width: 960px;
  margin: 0 auto;
}

.legal-header {
  text-align: center;
  margin-bottom: 28px;
}

.legal-header h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  color: #1a1a2e;
  margin-top: 16px;
  margin-bottom: 8px;
}

.legal-updated {
  color: #888;
  font-size: 0.9rem;
}

.legal-lead {
  max-width: 720px;
  margin: 0 auto 12px;
  color: #4d5a57;
  font-size: 1rem;
  line-height: 1.8;
}

.legal-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 0 auto 20px;
}

.summary-card {
  background: linear-gradient(135deg, rgba(46, 125, 94, 0.1), rgba(244, 162, 97, 0.08));
  border: 1px solid rgba(46, 125, 94, 0.12);
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 8px 24px rgba(46, 125, 94, 0.06);
}

.summary-card strong {
  display: inline-block;
  margin-bottom: 8px;
  color: #1f5f46;
  font-size: 0.98rem;
}

.summary-card p {
  color: #485652;
  line-height: 1.7;
  font-size: 0.95rem;
}

.legal-content {
  max-width: 820px;
  margin: 0 auto;
  background: #fff;
  border-radius: 20px;
  padding: 40px 36px;
  box-shadow: 0 4px 30px rgba(46, 125, 94, 0.06);
  border: 1px solid rgba(46, 125, 94, 0.08);
}

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

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

.legal-section h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #2e7d5e;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(46, 125, 94, 0.1);
}

.legal-section h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: #333;
  margin-top: 18px;
  margin-bottom: 10px;
}

.legal-section p {
  color: #444;
  line-height: 1.8;
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.legal-section ul {
  list-style: none;
  padding: 0;
  margin: 0 0 12px 0;
}

.legal-section ul li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  color: #444;
  line-height: 1.7;
  font-size: 0.95rem;
}

.legal-section ul li::before {
  content: '•';
  position: absolute;
  left: 8px;
  top: 0;
  color: #2e7d5e;
  font-weight: 700;
  font-size: 1.1rem;
}

.legal-steps {
  counter-reset: legal-steps;
  margin: 0;
  padding: 0;
  list-style: none;
}

.legal-steps li {
  position: relative;
  padding-left: 54px;
  margin-bottom: 14px;
  min-height: 36px;
  color: #444;
  line-height: 1.7;
  font-size: 0.95rem;
}

.legal-steps li::before {
  counter-increment: legal-steps;
  content: counter(legal-steps);
  position: absolute;
  left: 0;
  top: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #2e7d5e;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 6px 18px rgba(46, 125, 94, 0.18);
}

.legal-section a {
  color: #2e7d5e;
  text-decoration: underline;
  font-weight: 500;
  transition: color 0.2s;
}

.legal-section a:hover {
  color: #1d5c42;
}

.contact-box {
  background: linear-gradient(135deg, rgba(46, 125, 94, 0.06), rgba(46, 125, 94, 0.02));
  border: 1px solid rgba(46, 125, 94, 0.12);
  border-radius: 14px;
  padding: 20px 24px;
  margin-top: 12px;
}

.contact-box p {
  margin-bottom: 6px;
  color: #333;
}

.contact-box p:last-child {
  margin-bottom: 0;
}

.manual-request-box {
  background: linear-gradient(145deg, rgba(46, 125, 94, 0.08), rgba(255, 255, 255, 0.95));
  border: 1px solid rgba(46, 125, 94, 0.18);
  border-radius: 18px;
  padding: 24px;
  text-align: left;
}

.manual-request-box h3 {
  margin-top: 0;
  margin-bottom: 10px;
  color: #1f5f46;
}

.manual-request-button {
  margin-top: 10px;
}

.legal-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding-bottom: 28px;
  text-align: center;
}

.legal-footer-brand {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: #fff;
  text-decoration: none;
}

.legal-footer-logo {
  width: 24px;
  height: 24px;
  display: block;
  object-fit: contain;
}

.legal-footer-name {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
}

.legal-footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.6);
}

.legal-footer-nav a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.legal-footer-nav a:hover {
  color: #fff;
}

.legal-footer-nav span {
  color: rgba(255, 255, 255, 0.45);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .legal-page {
    padding-top: 80px;
    padding-bottom: 40px;
  }

  .legal-summary {
    grid-template-columns: 1fr;
  }

  .legal-content {
    padding: 24px 20px;
    border-radius: 16px;
  }

  .legal-header h1 {
    font-size: 1.6rem;
  }

  .legal-section h2 {
    font-size: 1.1rem;
  }

  .legal-topbar-inner {
    min-height: 64px;
  }
}

@media (max-width: 480px) {
  .legal-content {
    padding: 20px 16px;
    border-radius: 12px;
  }

  .legal-steps li {
    padding-left: 46px;
  }

  .legal-steps li::before {
    width: 30px;
    height: 30px;
  }

  .legal-brand-name {
    font-size: 1rem;
  }

  .legal-footer-nav {
    gap: 6px;
    font-size: 0.9rem;
  }
}

