/* ZORO Home V1 - task 1 / 2026-10-02
   One home, one product router, no typewriter effect. */

/* Prevent the old mortgage hero copy from flashing before the home copy is applied. */
html.zoro-home-boot .z9-hero-copy{visibility:hidden}

/* The old typewriter component remains in the compiled bundle, but the visible UI is static.
   We expose its accessibility copy as the single visual copy and hide animated duplicates. */
.z9-typing-prose .z9-typing-ghost,
.z9-typing-prose .z9-typing-visible{display:none!important}
.z9-typing-prose .sr-only{
  position:static!important;
  width:auto!important;
  height:auto!important;
  padding:0!important;
  margin:0!important;
  overflow:visible!important;
  clip:auto!important;
  clip-path:none!important;
  white-space:normal!important;
  border:0!important;
}

/* Product router - premium 2026 */
.zoro-product-router[hidden]{display:none!important}
.zoro-product-router{
  --router-red:#EF2B3A;
  --router-ink:#0E1117;
  --router-muted:#6B7280;
  position:fixed;inset:0;z-index:100000;overflow:auto;color:var(--router-ink);background:#fff;
  font-family:ZoroHeebo,Heebo,Arial,sans-serif;direction:rtl;-webkit-font-smoothing:antialiased;
}
.zoro-product-router:before{
  content:"";position:fixed;inset:0;z-index:0;pointer-events:none;
  background:linear-gradient(180deg,rgba(255,255,255,.72) 0%,rgba(255,255,255,.84) 46%,#fff 84%),
             url('/white-label/assets/router-bg-desktop.webp') center/cover no-repeat;
  opacity:.46;
}
body.zoro-router-open{overflow:hidden}
.zoro-router-shell{position:relative;z-index:1;width:min(1180px,calc(100% - 48px));min-height:100svh;margin:auto;padding:18px 0 28px}
.zoro-router-topbar{min-height:64px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;border-bottom:1px solid rgba(14,17,23,.08)}
.zoro-router-brand{grid-column:2;display:flex;flex-direction:column;align-items:center;gap:2px;border:0;background:transparent;padding:0;color:var(--router-ink);font:inherit;cursor:pointer}
.zoro-router-brand img{width:118px;height:auto;display:block}
.zoro-router-brand span{font-size:12px;color:#707780}
.zoro-router-back{justify-self:start;display:inline-flex;align-items:center;gap:7px;border:0;background:transparent;color:#626A75;font:600 14px/1 ZoroHeebo,Heebo,Arial,sans-serif;padding:10px 0;cursor:pointer}
.zoro-router-back svg{width:18px;height:18px}
.zoro-router-main{display:flex;flex-direction:column;align-items:center;padding:24px 0 18px}
.zoro-router-pretitle{position:relative;padding-top:16px;margin-bottom:8px;font-size:15px;font-weight:700;color:#343B45}
.zoro-router-pretitle:before{content:"";position:absolute;top:0;right:50%;transform:translateX(50%);width:36px;height:2px;border-radius:2px;background:var(--router-red)}
.zoro-router-copy{width:min(760px,100%);text-align:center}
.zoro-router-copy h1{margin:0;font-size:clamp(44px,5vw,68px);line-height:1.02;letter-spacing:-.055em;font-weight:800;color:var(--router-ink)}
.zoro-router-copy>p{margin:14px auto 0;max-width:690px;color:#626A75;font-size:18px;line-height:1.55}
.zoro-router-grid{width:min(100%,760px);margin-top:30px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;direction:ltr}
.zoro-router-card{direction:rtl;position:relative;overflow:visible;display:flex;flex-direction:column;align-items:stretch;border:1px solid rgba(14,17,23,.10);border-radius:20px;background:rgba(255,255,255,.93);color:var(--router-ink);padding:0;text-align:center;font:inherit;cursor:pointer;box-shadow:0 16px 42px rgba(14,17,23,.055);transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}
.zoro-router-card.is-primary{border:1.5px solid var(--router-red);background:linear-gradient(180deg,#fff,#fff9f9);box-shadow:0 18px 46px rgba(239,43,58,.075)}
.zoro-router-card:hover{transform:translateY(-3px);box-shadow:0 22px 54px rgba(14,17,23,.09)}
.zoro-router-card:focus-visible,.zoro-router-back:focus-visible,.zoro-router-brand:focus-visible{outline:3px solid rgba(239,43,58,.22);outline-offset:3px}
.zoro-router-badge{position:absolute;top:-16px;right:50%;transform:translateX(50%);z-index:2;display:inline-flex;align-items:center;justify-content:center;background:var(--router-red);color:#fff;border-radius:999px;padding:8px 18px;font-size:13px;font-weight:800;white-space:nowrap;box-shadow:0 8px 20px rgba(239,43,58,.18)}
.zoro-router-visual{height:174px;display:flex;align-items:center;justify-content:center;padding:18px 24px 0}
.zoro-router-visual svg,.zoro-router-visual img{display:block;width:auto;height:160px;max-width:94%;object-fit:contain}
.zoro-router-content{display:block;padding:0 24px 20px}
.zoro-router-content strong{display:block;margin:0 0 8px;font-size:24px;line-height:1.18;letter-spacing:-.025em;font-weight:800;color:var(--router-ink)}
.zoro-router-content small{display:block;margin:0 auto;max-width:305px;color:#69717C;font-size:14px;line-height:1.55;font-weight:450}
.zoro-router-cta{position:relative;display:flex;align-items:center;justify-content:center;width:calc(100% - 28px);min-height:44px;margin:0 14px 14px;padding:0 44px;border:1px solid rgba(14,17,23,.10);border-radius:12px;background:#fff;color:var(--router-ink);font-size:15px;font-weight:800}
.zoro-router-card.is-primary .zoro-router-cta{background:var(--router-red);border-color:var(--router-red);color:#fff;box-shadow:0 8px 20px rgba(239,43,58,.14)}
.zoro-router-cta svg{position:absolute;left:16px;width:18px;height:18px}
.zoro-router-trust{width:min(100%,760px);display:grid;grid-template-columns:repeat(3,1fr);margin-top:22px;padding-top:17px;border-top:1px solid rgba(14,17,23,.08)}
.zoro-router-trust span{min-height:38px;display:flex;align-items:center;justify-content:center;padding:0 16px;color:#2F3540;font-size:13px;font-weight:700}
.zoro-router-trust span+span{border-right:1px solid rgba(14,17,23,.08)}
@media(max-width:760px){
  .zoro-product-router:before{background:linear-gradient(180deg,rgba(255,255,255,.66) 0%,rgba(255,255,255,.86) 48%,#fff 86%),url('/white-label/assets/router-bg-mobile.webp') center top/cover no-repeat;opacity:.34}
  .zoro-router-shell{width:calc(100% - 28px);padding:7px 0 22px}
  .zoro-router-topbar{min-height:57px}
  .zoro-router-brand img{width:102px}.zoro-router-brand span{font-size:11px}
  .zoro-router-back{font-size:13px;gap:5px}.zoro-router-back svg{width:17px;height:17px}
  .zoro-router-main{padding:24px 0 10px}
  .zoro-router-pretitle{font-size:13px;padding-top:13px;margin-bottom:7px}
  .zoro-router-copy{max-width:390px}
  .zoro-router-copy h1{font-size:clamp(35px,10.2vw,44px);line-height:1.03;letter-spacing:-.045em}
  .zoro-router-copy>p{font-size:14px;line-height:1.48;margin-top:10px;max-width:335px}
  .zoro-router-grid{width:100%;display:flex;flex-direction:column;gap:12px;margin-top:22px}
  .zoro-router-card{min-height:174px;display:grid;grid-template-columns:118px minmax(0,1fr);grid-template-rows:auto 1fr auto;column-gap:8px;text-align:right;border-radius:20px;overflow:visible}
  .zoro-router-badge{top:-13px;right:18px;transform:none;padding:6px 12px;font-size:11px}
  .zoro-router-visual{grid-column:1;grid-row:1/4;height:auto;min-height:174px;padding:12px 6px;align-items:center}
  .zoro-router-visual svg,.zoro-router-visual img{height:130px;max-width:112px}
  .zoro-router-content{grid-column:2;grid-row:1/3;padding:23px 15px 8px 8px;align-self:center}
  .zoro-router-content strong{font-size:19px;margin-bottom:5px}
  .zoro-router-content small{font-size:12.2px;line-height:1.45;max-width:none}
  .zoro-router-cta{grid-column:2;grid-row:3;min-height:42px;margin:0 14px 14px 8px;border-radius:11px;font-size:13px}
  .zoro-router-cta svg{width:16px;height:16px}
  .zoro-router-trust{margin-top:16px;padding-top:13px}
  .zoro-router-trust span{padding:0 6px;min-height:34px;font-size:10.8px;line-height:1.25;text-align:center}
}
@media(max-width:360px){
  .zoro-router-shell{width:calc(100% - 22px)}
  .zoro-router-copy h1{font-size:33px}
  .zoro-router-card{grid-template-columns:104px minmax(0,1fr);min-height:164px}
  .zoro-router-visual{min-height:164px}.zoro-router-visual svg,.zoro-router-visual img{height:116px;max-width:100px}
  .zoro-router-content{padding-right:12px}.zoro-router-content strong{font-size:17px}.zoro-router-content small{font-size:11.5px}
}
@media(prefers-reduced-motion:reduce){.zoro-router-card{transition:none!important}}

/* Make the first-price reveal easier to follow while the offer cards reorder. */
.z9-offers{scroll-behavior:smooth}

  .z9-offers{scroll-behavior:auto}
}
@keyframes zoro-home-fallback-reveal{to{visibility:visible}}
html.zoro-home-boot .z9-hero-copy{animation:zoro-home-fallback-reveal 0s 2.5s forwards}
/* Router V6 hardening: isolate chooser from legacy landing CSS. */
@media(max-width:760px){
  .zoro-product-router .zoro-router-shell{padding:7px 0 22px!important}
  .zoro-product-router .zoro-router-copy{margin-top:0!important}
  .zoro-product-router .zoro-router-grid{display:flex!important;grid-template-columns:none!important;gap:14px!important;margin-top:24px!important;max-width:100%!important}
  .zoro-product-router .zoro-router-card{padding:0!important;display:grid!important;grid-template-columns:42% 58%!important;grid-template-rows:auto 1fr auto!important;grid-template-areas:none!important;min-height:238px!important;align-items:stretch!important;column-gap:0!important}
  .zoro-product-router .zoro-router-visual{grid-column:1!important;grid-row:1/4!important;min-height:238px!important;height:auto!important;padding:20px 10px!important;display:flex!important;align-items:center!important;justify-content:center!important}
  .zoro-product-router .zoro-router-visual svg{width:100%!important;height:auto!important;max-width:180px!important;max-height:190px!important}
  .zoro-product-router .zoro-router-content{grid-column:2!important;grid-row:1/3!important;padding:34px 20px 10px 12px!important;align-self:center!important;text-align:right!important}
  .zoro-product-router .zoro-router-content strong{font-size:23px!important;line-height:1.15!important;margin:0 0 8px!important}
  .zoro-product-router .zoro-router-content small{font-size:14px!important;line-height:1.5!important;color:#616975!important}
  .zoro-product-router .zoro-router-cta{grid-column:2!important;grid-row:3!important;min-height:52px!important;margin:0 18px 18px 12px!important;padding:0 16px!important;font-size:15px!important;border-radius:14px!important}
  .zoro-product-router .zoro-router-badge{top:-15px!important;right:22px!important;transform:none!important;padding:8px 15px!important;font-size:12px!important}
}
@media(max-width:430px){
  .zoro-product-router .zoro-router-copy h1{font-size:40px!important}
  .zoro-product-router .zoro-router-copy>p{font-size:15px!important}
  .zoro-product-router .zoro-router-card{grid-template-columns:40% 60%!important;min-height:226px!important}
  .zoro-product-router .zoro-router-visual{min-height:226px!important;padding:22px 8px 14px!important}
  .zoro-product-router .zoro-router-content{padding:32px 16px 8px 10px!important}
  .zoro-product-router .zoro-router-content strong{font-size:21px!important}
  .zoro-product-router .zoro-router-content small{font-size:13px!important}
  .zoro-product-router .zoro-router-trust span{font-size:11px!important}
}

/* Router V7 parity: main + partner use the same compact mobile rhythm. */
@media(max-width:760px){
 .zoro-product-router .zoro-router-main{padding:20px 0 10px!important}
 .zoro-product-router .zoro-router-copy{margin:0!important}
 .zoro-product-router .zoro-router-copy h1{margin:0!important}
 .zoro-product-router .zoro-router-copy>p{margin:10px auto 0!important}
 .zoro-product-router .zoro-router-grid{margin-top:22px!important;gap:12px!important}
}

/* Router mobile CTA final alignment */
@media(max-width:760px){.zoro-product-router .zoro-router-cta{grid-column:1 / -1!important;grid-row:3!important;box-sizing:border-box!important;width:calc(100% - 20px)!important;min-height:42px!important;height:42px!important;margin:0 10px 10px!important;padding:0 46px!important;border-radius:11px!important}.zoro-product-router .zoro-router-cta svg{position:absolute!important;left:15px!important;right:auto!important;width:18px!important;height:18px!important}.zoro-product-router .zoro-router-card{overflow:hidden!important}}


/* Router branded scene background — responsive final */
.zoro-product-router{
  background-image:url('/white-label/assets/router-background-desktop.jpg?v=20261007-1')!important;
  background-repeat:no-repeat!important;
  background-position:center bottom!important;
  background-size:cover!important;
}
.zoro-product-router .zoro-router-main,
.zoro-product-router .zoro-router-shell{background:transparent!important}
@media(max-width:760px){
  .zoro-product-router{
    background-image:url('/white-label/assets/router-background-mobile.jpg?v=20261007-1')!important;
    background-position:center bottom!important;
    background-size:cover!important;
  }
}


/* Router background V2 — render on the existing overlay layer (the layer visible above the shell). */
.zoro-product-router:before{
  background:
    linear-gradient(180deg,rgba(255,255,255,.18) 0%,rgba(255,255,255,.28) 48%,rgba(255,255,255,.40) 100%),
    url('/white-label/assets/router-background-desktop.jpg?v=20261007-2') center bottom/cover no-repeat!important;
  opacity:1!important;
}
@media(max-width:760px){
  .zoro-product-router:before{
    background:
      linear-gradient(180deg,rgba(255,255,255,.10) 0%,rgba(255,255,255,.20) 48%,rgba(255,255,255,.34) 100%),
      url('/white-label/assets/router-background-mobile.jpg?v=20261007-2') center bottom/cover no-repeat!important;
    opacity:1!important;
  }
}


/* Router scene V3 — remove wash layer, expose supplied artwork, equalize desktop CTA baseline. */
.zoro-product-router{
  background:#fff!important;
  background-image:none!important;
}
.zoro-product-router:before{
  content:""!important;
  position:fixed!important;
  inset:0!important;
  z-index:0!important;
  pointer-events:none!important;
  opacity:1!important;
  background-image:url('/white-label/assets/router-background-desktop.jpg?v=20261007-3')!important;
  background-repeat:no-repeat!important;
  background-position:center bottom!important;
  background-size:cover!important;
}
.zoro-product-router .zoro-router-shell{position:relative!important;z-index:1!important;background:transparent!important}
@media(min-width:761px){
  .zoro-product-router .zoro-router-card{display:flex!important;flex-direction:column!important}
  .zoro-product-router .zoro-router-content{flex:1 1 auto!important}
  .zoro-product-router .zoro-router-cta{margin-top:auto!important}
}
@media(max-width:760px){
  .zoro-product-router:before{
    background-image:url('/white-label/assets/router-background-mobile.jpg?v=20261007-3')!important;
    background-position:center bottom!important;
    background-size:cover!important;
  }
}


/* How it works: one layout, independent of the legacy two-column landing grid.
   Keep the CSS/JS URL version in index.html in sync with every release. */
.z9-how.zoro-how-v2{
  position:relative!important;isolation:isolate;overflow:hidden!important;
  box-sizing:border-box;width:100%!important;max-width:none!important;margin:0!important;
  display:flex!important;flex-direction:column!important;align-items:stretch!important;
  justify-content:center!important;grid-template-columns:none!important;gap:0!important;
  min-height:700px!important;padding:80px 24px!important;
  background:#eef6ff url('/white-label/assets/how-it-works/how-it-works-bg-desktop.jpg?v=20261007-1') center/cover no-repeat!important;
}
.z9-how.zoro-how-v2:before{content:none!important}
.z9-how.zoro-how-v2:after{content:"";position:absolute;inset:0;z-index:0;background:rgba(255,255,255,.60);pointer-events:none}
.zoro-how-v2-inner{position:relative;z-index:1;box-sizing:border-box;width:100%;max-width:1160px;min-width:0;margin:0 auto;transform:none}
.zoro-how-v2-head{width:100%;text-align:center;margin:0 auto 42px}
.zoro-how-v2-head h2{margin:0;color:#07152f;font-size:clamp(46px,5vw,72px);line-height:1.05;font-weight:900;letter-spacing:-2.5px}
.zoro-how-v2-head h2 span{color:#ff102d}
.zoro-how-v2-head p{margin:14px 0 0;color:#46566e;font-size:22px;line-height:1.45;font-weight:500}
.zoro-how-v2-track{position:relative;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;direction:rtl;width:100%;margin:0}
.zoro-how-v2-track:before{content:"";position:absolute;z-index:-1;left:15%;right:15%;top:-1px;height:54px;border-top:2px dashed rgba(57,126,207,.65);border-radius:50%;opacity:.55}
.zoro-how-v2-step{position:relative;box-sizing:border-box;min-width:0;display:flex;flex-direction:column;align-items:center;min-height:325px;padding:30px 24px 26px;border:1px solid rgba(255,255,255,.86);border-radius:28px;background:rgba(255,255,255,.88);box-shadow:0 18px 45px rgba(29,75,125,.10);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);text-align:center}
.zoro-how-v2-num{position:absolute;top:-18px;left:50%;transform:translateX(-50%);display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:rgba(255,255,255,.96);color:#ff102d;font-size:17px;font-weight:900;border:1px solid rgba(255,16,45,.18);box-shadow:0 6px 18px rgba(10,34,70,.10)}
.zoro-how-v2-step img{display:block;width:132px;height:132px;object-fit:contain;margin:0 auto 10px}
.zoro-how-v2-step h3{margin:0 0 8px;color:#07152f;font-size:23px;line-height:1.15;font-weight:900;letter-spacing:-.7px;white-space:normal}
.zoro-how-v2-step p{margin:0;color:#52627a;font-size:16.5px;line-height:1.55;font-weight:500}
@media(max-width:760px){
 .z9-how.zoro-how-v2{justify-content:flex-start!important;min-height:0!important;padding:365px 20px 54px!important;background-image:url('/white-label/assets/how-it-works/how-it-works-bg-mobile.jpg?v=20261007-1')!important;background-position:center top!important}
 .z9-how.zoro-how-v2:after{content:none}
 .zoro-how-v2-inner{max-width:560px}
 .zoro-how-v2-head{margin:0 auto 38px}
 .zoro-how-v2-head h2{font-size:48px;letter-spacing:-1.8px}
 .zoro-how-v2-head p{font-size:18px;line-height:1.5;margin-top:12px}
 .zoro-how-v2-track{display:flex;flex-direction:column;gap:24px;box-sizing:border-box;padding-right:24px}
 .zoro-how-v2-track:before{z-index:0;left:auto;right:2px;top:24px;bottom:24px;width:34px;height:auto;border:0;border-right:2px dashed rgba(57,126,207,.72);border-radius:45%;opacity:.5}
 .zoro-how-v2-step{z-index:1;display:grid;grid-template-columns:minmax(0,1fr) 38%;grid-template-areas:"copy art";align-items:center;min-height:178px;padding:20px 16px 20px 20px;text-align:right}
 .zoro-how-v2-num{top:22px;right:-34px;left:auto;transform:none;width:34px;height:34px;font-size:16px;background:#fff;border:1.5px solid #ff102d;box-shadow:0 5px 14px rgba(12,37,73,.10)}
 .zoro-how-v2-step img{grid-area:art;width:118px;max-width:100%;height:118px;margin:0;justify-self:center}
 .zoro-how-v2-step>div{grid-area:copy;min-width:0;align-self:center}
 .zoro-how-v2-step h3{font-size:22px;letter-spacing:-.5px}
 .zoro-how-v2-step p{font-size:15.5px;line-height:1.45}
}
@media(max-width:390px){
 .z9-how.zoro-how-v2{padding:335px 14px 54px!important}
 .zoro-how-v2-track{padding-right:24px}
 .zoro-how-v2-step{grid-template-columns:minmax(0,1fr) 36%;padding:20px 14px 20px 18px}
 .zoro-how-v2-step img{width:104px;height:104px}
 .zoro-how-v2-step h3{font-size:20px}
}


/* R3 / Brand illustration integration; actual supplied ZORO art already exists in /brand.
   Decorative only. No changes to component heights, actions or pricing. */
.z9-companies.z9-red,.z9-recheck.z9-red{position:relative;isolation:isolate;overflow:hidden}
.z9-companies.z9-red::after,.z9-recheck.z9-red::after{
  content:"";position:absolute;inset:auto 0 0;display:block;height:clamp(85px,13vw,185px);
  background-position:center bottom;background-repeat:no-repeat;background-size:100% 100%;
  pointer-events:none;z-index:0;opacity:.32
}
.z9-companies.z9-red::after{background-image:url("/brand/companies-landscape-wide.webp")}
.z9-recheck.z9-red::after{background-image:url("/brand/recheck-landscape.webp");opacity:.18}
.z9-companies.z9-red>.z9-wrap,.z9-recheck.z9-red>.z9-wrap{position:relative;z-index:1}
@media(max-width:660px){
  .z9-companies.z9-red::after,.z9-recheck.z9-red::after{height:95px;background-size:auto 95px;opacity:.22}
}
