/* ============================================================
   shalwa — support page
   Extends css/styles.css · Brand Book v1.0
   ============================================================ */

/* nav always solid — no dark hero behind it on this page */
.support-page .nav {
  background: rgba(252, 250, 245, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(26, 29, 46, 0.07);
}
.support-page .nav .brand-name { color: var(--ink); }
.support-page .nav .brand-mark { filter: none; }
.support-page .nav-links > a:not(.btn) { color: var(--mute); }
.support-page .nav-links > a:not(.btn):hover { color: var(--ink); }
.support-page .nav-cta { background: var(--gradient); color: var(--cream); box-shadow: var(--shadow-sm); }
.support-page .nav-toggle span { background: var(--ink); }

/* ---------- header ---------- */
.sup-head { background: var(--ink); color: var(--cream); padding: 64px 28px 58px; }
.sup-head-inner { max-width: var(--maxw); margin: 0 auto; }
.sup-head h1 {
  font-size: clamp(34px, 6vw, 54px);
  color: var(--cream);
  margin-bottom: 16px;
  max-width: 18ch;
  text-wrap: balance;
}
.sup-head p { color: rgba(252, 250, 245, 0.68); font-size: 17px; max-width: 56ch; }

/* ---------- layout ---------- */
.sup-wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 62px 28px 96px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  gap: clamp(40px, 5vw, 76px);
  align-items: start;
}

.sup-col h2 {
  font-size: 26px;
  margin-bottom: 10px;
  text-wrap: balance;
}
.sup-col > p.lede { color: var(--mute); margin-bottom: 26px; max-width: 52ch; }

/* ---------- self-serve answers ---------- */
.sup-faq { display: flex; flex-direction: column; gap: 0; }
.sup-item {
  border-top: 1.5px solid var(--bone);
  padding: 20px 0;
}
.sup-item:last-child { border-bottom: 1.5px solid var(--bone); }
.sup-item h3 { font-size: 17px; margin-bottom: 8px; }
.sup-item p { font-size: 15px; color: var(--mute); margin-bottom: 8px; }
.sup-item p:last-child { margin-bottom: 0; }
.sup-item strong { color: var(--ink); font-weight: 700; }
.sup-item ul { margin: 8px 0 0; }
.sup-item li {
  position: relative; padding-left: 20px; margin-bottom: 6px;
  font-size: 15px; color: var(--mute);
}
.sup-item li::before {
  content: ""; position: absolute; left: 3px; top: 9px;
  width: 5px; height: 5px; border-radius: 2px; background: var(--clay);
}

.sup-direct {
  margin-top: 30px; padding: 20px 24px;
  background: var(--bone); border-radius: 14px;
}
.sup-direct p { font-size: 15px; color: var(--mute); margin: 0; }
.sup-direct a { color: var(--ink); font-weight: 700; box-shadow: inset 0 -1.5px 0 var(--electric); }
.sup-direct a:hover { box-shadow: inset 0 -2.5px 0 var(--clay); }

/* ---------- form card ---------- */
.sup-card {
  background: var(--cream);
  border: 1.5px solid var(--bone);
  border-radius: var(--radius);
  padding: clamp(24px, 3vw, 34px);
  box-shadow: var(--shadow-sm);
  position: sticky; top: calc(var(--nav-h) + 24px);
}
.sup-card h2 { font-size: 22px; margin-bottom: 6px; }
.sup-card > p { font-size: 14.5px; color: var(--mute); margin-bottom: 22px; }

.sup-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.sup-field label { font-size: 13px; font-weight: 600; color: var(--mute); }
.sup-input {
  width: 100%;
  /* 16px is deliberate: iOS Safari zooms the whole page in on focus for
     anything smaller, which throws the layout around mid-form. */
  font-size: 16px;
  color: var(--ink);
  background: #fff;
  border: 1.5px solid var(--bone);
  border-radius: 12px;
  padding: 12px 14px;
  transition: border-color 140ms ease, box-shadow 140ms ease;
}
.sup-input:focus {
  outline: none;
  border-color: var(--electric);
  box-shadow: 0 0 0 3px rgba(31, 182, 201, 0.16);
}
.sup-input.is-error { border-color: var(--hibiscus); background: rgba(194, 66, 90, 0.04); }
textarea.sup-input { resize: vertical; min-height: 132px; line-height: 1.55; }
select.sup-input { appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' stroke='%236b6356' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px;
}

/* honeypot — hidden from people, not from bots */
.sup-hp {
  position: absolute; left: -9999px; width: 1px; height: 1px;
  overflow: hidden; opacity: 0;
}

.sup-submit { width: 100%; margin-top: 4px; }
.sup-note { font-size: 13.5px; color: var(--mute); margin-top: 14px; text-align: center; }
.sup-note.is-error { color: var(--hibiscus); font-weight: 600; }
.sup-note.is-success { color: #2f7d5b; font-weight: 600; }
.sup-form.is-done .sup-field,
.sup-form.is-done .sup-submit { display: none; }

/* ---------- responsive ---------- */
@media (max-width: 940px) {
  .sup-wrap { grid-template-columns: 1fr; gap: 44px; padding: 44px 24px 76px; }
  .sup-card { position: static; }
  .sup-head { padding: 48px 24px 42px; }
}

@media (prefers-reduced-motion: reduce) {
  .sup-input { transition: none; }
}
