/* FinPath homepage: bold editorial panels and original SVG art. */
.mosaic-stage {
  --mosaic-ink: #12171c;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: auto;
  gap: 12px;
  margin: 0 0 32px;
  color: var(--mosaic-ink);
}
.mosaic-stage .mosaic-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1.5px solid #151a20;
  border-radius: 25px;
  box-shadow: none;
}
.mosaic-stage .mosaic-card h2,.mosaic-stage .mosaic-card p { margin: 0; }
.mosaic-stage .mosaic-card p { font-size: 16px; line-height: 1.6; }
.mosaic-stage .mosaic-eyebrow { font-size: 12px; font-weight: 800; line-height: 1.4; letter-spacing: .1em; color: #1a2430; }
/* A generous hero carries the visual energy; the text stays in its own column. */
.mosaic-stage .mosaic-automate {
  grid-column: 1 / -1;
  grid-row: 1;
  min-height: 430px;
  display: flex;
  align-items: center;
  background: #dceeff;
  isolation: isolate;
}
.mosaic-stage .mosaic-hero-copy { position: relative; z-index: 2; width: 57%; padding: 48px clamp(28px, 4vw, 58px); }
.mosaic-stage .mosaic-hero-copy h2 { margin: 20px 0 18px; color: #111418; font-size: clamp(42px, 5.2vw, 72px); line-height: 1.12; font-weight: 900; letter-spacing: -.055em; }
.mosaic-stage .mosaic-hero-copy h2 span { color: #111418; }
.mosaic-stage .mosaic-hero-copy > p { max-width: 34em; color: #263642; }
.mosaic-stage .mosaic-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.mosaic-stage .mosaic-actions button,.mosaic-stage .mosaic-chip,.mosaic-stage .mosaic-search-form button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px;
  padding: 10px 18px; border: 1.5px solid #14191e; border-radius: 999px;
  background: #fff; color: #14191e; font-size: 14px; font-weight: 750; line-height: 1.4;
  text-decoration: none;
}
.mosaic-stage .mosaic-actions button:first-child,.mosaic-stage .mosaic-search-form button { background: #14191e; color: #fff; }
.mosaic-stage :is(.mosaic-actions button,.mosaic-chip,.mosaic-search-form button) svg { width: 17px; height: 17px; flex: 0 0 auto; }
.slush-art { position: absolute; inset: 0 0 0 57%; overflow: hidden; pointer-events: none; z-index: 1; }
.slush-art .slush-orbit { position: absolute; width: 116%; height: 120%; right: -11%; bottom: -10%; }
.slush-orbit path { stroke: #1475e7; stroke-width: 36; stroke-linecap: round; }
.slush-orbit path:nth-child(2) { stroke: #2d97ef; stroke-width: 27; }
.slush-orbit path:nth-child(3) { stroke: #075ac7; stroke-width: 19; }
.slush-art .slush-sticker { position: absolute; width: clamp(78px, 10vw, 145px); height: auto; filter: drop-shadow(3px 5px 0 rgba(20,25,30,.16)); }
.slush-art .slush-sticker--book { left: 7%; top: 13%; transform: rotate(-12deg); }
.slush-art .slush-sticker--chart { right: 9%; top: 20%; transform: rotate(11deg); }
.slush-art .slush-sticker--spark { left: 28%; bottom: 11%; width: clamp(72px, 8vw, 112px); transform: rotate(-10deg); }
/* The lower cards continue the same black-outline visual system. */
.mosaic-stage .mosaic-notif { grid-column: 1 / 4; grid-row: 2; display: flex; align-items: center; padding: 18px; background: #f2ddff; }
.mosaic-stage .mosaic-toast { width: 100%; min-width: 0; display: flex; align-items: center; gap: 12px; padding: 16px; border: 1.5px solid #14191e; border-radius: 18px; background: #fff; box-shadow: 3px 4px 0 #14191e; text-align: left; color: #151a20; }
.mosaic-stage .mosaic-toast > svg { width: 24px; height: 24px; flex: 0 0 auto; }
.mosaic-stage .mosaic-toast > svg:last-child { width: 17px; height: 17px; margin-left: auto; }
.mosaic-stage .mosaic-toast-copy { min-width: 0; display: grid; gap: 5px; }
.mosaic-stage .mosaic-toast-copy strong { font-size: 15px; line-height: 1.4; }
.mosaic-stage .mosaic-toast-copy span { font-size: 13px; line-height: 1.5; color: #344450; }
.mosaic-stage .mosaic-connect { grid-column: 4 / 8; grid-row: 2; display: flex; flex-direction: column; gap: 12px; padding: 25px; background: #fff; }
.mosaic-stage .mosaic-connect h2 { color: #12171c; font-size: clamp(25px,2.5vw,34px); line-height: 1.2; letter-spacing: -.04em; }
.mosaic-stage .mosaic-connect > p { color: #334654; }
.mosaic-stage .mosaic-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 12px; }
.mosaic-stage .mosaic-chip { min-height: 42px; padding: 8px 12px; font-size: 13px; }
.mosaic-stage .mosaic-insights { grid-column: 8 / 13; grid-row: 2; min-height: 270px; display: flex; flex-direction: column; padding: 25px; background: #f4f8fc; }
.mosaic-stage .mosaic-insights-tag { align-self: flex-start; padding: 7px 13px; border: 1.5px solid #14191e; border-radius: 999px; background: #d5ee63; color: #161a1c; font-size: 12px; font-weight: 800; }
.mosaic-stage .mosaic-total { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; margin-top: 15px; }
.mosaic-stage .mosaic-total strong { color: #111418; font-size: 48px; line-height: 1; letter-spacing: -.06em; }
.mosaic-stage .mosaic-total span { color: #344450; font-size: 14px; line-height: 1.5; }
.mosaic-stage .mosaic-insights > p { margin-top: 8px; color: #344450; font-size: 14px; }
.mosaic-stage .mosaic-chart { display: flex; justify-content: space-between; align-items: end; gap: 8px; height: 105px; margin-top: auto; padding-top: 12px; }
.mosaic-stage .mosaic-bar-group { min-width: 0; flex: 1 1 0; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: end; gap: 4px; }
.mosaic-stage .mosaic-bar-track { position: relative; width: 100%; max-width: 42px; height: 100%; overflow: hidden; border-radius: 7px; background: #dce5ed; }
.mosaic-stage .mosaic-bar-fill { position: absolute; inset: auto 0 0; min-height: 0; border-radius: inherit; background: #1b78e8; }
.mosaic-stage .mosaic-bar-value,.mosaic-stage .mosaic-bar-label { font-size: 12px; line-height: 1.25; color: #25343f; text-align: center; }
.mosaic-stage .mosaic-bar-value { font-weight: 750; }
.mosaic-stage .mosaic-search { grid-column: 1 / -1; grid-row: 3; display: flex; align-items: center; gap: 24px; padding: 25px 30px; background: #e4dbfb; }
.mosaic-stage .mosaic-search-copy { flex: 0 0 auto; }
.mosaic-stage .mosaic-search-copy h2 { font-size: 24px; line-height: 1.25; letter-spacing: -.03em; }
.mosaic-stage .mosaic-search-copy p { margin-top: 6px; color: #333b50; }
.mosaic-stage .mosaic-search-form { flex: 1 1 300px; display: flex; align-items: center; gap: 10px; min-width: 0; min-height: 60px; margin-left: auto; padding: 6px 6px 6px 16px; border: 1.5px solid #14191e; border-radius: 999px; background: #fff; }
.mosaic-stage .mosaic-search-form > svg { width: 20px; height: 20px; flex: 0 0 auto; color: #1c2730; }
.mosaic-stage .mosaic-search-form input { flex: 1 1 auto; min-width: 0; width: 100%; border: 0; outline: 0; background: transparent; color: #17232b; font-size: 16px; line-height: 1.4; }
.mosaic-stage .mosaic-search-form input::placeholder { color: #57636e; opacity: 1; }
.mosaic-stage :is(.mosaic-chip,.mosaic-toast,.mosaic-actions button,.mosaic-search-form button) { transition: background .25s ease, box-shadow .25s ease, transform .25s ease; }
.mosaic-stage :is(.mosaic-chip,.mosaic-toast,.mosaic-actions button,.mosaic-search-form button):active { transform: scale(.97); }
.mosaic-stage :is(a,button,input):focus-visible { outline: 3px solid #105bb9; outline-offset: 3px; }
@media (hover:hover) and (pointer:fine) {
  .mosaic-stage .mosaic-chip:hover,.mosaic-stage .mosaic-actions button + button:hover { background: #dceeff; }
  .mosaic-stage .mosaic-search-form button:hover,.mosaic-stage .mosaic-actions button:first-child:hover { background: #314658; }
  .mosaic-stage .mosaic-toast:hover { transform: translateY(-2px); box-shadow: 4px 6px 0 #14191e; }
}
@media (max-width: 1100px) {
  .mosaic-stage .mosaic-notif { grid-column: 1 / 7; grid-row: 2; min-height: 160px; }
  .mosaic-stage .mosaic-connect { grid-column: 7 / 13; grid-row: 2 / 4; }
  .mosaic-stage .mosaic-insights { grid-column: 1 / 7; grid-row: 3; }
  .mosaic-stage .mosaic-search { grid-column: 1 / -1; grid-row: 4; }
}
@media (max-width: 850px) {
  .mosaic-stage { grid-template-columns: minmax(0,1fr); gap: 12px; }
  .mosaic-stage .mosaic-card { grid-column: 1; grid-row: auto; border-radius: 22px; }
  .mosaic-stage .mosaic-automate { order: -1; display: block; min-height: 0; }
  .mosaic-stage .mosaic-hero-copy { width: 100%; padding: 30px 24px 0; }
  .mosaic-stage .mosaic-hero-copy h2 { margin: 17px 0 14px; font-size: clamp(38px, 9vw, 54px); }
  .mosaic-stage .mosaic-actions { margin-top: 20px; }
  .slush-art { position: relative; inset: auto; height: 220px; margin-top: 6px; }
  .slush-art .slush-orbit { width: 100%; height: 160%; right: -4%; bottom: -30%; }
  .slush-art .slush-sticker { width: 90px; }
  .slush-art .slush-sticker--book { left: 13%; top: 12%; }
  .slush-art .slush-sticker--chart { right: 14%; top: 15%; }
  .slush-art .slush-sticker--spark { left: 42%; bottom: 5%; width: 72px; }
  .mosaic-stage .mosaic-notif { min-height: 120px; }
  .mosaic-stage .mosaic-connect { min-height: 210px; }
  .mosaic-stage .mosaic-insights { min-height: 245px; }
  .mosaic-stage .mosaic-search { flex-direction: column; align-items: stretch; gap: 15px; padding: 24px; }
  .mosaic-stage .mosaic-search-form { flex: none; margin: 0; }
}
@media (max-width: 360px) {
  .mosaic-stage .mosaic-hero-copy { padding-inline: 18px; }
  .mosaic-stage .mosaic-actions button { padding-inline: 12px; }
  .mosaic-stage .mosaic-search-form { padding-left: 11px; }
  .mosaic-stage .mosaic-search-form button { min-width: 55px; padding-inline: 11px; }
}
@media (prefers-reduced-motion:reduce) {
  .mosaic-stage :is(.mosaic-chip,.mosaic-toast,.mosaic-actions button,.mosaic-search-form button) { transition: none; }
  .mosaic-stage :is(.mosaic-chip,.mosaic-toast,.mosaic-actions button,.mosaic-search-form button):active { transform: none; }
}
html[data-motion="off"] .mosaic-stage :is(.mosaic-chip,.mosaic-toast,.mosaic-actions button,.mosaic-search-form button) { transition: none; }
html[data-motion="off"] .mosaic-stage :is(.mosaic-chip,.mosaic-toast,.mosaic-actions button,.mosaic-search-form button):active { transform: none; }

