/* Site Leads — açık zeminli kart (tema koyu olduğu için kendi paletini taşır).
   Marka: koyu zeytin #16280A, lime #A4E22B (lime YALNIZ zemin, yazı değil).
   Mobil önce: alttan açılan kart; ≥640px ortada pencere. */
.slp {
  --sl-ink: #16280A;
  --sl-muted: #5F6B57;
  --sl-line: #DFE5D3;
  --sl-soft: #F2F5EC;
  --sl-lime: #A4E22B;
  --sl-err: #b42318;
  position: fixed; inset: 0; z-index: 100000;
  display: flex; align-items: flex-end; justify-content: center;
  font-family: inherit; color: var(--sl-ink);
}
.slp[hidden] { display: none; }
.slp-bd { position: absolute; inset: 0; background: rgba(10, 18, 6, .62); opacity: 0; transition: opacity .25s ease; }
.slp.is-open .slp-bd { opacity: 1; }

.slp-card {
  position: relative; width: 100%; max-height: 92vh; overflow-y: auto;
  background: #fff; border-radius: 18px 18px 0 0;
  padding: 26px 20px calc(20px + env(safe-area-inset-bottom));
  box-shadow: 0 -10px 40px rgba(0,0,0,.25);
  transform: translateY(100%); transition: transform .3s cubic-bezier(.2,.8,.2,1);
}
.slp.is-open .slp-card { transform: none; }

.slp-x {
  position: absolute; top: 8px; inset-inline-end: 8px;
  width: 40px; height: 40px; border: 0; border-radius: 50%;
  background: transparent; color: var(--sl-muted); font-size: 26px; line-height: 1; cursor: pointer;
}
.slp-x:hover, .slp-x:focus-visible { background: var(--sl-soft); color: var(--sl-ink); }

.slp-badge {
  display: inline-block; margin: 0 0 12px; padding: 6px 14px; border-radius: 999px;
  background: var(--sl-lime); color: var(--sl-ink); font-weight: 800; font-size: 20px; letter-spacing: .01em;
}
.slp-t { margin: 0 0 6px; padding-inline-end: 36px; font-size: 22px; line-height: 1.25; font-weight: 800; color: var(--sl-ink); }
.slp-p { margin: 0 0 16px; font-size: 15px; line-height: 1.5; color: var(--sl-muted); }

.slp-form { display: grid; gap: 10px; }
.slp-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.slp-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.slp-in {
  width: 100%; box-sizing: border-box; padding: 13px 14px; font: inherit; font-size: 16px; /* iOS yakınlaştırmasın */
  color: var(--sl-ink); background: #fff; border: 1px solid var(--sl-line); border-radius: 10px;
}
.slp-in::placeholder { color: #8a9482; }
.slp-in:focus { outline: none; border-color: var(--sl-ink); box-shadow: 0 0 0 3px rgba(164,226,43,.45); }
.slp-in.is-bad { border-color: var(--sl-err); }

.slp-ok { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.45; color: var(--sl-muted); cursor: pointer; }
.slp-ok input { flex: 0 0 auto; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--sl-ink); }
.slp-ok a { color: var(--sl-ink); text-decoration: underline; }
.slp-ok.is-bad span { color: var(--sl-err); }

.slp-err { margin: 0; padding: 9px 12px; border-radius: 8px; background: #fef3f2; color: var(--sl-err); font-size: 13.5px; }
.slp-err[hidden] { display: none; }

.slp-btn {
  width: 100%; padding: 14px 18px; border: 0; border-radius: 10px; cursor: pointer;
  background: var(--sl-lime); color: var(--sl-ink); font: inherit; font-size: 16px; font-weight: 800;
}
.slp-btn:hover { filter: brightness(.96); }
.slp-btn:focus-visible { outline: 3px solid var(--sl-ink); outline-offset: 2px; }
.slp-btn[disabled] { opacity: .65; cursor: wait; }
.slp-no { background: none; border: 0; padding: 6px; font: inherit; font-size: 13.5px; color: var(--sl-muted); text-decoration: underline; cursor: pointer; justify-self: center; }

.slp-step[hidden] { display: none; }
.slp-tick { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--sl-lime); color: var(--sl-ink); font-size: 26px; font-weight: 800; margin: 0 0 12px; }
.slp-code {
  display: flex; align-items: center; gap: 10px; margin: 0 0 10px; padding: 10px 10px 10px 16px;
  border: 2px dashed var(--sl-ink); border-radius: 12px; background: var(--sl-soft);
}
.slp-code[hidden] { display: none; }
.slp-code code { flex: 1; font-family: Consolas, Menlo, monospace; font-size: 22px; font-weight: 800; letter-spacing: .06em; color: var(--sl-ink); direction: ltr; text-align: start; }
.slp-copy { flex: 0 0 auto; padding: 9px 14px; border: 0; border-radius: 8px; background: var(--sl-ink); color: #fff; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.slp-meta { margin: 0 0 16px; font-size: 12.5px; color: var(--sl-muted); }
.slp-meta[hidden] { display: none; }

@media (min-width: 640px) {
  .slp { align-items: center; padding: 16px; }
  .slp-card { max-width: 440px; border-radius: 18px; padding: 32px 30px 26px; transform: translateY(16px) scale(.98); opacity: 0; transition: transform .25s ease, opacity .25s ease; }
  .slp.is-open .slp-card { transform: none; opacity: 1; }
  .slp-t { font-size: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .slp-bd, .slp-card { transition: none; }
}
