/* ===========================================================================
 * CRAM — SUPPORT page CSS (per-page). Appended after the SHARED style.css in
 * the /support page's own CSS tab. Form + FAQ + mail-fallback only; common
 * tokens, nav, buttons, and footer come from the shared stylesheet. All
 * selectors are `lp-sup*` so they never touch the game or Home landing.
 * =========================================================================== */

.lp-sup-main { padding: 40px 0 20px; }

/* ---- Head ---- */
.lp-sup__head { max-width: 60ch; margin: 0 0 30px; }
.lp-sup__title {
  font-size: clamp(30px, 6vw, 46px);
  font-weight: 900;
  letter-spacing: -1.4px;
  line-height: 1.05;
  margin: 8px 0 0;
}
.lp-sup__lead {
  color: var(--muted);
  font-size: clamp(16px, 2.4vw, 18px);
  line-height: 1.6;
  margin: 16px 0 0;
}

/* ---- Layout: form + side ---- */
.lp-sup__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: start;
}
@media (min-width: 860px) {
  .lp-sup__grid { grid-template-columns: 1.15fr 0.85fr; gap: 24px; }
}

/* ---- Card (shared shell for form / faq / mail) ---- */
.lp-sup__card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 22px;
}
.lp-sup__side { display: flex; flex-direction: column; gap: 20px; }
.lp-sup__card-title {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.5px;
  margin: 0 0 18px;
}

/* ---- Form ---- */
.lp-sup-form { display: flex; flex-direction: column; gap: 16px; }
.lp-sup-field { display: flex; flex-direction: column; gap: 7px; }
.lp-sup-label {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .4px;
  color: var(--foreground);
}
.lp-sup-label span { color: var(--accent); }

.lp-sup-input {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--r-field);
  color: var(--foreground);
  font-size: 16px;
  outline: none;
  transition: border-color .12s ease;
}
.lp-sup-input::placeholder { color: var(--muted); }
.lp-sup-input:focus { border-color: var(--accent); }
.lp-sup-textarea { resize: vertical; min-height: 132px; line-height: 1.5; }
.lp-sup-select {
  appearance: none;
  -webkit-appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--muted) 50%),
    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 40px;
}

/* Honeypot: visually + AT hidden, but NOT display:none (some bots skip those). */
.lp-sup-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Consent */
.lp-sup-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
  cursor: pointer;
}
.lp-sup-consent input {
  margin-top: 2px;
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
  flex-shrink: 0;
}

.lp-sup-submit { width: 100%; }
.lp-sup-submit:disabled { opacity: .55; cursor: default; }

/* ---- Status messages ---- */
.lp-sup-status {
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
  padding: 12px 14px;
  border-radius: var(--r-field);
  border: 1px solid var(--border);
}
.lp-sup-status--ok {
  background: rgba(200, 255, 46, .12);
  border-color: rgba(200, 255, 46, .4);
  color: var(--accent);
}
.lp-sup-status--err {
  background: rgba(255, 93, 93, .12);
  border-color: rgba(255, 93, 93, .4);
  color: var(--danger);
}

/* ---- FAQ ---- */
.lp-sup-faq { display: flex; flex-direction: column; }
.lp-sup-faq__item { border-top: 1px solid var(--border); }
.lp-sup-faq__item:first-child { border-top: 0; }
.lp-sup-faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 14px 0;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: -0.2px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.lp-sup-faq__item summary::-webkit-details-marker { display: none; }
.lp-sup-faq__item summary::after {
  content: "+";
  color: var(--accent);
  font-weight: 900;
  font-size: 20px;
  line-height: 1;
  flex-shrink: 0;
}
.lp-sup-faq__item[open] summary::after { content: "–"; }
.lp-sup-faq__item p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 16px;
}

/* ---- Inline code + links ---- */
.lp-sup code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, monospace;
  font-size: .9em;
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1px 6px;
  color: var(--accent);
}
.lp-sup-link {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(200, 255, 46, .4);
}
.lp-sup-link:hover { border-bottom-color: var(--accent); }
