/* Support page: FAQ above the contact form. Builds on /site.css. */
.support { max-width: 1100px; margin: 0 auto; padding: 24px 24px 96px; display: flex; flex-direction: column; gap: 40px; }
.support-head { display: flex; align-items: center; gap: 24px; }
.support-head img { width: 104px; height: 104px; flex: none; transform: rotate(-4deg); }
.support-head h1 { font-size: clamp(36px, 4vw, 48px); line-height: 1.1; font-weight: 700; color: var(--navy); }
.support-head p { margin-top: 8px; font-size: 18px; line-height: 1.55; color: var(--body); max-width: 560px; }
.support-body { display: flex; flex-direction: column; gap: 40px; max-width: 720px; }

.faq { min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.faq h2 { font-size: 24px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.faq details { background: #fff; border: 2.5px solid var(--navy); border-radius: 18px; }
.faq details.animating { overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; padding: 14px 18px; font-size: 17px; font-weight: 700; color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; flex: none; width: 10px; height: 10px; border-right: 2.5px solid var(--navy); border-bottom: 2.5px solid var(--navy); transform: rotate(45deg) translateY(-3px); transition: transform 150ms ease; }
.faq details[open]:not(.closing) summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq summary:focus-visible { outline: 3px solid #155fcc; outline-offset: 2px; border-radius: 16px; }
.faq details p { padding: 0 18px 16px; font-size: 16px; line-height: 1.6; color: var(--body); }

.contact { min-width: 0; padding: 28px; border-radius: 28px; box-shadow: 8px 8px 0 var(--navy); }
.contact h2 { font-size: 24px; font-weight: 700; color: var(--navy); }
#support-form { display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 15px; font-weight: 700; color: var(--navy); }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 16px; font-weight: 500; color: var(--ink); background: var(--cream-raised); border: 2.5px solid var(--navy); border-radius: 14px; padding: 12px 14px; min-height: 48px; }
.field textarea { resize: vertical; min-height: 140px; line-height: 1.5; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--navy) 50%), linear-gradient(135deg, var(--navy) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid #155fcc; outline-offset: 2px; }
.field [aria-invalid="true"] { border-color: var(--danger); }
.hint { font-size: 13px; font-weight: 600; color: var(--muted); }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { font-size: 15px; font-weight: 700; color: var(--danger); }
.form-error:empty { display: none; }
#support-submit .spinner { display: none; width: 20px; height: 20px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, 0.4); border-top-color: #fff; }
#support-form.pending #support-submit { opacity: 0.7; cursor: progress; }
#support-form.pending #support-submit .label { display: none; }
#support-form.pending #support-submit .spinner { display: block; }
@media (prefers-reduced-motion: no-preference) { #support-submit .spinner { animation: spin 0.8s linear infinite; } }
@keyframes spin { to { transform: rotate(360deg); } }

.sent { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; padding: 12px 0; }
.sent:focus { outline: none; }
.sent img { width: 96px; height: 96px; }
.sent p { font-size: 16px; line-height: 1.55; color: var(--body); }

@media (max-width: 600px) {
  .support-head { flex-direction: column; text-align: center; gap: 16px; }
  .contact { padding: 22px; }
}
