/* Landing — yasal bolum, onay kutulari, metin modallari */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.lp-legal-section {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.lp-legal-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 36px;
}

.lp-legal-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.lp-legal-card:hover {
  border-color: rgba(232, 84, 47, 0.25);
  box-shadow: 0 8px 28px rgba(22, 20, 26, 0.06);
}
.lp-legal-card .icon {
  font-size: 28px;
  line-height: 1;
}
.lp-legal-card h3 {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.lp-legal-card p {
  font-size: 13.5px;
  color: var(--ink-soft);
  flex: 1;
  line-height: 1.55;
}
.lp-legal-card a {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-dark);
  margin-top: 4px;
}
.lp-legal-card a:hover { text-decoration: underline; }

/* Uyelik kosullari — Avon tarzi */
.lp-terms-box {
  background: linear-gradient(135deg, var(--accent-soft) 0%, #fff 60%);
  border: 1px solid rgba(232, 84, 47, 0.14);
  border-radius: 20px;
  padding: clamp(24px, 4vw, 32px);
  margin-top: 28px;
}
.lp-terms-box h3 {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 16px;
}
.lp-terms-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.lp-terms-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.5;
}
.lp-terms-list li::before {
  content: '✓';
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}
.lp-terms-note {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed rgba(22, 20, 26, 0.12);
}

/* Form onay kutulari */
.lp-consent-group {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 8px 0 18px;
  padding: 16px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.lp-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink-soft);
  cursor: pointer;
}
.lp-consent input[type="checkbox"] {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--accent);
  cursor: pointer;
}
.lp-consent a {
  color: var(--accent-dark);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.lp-consent--optional { opacity: 0.92; }
.lp-consent-error {
  font-size: 12px;
  color: #c0392b;
  margin-top: -8px;
  margin-bottom: 8px;
  display: none;
}
.lp-consent-error.is-show { display: block; }

/* Yasal modal */
.lp-legal-backdrop { z-index: 1100; }
.lp-legal-modal {
  max-width: min(720px, 96vw);
  padding: 0;
  display: flex;
  flex-direction: column;
  max-height: min(88vh, 820px);
}
.lp-legal-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px 16px;
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}
.lp-legal-modal-head h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.3;
}
.lp-legal-close {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border: none;
  background: var(--bg);
  border-radius: 50%;
  font-size: 22px;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.lp-legal-close:hover {
  background: var(--line);
  color: var(--ink);
}
.lp-legal-modal-body {
  padding: 20px 24px;
  overflow-y: auto;
  flex: 1;
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-soft);
}
.lp-legal-modal-body h4 {
  font-size: 14px;
  font-weight: 800;
  color: var(--ink);
  margin: 20px 0 8px;
}
.lp-legal-modal-body h4:first-child { margin-top: 0; }
.lp-legal-modal-body p { margin-bottom: 10px; }
.lp-legal-modal-body ul {
  margin: 0 0 12px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.lp-legal-modal-body a {
  color: var(--accent-dark);
  font-weight: 600;
  text-decoration: underline;
}
.lp-legal-meta {
  font-size: 12px;
  color: var(--muted);
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.lp-legal-modal-foot {
  padding: 14px 24px 20px;
  border-top: 1px solid var(--line);
  flex-shrink: 0;
  display: flex;
  justify-content: flex-end;
}

/* Footer yasal linkler — artik landing.css icinde */

@media (max-width: 640px) {
  .lp-legal-modal-head,
  .lp-legal-modal-body,
  .lp-legal-modal-foot { padding-left: 18px; padding-right: 18px; }
}
