/* /support — help hub. Figma node 2354:7250 (redesign).
   Desktop layout (owner spec): support form on TOP, articles/FAQ card BELOW.
   Left/right in Figma → single stacked column here. */

.sup-wrap {
  position: relative;
  min-height: calc(100vh - 105px);
  padding: 48px 20px 88px;
  background: #fff;
  overflow: hidden;
}
.sup-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: url('/assets/demo-checker.svg') left top / 230px auto repeat;
  opacity: .06;
}

.sup-stack {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sup-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, .18);
  border-radius: 18px;
}
.sup-card > * { position: relative; z-index: 1; }
/* Decorative brush (Figma "Decorative line"): a large single stroke that
   overflows the card and is clipped — enlarged well past the card so a few bold
   strokes show, rather than the whole brush shrunk into thin streaks. Purely
   decorative; hidden from assistive tech via aria-hidden on the element. */
.sup-card__deco {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 200% auto;
}

/* ---------- form card (top) ---------- */
.sup-form-card {
  background: #fff;
  box-shadow: 0 20px 50px rgba(24, 10, 83, .08);
  padding: 34px clamp(24px, 5vw, 52px) 40px;
}
.sup-form-card .sup-card__deco {
  background-image: url('/assets/support/deco-form.svg');
  opacity: .13;
}

/* Title lockup: bolt wordmark + "support" (Permanent Marker, black) — node 2538. */
.sup-brand { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; }
.sup-brand__logo { display: block; height: 30px; width: auto; }
.sup-servicebay {
  font-family: 'Permanent Marker', cursive;
  font-weight: 400;
  color: #000;
  font-size: 35px;
  line-height: 1;
  margin: 0;
}

.sup-intro {
  font-size: 17px;
  line-height: 1.5;
  color: #180a53;
  margin: 22px 0 24px;
}
.sup-intro strong { font-weight: 700; }

.sup-field { margin: 0 0 16px; }
.sup-field label {
  display: block;
  font-weight: 600;
  font-size: 15px;
  color: #180a53;
  margin: 0 0 6px;
}
.sup-field input,
.sup-field textarea {
  width: 100%;
  background: #fff;
  border: 1px solid #dee2e6;
  border-radius: 6px;
  padding: 8px 11px;
  font-family: inherit;
  font-size: 16px;
  color: #212529;
}
.sup-field input::placeholder,
.sup-field textarea::placeholder { color: rgba(33, 37, 41, .75); }
.sup-field input:focus,
.sup-field textarea:focus { outline: none; border-color: #2b7ffd; box-shadow: 0 0 0 3px rgba(43,127,253,.12); }
.sup-field textarea { min-height: 193px; resize: vertical; }

.sup-thanks { color: #17935a; font-size: 14px; margin: 2px 0 12px; }
/* CTA — yellow with navy label, matching the nav trial button (node 2354:7274). */
.sup-send {
  width: 100%;
  padding: 13px 20px;
  background: #fcbd11;
  color: #180a53;
  border: none;
  border-radius: 6px;
  font-family: inherit;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.1;
  cursor: pointer;
}
.sup-send:hover { background: #eab000; }
.sup-send:focus-visible { outline: 3px solid rgba(43, 127, 253, .55); outline-offset: 2px; }

/* ---------- articles + FAQ card (below), dark gradient ---------- */
.sup-hca-card {
  background: linear-gradient(180deg, #180a53 0%, #3516b9 100%);
  padding: 30px clamp(22px, 4.5vw, 40px) 38px;
}
.sup-hca-card .sup-card__deco {
  background-image: url('/assets/support/deco-hca.svg');
  opacity: .3;
}

.sup-eyebrow {
  font-family: 'Permanent Marker', cursive;
  font-weight: 400;
  color: #fff;
  font-size: 25px;
  line-height: 1.05;
  text-transform: uppercase;
  margin: 0 0 12px;
}
.sup-eyebrow--faq { margin-top: 26px; }

.sup-articles { list-style: none; margin: 0; padding: 0; }
.sup-articles li { margin: 0 0 7px; }
.sup-articles a { color: #fcbd11; font-weight: 600; font-size: 15px; text-decoration: none; }
.sup-articles a:hover { text-decoration: underline; }

.sup-faq { display: flex; flex-direction: column; gap: 8px; }
.sup-faq__item { background: #f6f8fb; border-radius: 6px; }
.sup-faq__item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  color: #180a53;
}
.sup-faq__item summary::-webkit-details-marker { display: none; }
.sup-faq__chev {
  flex: 0 0 auto;
  width: 21px; height: 21px;
  margin-top: 1px;
  color: #180a53;
  transition: transform .2s;
}
.sup-faq__item[open] .sup-faq__chev { transform: rotate(180deg); }
.sup-faq__a { padding: 0 16px 13px; font-size: 14px; line-height: 1.6; color: #3a3a45; }
.sup-faq__a p { margin: 0 0 10px; }
.sup-faq__a p:last-child { margin-bottom: 0; }
.sup-faq__a a { color: #2b7ffd; }
.sup-faq__a strong { color: #111318; font-weight: 700; }
.sup-faq__a em { font-style: italic; }

@media (max-width: 640px) {
  .sup-wrap { padding: 28px 14px 60px; }
  .sup-form-card { padding: 26px 20px 30px; }
  .sup-hca-card { padding: 24px 20px 30px; }
  .sup-servicebay { font-size: 30px; }
  .sup-intro { font-size: 16px; }
  .sup-field textarea { min-height: 150px; }
}
