/* ---------------------------------------------
   DiPStrategy -- Legal Pages (Privacy Policy, T&C)
   style/legal.css
   --------------------------------------------- */

.legal-hero {
  background:
    radial-gradient(circle at 82% 18%, #6adca0 0%, rgba(106,220,160,0) 30%),
    linear-gradient(135deg, #1a6640 0%, #3DB878 48%, #145230 100%);
  padding: 180px 56px 100px;
  position: relative;
  overflow: hidden;
}

.legal-hero-pattern {
  position: absolute; inset: 0;
  background-image: url('../assets/pattern-02.png');
  background-repeat: repeat;
  opacity: 0.18; z-index: 0;
  pointer-events: none;
}

.legal-hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.22) 48%, rgba(0,0,0,0) 100%),
    linear-gradient(90deg, rgba(0,0,0,0.32) 0%, rgba(0,0,0,0.06) 52%, rgba(0,0,0,0.18) 100%);
  z-index: 1;
  pointer-events: none;
}

.legal-hero-inner {
  position: relative; z-index: 2;
  max-width: 1000px;
  margin: 0 auto;
}

.legal-label {
  font-family: 'Barlow', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 20px;
}

.legal-h1 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: clamp(32px, 5vw, 64px);
  line-height: 1.05;
  color: #fff;
  margin-bottom: 16px;
}

.legal-h1 span {
  color: var(--lime);
}

.legal-updated {
  font-family: 'Barlow', sans-serif;
  font-size: 13px;
  font-weight: 300;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.04em;
}

/* --- BODY --- */
.legal-body {
  background: #f8f8f4;
  padding: 80px 56px 140px;
}

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

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

.legal-section-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: clamp(16px, 1.8vw, 20px);
  color: var(--navy);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--lime);
  display: inline-block;
}

.legal-section p,
.legal-section li {
  font-family: 'Barlow', sans-serif;
  font-weight: 300;
  font-size: 15px;
  line-height: 1.85;
  color: rgba(9,53,100,0.75);
}

.legal-section p + p {
  margin-top: 12px;
}

.legal-section ul,
.legal-section ol {
  margin: 12px 0 12px 20px;
}

.legal-section li {
  margin-bottom: 6px;
}

.legal-section a {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal-section a:hover { color: #0b5ca3; }

.legal-section strong {
  font-weight: 500;
  color: var(--navy);
}

.legal-contact-box {
  background: var(--navy);
  border-radius: 12px;
  padding: 28px 32px;
  margin-top: 16px;
}

.legal-contact-box p,
.legal-contact-box a {
  color: rgba(255,255,255,0.75);
  font-family: 'Barlow', sans-serif;
  font-size: 14px;
  line-height: 1.8;
  font-weight: 300;
}

.legal-contact-box a {
  color: var(--lime);
  text-decoration: none;
}
.legal-contact-box a:hover { text-decoration: underline; }

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
  .legal-hero { padding: 140px 24px 60px; }
  .legal-body { padding: 60px 24px 80px; }
}
