body.faq-funky-page {
  --ink: #211437;
  --line: #2c1945;
  --lime: #d9f931;
  --pink: #ff9fd9;
  --mint: #89f2ea;
  --lavender: #d7baff;
  width: 100%;
  max-width: none !important;
  margin: 0 !important;
  padding-top: 104px;
  min-height: 100vh;
  color: var(--ink);
  font-family: "Bricolage Grotesque", "poppins-medium", sans-serif;
  background:
    radial-gradient(circle at 10% 8%, rgba(255, 159, 217, 0.34) 0%, transparent 34%),
    radial-gradient(circle at 88% 14%, rgba(137, 242, 234, 0.28) 0%, transparent 35%),
    linear-gradient(160deg, #fff3fa 0%, #f7f2ff 52%, #f1fff6 100%);
}

.faq-shell {
  width: min(1120px, calc(100% - 30px));
  margin: 0 auto 54px;
  display: grid;
  gap: 18px;
  position: relative;
  z-index: 1;
  font-family: "Bricolage Grotesque", "poppins-medium", sans-serif;
}

.faq-hero {
  position: relative;
  border: 2px solid var(--line);
  border-radius: 30px;
  box-shadow: 0 10px 0 rgba(44, 25, 69, 0.9);
  padding: clamp(18px, 3vw, 34px);
  overflow: hidden;
  background:
    repeating-linear-gradient(-18deg, rgba(217, 249, 49, 0.18) 0, rgba(217, 249, 49, 0.18) 9px, transparent 9px, transparent 20px),
    linear-gradient(145deg, #fff 0%, #fffaf0 44%, #eafff8 100%);
  animation: faq-rise 520ms ease;
}

.faq-hero::before,
.faq-hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.faq-hero::before {
  width: 160px;
  height: 160px;
  right: -58px;
  top: -72px;
  border: 3px dashed var(--line);
  background: rgba(215, 186, 255, 0.42);
  animation: faq-spin 10s linear infinite;
}

.faq-hero::after {
  width: 120px;
  height: 120px;
  left: -34px;
  bottom: -38px;
  border: 2px solid var(--line);
  background: rgba(255, 159, 217, 0.3);
}

.faq-kicker {
  width: fit-content;
  margin: 0 0 12px;
  padding: 6px 12px;
  border: 2px solid var(--line);
  border-radius: 999px;
  background: var(--lime);
  font-family: "Syne", "poppins-bold", sans-serif;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transform: rotate(-2deg);
}

.faq-hero h1 {
  margin: 0;
  font-family: "Syne", "poppins-bold", sans-serif;
  font-size: clamp(33px, 5.8vw, 62px);
  line-height: 0.96;
  max-width: 12ch;
}

.faq-hero-copy {
  margin: 14px 0 0;
  max-width: 56ch;
  color: #46385f;
  font-size: clamp(14px, 1.9vw, 18px);
  line-height: 1.6;
}



.faq-section {
  margin: 0;
  padding: 0;
  background: transparent;
}

.faq-board {
  border: 2px solid var(--line);
  border-radius: 26px;
  background: #ffffff;
  box-shadow: 0 10px 0 rgba(44, 25, 69, 0.9);
  padding: clamp(16px, 2.8vw, 28px);
}

.faq-main-title {
  margin: 0;
  color: var(--ink);
  font-family: "Syne", "poppins-bold", sans-serif;
  font-size: clamp(24px, 3.2vw, 40px);
  line-height: 1.02;
}

.faq-intro {
  margin: 10px 0 18px;
  color: #514069;
  font-size: 14px;
  line-height: 1.6;
}

.faq-product-heading {
  margin: 18px 0 10px;
  padding: 11px 14px;
  border-radius: 16px;
  border: 2px solid var(--line);
  color: #2b1947;
  font-family: "Syne", "poppins-semibold", sans-serif;
  font-size: 15px;
  text-transform: capitalize;
  background: linear-gradient(135deg, #fff7fd 0%, #f5f0ff 100%);
  box-shadow: 0 4px 0 rgba(44, 25, 69, 0.86);
  width: fit-content;
  max-width: 100%;
  transform: rotate(-0.6deg);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  border: 2px solid rgba(44, 25, 69, 0.88);
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(140deg, #ffffff 0%, #f9f6ff 100%);
  box-shadow: 0 4px 0 rgba(44, 25, 69, 0.86);
  transition: transform 220ms ease;
}

.faq-item:hover {
  transform: translateY(-2px);
}

.faq-question {
  padding: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  user-select: none;
}

.faq-question-text {
  font-weight: 700;
  font-size: 15px;
  color: #24143d;
  line-height: 1.4;
}

.faq-toggle-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 1;
  font-weight: 800;
  background: var(--lime);
  transition: transform 260ms ease;
  flex-shrink: 0;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition:
    max-height 0.45s cubic-bezier(0.25, 1, 0.5, 1),
    opacity 0.25s ease;
}

.faq-item.active {
  background: linear-gradient(140deg, #ffffff 0%, #eefff9 100%);
}

.faq-item.active .faq-answer {
  max-height: 500px;
  opacity: 1;
}

.faq-item.active .faq-toggle-icon {
  transform: rotate(180deg);
}

.answer-content {
  padding: 0 14px 14px;
  font-size: 14px;
  color: #47395f;
  line-height: 1.65;
  opacity: 0;
  transform: translateY(-8px);
  transition: all 0.3s ease;
}

.faq-item.active .answer-content {
  opacity: 1;
  transform: translateY(0);
}

.empty-state {
  text-align: center;
  color: #5f4d7a;
  font-size: 14px;
  margin: 14px 0;
}

.faq-help-strip {
  border: 2px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 7px 0 rgba(44, 25, 69, 0.9);
  background: linear-gradient(130deg, #ffffff 0%, #f6fbff 100%);
  padding: 10px 15px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: center;
}

.faq-help-strip p {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
}

.faq-help-strip a {
  text-decoration: none;
  font-family: "Syne", "poppins-bold", sans-serif;
  color: #261646;
  background: var(--pink);
  border: 2px solid var(--line);
  border-radius: 999px;
  padding: 7px 13px;
  box-shadow: 0 4px 0 var(--line);
}

@keyframes faq-rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes faq-spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 900px) {
  .faq-shell {
    width: calc(100% - 18px);
    margin-bottom: 38px;
  }

  .faq-hero,
  .faq-board {
    border-radius: 20px;
  }
}

@media (max-width: 640px) {
  body.faq-funky-page {
    padding-top: 94px;
  }

  .faq-hero h1 {
    font-size: clamp(30px, 12vw, 46px);
  }

  .faq-question-text {
    font-size: 14px;
  }

  .answer-content {
    font-size: 13px;
  }

  .faq-help-strip {
    border-radius: 20px;
    justify-content: flex-start;
  }
}

/* ═══════════════════════════════════════════════════════════════
   Product tab bar — funky pill buttons matching the FAQ board
   ═══════════════════════════════════════════════════════════════ */
.faq-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 12px;
  border: 2px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(135deg, #ffffff 0%, #fff7fd 60%, #f1fff6 100%);
  box-shadow: 0 7px 0 rgba(44, 25, 69, 0.9);
}

.faq-tab {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border: 2px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  color: #24143d;
  font-family: "Syne", "poppins-bold", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow: 0 3px 0 var(--line);
  transition: transform 160ms ease, background 200ms ease, box-shadow 160ms ease;
  white-space: nowrap;
}

.faq-tab:hover {
  background: var(--lavender);
  transform: translateY(-1px);
  box-shadow: 0 4px 0 var(--line);
}

.faq-tab:active {
  transform: translateY(1px);
  box-shadow: 0 1px 0 var(--line);
}

.faq-tab.is-active {
  background: var(--lime);
  box-shadow: 0 4px 0 var(--line);
  transform: rotate(-1deg);
}

.faq-tab-emoji {
  font-size: 16px;
  line-height: 1;
}

@media (max-width: 720px) {
  .faq-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    border-radius: 18px;
    -webkit-overflow-scrolling: touch;
  }
  .faq-tabs::-webkit-scrollbar { display: none; }
  .faq-tab { flex-shrink: 0; font-size: 12.5px; }
}