/* ============================================================
   Support page. Loaded only where the Support template is used.
   ============================================================ */

.sup-page { --brand: var(--violet); }
.sup-page .eyebrow { color: var(--brand); }
.sup-page .eyebrow.q { color: var(--muted); }
.sup-page a:not(.btn) { color: var(--brand); }

.sup-section { padding: clamp(2.6rem, 6vw, 4.5rem) 0; }
.sup-section.band { background: var(--paper-2); }
.sup-page h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 800; line-height: 1.1; }

/* ---------------- hero ---------------- */
.sup-hero {
  padding: clamp(2rem, 5vw, 3.4rem) 0 clamp(2rem, 4vw, 3rem);
  background:
    radial-gradient(60% 90% at 88% 10%, #E056FD1F, transparent 70%),
    radial-gradient(50% 80% at 8% 0%, #E530B518, transparent 70%);
}
.sup-h1 { font-size: clamp(2.2rem, 5.4vw, 3.6rem); font-weight: 800; line-height: 1.02; letter-spacing: -.035em; }
.sup-lede { font-size: clamp(1rem, 1.9vw, 1.18rem); color: var(--ink-2); margin: 1.1rem 0 1.8rem; }

/* ---------------- contact ---------------- */
.sup-contact { display: grid; grid-template-columns: 1.35fr 1fr; gap: 1.1rem; align-items: start; }
@media (max-width: 860px) { .sup-contact { grid-template-columns: 1fr; } }
.sup-side { display: grid; gap: 1.1rem; }

.sup-card {
  background: var(--surface); border: 1px solid var(--hairline);
  border-radius: var(--r); padding: 1.6rem 1.5rem;
  box-shadow: var(--sh-sm);
}
.sup-card h2 { font-size: 1.35rem; margin: 0 0 .5rem; }
.sup-card h3 { font-size: 1.05rem; font-weight: 700; margin: 0 0 .45rem; }
.sup-card p { margin: 0 0 .7rem; font-size: .93rem; color: var(--ink-2); }
.sup-card p:last-child { margin-bottom: 0; }

.sup-ico {
  display: grid; place-items: center; width: 46px; height: 46px;
  border-radius: 14px; background: var(--grad-soft); color: var(--brand);
  margin-bottom: .9rem;
}
.sup-ico svg { width: 23px; height: 23px; }
.sup-ico--sm { width: 34px; height: 34px; border-radius: 10px; margin: 0; }
.sup-ico--sm svg { width: 17px; height: 17px; }

.sup-email { font-size: clamp(1.15rem, 2.4vw, 1.5rem); font-weight: 700; margin-bottom: .8rem !important; }
.sup-email a { text-decoration: none; }
.sup-email a:hover { text-decoration: underline; }

.sup-hint {
  background: var(--wash); border-radius: var(--r-sm);
  padding: .85rem 1rem; font-size: .88rem !important;
}
.sup-hint strong { color: var(--ink); }

/* ---------------- FAQ groups ---------------- */
.sup-group { margin-top: 2.2rem; }
.sup-group-head {
  display: flex; align-items: center; gap: .7rem;
  font-size: 1.15rem; font-weight: 700; margin: 0 0 .8rem;
}

.sup-page .faq { border-top: 1px solid var(--hairline); }
.sup-page .faq details { border-bottom: 1px solid var(--hairline); }
.sup-page .faq summary {
  position: relative; cursor: pointer; list-style: none;
  padding: 1rem 2.4rem 1rem 0; font-weight: 650; color: var(--ink);
  transition: color .16s;
}
.sup-page .faq summary::-webkit-details-marker { display: none; }
.sup-page .faq summary:hover { color: var(--brand); }
.sup-page .faq summary::after {
  content: "+"; position: absolute; right: .4rem; top: 50%; transform: translateY(-50%);
  font-family: var(--mono); font-size: 1.35rem; font-weight: 400; color: var(--brand);
}
.sup-page .faq details[open] > summary::after { content: "\2013"; }
.sup-page .faq-body { padding: 0 0 1.1rem; max-width: var(--measure); }
.sup-page .faq-body p { margin: 0 0 .8rem; font-size: .94rem; color: var(--ink-2); }
.sup-page .faq-body p:last-child { margin-bottom: 0; }
.sup-page .faq-body strong { color: var(--ink); }

/* ---------------- final ---------------- */
.sup-final {
  background: linear-gradient(135deg, #E056FD 0%, #D82D77 100%);
  border-radius: calc(var(--r) * 1.3); color: #fff;
  padding: clamp(2rem, 4.5vw, 3rem) clamp(1.3rem, 4vw, 2.5rem);
  text-align: center; box-shadow: 0 22px 54px -22px rgba(216, 45, 119, .5);
}
.sup-final h2 { color: #fff; }
.sup-final p { color: #fff; opacity: .95; margin: .7rem 0 1.6rem; }
.sup-final .btn-primary { background: #fff; color: var(--violet); border-color: transparent; }
.sup-final .btn-primary:hover { background: #fff; color: var(--magenta); }
.sup-final .btn-ghost { background: transparent; color: #fff; border-color: #ffffff66; }
.sup-final .btn-ghost:hover { border-color: #fff; color: #fff; }

.sup-fine {
  margin-top: 2.2rem; padding-top: 1.2rem;
  border-top: 1px solid var(--hairline);
  font-size: .82rem; color: var(--muted); max-width: 72ch;
}

/* ---------------- contact form ---------------- */
.sup-form { margin-top: 2rem; max-width: 46rem; }

.sup-note {
  border-radius: var(--r-sm); padding: .95rem 1.15rem; margin: 0 0 1.4rem;
  font-size: .93rem; border: 1px solid;
}
.sup-note--ok  { background: #0A8A7212; border-color: #0A8A7240; color: #06614F; }
.sup-note--bad { background: #C02B3C12; border-color: #C02B3C40; color: #8C1B29; }

/* Honeypot: off-screen rather than display:none, which some bots skip. */
.sup-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.sup-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; }
@media (max-width: 640px) { .sup-fields { grid-template-columns: 1fr; } }
.sup-field { margin: 0; display: flex; flex-direction: column; gap: .4rem; }
.sup-field--wide { grid-column: 1 / -1; }

.sup-field label { font-size: .88rem; font-weight: 650; color: var(--ink); }
.sup-field .req { color: var(--magenta); margin-left: .15rem; }

.sup-field input,
.sup-field textarea {
  font: inherit; font-size: .95rem; color: var(--ink);
  background: var(--surface);
  border: 1.5px solid var(--hairline-2); border-radius: var(--r-sm);
  padding: .7rem .85rem; width: 100%;
  transition: border-color .16s, box-shadow .16s;
}
.sup-field textarea { resize: vertical; min-height: 8rem; }
.sup-field input:focus, .sup-field textarea:focus {
  outline: none; border-color: var(--brand);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 16%, transparent);
}
.sup-field.has-error input, .sup-field.has-error textarea { border-color: var(--danger); }
.sup-err { font-size: .82rem; color: var(--danger); }

.sup-field--captcha { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: .7rem; flex-wrap: wrap; }
.sup-field--captcha label { font-family: var(--mono); font-size: 1rem; }
.sup-field--captcha input { width: 5rem; text-align: center; }

.sup-submit { margin-top: 1.5rem; min-width: 12rem; }
.sup-page .sup-submit { background: var(--brand); color: #fff; border-color: transparent; }
.sup-page .sup-submit:hover { filter: brightness(1.07); color: #fff; }
.sup-formfine { margin: .9rem 0 0; font-size: .82rem; color: var(--muted); }
