/* Kinetic — FAQ Support Card ACM block (self-contained, block-scoped).
   Desktop: full-width elevated section (bg --elevated, border top+bottom),
   inner 820px centered card (bg --elevated, border, r16, pad 32, gap 16).
   Mobile: transparent section (no border), card inset 20px sides.
   Colours/tokens route through the template design tokens so light + dark
   resolve automatically. Literal `--elevated` may be ~#0F1311 (dark) /
   #F2F5EE (light); page-222.css pins the desktop hex (#161B18 dark) via a
   scoped override so the section bg matches the design precisely. */

.acm-faq-support {
  font-family: "IBM Plex Sans", sans-serif;
}

/* ---- section wrapper ---- */
.acm-faq-support .hx-sup-section {
  padding: 80px 0;
  background: var(--elevated);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* ---- inner (centered, 820px) ---- */
.acm-faq-support .hx-sup-inner {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ---- card ---- */
.acm-faq-support .hx-sup-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 32px;
  background: var(--elevated);
  border: 1px solid var(--border);
  border-radius: 16px;
  text-align: center;
  transition: border-color .15s ease, transform .2s ease, box-shadow .2s ease;
}
/* CARD gesture: neutral border at rest -> primary border + lift on hover.
   Specificity bumped (html body ...) + !important: page-222.css pins
   `border-color: var(--border) !important` on this card (bg-match rule) at a
   higher specificity than a plain block-scoped hover selector, which would
   silently swallow the accent. This wins without touching that page file. */
.acm-faq-support .hx-sup-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px -12px color-mix(in srgb, var(--primary) 40%, transparent);
}
html body .acm-faq-support .hx-sup-card:hover {
  border-color: var(--primary) !important;
}

/* ---- icon ---- */
.acm-faq-support .hx-sup-icon {
  color: var(--primary);
  flex-shrink: 0;
}

/* ---- title ---- */
.acm-faq-support .hx-sup-title {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--heading);
}

/* ---- sub ---- */
.acm-faq-support .hx-sup-sub {
  margin: 0;
  max-width: 520px;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--text);
}

/* ---- CTA button ---- */
.acm-faq-support .hx-sup-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  background: var(--primary);
  color: var(--primary-ink);
  border-radius: 10px;
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  transition: background-color .15s ease, box-shadow .2s ease;
}
.acm-faq-support .hx-sup-btn:hover,
.acm-faq-support .hx-sup-btn:focus-visible {
  background: var(--primary-hover);
  color: var(--primary-ink);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb, 77, 124, 15), .25);
  outline: none;
}
.acm-faq-support .hx-sup-btn-ico {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ---- mobile ---- */
@media (max-width: 767.98px) {
  .acm-faq-support .hx-sup-section {
    background: transparent;
    border: none;
    padding: 24px 20px 0;
  }
  .acm-faq-support .hx-sup-inner {
    padding: 0;
    max-width: none;
  }
  .acm-faq-support .hx-sup-card {
    gap: 8px;
    padding: 28px;
  }
  .acm-faq-support .hx-sup-icon {
    display: none; /* mobile design has no life-buoy icon */
  }
  .acm-faq-support .hx-sup-title {
    font-size: 20px;
  }
  .acm-faq-support .hx-sup-sub {
    font-size: 14px;
    line-height: 1.55;
    max-width: none;
  }
  .acm-faq-support .hx-sup-btn {
    font-size: 14.5px;
    padding: 12px 22px;
    border-radius: 9px;
  }
  .acm-faq-support .hx-sup-btn-ico {
    width: 16px;
    height: 16px;
  }
}

/* ---- reduced motion: guard the card-lift transform ---- */
@media (prefers-reduced-motion: reduce) {
  .acm-faq-support .hx-sup-card { transition-duration: .01ms !important; }
  .acm-faq-support .hx-sup-card:hover { transform: none; }
}
