/* Dleaftech — shared legal pages */
:root {
  --orange: #FF9500;
  --pink: #FF4D8D;
  --purple: #9B2FE0;
  --navy: #0F0F14;
  --text: #2A2A35;
  --muted: #6E7078;
  --bg: #FFFFFF;
  --bg-soft: #F7F6FA;
  --border: #E6E4EE;
  --shadow: 0 12px 40px rgba(155, 47, 224, 0.08);
  --grad-logo: linear-gradient(90deg, #FF9500 0%, #FF4D8D 50%, #9B2FE0 100%);
  --grad-btn: linear-gradient(90deg, #FF9500 0%, #FF4D8D 48%, #9B2FE0 100%);
  --container: 1140px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Poppins", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 22px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-gradient {
  background: var(--grad-btn);
  color: #fff;
  box-shadow: 0 8px 24px rgba(255, 77, 141, 0.28);
}

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #ffffff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.header::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-logo);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 20px;
}
.logo-img { height: 40px; width: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--purple); }

.legal-hero {
  padding: 48px 0 28px;
  background:
    radial-gradient(ellipse 50% 60% at 0% 0%, rgba(255, 149, 0, 0.07), transparent 55%),
    radial-gradient(ellipse 45% 50% at 100% 0%, rgba(155, 47, 224, 0.06), transparent 55%),
    #fff;
  border-bottom: 1px solid var(--border);
}
.legal-hero .eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  background: var(--grad-logo);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 10px;
}
.legal-hero h1 {
  font-size: clamp(1.75rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 10px;
}
.legal-hero .updated {
  font-size: 14px;
  color: var(--muted);
}

.legal-content {
  padding: 48px 0 72px;
  max-width: 800px;
}
.legal-content h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  margin: 32px 0 12px;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
  margin: 22px 0 8px;
}
.legal-content p,
.legal-content li {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 12px;
}
.legal-content ul {
  list-style: disc;
  padding-left: 22px;
  margin-bottom: 16px;
}
.legal-content a {
  color: var(--purple);
  font-weight: 500;
}
.legal-content a:hover { text-decoration: underline; }
.legal-nav-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 36px;
}
.legal-nav-cards a {
  display: block;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-soft);
  color: var(--navy);
  font-weight: 600;
  font-size: 14px;
  transition: 0.2s;
}
.legal-nav-cards a:hover {
  border-color: transparent;
  box-shadow: var(--shadow);
  background: #fff;
  text-decoration: none;
  color: var(--purple);
}

.footer {
  background: #ffffff;
  padding: 48px 0 0;
  border-top: 1px solid var(--border);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 40px;
}
.footer-brand p {
  font-size: 13.5px;
  color: var(--muted);
  margin: 16px 0 0;
  max-width: 280px;
  line-height: 1.6;
}
.footer-logo { height: 44px; }
.footer-col h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col a {
  font-size: 13.5px;
  color: var(--muted);
}
.footer-col a:hover { color: var(--purple); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--muted);
}
.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.footer-bottom-links a:hover { color: var(--purple); }
.footer-bottom-links span { opacity: 0.4; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .legal-nav-cards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
  .container { width: min(100% - 28px, var(--container)); }
}
