/* Brand restoration successor; isolated to this release candidate. */
.mll-v2-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  align-items: center;
  min-height: 468px;
  padding: 26px max(24px, calc((100vw - 1240px) / 2));
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  background: #052956;
}
.mll-v2-hero::before {
  position: absolute;
  content: "";
  inset: 0;
  z-index: 0;
}
.mll-v2-hero-copy { position: relative; z-index: 1; width: min(100%, 800px); min-width: 0; }
.mll-v2-hero-media { position: absolute; inset: 0; z-index: -1; display: block; width: 100%; height: 100%; overflow: hidden; }
.mll-v2-hero-media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center center; }
.v2-home .mll-v2-hero h1 { max-width: 25ch; margin: 0 0 9px; font-size: clamp(36px, 3.3vw, 48px); line-height: 1.04; letter-spacing: -.025em; }
.mll-v2-hero .mll-v2-accent { display: inline; color: #62e7f0; }
.mll-v2-sign { position: static; margin: 0 0 8px; color: #a5eff3; font: 800 14px/1.25 var(--font-body, Arial, sans-serif); letter-spacing: .14em; text-transform: uppercase; }
.mll-v2-hero .mll-v2-lead { max-width: 64ch; margin: 0 0 14px; color: #e5f4ff; font-size: 15px; }
.mll-v2-hero .mll-v2-search { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); width: 100%; max-width: 760px; gap: 4px; padding: 5px; border: 1px solid #dce6f2; border-radius: 13px; background: #fff; box-shadow: 0 8px 24px #0018343d; }
.mll-v2-hero .mll-v2-search input, .mll-v2-hero .mll-v2-search select { min-width: 0; padding: 10px 11px; border: 0; border-right: 1px solid #dce6f2; border-radius: 0; background: #fff; color: #17283e; font-size: 13px; }
.mll-v2-hero .mll-v2-search input[name="q"] { grid-column: 1 / 3; border-right: 1px solid #dce6f2; }
.mll-v2-hero .mll-v2-search select[name="category"] { grid-column: 3 / 5; border-right: 0; }
.mll-v2-hero .mll-v2-search select[name="state"] { grid-column: 1 / 2; }
.mll-v2-hero .mll-v2-search input[name="place"] { grid-column: 2 / 4; border-right: 1px solid #dce6f2; }
.mll-v2-hero .mll-v2-search button { grid-column: 4 / 5; margin: 0; padding: 10px 18px; border: 0; border-radius: 9px; background: #0878dc; color: #fff; font-weight: 800; white-space: nowrap; }
.mll-v2-popular-wrap { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; margin-top: 12px; }
.mll-v2-popular-label { color: #e0edf7; font-size: 12px; font-weight: 700; }
.mll-v2-hero .mll-v2-popular { display: flex; flex-wrap: wrap; gap: 7px; margin: 0; }
.mll-v2-hero .mll-v2-popular a { margin: 0; padding: 5px 12px; border: 1px solid #ffffff75; border-radius: 999px; background: #082c55c9; color: #fff; font-size: 12px; font-weight: 700; line-height: 1.2; transition: background .15s ease, border-color .15s ease; }
.mll-v2-hero .mll-v2-popular a:hover { border-color: #63e4f0; background: #0d4576; }
.mll-v2-campaign-card { position: relative; z-index: 1; display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 8px 12px; width: min(100%, 800px); max-width: 800px; padding: 8px 0 0; border: 0; border-radius: 0; background: transparent; color: #fff; box-shadow: none; }
.mll-v2-campaign-card .mll-v2-badge { position: static; align-self: flex-start; display: inline-flex; padding: 7px 12px; border-radius: 999px; background: #16844a; color: #fff; font-size: 12px; font-weight: 900; }
.mll-v2-campaign-card .v2-register { display: inline-flex; justify-content: center; padding: 8px 14px; border-radius: 999px; background: #6be4ee; color: #052956; font-size: 12px; font-weight: 900; }
.mll-v2-campaign-detail { color: #bfe9f1; font-size: 11px; text-align: left; }
.v2-home .v2-topnav { position: relative; z-index: 20; background: #041f49; border-bottom: 1px solid #ffffff20; color: #fff; }
.v2-home .v2-links a { color: #e7f0fc; }
.v2-home .v2-links a:hover, .v2-home .v2-links a.active { color: #64e4ef; }
.v2-home .v2-icon-btn, .v2-home .v2-btn-ghost { color: #fff; }
.v2-home .v2-topnav .lang-toggle { color: #dce8f5; }
.v2-home .v2-topnav .lang-btn { border-color: #ffffff70; color: #fff; }
.v2-home .v2-topnav .lang-btn.active { border-color: #64e4ef; background: #64e4ef; color: #052956; }
.v2-home .v2-topnav .mll-menu-icon { background: transparent !important; background-color: transparent !important; box-shadow: none !important; }
.v2-home .v2-topnav .hamburger .mll-menu-icon > span { background: #fff; }
.v2-home .v2-topnav .v2-hamburger { background: transparent !important; background-color: transparent !important; border: 0 !important; box-shadow: none !important; }
.v2-home .v2-topnav .v2-btn-primary { background: #086bbf; color: #fff; }
.v2-home #how-it-works[hidden], #how-it-works[hidden] { display: none !important; }
.mll-community-connect { padding: 40px 0 36px; }
.mll-community-connect .cc-wrap { width: min(100% - 40px, 1160px); margin-inline: auto; }
.mll-community-connect .cc-videos-block { margin-top: 28px; }
.mll-community-connect .cc-video-layout--single .cc-single-stage { display: block; width: 100%; margin: 0; padding: 0; border: 0; background: transparent; box-shadow: none; }
.mll-community-connect .cc-featured-panel { display: none; }
.mll-community-connect .cc-video-layout--grid .cc-video-grid,
.mll-community-connect .cc-video-layout--single .cc-video-grid,
.mll-community-connect .cc-video-layout--many .cc-video-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 280px)); justify-content: center; gap: 22px; }
.mll-community-connect .cc-video-card { width: 100%; max-width: 280px; margin: 0 auto; overflow: hidden; border: 1px solid #e4eaf1; border-radius: 16px; background: #fff; box-shadow: 0 8px 26px #102a4516; }
.mll-community-connect .cc-video-media { position: relative; width: 100%; max-height: 500px; aspect-ratio: 9 / 16; overflow: hidden; border-radius: 0; background: #071d35; }
.mll-community-connect .cc-video-media .cc-poster,
.mll-community-connect .cc-video-media .cc-video-player { position: absolute; inset: 0; display: block; width: 100%; height: 100%; max-width: none; aspect-ratio: 9/16; object-fit: contain; background: #071d35; }
.mll-community-connect .cc-video-media .cc-video-player[hidden], .mll-community-connect .cc-video-media .cc-poster[hidden] { display: none; }
.mll-community-connect .cc-video-media .cc-badge { position: absolute; top: 12px; left: 12px; z-index: 2; width: auto; height: auto; padding: 6px 9px; border-radius: 999px; background: #052956d9; color: #fff; font-size: 9px; font-weight: 800; }
.mll-community-connect .cc-video-media .cc-play { position: absolute; inset: 50% auto auto 50%; z-index: 3; display: grid; place-items: center; width: 54px; height: 54px; padding: 0; transform: translate(-50%,-50%); border: 2px solid #fff; border-radius: 50%; background: #052956d9; color: #fff; cursor: pointer; }
.mll-community-connect .cc-video-media .cc-play:hover { background: #0878dc; }
.mll-community-connect .cc-video-media .cc-play[hidden] { display: none; }
.mll-community-connect .cc-video-media .cc-platform-chip, .mll-community-connect .cc-player-status { display: none !important; }
.mll-community-connect .cc-media-caption { display: none; }
.mll-community-connect .cc-video-body { padding: 14px 15px 16px; }
.mll-community-connect .cc-video-title { min-height: 2.6em; color: #092a4c; font-size: 15px; font-weight: 800; line-height: 1.3; }
.mll-community-connect .cc-video-desc { margin: 7px 0 0; color: #536579; font-size: 12px; line-height: 1.5; }
.mll-community-connect .cc-video-meta { margin-top: 10px; color: #64778b; font-size: 10px; }
.mll-community-connect .cc-appear-cta { margin-top: 24px; }
body { overflow-x: clip; }
@media (max-width: 1100px) {
  .mll-v2-hero { min-height: 460px; padding-inline: 28px; }
  .mll-v2-hero .mll-v2-search { max-width: 680px; }
  .mll-community-connect .cc-video-layout--grid .cc-video-grid,
  .mll-community-connect .cc-video-layout--single .cc-video-grid,
  .mll-community-connect .cc-video-layout--many .cc-video-grid { grid-template-columns: repeat(2, minmax(0, 280px)); }
}
@media (max-width: 680px) {
  .mll-v2-hero { display: flex; min-height: 0; padding: 30px 18px 18px; flex-direction: column; align-items: stretch; gap: 16px; }
  .mll-v2-hero::before { display: none; }
  .mll-v2-hero { background: #052956; }
  .mll-v2-hero-copy { width: 100%; }
  .v2-home .mll-v2-hero h1 { max-width: 20ch; font-size: clamp(33px, 8.5vw, 42px); }
  .mll-v2-hero .mll-v2-search { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
  .mll-v2-hero .mll-v2-search > * { grid-column: auto !important; min-height: 42px; border: 1px solid #dce6f2; border-radius: 7px; }
  .mll-v2-hero .mll-v2-search input[name="q"] { grid-column: 1 / -1 !important; }
  .mll-v2-hero .mll-v2-search button { margin: 0; }
  .mll-v2-hero-media { position: relative; inset: auto; z-index: 0; width: 100%; height: auto; min-height: 0; margin-top: 0; aspect-ratio: 3 / 1; border-radius: 12px; }
  .mll-v2-hero-media img { height: 100%; object-fit: contain; }
  .mll-v2-campaign-card { max-width: none; padding-top: 6px; }
  .mll-v2-popular-wrap { align-items: flex-start; flex-direction: column; }
  .mll-community-connect { padding: 34px 0 30px; }
  .mll-community-connect .cc-wrap { width: min(100% - 28px, 440px); }
  .mll-community-connect .cc-video-layout--grid .cc-video-grid,
  .mll-community-connect .cc-video-layout--single .cc-video-grid,
  .mll-community-connect .cc-video-layout--many .cc-video-grid { display: flex; justify-content: flex-start; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-inline: contain; padding: 3px 1px 14px; }
  .mll-community-connect .cc-video-card { flex: 0 0 min(76vw, 260px); max-width: 260px; scroll-snap-align: center; }
  .mll-community-connect .cc-video-media { max-height: 462px; }
  .v2-home .v2-topnav .v2-topnav-inner { background: #041f49; }
}

/* Owner-approved homepage layout successor. */
.v2-home .v2-topnav-inner { max-width: 1320px; padding-inline: 40px; box-sizing: border-box; gap: 8px; }
.v2-home .v2-links { gap: 2px; }
.v2-home .v2-links a { padding: 6px 7px; font-size: 13px; white-space: nowrap; }
.v2-home .v2-top-actions { gap: 6px; }
.v2-home .v2-top-actions .v2-icon-btn { display: inline-flex; width: 34px; height: 34px; flex: 0 0 34px; padding: 0; border: 1px solid #ffffff80; border-radius: 50%; background: transparent !important; color: #fff !important; }
.v2-home .v2-top-actions .v2-icon-btn svg { display: block; width: 18px; height: 18px; color: #fff; }
.v2-home .v2-top-actions .v2-icon-btn:hover { border-color: #62e7f0; background: #ffffff15 !important; }
.v2-home .v2-top-actions .lang-btn.active { border-color: #22d9e8; background: #22d9e8; color: #041f49; }
.mll-v2-hero { position: relative; display: block; min-height: 450px; padding: 22px max(24px, calc((100vw - 1240px) / 2)); overflow: hidden; isolation: isolate; color: #fff; background: #041f49; }
.mll-v2-hero::before { position: absolute; content: ""; inset: 0; z-index: 1; background: linear-gradient(90deg, #041f49 0%, #041f49f5 28%, #052956e8 42%, #05295688 54%, #05295616 68%, transparent 78%); }
.mll-v2-hero-copy { position: relative; z-index: 2; width: min(100%, 580px); min-width: 0; }
.mll-v2-hero-media { position: absolute; inset: 0 0 0 auto; z-index: 0; width: 75%; height: 100%; overflow: hidden; }
.mll-v2-hero-media img { width: 100%; height: 100%; object-fit: contain; object-position: right center; }
.v2-home .mll-v2-hero h1 { max-width: 20ch; margin: 0 0 8px; font-size: clamp(34px, 2.7vw, 42px); line-height: 1.05; letter-spacing: -.025em; }
.v2-home .mll-v2-hero h1 > span:first-child { color: #fff; }
.mll-v2-hero .mll-v2-accent { display: block; color: #22d9e8; }
.mll-v2-hero .mll-v2-sign { position: static; margin: 0 0 8px; color: #65e6ef; font-size: 13px; font-weight: 900; letter-spacing: .12em; }
.mll-v2-hero .mll-v2-lead { max-width: 55ch; margin: 0 0 10px; color: #e7f4ff; font-size: 14px; line-height: 1.4; }
.mll-v2-hero .mll-v2-search { width: min(100%, 560px); max-width: 560px; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 4px; padding: 5px; border: 1px solid #d7e2ef; border-radius: 11px; background: #fff; box-shadow: 0 7px 20px #00183435; }
.mll-v2-hero .mll-v2-search input, .mll-v2-hero .mll-v2-search select { width: 100%; min-width: 0; min-height: 34px; padding: 7px 9px; border: 1px solid #dce6f2; border-radius: 6px; background: #fff; color: #17283e; font-size: 12px; }
.mll-v2-hero .mll-v2-search input[name="q"], .mll-v2-hero .mll-v2-search select[name="category"], .mll-v2-hero .mll-v2-search button { grid-column: 1 / -1; }
.mll-v2-hero .mll-v2-search select[name="state"] { grid-column: 1; }
.mll-v2-hero .mll-v2-search input[name="place"] { grid-column: 2; }
.mll-v2-hero .mll-v2-search button { min-height: 36px; margin: 0; padding: 8px 12px; border: 0; border-radius: 7px; background: #0869f7; color: #fff; font-size: 13px; font-weight: 800; }
.mll-v2-popular-wrap { display: flex; align-items: center; flex-wrap: wrap; gap: 7px 10px; margin-top: 9px; }
.mll-v2-popular-label { color: #fff; font-size: 12px; font-weight: 800; }
.mll-v2-hero .mll-v2-popular { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.mll-v2-hero .mll-v2-popular a { margin: 0; padding: 5px 10px; border: 1px solid #74a4d7; border-radius: 999px; background: #0a3260; color: #fff; font-size: 11px; font-weight: 700; line-height: 1.2; }
.mll-v2-hero .mll-v2-popular a:hover { border-color: #22d9e8; background: #10467a; }
.mll-v2-campaign-card { display: none !important; }

.mll-registration-band { padding: 14px 0 8px; background: #f3f7fc; }
.mll-registration-banner { width: 100%; max-width: 1240px; min-height: 148px; margin-inline: auto; padding: 18px 22px; display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,1.25fr) minmax(245px,.9fr); align-items: center; gap: 0; border: 2px solid #22d9e8; border-radius: 18px; background: linear-gradient(115deg,#041f49 0%,#082d59 100%); color: #fff; box-shadow: 0 8px 24px #08264b1c; }
.mll-registration-invitation { display: flex; align-items: center; gap: 14px; min-width: 0; padding-right: 18px; }
.mll-storefront-icon { flex: 0 0 58px; width: 58px; height: 58px; display: grid; place-items: center; }
.mll-storefront-icon svg { display: block; width: 56px; height: 56px; }
.mll-registration-intro-copy h2 { margin: 0 0 5px; color: #fff; font-size: clamp(17px,1.5vw,21px); line-height: 1.18; }
.mll-registration-intro-copy p { margin: 0; color: #e0edf9; font-size: 12px; line-height: 1.45; }
.mll-registration-benefits { min-width: 0; padding: 0 18px; border-left: 1px solid #ffffff45; border-right: 1px solid #ffffff45; }
.mll-registration-benefits ul { display: grid; gap: 5px; margin: 0; padding: 0; list-style: none; }
.mll-registration-benefits li { display: flex; align-items: center; gap: 8px; color: #fff; font-size: 12px; line-height: 1.3; }
.mll-registration-benefits li > span:first-child { flex: 0 0 18px; width: 18px; height: 18px; display: grid; place-items: center; border-radius: 50%; background: #16844a; color: #fff; font-size: 12px; font-weight: 900; }
.mll-registration-cta { min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 8px; padding-left: 18px; text-align: center; }
.mll-registration-badge { display: inline-flex; align-items: center; justify-content: center; padding: 6px 12px; border-radius: 999px; background: #16844a; color: #fff; font-size: 12px; font-weight: 900; }
.mll-registration-button { width: 100%; display: inline-flex; justify-content: center; align-items: center; min-height: 38px; padding: 8px 12px; border-radius: 9px; background: #fff; color: #041f49; font-size: 12px; font-weight: 900; line-height: 1.2; }
.mll-registration-button:hover { background: #e4fbff; }
.mll-registration-note { display: flex; align-items: center; justify-content: center; gap: 5px; margin: 0; color: #dcebf8; font-size: 10px; line-height: 1.25; }
.mll-registration-note > span:first-child { color: #77e4b0; font-size: 13px; }
.mll-business-empty { grid-column: 1 / -1; padding: 20px 12px; color: #566b82; font-size: 13px; text-align: center; }

@media (max-width: 1100px) {
  .mll-v2-hero { min-height: 460px; padding-inline: 24px; }
  .mll-v2-hero-copy { width: min(100%, 540px); }
  .mll-v2-hero .mll-v2-search { max-width: 530px; }
  .mll-registration-banner { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 14px 0; padding: 16px 18px; }
  .mll-registration-invitation { min-height: 100px; }
  .mll-registration-benefits { border-right: 0; }
  .mll-registration-cta { grid-column: 1 / -1; display: grid; grid-template-columns: auto minmax(220px,1fr) auto; align-items: center; gap: 12px; padding: 12px 0 0; border-top: 1px solid #ffffff45; }
}
@media (max-width: 850px) {
  .mll-v2-hero { min-height: 0; padding: 24px 22px 16px; }
  .mll-v2-hero::before { background: linear-gradient(90deg,#041f49 0%,#041f49ef 40%,#05295691 65%,#05295630 100%); }
  .mll-v2-hero-copy { width: min(100%, 560px); }
  .mll-v2-hero-media { width: 68%; }
  .mll-v2-hero .mll-v2-search { max-width: 520px; }
}
@media (max-width: 680px) {
  .mll-v2-hero { display: flex; min-height: 0; padding: 22px 16px 14px; flex-direction: column; align-items: stretch; gap: 12px; }
  .mll-v2-hero::before { display: none; }
  .mll-v2-hero-copy { width: 100%; }
  .v2-home .mll-v2-hero h1 { max-width: 20ch; font-size: clamp(31px,8.4vw,38px); }
  .mll-v2-hero .mll-v2-search { grid-template-columns: minmax(0,1fr) minmax(0,1fr); max-width: none; }
  .mll-v2-hero .mll-v2-search input[name="q"], .mll-v2-hero .mll-v2-search select[name="category"], .mll-v2-hero .mll-v2-search button { grid-column: 1 / -1 !important; }
  .mll-v2-hero .mll-v2-search select[name="state"] { grid-column: 1 !important; }
  .mll-v2-hero .mll-v2-search input[name="place"] { grid-column: 2 !important; }
  .mll-v2-hero-media { position: relative; inset: auto; z-index: 0; width: 100%; height: auto; aspect-ratio: 3 / 1; border-radius: 10px; }
  .mll-v2-hero-media img { object-fit: contain; }
  .mll-v2-popular-wrap { align-items: flex-start; flex-direction: column; }
  .mll-registration-band { padding: 12px 0 6px; }
  .mll-registration-banner { grid-template-columns: minmax(0,1fr); gap: 14px; min-height: 0; padding: 16px; border-radius: 16px; }
  .mll-registration-invitation { min-height: 0; padding: 0 0 12px; border-bottom: 1px solid #ffffff45; }
  .mll-storefront-icon { flex-basis: 48px; width: 48px; height: 48px; }
  .mll-storefront-icon svg { width: 48px; height: 48px; }
  .mll-registration-benefits { padding: 0 0 12px; border: 0; border-bottom: 1px solid #ffffff45; }
  .mll-registration-cta { grid-column: auto; display: flex; align-items: stretch; gap: 9px; padding: 0; border: 0; }
  .mll-registration-badge { align-self: center; }
  .mll-registration-button { min-height: 44px; width: 100%; }
  .mll-registration-note { font-size: 11px; }
}

/* Keep the desktop headline to the approved two-line composition. */
@media (min-width: 681px) {
  .mll-v2-hero-copy { width: min(100%, 560px); }
  .v2-home .mll-v2-hero h1 { max-width: 560px; font-size: clamp(32px, 2.4vw, 36px); line-height: 1.08; }
}

/* Keep the complete brand, search, language toggle, and menu in separate mobile cells. */
@media (max-width: 680px) {
  .v2-home .v2-topnav-inner {
    display: grid;
    grid-template-columns: 115px 34px auto 44px;
    grid-template-rows: 44px auto;
    justify-content: space-between;
    align-items: center;
    column-gap: 0;
    padding-inline: 12px;
  }
  .v2-home .v2-topnav-inner > .logo { grid-column: 1; grid-row: 1; width: 115px; max-width: 115px; overflow: visible; }
  .v2-home .v2-top-actions { display: contents; }
  .v2-home .mll-toolbar-auth { display: none !important; }
  .v2-home .v2-top-actions .v2-icon-btn { display: inline-flex; grid-column: 2; grid-row: 1; justify-self: center; }
  .v2-home .v2-top-actions .lang-toggle {
    position: static;
    grid-column: 3;
    grid-row: 1;
    justify-self: center;
    height: 44px;
    transform: none;
  }
  .v2-home .v2-hamburger { grid-column: 4; grid-row: 1; }
}

@media (max-width: 360px) {
  .v2-home .v2-topnav-inner { grid-template-columns: 100px 30px auto 44px; padding-inline: 10px; }
  .v2-home .v2-topnav-inner > .logo { width: 100px; max-width: 100px; }
  .v2-home .v2-topnav-inner > .logo .logo-mark { width: 100px !important; flex-basis: 100px !important; }
  .v2-home .v2-top-actions .v2-icon-btn { width: 30px; flex-basis: 30px; }
  .v2-home .v2-top-actions .lang-btn { padding: 2px 5px; font-size: 9px; gap: 2px; }
  .v2-home .v2-top-actions .lang-btn .lang-flag { width: 14px; height: 10px; flex-basis: 14px; }
}
