/* Feedback: the strip above the home page footer and the card it opens (js/components/feedback-form.js). */
.lp-feedback { padding: 0 0 4.5rem; }
.lp-feedback__card {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1.4rem 1.6rem;
  padding: 1.6rem 1.8rem; border-radius: 22px;
  border: 1px solid var(--landing-border-light, rgba(255,255,255,0.09));
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(255, 122, 0, 0.12), transparent 55%),
    rgba(255, 255, 255, 0.025);
}
.lp-feedback__card::after {
  /* faint board corner: a nod to the chessboard without decoration everywhere */
  content: ""; position: absolute; right: -40px; top: -40px; width: 180px; height: 180px; pointer-events: none;
  background: repeating-conic-gradient(rgba(255,255,255,0.035) 0 25%, transparent 0 50%) 0 0 / 45px 45px;
  -webkit-mask-image: radial-gradient(circle at 70% 30%, #000 0, transparent 70%); mask-image: radial-gradient(circle at 70% 30%, #000 0, transparent 70%);
}
.lp-feedback__icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: rgba(255, 122, 0, 0.12); color: var(--landing-orange, #FF7A00); font-size: 1.35rem;
}
.lp-feedback__text h2 { margin: 0 0 0.3rem; font-size: 1.3rem; line-height: 1.3; font-weight: 800; color: #fff; letter-spacing: -0.01em; }
.lp-feedback__text p { margin: 0; color: var(--landing-text-secondary, #A7ABB8); font-size: 0.95rem; line-height: 1.55; }
.lp-feedback__btn { position: relative; z-index: 1; cursor: pointer; font-family: inherit; }
.lp-feedback__btn:focus-visible { outline: 2px solid var(--landing-orange, #FF7A00); outline-offset: 3px; }
@media (max-width: 720px) {
  .lp-feedback { padding-bottom: 3.5rem; }
  .lp-feedback__card { grid-template-columns: 1fr; padding: 1.4rem 1.25rem; text-align: left; }
  .lp-feedback__icon { width: 44px; height: 44px; font-size: 1.15rem; }
  .lp-feedback__btn { justify-self: start; }
}

.xt-fb [hidden] { display: none !important; }

/* --- the card ---------------------------------------------------------------------- */
.xt-fb {
  width: min(560px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 0; background: transparent;
  position: fixed; inset: 0; margin: auto; height: fit-content; overflow: auto;
  color: #F5F5F5; font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
.xt-fb::backdrop { background: rgba(4, 5, 8, 0.72); backdrop-filter: blur(3px); }
.xt-fb[open] { animation: xt-fb-in 0.18s ease-out; }
@keyframes xt-fb-in { from { opacity: 0; transform: translateY(8px) scale(0.985); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .xt-fb[open] { animation: none; } }
.xt-fb__card {
  background: #10121A; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 18px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55); overflow: hidden;
}
.xt-fb__head { display: flex; justify-content: space-between; gap: 1rem; padding: 1.3rem 1.4rem 0.4rem; }
.xt-fb__head h2 { margin: 0 0 0.35rem; font-size: 1.15rem; font-weight: 800; color: #fff; }
.xt-fb__head p { margin: 0; color: #A7ABB8; font-size: 0.88rem; line-height: 1.5; }
.xt-fb__close {
  flex: 0 0 auto; width: 34px; height: 34px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.1);
  background: transparent; color: #A7ABB8; cursor: pointer; font-size: 1rem;
}
.xt-fb__close:hover { color: #fff; border-color: rgba(255,255,255,0.25); }
.xt-fb__body { padding: 0.9rem 1.4rem 0.4rem; display: grid; gap: 0.85rem; }
.xt-fb__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem; }
.xt-fb__field { display: grid; gap: 0.35rem; min-width: 0; }
.xt-fb__field > span { font-size: 0.82rem; font-weight: 600; color: #D7DAE2; }
.xt-fb__field em { font-style: normal; color: #6B7280; font-weight: 500; }
.xt-fb input, .xt-fb textarea {
  width: 100%; box-sizing: border-box; border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.12);
  background: #0A0B10; color: #F5F5F5; font: inherit; font-size: 0.92rem; padding: 0.65rem 0.75rem;
}
.xt-fb textarea { resize: vertical; min-height: 110px; line-height: 1.5; }
.xt-fb input:focus-visible, .xt-fb textarea:focus-visible, .xt-fb__drop:focus-visible, .xt-fb button:focus-visible {
  outline: 2px solid #FF7A00; outline-offset: 1px;
}
.xt-fb__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.xt-fb__drop {
  border: 1.5px dashed rgba(255, 255, 255, 0.16); border-radius: 12px; padding: 0.85rem; cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.xt-fb__drop:hover, .xt-fb__drop.is-over { border-color: rgba(255, 122, 0, 0.7); background: rgba(255, 122, 0, 0.06); }
.xt-fb__drop-empty { display: flex; align-items: center; gap: 0.7rem; color: #A7ABB8; font-size: 0.86rem; }
.xt-fb__drop-empty i { font-size: 1.3rem; color: #FF7A00; }
.xt-fb__drop-empty strong { color: #fff; font-weight: 600; }
.xt-fb__drop-full { display: flex; align-items: center; gap: 0.8rem; }
.xt-fb__drop-full img { max-height: 84px; max-width: 60%; border-radius: 8px; border: 1px solid rgba(255,255,255,0.12); }
.xt-fb__remove { border: 1px solid rgba(255,255,255,0.16); background: transparent; color: #D7DAE2; border-radius: 8px; padding: 0.4rem 0.7rem; font: inherit; font-size: 0.82rem; cursor: pointer; }
.xt-fb__remove:hover { border-color: #ff6b6b; color: #ff8a8a; }
.xt-fb__error { margin: 0; padding: 0.6rem 0.75rem; border-radius: 10px; background: rgba(255, 90, 90, 0.1); color: #ff9b9b; font-size: 0.86rem; line-height: 1.45; }
.xt-fb__foot { display: flex; justify-content: flex-end; padding: 0.9rem 1.4rem 1.3rem; }
.xt-fb__submit {
  background: #FF7A00; color: #fff; border: 0; border-radius: 999px; padding: 0.7rem 1.6rem; font: inherit; font-weight: 700;
  font-size: 0.92rem; cursor: pointer; box-shadow: 0 8px 22px rgba(255, 122, 0, 0.3);
}
.xt-fb__submit:hover { background: #FF8500; }
.xt-fb__submit:disabled { opacity: 0.65; cursor: wait; }
.xt-fb__done { padding: 2rem 1.6rem 1.6rem; text-align: center; display: grid; justify-items: center; gap: 0.5rem; }
.xt-fb__done i { font-size: 2.4rem; color: #22C55E; }
.xt-fb__done h2 { margin: 0.2rem 0 0; font-size: 1.25rem; color: #fff; }
.xt-fb__done p { margin: 0 0 0.7rem; color: #A7ABB8; font-size: 0.92rem; line-height: 1.5; max-width: 32ch; }
@media (max-width: 520px) {
  .xt-fb__row { grid-template-columns: 1fr; }
  .xt-fb__head, .xt-fb__body, .xt-fb__foot { padding-left: 1.1rem; padding-right: 1.1rem; }
  .xt-fb__foot .xt-fb__submit { width: 100%; }
}
