/* Support page. Header and glow come from legal.css. */

.support-card [hidden] {
  display: none;
}

.support-hero {
  padding-bottom: clamp(36px, 4.5vw, 56px);
}

.support-sub {
  max-width: 46ch;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.8);
  font-size: 17px;
  line-height: 1.55;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.support-card {
  position: relative;
  width: min(560px, 100%);
  margin: 0 auto;
  padding: clamp(28px, 3.4vw, 40px);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: clamp(20px, 2.2vw, 28px);
  background: #050505;
}

.support-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.support-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.support-field label {
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.005em;
}

.support-field input,
.support-field textarea {
  width: 100%;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-family: var(--font);
  font-size: 15px;
  letter-spacing: -0.01em;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.support-field input {
  height: 48px;
}

.support-field textarea {
  min-height: 150px;
  padding: 14px 18px;
  border-radius: 18px;
  line-height: 1.5;
  resize: vertical;
}

.support-field input::placeholder,
.support-field textarea::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.support-field input:hover,
.support-field textarea:hover {
  border-color: rgba(255, 255, 255, 0.18);
}

.support-field input:focus,
.support-field textarea:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.06);
}

.support-honeypot {
  position: absolute;
  left: -9999px;
}

.support-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 4px;
}

.support-submit {
  height: 44px;
  padding: 0 22px;
  border: none;
  font-family: var(--font);
  cursor: pointer;
}

.support-submit:disabled {
  opacity: 0.6;
  cursor: default;
  transform: none;
}

.support-status {
  color: rgba(255, 255, 255, 0.55);
  font-size: 14px;
}

.support-status.is-error {
  color: #ff8a9e;
}

.support-success {
  padding: 24px 0 8px;
  text-align: center;
}

.support-success h2 {
  margin-bottom: 10px;
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.support-success p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 15px;
  line-height: 1.6;
  text-wrap: balance;
}

.support-alt {
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 14px;
  text-align: center;
}

.support-alt a {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.3);
  text-underline-offset: 3px;
}

.support-alt a:hover {
  text-decoration-color: #fff;
}

/* —— FAQ —— */
.faq {
  width: min(640px, 100%);
  margin: clamp(96px, 12vw, 140px) auto 0;
}

.faq-title {
  margin-bottom: 28px;
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.1;
  text-align: center;
  background: linear-gradient(180deg, #f2f2f2 0%, #bdbdbd 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 18px;
  background: #050505;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.faq-item:hover,
.faq-item[open] {
  border-color: rgba(255, 255, 255, 0.16);
  background: #0a0a0a;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.01em;
  list-style: none;
  cursor: pointer;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "";
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid rgba(255, 255, 255, 0.6);
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.6);
  transform: rotate(-45deg);
  transition: transform 0.25s ease;
}

.faq-item[open] summary::after {
  transform: translateY(-2px) rotate(45deg);
}

.faq-item summary:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
  border-radius: 18px;
}

.faq-item p {
  padding: 0 22px 20px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 15px;
  line-height: 1.65;
}

.faq-item[open] p {
  animation: faq-reveal 0.25s ease;
}

.faq-item a {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.3);
  text-underline-offset: 3px;
}

.faq-item a:hover {
  text-decoration-color: #fff;
}

@keyframes faq-reveal {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
}

@media (max-width: 768px) {
  .support-hero {
    padding-bottom: 32px;
  }

  .faq {
    margin-top: 80px;
  }

  .faq-title {
    margin-bottom: 20px;
  }

  .faq-item summary {
    padding: 16px 18px;
    font-size: 15px;
  }

  .faq-item p {
    padding: 0 18px 18px;
    font-size: 14px;
  }

  .support-sub {
    font-size: 15px;
  }

  .support-card {
    padding: 24px 20px;
  }

  .support-submit {
    width: 100%;
  }

  .support-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .support-status {
    text-align: center;
  }
}
