/* DEVELOPED BY TRENZY TECH |+2347047889687 | COPYRIGHT © 2026 YMG FUNDS. ALL RIGHTS RESERVED. */
.legal-hero {
  background: var(--green-dark);
  padding: 140px 32px 90px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.legal-hero::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  background: var(--green-light);
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.08;
  top: -160px; left: -120px;
}

.legal-hero::after {
  content: '';
  position: absolute;
  width: 380px; height: 380px;
  background: var(--gold);
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.06;
  bottom: -100px; right: -80px;
}

.legal-hero-container {
  max-width: 620px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  animation: fadeUp 0.8s ease both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.legal-hero-icon {
  width: 64px; height: 64px;
  background: rgba(201, 168, 76, 0.1);
  border: 1px solid rgba(201, 168, 76, 0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--gold);
  margin: 0 auto 20px;
}

.legal-hero h1 {
  font-family: 'Inter', sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -0.3px;
}

.legal-hero h1 .accent { color: var(--gold); }

.legal-hero p {
  font-size: 16.5px;
  color: var(--text-body);
  line-height: 1.75;
  font-weight: 300;
  margin-bottom: 16px;
}

.legal-date {
  display: inline-block;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.06);
  border-radius: 100px;
  padding: 5px 14px;
}

.legal-content {
  background: #f0f4f0;
  padding: 72px 32px;
}

.legal-layout {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 56px;
  align-items: start;
}

.legal-sidebar {
  position: sticky;
  top: 96px;
  background: var(--white);
  border-radius: 16px;
  padding: 24px 20px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
}

.sidebar-title {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: #7a8f80;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 14px;
}

.legal-sidebar ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sidebar-link {
  display: block;
  font-size: 13.5px;
  font-weight: 500;
  color: #6b7f70;
  padding: 8px 10px;
  border-radius: 8px;
  transition: background 0.15s ease, color 0.15s ease;
  border-left: 2px solid transparent;
}

.sidebar-link:hover {
  background: #f5f7f5;
  color: #0d1f13;
}

.sidebar-link.active {
  background: rgba(201, 168, 76, 0.08);
  color: var(--green-deep);
  border-left-color: var(--gold);
  font-weight: 600;
}

.legal-body {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.legal-section {
  background: var(--white);
  border-radius: 16px;
  padding: 36px 32px;
  scroll-margin-top: 100px;
}

.legal-section-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f0f0f0;
}

.legal-section-icon {
  width: 42px; height: 42px;
  background: rgba(201, 168, 76, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  color: var(--gold);
  flex-shrink: 0;
}

.legal-section h2 {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #0d1f13;
}

.legal-section p {
  font-size: 14.5px;
  color: #5a7060;
  line-height: 1.82;
  margin-bottom: 14px;
}

.legal-section p:last-child { margin-bottom: 0; }

.data-group {
  background: #f8faf8;
  border-radius: 12px;
  padding: 20px 20px;
  margin: 16px 0;
  border: 1px solid #e8ede8;
}

.data-group h3 {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #0d1f13;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.data-group h3 i { color: var(--gold); }

.legal-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin: 14px 0;
}

.legal-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: #5a7060;
  line-height: 1.7;
}

.legal-list li i {
  font-size: 13px;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 3px;
}

.legal-list li strong {
  color: #0d1f13;
  font-weight: 600;
}

.legal-warning {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(201, 168, 76, 0.07);
  border: 1px solid rgba(201, 168, 76, 0.28);
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 20px;
}

.legal-warning i {
  color: var(--gold);
  font-size: 17px;
  flex-shrink: 0;
  margin-top: 2px;
}

.legal-warning p { font-size: 14px; color: #5a7060; line-height: 1.7; margin: 0; }

.legal-highlight {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(13, 51, 32, 0.05);
  border: 1px solid rgba(13, 51, 32, 0.12);
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 20px;
}

.legal-highlight i {
  color: var(--green-deep);
  font-size: 17px;
  flex-shrink: 0;
  margin-top: 2px;
}

.legal-highlight p {
  font-size: 14.5px;
  color: var(--green-deep);
  font-weight: 600;
  line-height: 1.6;
  margin: 0;
}

.legal-contact-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: #f5f7f5;
  border-radius: 14px;
  overflow: hidden;
  margin-top: 20px;
  border: 1px solid #e8ede8;
}

.legal-contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border-bottom: 1px solid #e8ede8;
  transition: background 0.15s ease;
}

.legal-contact-item:last-child { border-bottom: none; }
.legal-contact-item:hover { background: #eef2ee; }

.legal-contact-item i {
  width: 40px; height: 40px;
  background: rgba(201, 168, 76, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--gold);
  flex-shrink: 0;
}

.legal-contact-item h4 {
  font-family: 'Inter', sans-serif;
  font-size: 11.5px;
  font-weight: 600;
  color: #7a8f80;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-bottom: 3px;
}

.legal-contact-item a,
.legal-contact-item p {
  font-size: 14px;
  color: #0d1f13;
  font-weight: 500;
  margin: 0;
}

.legal-contact-item a { transition: color 0.2s ease; }
.legal-contact-item a:hover { color: var(--gold); }

@media (max-width: 900px) {
  .legal-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .legal-sidebar {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 16px;
  }

  .sidebar-title { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  .legal-section { padding: 24px 20px; }
  .legal-sidebar { grid-template-columns: 1fr; }
}