/* /landing/mutual-funds/ (Mutual Fund baskets). Loaded after wright-landing.css
   and wright-stocks.css, and built on both; this file only holds what differs
   for Mutual Funds: lavender accents (Brand Design System v1.1: MF = Wright
   Lavender, ink text on lavender fills) and the "How we choose the funds"
   funnel. Scoped under .wm. */

.wm .wm-t-pop .wl-spark { margin-top: auto; height: 54px; }
.wm .ws-kicker span { background: #C0B1F8; }

/* Filters, highlight and compare in lavender rather than green. */
.wm .ws-opts button:hover { border-color: #A897F2; }
.wm .ws-opts button[aria-checked="true"] { background: #C0B1F8; border-color: #C0B1F8; color: var(--ink); }
.wm .ws-highlight { background: #EFEBFF; border-color: #D9D0FC; }
.wm .ws-compare-row > .is-us { background: #EFEBFF; box-shadow: inset 2px 0 0 #A897F2, inset -2px 0 0 #A897F2; }
.wm .ws-compare-head > .is-us { background: #C0B1F8; color: var(--ink); }
.wm .ws-compare-row:last-of-type > .is-us { box-shadow: inset 2px 0 0 #A897F2, inset -2px 0 0 #A897F2, inset 0 -2px 0 #A897F2; }
.wm .ws-compare .is-y i { background: #A897F2; }
.wm .ws-compare .is-p i { border-color: #A897F2; background: linear-gradient(90deg, #A897F2 50%, transparent 50%); }

/* How we choose the funds */
.wm-choose { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 64px; align-items: center; }
.wm-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 26px; }
.wm-funnel { display: flex; flex-direction: column; align-items: center; gap: 10px; margin: 0; padding: 0; list-style: none; }
.wm-funnel li { width: calc(52% + var(--w, 100%) * .48); display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: center; padding: 16px 20px; border-radius: 16px; background: #FFFFFF; border: 1px solid var(--border); transition: transform .3s var(--ease), box-shadow .3s; }
.wm-funnel li:hover { transform: translateY(-3px); box-shadow: var(--lift-shadow); }
.wm-funnel i { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #EFEBFF; color: var(--ink); font-size: 14px; font-weight: 800; font-style: normal; }
.wm-funnel b { display: block; font-size: 17px; font-weight: 700; color: var(--ink); }
.wm-funnel span { display: block; margin-top: 2px; font-size: 13px; line-height: 1.5; }
.wm-funnel li.wm-funnel-out { display: block; width: 52%; text-align: center; font-size: 15px; font-weight: 700; color: var(--ink); background: #C0B1F8; border-color: #C0B1F8; }

@media (max-width: 1080px) {
  .wm-choose { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 640px) {
  .wm-funnel li { width: 100%; padding: 14px 16px; }
  .wm-funnel li.wm-funnel-out { width: 100%; }
}

/* "Which basket fits you?" */
.wm .ws-filters-head b { font-size: 24px; letter-spacing: -.01em; }
.ws-filters-sub { font-size: 15px; color: var(--muted); }
.wm .ws-filter-rows { gap: 20px 40px; margin-top: 20px; }
.wm .ws-filter-label { font-size: 14px; }
.wm .ws-opts { gap: 8px; margin-top: 10px; }
.wm .ws-opts button { min-height: 46px; padding: 10px 18px; border-radius: 12px; font-size: 15px; }
@media (max-width: 640px) {
  .wm .ws-filters-head b { font-size: 20px; }
  .wm .ws-opts button { padding: 10px 14px; font-size: 14px; }
}

/* CTAs below the first fold: Wright Lavender, light to dark (white text). */
.wm .wl-btn,
.wm .wl-btn:hover {
  background: linear-gradient(100deg, #8D78E6 0%, #6A52CC 45%, #3B2A82 100%);
  background-size: 170% 100%;
}
.wm .wl-btn { background-position: 0 0; box-shadow: 0 1px 0 rgba(255, 255, 255, .2) inset, 0 10px 26px -12px rgba(78, 58, 158, .6), 0 8px 24px -10px rgba(192, 177, 248, .6); }
.wm .wl-btn:hover { background-position: 100% 0; box-shadow: 0 1px 0 rgba(255, 255, 255, .2) inset, 0 14px 30px -12px rgba(78, 58, 158, .65), 0 12px 30px -10px rgba(192, 177, 248, .75); }
