/* Language2Go — public site overlay: legal pages (privacy policy, consent,
   terms of use, payments), cookie banner, footer legal links, lead-form
   consent text. Design tokens match site-catalog.css / site-lead.css. */

/* ------------------------------------------------------------------ */
/* Legal document layout (shared by all four legal pages)             */
/* ------------------------------------------------------------------ */

.l2g-legal-wrap {
  max-width: 860px;
  margin: 8px auto 64px;
  padding: 0 20px;
  font-family: "Open Sans", "Segoe UI", Arial, sans-serif;
  color: #202229;
  box-sizing: border-box;
}

.l2g-legal-header {
  margin-bottom: 28px;
}

.l2g-legal-title {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  color: #202229;
  margin: 0 0 10px;
  line-height: 1.3;
}

.l2g-legal-revision {
  font-size: 13.5px;
  color: #60616b;
  margin: 0;
}

.l2g-legal-toc {
  margin: 24px 0 32px;
  padding: 20px 24px;
  background: #f6f3fb;
  border: 1px solid #e6e1f0;
  border-radius: 16px;
}

.l2g-legal-toc-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #7c2d91;
  margin: 0 0 12px;
}

.l2g-legal-toc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  columns: 1;
}

.l2g-legal-toc-list li {
  margin: 0 0 8px;
}

.l2g-legal-toc-list a {
  color: #202229;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.5;
}

.l2g-legal-toc-list a:hover {
  color: #7c2d91;
  text-decoration: underline;
}

.l2g-legal-body {
  font-size: 15px;
  line-height: 1.7;
  color: #202229;
}

.l2g-legal-section {
  margin: 0 0 30px;
  scroll-margin-top: 24px;
}

.l2g-legal-section h2 {
  font-size: 19px;
  font-weight: 700;
  color: #202229;
  margin: 0 0 12px;
  padding-top: 6px;
  border-top: 1px solid #e6e1f0;
}

.l2g-legal-section:first-of-type h2 {
  border-top: none;
  padding-top: 0;
}

.l2g-legal-section p {
  margin: 0 0 14px;
}

.l2g-legal-section ul,
.l2g-legal-section ol {
  margin: 0 0 14px;
  padding-left: 22px;
}

.l2g-legal-section li {
  margin: 0 0 8px;
}

.l2g-legal-section a {
  color: #7c2d91;
  text-decoration: underline;
}

.l2g-legal-section strong {
  font-weight: 700;
}

.l2g-legal-placeholder {
  color: #a63cc4;
  font-weight: 700;
}

.l2g-legal-note {
  margin-top: 30px;
  padding: 16px 20px;
  background: #f6f3fb;
  border: 1px solid #e6e1f0;
  border-radius: 14px;
  font-size: 13.5px;
  color: #60616b;
}

@media (min-width: 640px) {
  .l2g-legal-toc-list {
    columns: 2;
    column-gap: 24px;
  }
}

@media (max-width: 640px) {
  .l2g-legal-wrap {
    padding: 0 16px;
    margin-top: 4px;
  }

  .l2g-legal-toc {
    padding: 16px 18px;
  }

  .l2g-legal-body {
    font-size: 14.5px;
  }
}

/* ------------------------------------------------------------------ */
/* Cookie banner (all pages)                                          */
/* ------------------------------------------------------------------ */

.l2g-cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 9000;
  max-width: 620px;
  margin: 0 auto;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(60, 20, 90, .18);
  padding: 20px 24px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 20px;
  font-family: "Open Sans", "Segoe UI", Arial, sans-serif;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .3s ease, transform .3s ease;
  pointer-events: none;
}

.l2g-cookie-banner.l2g-cookie-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.l2g-cookie-text {
  flex: 1 1 auto;
  font-size: 13.5px;
  line-height: 1.55;
  color: #60616b;
  margin: 0;
}

.l2g-cookie-text a {
  color: #7c2d91;
  text-decoration: underline;
}

.l2g-cookie-accept {
  appearance: none;
  border: none;
  flex: none;
  border-radius: 10px;
  padding: 12px 24px;
  background: #7c2d91;
  color: #fff;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 700;
  cursor: pointer;
  transition: background .25s;
}

.l2g-cookie-accept:hover {
  background: #a63cc4;
}

@media (max-width: 640px) {
  .l2g-cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 18px 18px 16px;
  }

  .l2g-cookie-accept {
    width: 100%;
  }
}
