/* Shared template for every /products/*.html page: hero + "how it works" + FAQ.
   Feature cards reuse .feat from mutual-funds.css and the final CTA reuses
   .wt__cta from wealthtick.css, so this file only covers what's unique here. */

/* ---- features: reuses .mf/.mf__features/.feat from mutual-funds.css, but this
   isn't sitting under the hero like on the homepage, so undo that overlap treatment ---- */
.mf.pf-features { margin-top: 0; padding: clamp(32px, 3.4vw, 48px) 0 clamp(32px, 3.4vw, 48px); border-radius: 0; box-shadow: none; }

/* ---- hero ---- */
.ph { position: relative; padding: clamp(28px, 4vw, 44px) 0 clamp(14px, 1.6vw, 24px); overflow: hidden; }
.ph__grid {
  display: grid; grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 5vw, 72px); align-items: center;
}
.ph__back {
  display: inline-flex; align-items: center; gap: 6px; margin-bottom: 16px;
  font-size: 13px; font-weight: 700; color: var(--plum); transition: color 0.25s;
}
.ph__back:hover { color: var(--o); }
.ph__copy h1 {
  margin: 16px 0 0; font-family: var(--display); font-weight: 700;
  letter-spacing: -0.03em; line-height: 1.06; font-size: clamp(30px, 3.6vw, 50px); text-wrap: balance;
}
.ph__copy h1 em { font-style: normal; color: var(--o); }
.ph__lead { margin: 18px 0 0; max-width: 52ch; font-size: clamp(15.5px, 1.15vw, 18px); color: var(--mute); font-weight: 400; line-height: 1.6; }
.ph__actions { margin-top: 30px; display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.ph__more { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--ink); }
.ph__more i { transition: transform 0.3s var(--ease); }
.ph__more:hover i { transform: translateY(3px); }

.ph__art { position: relative; }

/* ---- FAQ ---- */
.pfaq { padding: clamp(32px, 3.4vw, 48px) 0 clamp(48px, 5vw, 72px); background: var(--surface); }
.pfaq__title { margin: 16px 0 0; font-family: var(--display); font-weight: 700; letter-spacing: -0.03em; font-size: clamp(26px, 3vw, 40px); }
.pfaq__list { margin-top: clamp(28px, 3.4vw, 40px); display: grid; gap: 12px; max-width: 760px; }
.pfaq__item {
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 4px 22px;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.pfaq__item[open] { border-color: rgba(241, 135, 23, 0.35); box-shadow: 0 20px 40px -28px rgba(0, 0, 0, 0.18); }
.pfaq__item summary {
  list-style: none; cursor: pointer; padding: 18px 0; display: flex; align-items: center;
  justify-content: space-between; gap: 16px; font-weight: 700; font-size: 15.5px; color: var(--ink);
}
.pfaq__item summary::-webkit-details-marker { display: none; }
.pfaq__item summary i { flex-shrink: 0; font-size: 19px; color: var(--o); transition: transform 0.3s var(--ease); }
.pfaq__item[open] summary i { transform: rotate(45deg); }
.pfaq__item p { margin: 0 0 20px; color: var(--plum); font-size: 14.5px; line-height: 1.6; }

/* ---- responsive ---- */
@media (max-width: 900px) {
  .ph__grid { grid-template-columns: 1fr; text-align: center; }
  .ph__art { order: -1; max-width: 360px; margin-inline: auto; }
  .ph__actions { justify-content: center; }
  .ph__lead { margin-inline: auto; }
}

/* ---- MUNI purple treatment: white hero -> purple features -> light FAQ -> purple CTA ---- */
.ph { background: linear-gradient(180deg, #f6f5fa, #fff 78%); }
.ph__copy h1 { color: var(--purple); }
.ph__copy h1 em { color: var(--o); }

.mf.pf-features { background: linear-gradient(170deg, var(--purple), var(--purple-deep)); box-shadow: none; }
.mf.pf-features .mf__title { color: #fff; margin-top: 0; }
.mf.pf-features .feat { border-color: transparent; }
.mf.pf-features .feat:hover { border-color: var(--o); }

.pfaq { background: #f6f5fa; }
.pfaq__title { color: var(--purple); margin-top: 0; }
.pfaq__item summary:focus-visible { outline: 2px solid var(--o); outline-offset: 2px; border-radius: 10px; }
.pfaq__item[open] { border-color: rgba(55, 48, 92, 0.4); }
.pfaq__item summary i { color: var(--purple); }
.pfaq__item p { animation: faqIn 0.3s var(--ease); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-4px); } }

/* ---- product hero photo ---- */

/* ---- FAQ + Get Started side by side ---- */
.pfaq__grid { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(280px, 1fr); gap: clamp(28px, 4vw, 60px); align-items: start; }
.pfaq__main .pfaq__list { max-width: none; }
.pfaq .wt__cta { position: sticky; top: calc(var(--nav-h) + 24px); transform: none; padding: clamp(26px, 2.6vw, 36px); box-shadow: 0 30px 60px -34px rgba(42, 36, 71, 0.55); }
.pfaq .wt__cta::before { display: none; }
.pfaq .wt__cta-badge { position: static; margin-bottom: 18px; animation: none; transform: none; }
@media (max-width: 900px) {
  .pfaq__grid { grid-template-columns: 1fr; }
  .pfaq .wt__cta { position: static; }
}
/* Ready-to-start card: fixed beside the FAQ, no sticky/scroll follow and no tilt */
.pfaq .wt__cta { position: relative; top: auto; align-self: start; transform: none !important; transition: box-shadow 0.4s var(--ease); }

/* card stretches to the FAQ column so both end on the same line */
.pfaq .wt__cta { align-self: stretch; }
.pfaq .wt__cta-list { padding-bottom: 26px; }
.pfaq .wt__cta-btn { margin-top: auto; }
@media (max-width: 900px) { .pfaq .wt__cta { align-self: auto; } }

