/* =============================================
   PARKAR.IN - Legal Pages Styles
   css/legal.css
   Used by: pages/FooterPages/PrivacyPolicy.html
             pages/FooterPages/TermsOfUse.html
   ============================================= */

/* ─── Base ─── */
body {
  font-family: var(--font-body);
  background-color: var(--navy);
  color: var(--white);
  overflow-x: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
body::-webkit-scrollbar { display: none; }

/* ══════════════════════════════════════
   LEGAL HERO
══════════════════════════════════════ */
.legal-hero {
  position: relative;
  padding-top: 80px;
  text-align: center;
  overflow: hidden;
  background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(27,174,159,0.09) 0%, transparent 65%),
              var(--navy);
}
.legal-hero-inner {
  padding: 88px 0 56px;
  max-width: 720px;
  margin: 0 auto;
}
.legal-hero-inner .section-label {
  display: block;
  margin-bottom: 20px;
}
.legal-hero-inner h1 {
  font-family: var(--font-head);
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.3px;
  color: var(--white);
  margin-bottom: 16px;
}
.legal-hero-inner h1 span { color: var(--teal); }
.legal-hero-date {
  font-size: 14px;
  color: rgba(27,50,48,0.4);
}

/* ══════════════════════════════════════
   LEGAL BODY
══════════════════════════════════════ */
.legal-body {
  padding: 64px 0 120px;
  background: var(--navy);
  border-top: 1px solid var(--border);
}
.legal-content {
  max-width: 780px;
  margin: 0 auto;
}
.legal-content h2 {
  font-family: var(--font-head);
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 700;
  line-height: 1.3;
  color: var(--white);
  margin: 48px 0 16px;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 {
  font-family: var(--font-head);
  font-size: clamp(16px, 1.6vw, 20px);
  font-weight: 700;
  line-height: 1.4;
  color: var(--white);
  margin: 32px 0 12px;
}
.legal-content p {
  font-size: 16px;
  line-height: 1.9;
  color: rgba(27,50,48,0.68);
  margin-bottom: 16px;
}
.legal-content p strong {
  color: var(--white);
  font-weight: 600;
}
.legal-content a {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.2s;
}
.legal-content a:hover { opacity: 0.75; }
.legal-content ul,
.legal-content ol {
  padding-left: 0;
  margin: 0 0 20px;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.legal-content ul li,
.legal-content ol li {
  font-size: 16px;
  line-height: 1.85;
  color: rgba(27,50,48,0.68);
  padding-left: 24px;
  position: relative;
}
.legal-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  opacity: 0.55;
}
.legal-content ol {
  counter-reset: legal-counter;
}
.legal-content ol li {
  counter-increment: legal-counter;
}
.legal-content ol li::before {
  content: counter(legal-counter) '.';
  position: absolute;
  left: 0;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  color: var(--teal);
}
.legal-content hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 40px 0;
}

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .legal-hero-inner { padding: 64px 0 48px; }
}
