/* Mutual Funds + WealthTick: headings and feature cards either side of the two real app screenshots, on a plain quiet gradient.
   Desktop = three columns (MF copy | phones | WealthTick copy). Tablet = headings on top, phones, then cards. Mobile = one column. */
.split {
  --navy: var(--purple, #37305c);
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(40px, 4.8vw, 68px) 0 clamp(40px, 4.8vw, 68px);
  background:
    radial-gradient(ellipse at 50% 58%, rgba(124, 82, 220, 0.07), transparent 42%),
    radial-gradient(circle at 12% 78%, rgba(241, 135, 23, 0.08), transparent 36%),
    radial-gradient(circle at 86% 24%, rgba(55, 48, 92, 0.07), transparent 40%),
    linear-gradient(115deg, #fffaf6 0%, #ffffff 46%, #faf7ff 100%);
}

.split__inner {
  width: 100%; max-width: 1360px; margin-inline: auto; padding-inline: clamp(20px, 4vw, 64px); box-sizing: border-box;
  display: grid; column-gap: clamp(28px, 4vw, 72px); row-gap: 28px;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.6fr) minmax(0, 0.85fr);
  grid-template-areas: "ms ph ws";
}
.split__side { display: flex; flex-direction: column; justify-content: flex-start; gap: clamp(16px, 1.6vw, 24px); width: 100%; max-width: 290px; justify-self: center; }
.split__side--mf { grid-area: ms; }
 .split__side--wt { grid-area: ws; }
.split__head--mf { grid-area: mh; }
.split__head--wt { grid-area: wh; }
.split__cards--mf { grid-area: mc; }
.split__cards--wt { grid-area: wc; }
.split__phones { grid-area: ph; }

/* ---- headings ---- */
.split__title { margin: 0; font-family: "Playfair Display", Georgia, "Times New Roman", serif; font-weight: 700; font-size: clamp(26px, 1.85vw, 35px); line-height: 1.1; letter-spacing: -0.025em; text-wrap: balance; }
.split__t1, .split__t2 { display: block; text-wrap: balance; }
.split__t1 { color: var(--navy); }
/* Mutual Funds heading: "Invest In" and "Like Never Before" smaller, "Mutual Funds" bigger */
.split__sm { display: block; font-size: 0.62em; line-height: 1.25; letter-spacing: -0.015em; }
.split__big { display: block; font-size: 1.28em; line-height: 1.05; }
.split__t2 { color: #f18717; word-spacing: 0.1em; }
.split__t2.split__sm { color: #f18717; }
.split__brand { display: flex; flex-wrap: nowrap; align-items: center; gap: 10px clamp(10px, 1vw, 16px); margin-top: clamp(4px, 0.5vw, 8px); }
.split__head { text-align: center; }
.split__brand { justify-content: center; }
.split__intro { margin: 0; font-size: clamp(10px, 0.62vw, 11px); line-height: 1; font-weight: 500; letter-spacing: 0.3em; white-space: nowrap; text-transform: uppercase; color: #5f5b78; }
.split__logo { display: block; width: clamp(115px, 8.4vw, 152px); height: auto; flex: 0 1 auto; }

/* ---- phones: the two real screenshots, grouped, straight, one soft grounding shadow ---- */
.split__phones { position: relative; display: flex; justify-content: center; align-items: flex-end; align-self: center; gap: clamp(2px, 0.5vw, 8px); padding-bottom: 26px; }
.split__phones::after { content: ""; position: absolute; left: 4%; right: 4%; bottom: 2px; height: 46px; border-radius: 50%; background: radial-gradient(closest-side, rgba(55, 48, 92, 0.3), rgba(55, 48, 92, 0.1) 60%, transparent); filter: blur(12px); z-index: 0; }
.split__phone { position: relative; z-index: 1; display: block; width: min(57%, 340px); height: auto; filter: drop-shadow(0 26px 34px rgba(55, 48, 92, 0.22)); }
.split__phone--mf { margin-bottom: 0; transform: none; width: min(42.4%, 256px); }
.split__phone--wt { margin-bottom: 0; transform: none; width: min(41.4%, 250px); } /* same on-screen height as the MF phone */

/* ---- feature cards ---- */
.split__cards { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(7px, 0.6vw, 9px); }
.split__card {
  display: flex; align-items: center; gap: 11px; padding: 9px 14px 9px 11px;
  border-radius: 14px; background: rgba(255, 255, 255, 0.72); border: 1px solid rgba(55, 48, 92, 0.06); box-shadow: 0 6px 20px rgba(55, 48, 92, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.split__card:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(55, 48, 92, 0.09); }
.split__ic { display: grid; place-items: center; flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%; }
.split__ic i { font-size: 17px; line-height: 1; }
.split__card--o .split__ic { background: #ffe6d0; color: var(--o); }
.split__card--v .split__ic { background: #ece6ff; color: #7c52dc; }
.split__card--g .split__ic { background: #dff5e6; color: #22a455; }
.split__txt { display: grid; gap: 1px; min-width: 0; }
.split__txt strong { font-size: 13.5px; font-weight: 700; line-height: 1.2; color: var(--navy); letter-spacing: -0.01em; }
.split__txt span { font-size: 12px; line-height: 1.35; color: #5f5b78; }

/* ---- entrance: slight rise + fade only ---- */
.split__wm { display: inline-block; overflow: hidden; vertical-align: top; padding: 0.14em 0.14em; margin: -0.14em -0.14em; }
.split__w { display: inline-block; }
.js .split .split__w { transform: translateY(118%); }
.js .split.is-in .split__w { transform: none; transition: transform 1.1s cubic-bezier(0.16, 1, 0.3, 1) calc(0.1s + var(--wi, 0) * 90ms); }
.js .split .split__phone, .js .split .split__card, .js .split .split__brand { opacity: 0; translate: 0 18px; }
.js .split.is-in .split__phone, .js .split.is-in .split__brand { opacity: 1; translate: 0 0; transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.3s, translate 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.3s; }
.js .split.is-in .split__phone--wt { transition-delay: 0.45s; }
.js .split.is-in .split__card { opacity: 1; translate: 0 0; transition: opacity 0.7s ease calc(0.5s + var(--ci, 0) * 0.12s), translate 0.7s ease calc(0.5s + var(--ci, 0) * 0.12s), transform 0.3s ease, box-shadow 0.3s ease; }

/* ================= tablet: headings on top, phones, then the cards ================= */
@media (max-width: 1023px) {
  .split__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "mh wh" "ph ph" "mc wc"; row-gap: 32px; }
  .split__side { display: contents; }
  .split__cards { margin-top: 0; }
  .split__phone { width: min(28.8%, 208px); }
  .split__phones { max-width: 620px; width: 100%; justify-self: center; }
}

/* ================= mobile: one column, MF heading > phones > MF cards > WT heading > logo > WT cards ================= */
@media (max-width: 719px) {
  .split__inner { grid-template-columns: minmax(0, 1fr); grid-template-areas: "mh" "ph" "mc" "wh" "wc"; row-gap: 26px; }
  .split__head { text-align: center; }
  .split__brand { justify-content: center; }
  .split__title { font-size: clamp(30px, 8.4vw, 40px); }
  .split__phone { width: min(35.2%, 168px); }
  .split__head--wt { margin-top: 26px; }
}

/* ================= phones: a real iPhone body (titanium frame, black bezel, side buttons) with a card that pops out of the screen ================= */

/* the screen is live markup behind a real iPhone frame image (transparent screen); popped sections sit above the frame */

.wt-st { left: 6.2%; right: 8%; color: #4a4a58; } .wt-st b { font-size: 2.9cqw; font-weight: 500; }
.wt-st > span { font-size: 3.2cqw; }

/* ---- Muni app sections rebuilt as live markup (vector-sharp text); sizes are in cqw so they scale with the phone ---- */

/* portfolio */

/* screener */

/* goal */

/* ---- WealthTick sections as live markup ---- */

 

 

/* tighter desktop layout: headings/cards sit right beside the phones instead of floating far away */
@media (min-width: 1024px) {
  .split__inner { max-width: 1120px; column-gap: clamp(12px, 1.4vw, 24px); grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr) minmax(0, 0.8fr); }
  .split__side--mf { justify-self: end; }
   .split__side--wt { justify-self: start; }
}

/* desktop: the layout is scaled as a whole by js/split-stage.js (zoom), so type sizes are fixed here instead of following the viewport width */
@media (min-width: 1024px) { .split__title { font-size: 27px; } }

/* both feature-card columns move 0.5cm up and 0.5cm down together (desktop only, off for reduced motion / Stop animations) */
@media (min-width: 900px) {
  .split__cards { margin-top: 0.5cm; will-change: transform; animation: split-bob 3.5s cubic-bezier(0.37, 0, 0.63, 1) infinite alternate; } /* 0.5cm lower at rest so the upward swing stops at the old position, short of the headline */
}
html.a11y-noanim .split__cards { animation: none; }
@keyframes split-bob { from { transform: translate3d(0, -0.5cm, 0); } to { transform: translate3d(0, 0.5cm, 0); } }

/* "Invest In" is orange like "Like Never Before" */
.split__t1 .split__sm { color: #f18717; }
