/* One-screen homepage (Nov 29 2026): wide, short cards; no Proof & help row; contact form opens in a pop-up. */

/* Proof & help row removed; the contact form now lives in #mc-contact-dialog. */
body.mc-home-hub .success-story-section { display: none !important; }
/* "Building something? Apply" line is replaced by the Apply tile in the money row. */
body.mc-home-hub .mc-hub-partner-submit { display: none !important; }

/* Lane heading: title on the left, small links on the right. */
body.mc-home-hub .mc-lane-head { display: flex !important; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 16px; }
body.mc-home-hub .mc-lane-head .mc-lane-also { display: block !important; margin: 0 !important; font-size: .85rem !important; }

/* Apply tile (added by js/mc-onescreen.js as the last item in the money row). */
.mc-apply-tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 92px; border: 1.5px dashed #9fb8a9; border-radius: 14px; color: #1f6b45; text-decoration: none; font-weight: 700; font-size: 15px; text-align: center; background: transparent; padding: 8px; }
.mc-apply-tile small { font-weight: 500; color: #64748b; font-size: 12.5px; }
.mc-apply-tile:hover { background: #eef6f1; color: #0f172a; }

/* Contact pop-up. */
#mc-contact-dialog { position: fixed; inset: 0; margin: auto !important; height: fit-content; width: min(960px, 94vw); max-height: 90vh; overflow: auto; border: 0; border-radius: 18px; padding: 28px 24px 20px; box-shadow: 0 24px 60px rgba(15, 23, 42, .25); }
#mc-contact-dialog::backdrop { background: rgba(15, 23, 42, .45); }
#mc-contact-dialog .mc-contact-close { position: sticky; top: 0; float: right; margin: -16px -8px 0 0; width: 36px; height: 36px; border: 0; border-radius: 50%; background: #f1f5f9; color: #0f172a; font-size: 22px; line-height: 1; cursor: pointer; z-index: 2; }
#mc-contact-dialog .mc-contact-close:hover { background: #e2e8f0; }

/* Desktop: everything on one screen. */
@media (min-width: 1000px) {
  html body.mc-home-hub section.solutions-section,
  html body.mc-home-hub section.solutions-section > .container { zoom: 1 !important; min-height: 0 !important; height: auto !important; justify-content: flex-start !important; margin-top: 0 !important; }
  html body.mc-home-hub section.solutions-section { padding: clamp(6px, 2vh, 24px) 0 !important; flex: 1 0 auto !important; justify-content: center !important; }

  html body.mc-home-hub .mc-hub-hero { display: inline-block !important; margin: 0 !important; padding: 0 !important; vertical-align: middle; }
  html body.mc-home-hub .mc-hub-display { font-size: clamp(1.5rem, 2.6vw, 2.2rem) !important; margin: 0 !important; line-height: 1.1 !important; }
  html body.mc-home-hub figure.mc-bouquet { position: static !important; right: auto !important; width: auto !important; flex-direction: row !important; text-align: left !important; display: inline-flex !important; align-items: center; gap: 8px; margin: 0 0 0 14px !important; vertical-align: middle; height: auto !important; }
  html body.mc-home-hub figure.mc-bouquet img { height: 40px !important; width: auto !important; }
  html body.mc-home-hub figure.mc-bouquet figcaption { position: static !important; margin: 0 !important; font-size: .85rem !important; }

  html body.mc-home-hub .mc-lane { margin: clamp(14px, 4vh, 48px) 0 0 !important; padding: 0 !important; }
  html body.mc-home-hub .mc-lane-head { margin: 0 0 16px !important; }
  html body.mc-home-hub .mc-lane .mc-lane-grid { display: grid !important; grid-template-columns: repeat(5, minmax(0, 1fr)) !important; gap: 12px !important; margin: 0 !important; padding: 0 !important; }

  html body.mc-home-hub.mc-home-hub.mc-home-hub .mc-lane-grid article.sp-service-card.sp-service-card.sp-service-card { height: clamp(100px, 16vh, 170px) !important; min-height: 0 !important; margin: 0 !important; padding: 0 !important; }
  html body.mc-home-hub.mc-home-hub.mc-home-hub .mc-lane-grid article.sp-service-card.sp-service-card.sp-service-card .sp-flip { width: 100% !important; max-width: none !important; height: 100% !important; min-height: 0 !important; }
  html body.mc-home-hub.mc-home-hub.mc-home-hub .mc-lane-grid article.sp-service-card.sp-service-card.sp-service-card .sp-flip-front { display: flex !important; flex-direction: row !important; align-items: center !important; justify-content: flex-start !important; gap: 10px !important; height: 100% !important; min-height: 0 !important; padding: 0 12px !important; text-align: left !important; }
  html body.mc-home-hub.mc-home-hub.mc-home-hub .mc-lane-grid article.sp-service-card.sp-service-card.sp-service-card .sp-flip-back { display: none !important; }
  html body.mc-home-hub.mc-home-hub.mc-home-hub .mc-lane-grid article.sp-service-card.sp-service-card.sp-service-card .sp-service-card-top { width: auto !important; flex: none !important; margin: 0 !important; padding: 0 !important; }
  html body.mc-home-hub.mc-home-hub.mc-home-hub .mc-lane-grid article.sp-service-card.sp-service-card.sp-service-card .sp-service-icon { width: 34px !important; height: 34px !important; margin: 0 !important; flex: none; }
  html body.mc-home-hub.mc-home-hub.mc-home-hub .mc-lane-grid article.sp-service-card.sp-service-card.sp-service-card h2.sp-service-title { font-size: clamp(15px, 1.1vw + 0.4vh, 20px) !important; line-height: 1.2 !important; margin: 0 0 18px !important; padding-right: 4px !important; text-align: left !important; flex: 1 1 auto !important; width: auto !important; max-width: none !important; }
  html body.mc-home-hub.mc-home-hub.mc-home-hub .mc-lane-grid article.sp-service-card.sp-service-card.sp-service-card .sp-service-card-footer { position: absolute !important; top: auto !important; right: auto !important; bottom: 9px !important; left: 12px !important; width: auto !important; margin: 0 !important; padding: 0 !important; display: block !important; }
  html body.mc-home-hub.mc-home-hub.mc-home-hub .mc-lane-grid article.sp-service-card.sp-service-card.sp-service-card .sp-service-card-meta { display: block !important; margin: 0 !important; padding: 0 !important; }
  html body.mc-home-hub.mc-home-hub.mc-home-hub .mc-lane-grid article.sp-service-card.sp-service-card.sp-service-card .sp-watch-link { font-size: 12px !important; line-height: 1 !important; display: inline-flex !important; align-items: center; gap: 5px; padding: 4px 9px 4px 7px !important; white-space: nowrap; }
  html body.mc-home-hub.mc-home-hub.mc-home-hub .mc-lane-grid article.sp-service-card.sp-service-card.sp-service-card .sp-watch-link i { font-size: 13px !important; }
  html body.mc-home-hub .mc-lane .mc-apply-tile { min-height: 0; height: clamp(100px, 16vh, 170px); }

  .mc-site-footer { margin-top: 12px !important; }
}

/* "See how it works" pill on every card (all screen sizes). */
html body.mc-home-hub .mc-lane-grid .sp-watch-link.mc-watch-pill { display: inline-flex; align-items: center; gap: 5px; padding: 5px 11px 5px 8px; border-radius: 999px; background: rgba(31, 107, 69, .10); color: #1f6b45 !important; font-weight: 700; text-decoration: none; white-space: nowrap; transition: background .15s, color .15s; }
html body.mc-home-hub .mc-lane-grid .sp-watch-link.mc-watch-pill:hover,
html body.mc-home-hub .mc-lane-grid .sp-watch-link.mc-watch-pill:focus-visible { background: #1f6b45; color: #fff !important; }
html body.mc-home-hub .mc-lane-grid .sp-watch-link.mc-watch-pill i { color: inherit !important; }

/* Homepage refresh (Nov 29 2026): roomier cards that fill the screen, icon in the card corner,
   titles get the full width, "Quick preview" pill along the bottom, one-line footer. */
@media (min-width: 1000px) {
  html body.mc-home-hub section.solutions-section { padding: clamp(8px, 4vh - 12px, 48px) 0 clamp(8px, 3vh - 10px, 40px) !important; }
  html body.mc-home-hub .mc-hub-display { font-size: clamp(2rem, 2.2vw + 1.2vh, 3.4rem) !important; letter-spacing: -0.015em; }
  html body.mc-home-hub figure.mc-bouquet { margin-left: 18px !important; }
  html body.mc-home-hub figure.mc-bouquet img { height: 48px !important; }
  html body.mc-home-hub figure.mc-bouquet figcaption { font-size: clamp(.9rem, .5vw + .5vh, 1.1rem) !important; }
  html body.mc-home-hub .mc-lane { margin-top: clamp(10px, 5vh - 14px, 52px) !important; }
  html body.mc-home-hub .mc-lane-head { margin-bottom: clamp(10px, 2.4vh - 4px, 26px) !important; padding-bottom: clamp(4px, 1vh, 10px) !important; border-bottom: 1px solid color-mix(in srgb, #1F1A2E 8%, transparent); }
  html body.mc-home-hub .mc-lane-title { font-size: clamp(1.25rem, 1.1vw + .6vh, 1.7rem) !important; }
  html body.mc-home-hub .mc-lane .mc-lane-grid { gap: clamp(12px, 1.2vw, 20px) !important; }

  html body.mc-home-hub.mc-home-hub.mc-home-hub .mc-lane-grid article.sp-service-card.sp-service-card.sp-service-card { height: clamp(118px, 23vh - 20px, 224px) !important; border-radius: 20px !important; }
  html body.mc-home-hub .mc-lane .mc-apply-tile { height: clamp(118px, 23vh - 20px, 224px) !important; border-radius: 20px !important; }
  html body.mc-home-hub.mc-home-hub.mc-home-hub .mc-lane-grid article.sp-service-card.sp-service-card.sp-service-card .sp-flip-front { display: block !important; padding: clamp(14px, 2.4vh, 26px) clamp(18px, 1.4vw, 24px) 0 !important; }
  html body.mc-home-hub.mc-home-hub.mc-home-hub .mc-lane-grid article.sp-service-card.sp-service-card.sp-service-card .sp-service-card-top { float: right !important; margin: 2px -4px 4px 8px !important; }
  html body.mc-home-hub.mc-home-hub.mc-home-hub .mc-lane-grid article.sp-service-card.sp-service-card.sp-service-card .sp-service-icon { width: 36px !important; height: 36px !important; font-size: 16px !important; border-radius: 11px !important; }
  html body.mc-home-hub.mc-home-hub.mc-home-hub .mc-lane-grid article.sp-service-card.sp-service-card.sp-service-card h2.sp-service-title { display: block !important; font-size: clamp(15px, 0.85vw + 0.6vh, 22px) !important; line-height: 1.22 !important; margin: 0 !important; padding-right: 0 !important; }
  html body.mc-home-hub.mc-home-hub.mc-home-hub .mc-lane-grid article.sp-service-card.sp-service-card.sp-service-card .sp-service-card-footer { left: clamp(18px, 1.4vw, 24px) !important; bottom: clamp(12px, 2.2vh, 22px) !important; }

  body.mc-home-hub .mc-site-footer .mc-foot { flex-wrap: nowrap !important; align-items: center !important; gap: clamp(12px, 1.8vw, 32px) !important; }
  body.mc-home-hub .mc-site-footer .mc-foot nav { display: flex; flex-wrap: nowrap; gap: clamp(10px, 1.4vw, 24px) !important; margin: 0 auto 0 0 !important; }
  body.mc-home-hub .mc-site-footer .mc-foot nav a { white-space: nowrap; margin: 0 !important; }
  body.mc-home-hub .mc-site-footer .mc-foot-social { flex: none; }
  body.mc-home-hub .mc-site-footer .mc-foot-stores { flex: none; margin: 0 !important; display: flex !important; gap: 8px !important; }
  body.mc-home-hub .mc-site-footer .mc-foot-stores img { height: clamp(30px, 3.6vh, 40px) !important; width: auto !important; }
}

/* Bouquet line: flowers aligned with the headline's left edge, centred on the caption, with a little air under the headline. */
@media (min-width: 1000px) {
  html body.mc-home-hub figure.mc-bouquet { display: flex !important; align-items: center !important; gap: 12px !important; margin: clamp(8px, 1.4vh, 14px) 0 0 0 !important; }
  html body.mc-home-hub figure.mc-bouquet img { height: clamp(44px, 5.6vh, 58px) !important; width: auto !important; display: block; }
  html body.mc-home-hub figure.mc-bouquet figcaption { font-size: clamp(.95rem, .5vw + .6vh, 1.15rem) !important; line-height: 1.35 !important; }
}

/* Header (Nov 29 2026): MoneyChoice logo on the left; quieter, clearer forecast and news tickers. */
body.mc-home-hub .mc-headlogo { display: inline-flex; align-items: center; gap: 10px; flex: none; text-decoration: none; }
body.mc-home-hub .mc-headlogo img { width: 34px; height: 34px; border-radius: 9px; display: block; }
body.mc-home-hub .mc-headlogo span { font-family: var(--hub-font-display, Georgia, serif); font-weight: 800; font-size: 1.45rem; letter-spacing: -0.01em; color: var(--hub-ink, #1F1A2E); }
body.mc-home-hub .header_for_main .container_for_main.mc-services-header { justify-content: flex-start !important; gap: clamp(14px, 2.2vw, 36px) !important; }
body.mc-home-hub .mc-services-header .mc-strip2 { margin-right: auto; flex: 0 1 720px; width: auto !important; max-width: 720px; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.5fr) !important; gap: 0 !important; }
body.mc-home-hub .mc-s2, body.mc-home-hub .mc-s2-fc, body.mc-home-hub .mc-s2-nw { background: transparent !important; border: 0 !important; border-radius: 10px !important; padding: 6px 14px !important; }
body.mc-home-hub .mc-s2-nw { border-left: 1px solid color-mix(in srgb, #1F1A2E 10%, transparent) !important; border-radius: 0 !important; }
body.mc-home-hub .mc-s2:hover { background: color-mix(in srgb, #1F1A2E 4%, transparent) !important; }
body.mc-home-hub .mc-s2::after { display: none !important; }
body.mc-home-hub .mc-s2-k { font-size: 0.7rem !important; text-transform: uppercase; letter-spacing: 0.06em; }
body.mc-home-hub .mc-s2-bar { opacity: 0.28 !important; }
@media (max-width: 1180px) { body.mc-home-hub .mc-s2-m { display: none !important; } }
@media (max-width: 640px) { body.mc-home-hub .mc-headlogo span { font-size: 1.25rem; } }
body.mc-home-hub .mc-services-header .mc-strip2 { grid-template-columns: auto minmax(0, 1fr) !important; }
body.mc-home-hub .mc-s2-fc .mc-s2-v { overflow: visible !important; min-width: max-content; }
body.mc-home-hub .mc-s2-fc .mc-s2-m { display: none !important; }

/* Phones and tablets (Nov 29 2026): slim card rows (two per row on tablets), larger tap areas, one ticker in the header. */
@media (max-width: 999px) {
  html body.mc-home-hub .mc-lane .mc-lane-grid { display: grid !important; grid-template-columns: 1fr !important; gap: 10px !important; }
  html body.mc-home-hub.mc-home-hub.mc-home-hub .mc-lane-grid article.sp-service-card.sp-service-card.sp-service-card { height: auto !important; min-height: 0 !important; padding: 0 !important; margin: 0 !important; border-radius: 18px !important; }
  html body.mc-home-hub.mc-home-hub.mc-home-hub .mc-lane-grid article.sp-service-card.sp-service-card.sp-service-card .sp-flip { height: auto !important; min-height: 0 !important; width: 100% !important; }
  html body.mc-home-hub.mc-home-hub.mc-home-hub .mc-lane-grid article.sp-service-card.sp-service-card.sp-service-card .sp-flip-back { display: none !important; }
  html body.mc-home-hub.mc-home-hub.mc-home-hub .mc-lane-grid article.sp-service-card.sp-service-card.sp-service-card .sp-flip-front { display: grid !important; grid-template-columns: 42px minmax(0, 1fr) !important; column-gap: 14px !important; align-items: center !important; text-align: left !important; padding: 14px 16px 48px !important; min-height: 0 !important; height: auto !important; position: relative !important; }
  html body.mc-home-hub.mc-home-hub.mc-home-hub .mc-lane-grid article.sp-service-card.sp-service-card.sp-service-card .sp-service-card-top { margin: 0 !important; padding: 0 !important; grid-row: 1 !important; grid-column: 1 !important; align-self: center !important; justify-self: start !important; width: auto !important; display: block !important; }
  html body.mc-home-hub.mc-home-hub.mc-home-hub .mc-lane-grid article.sp-service-card.sp-service-card.sp-service-card .sp-service-icon { width: 42px !important; height: 42px !important; margin: 0 !important; border-radius: 12px !important; }
  html body.mc-home-hub.mc-home-hub.mc-home-hub .mc-lane-grid article.sp-service-card.sp-service-card.sp-service-card h2.sp-service-title { display: block !important; grid-column: 2 !important; justify-self: stretch !important; align-self: center !important; width: 100% !important; max-width: none !important; font-size: 17px !important; line-height: 1.25 !important; margin: 0 !important; padding: 0 !important; text-align: left !important; }
  html body.mc-home-hub.mc-home-hub.mc-home-hub .mc-lane-grid article.sp-service-card.sp-service-card.sp-service-card .sp-service-card-footer { position: absolute !important; left: 72px !important; bottom: 12px !important; right: auto !important; top: auto !important; margin: 0 !important; padding: 0 !important; width: auto !important; }
  html body.mc-home-hub .mc-lane .mc-apply-tile { min-height: 0 !important; height: auto !important; padding: 16px !important; flex-direction: row !important; flex-wrap: wrap; gap: 8px !important; }
  html body.mc-home-hub .mc-lane { margin-top: 22px !important; }
  html body.mc-home-hub .mc-lane-head { margin-bottom: 12px !important; }
  html body.mc-home-hub .mc-lane-head .mc-lane-also a, body.mc-home-hub .mc-site-footer nav a { display: inline-block; padding: 12px 4px; }
  body.mc-home-hub .mc-site-footer .mc-foot-social a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; }
  body.mc-home-hub .mc-s2-nw { display: none !important; }
  body.mc-home-hub .mc-services-header .mc-strip2 { grid-template-columns: auto !important; flex: 0 1 auto !important; }
}
@media (min-width: 640px) and (max-width: 999px) {
  html body.mc-home-hub .mc-lane .mc-lane-grid { grid-template-columns: 1fr 1fr !important; }
}

/* Two-tone card titles: the payoff in MoneyChoice green, like the headline's "every day." */
body.mc-home-hub .mc-lane-grid .sp-service-title .mc-hl { color: #1f6b45; }
body.mc-home-hub .mc-lane-grid .sp-service-card.tone-sky .sp-service-title .mc-hl { color: #14532d; }
