/* Privacy policy — split layout + accordion (after legal-page.css) */

.lgv-layout {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
  max-width: 1120px;
  margin: 0 auto;
  padding: 3rem 1.5rem 0;
}

.lgv-intro {
  position: sticky;
  top: 2rem;
  text-align: start;
}

.lgv-shield {
  display: grid;
  place-items: center;
  width: 4.5rem;
  height: 4.5rem;
  margin-bottom: 1.75rem;
  border-radius: 24px;
  color: #c9cbff;
  background: linear-gradient(135deg, rgba(148, 151, 250, 0.3), rgba(116, 120, 248, 0.08));
  border: 1px solid rgba(148, 151, 250, 0.5);
  box-shadow: 0 0 60px -10px rgba(116, 120, 248, 0.7);
}

.lgv-shield svg {
  width: 2rem;
  height: 2rem;
}

.lgv-title {
  margin: 0;
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  background: linear-gradient(90deg, #f4f0ff 0%, #b8baff 55%, #7eb8ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lgv-intro .lg-lead {
  margin-top: 1.5rem;
  font-size: 0.86rem;
}

.lgv-contact {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-top: 2rem;
  padding-inline-start: 1.1rem;
  border-inline-start: 3px solid #7478f8;
}

.lgv-contact span {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #7478f8;
}

.lgv-contact a {
  font-size: 0.95rem;
  font-weight: 600;
  color: #ececf5;
  text-decoration: none;
  transition: color 0.2s;
}

.lgv-contact a:hover {
  color: #9497fa;
}

.lgv-list {
  border-top: 1px solid rgba(148, 151, 250, 0.4);
}

.lgv-item {
  border-bottom: 1px solid rgba(148, 151, 250, 0.2);
  transition: background 0.3s ease;
}

.lgv-item[open] {
  background: linear-gradient(90deg, rgba(116, 120, 248, 0.1), transparent 80%);
}

html[dir="rtl"] .lgv-item[open] {
  background: linear-gradient(270deg, rgba(116, 120, 248, 0.1), transparent 80%);
}

.lgv-item summary {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.5rem 0.5rem;
  list-style: none;
  cursor: pointer;
}

.lgv-item summary::-webkit-details-marker {
  display: none;
}

.lgv-item h2 {
  flex: 1;
  margin: 0;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  font-weight: 600;
  line-height: 1.3;
  color: #f1f1fa;
  transition: color 0.2s;
}

.lgv-item summary:hover h2 {
  color: #fff;
}

.lgv-plus {
  position: relative;
  flex: none;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 1px solid rgba(116, 120, 248, 0.45);
  transition: background 0.25s, border-color 0.25s, transform 0.3s;
}

.lgv-plus::before,
.lgv-plus::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  border-radius: 2px;
  background: #9497fa;
  transform: translate(-50%, -50%);
  transition: transform 0.3s, background 0.25s;
}

.lgv-plus::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.lgv-item summary:hover .lgv-plus {
  border-color: #9497fa;
}

.lgv-item[open] .lgv-plus {
  background: #7478f8;
  border-color: #7478f8;
}

.lgv-item[open] .lgv-plus::before,
.lgv-item[open] .lgv-plus::after {
  background: #fff;
}

.lgv-item[open] .lgv-plus::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.lgv-body {
  padding: 0 0.5rem 1.75rem;
  animation: lgvOpen 0.35s ease both;
}

.lgv-body p {
  margin: 0;
  max-width: 56ch;
  font-size: 0.9rem;
  line-height: 1.85;
  color: #a9aebb;
}

@keyframes lgvOpen {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.lgv-actions {
  max-width: none;
  margin-top: 2.5rem;
  padding: 0;
  justify-content: flex-start;
}

@media (max-width: 900px) {
  .lgv-layout {
    grid-template-columns: 1fr;
    padding-top: 2rem;
  }

  .lgv-intro {
    position: static;
  }
}

@media (max-width: 560px) {
  .lgv-item summary {
    gap: 0.9rem;
    padding: 1.25rem 0;
  }

  .lgv-body {
    padding: 0 0 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lgv-body {
    animation: none;
  }

  .lgv-plus,
  .lgv-plus::before,
  .lgv-plus::after,
  .lgv-item {
    transition: none;
  }
}
