/* NZ Car Finance Homepage v1.0.5 — split hero with flowing teal curve */
html,body.nzcf-homepage{margin:0!important;padding:0!important;width:100%;max-width:none!important}
body.nzcf-homepage{overflow-x:hidden;background:#fff}
body.nzcf-homepage main#main{display:block;width:100%;max-width:none;margin:0;padding:0}
.nzcf-hero,.nzcf-hero *{box-sizing:border-box}
.nzcf-hero{font-family:Arial,Helvetica,sans-serif;width:100%;color:#fff;background:#eff8fd;overflow:hidden}
.nzcf-main{position:relative;isolation:isolate;min-height:clamp(590px,47vw,725px);background:#053c53;display:flex;align-items:center}
.nzcf-photo{position:absolute;z-index:-2;inset:0 0 0 40%;overflow:hidden}
.nzcf-photo img{display:block;width:100%;height:100%;object-fit:cover;object-position:52% 49%}
/* The teal shape is a curved boundary, not a flat split or a gradient on the photograph. */
.nzcf-main:before{content:'';position:absolute;z-index:-1;inset:0;pointer-events:none;background:linear-gradient(125deg,#063b52 0%,#00415c 70%,#04354b 100%);clip-path:polygon(0 0,43% 0,45% 8%,48% 20%,51% 34%,54% 48%,55% 62%,54% 76%,52% 89%,49% 100%,0 100%)}
.nzcf-main:after{content:'';position:absolute;z-index:-2;inset:0;pointer-events:none;background:#8db7c9;clip-path:polygon(0 0,44% 0,46% 8%,49% 20%,52% 34%,55% 48%,56% 62%,55% 76%,53% 89%,50% 100%,0 100%)}
.nzcf-copy{position:relative;z-index:2;width:min(46%,660px);margin-left:max(5%,calc((100% - 1490px)/2));padding:64px 0 76px}
.nzcf-eyebrow{font-size:13px!important;font-weight:700;letter-spacing:.26em;margin:0 0 45px!important;color:#fff!important}
.nzcf-eyebrow:after{content:'';display:block;width:90px;height:2px;background:#9fd3e3;margin-top:20px}
.nzcf-copy h1{font-family:Arial,Helvetica,sans-serif!important;font-size:clamp(43px,4vw,72px)!important;line-height:1.12!important;letter-spacing:-.042em!important;margin:0!important;color:#fff!important}
.nzcf-copy h1 strong,.nzcf-copy h1 span{display:block}.nzcf-copy h1 strong{font-weight:800}.nzcf-copy h1 span{font-weight:300}
.nzcf-intro{font-size:clamp(17px,1.3vw,21px)!important;line-height:1.65!important;color:#f3f9fc!important;margin:28px 0 30px!important;max-width:570px}
.nzcf-cta{display:inline-flex;align-items:center;justify-content:center;gap:28px;border-radius:999px;padding:19px 34px;min-height:66px;background:#b51b79;color:#fff!important;text-decoration:none!important;font-size:17px;font-weight:700;transition:background .2s,transform .2s}
.nzcf-cta:hover{background:#991766;transform:translateY(-2px)}.nzcf-cta span{font-size:24px;font-weight:400}
.nzcf-disclosure{max-width:530px;color:#e9f2f6!important;font-size:12px!important;line-height:1.65!important;margin:18px 0 0!important}
.nzcf-info{position:relative;z-index:3;background:#eff8fd;color:#073b56;padding:54px 5% 28px;min-height:225px}
.nzcf-info:before{content:'';position:absolute;left:-3%;right:-3%;top:-29px;height:64px;background:#eff8fd;clip-path:polygon(0 38%,12% 28%,27% 32%,41% 53%,57% 70%,72% 69%,86% 54%,100% 30%,100% 100%,0 100%)}
.nzcf-features{position:relative;max-width:1350px;margin:0 auto;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0}
.nzcf-feature{display:flex;align-items:center;gap:22px;padding:8px 32px;border-right:1px solid #c8dce9}.nzcf-feature:first-child{padding-left:0}.nzcf-feature:last-child{border-right:0}
.nzcf-icon{display:inline-flex;flex:0 0 54px;width:54px;height:54px;color:#073b56;align-items:center;justify-content:center}
.nzcf-icon svg{width:50px;height:50px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.nzcf-feature p{margin:0!important}.nzcf-feature strong,.nzcf-feature small{display:block}.nzcf-feature strong{font-size:17px;font-weight:700;color:#073b56}.nzcf-feature small{font-size:14px;color:#355b70;margin-top:7px;line-height:1.4}
.nzcf-scroll{position:relative;display:flex;flex-direction:column;align-items:center;gap:5px;margin:35px auto 0;width:max-content;text-decoration:none!important;color:#426e84!important;font-size:11px;font-weight:700;letter-spacing:.22em}.nzcf-scroll span{font-size:29px;line-height:1.1;color:#073b56}
@media(min-width:1500px){.nzcf-copy{width:700px}.nzcf-main{min-height:730px}}
@media(min-width:768px) and (max-width:1100px){.nzcf-copy{width:49%;margin-left:4%}.nzcf-copy h1{font-size:clamp(39px,4.7vw,56px)!important}.nzcf-intro{font-size:16px!important}.nzcf-feature{gap:12px;padding:8px 18px}.nzcf-feature strong{font-size:14px}.nzcf-feature small{font-size:12px}}
@media(max-width:767px){
 .nzcf-main{display:flex;flex-direction:column;align-items:stretch;min-height:0;background:#063c53}
 .nzcf-photo{position:relative;inset:auto;z-index:0;width:100%;height:clamp(190px,57vw,290px);overflow:hidden}
 .nzcf-photo img{width:100%;height:100%;object-fit:cover;object-position:center 42%}
 .nzcf-main:before,.nzcf-main:after{display:none}
 .nzcf-copy{position:relative;z-index:1;width:100%;margin:0;padding:35px 25px 37px;background:#063c53}
 .nzcf-copy:before{content:'';position:absolute;left:0;right:0;top:-35px;height:58px;background:#063c53;clip-path:polygon(0 4%,16% 12%,33% 33%,52% 57%,73% 78%,100% 93%,100% 100%,0 100%)}
 .nzcf-eyebrow{font-size:11px!important;margin:0 0 26px!important;letter-spacing:.23em}.nzcf-eyebrow:after{margin-top:13px;width:75px}
 .nzcf-copy h1{font-size:clamp(37px,9.2vw,55px)!important;line-height:1.1!important;letter-spacing:-.043em!important}
 .nzcf-intro{font-size:15px!important;line-height:1.62!important;margin:20px 0 24px!important;max-width:480px}
 .nzcf-cta{font-size:14px;min-height:53px;padding:15px 22px;gap:16px;max-width:100%}.nzcf-cta span{font-size:21px}
 .nzcf-disclosure{font-size:11px!important;line-height:1.6!important;margin:14px 0 0!important;max-width:440px}
 .nzcf-info{padding:34px 25px 25px;min-height:0;background:#eff8fd}
 .nzcf-info:before{top:-14px;height:28px;clip-path:polygon(0 20%,25% 30%,50% 60%,75% 75%,100% 45%,100% 100%,0 100%)}
 .nzcf-features{display:block;max-width:520px;margin:auto}
 .nzcf-feature{display:flex;align-items:center;gap:18px;padding:17px 0;border-right:0;border-bottom:1px solid #c9dce8}.nzcf-feature:first-child{padding-left:0}.nzcf-feature:last-child{border-bottom:0}
 .nzcf-icon{flex-basis:45px;width:45px;height:45px}.nzcf-icon svg{width:42px;height:42px}
 .nzcf-feature strong{font-size:15px}.nzcf-feature small{font-size:13px;margin-top:4px}
 .nzcf-scroll{font-size:9px;margin:24px auto 0}.nzcf-scroll span{font-size:24px}
}
@media(prefers-reduced-motion:reduce){.nzcf-cta{transition:none}}

/* v1.0.6: smooth, scalable Bezier divider replacing the angular polygon. */
@media (min-width:768px) {
 .nzcf-main::before,.nzcf-main::after{display:none!important}
 .nzcf-curve-desktop{position:absolute;inset:0;width:100%;height:100%;z-index:-1;pointer-events:none;overflow:visible}
 .nzcf-curve-edge{fill:#9ccce1}
 .nzcf-curve-fill{fill:#063c53}
 .nzcf-photo{inset:0 0 0 32%;}
 .nzcf-copy{width:min(45%,660px);}
}
@media (max-width:767px){
 .nzcf-curve-desktop{display:none!important}
 .nzcf-photo{height:clamp(190px,58vw,285px)}
 .nzcf-copy{padding-top:36px}
 .nzcf-copy::before{top:-35px;height:55px;clip-path:none;border-radius:55% 45% 0 0 / 45% 40% 0 0;transform:scaleX(1.12);transform-origin:center bottom}
 .nzcf-info::before{clip-path:none;border-radius:50% 50% 0 0 / 40% 40% 0 0;transform:scaleX(1.1)}
}

/* v1.0.7: real cubic Bézier SVGs; remove competing polygon/pseudo curves. */
.nzcf-main{isolation:isolate;overflow:hidden}
.nzcf-main::before,.nzcf-main::after{display:none!important}
.nzcf-curve-desktop{position:absolute;inset:0;width:100%;height:100%;z-index:-1;pointer-events:none;display:block}
.nzcf-curve-mobile{display:none}
.nzcf-photo{inset:0 0 0 34%;z-index:-2}
.nzcf-copy{width:min(40%,600px);margin-left:max(5%,calc((100% - 1370px)/2));z-index:2}
.nzcf-copy h1{font-size:clamp(40px,3.6vw,64px)!important}
.nzcf-info{position:relative;padding-top:68px}
.nzcf-info::before{display:none!important}
.nzcf-bottom-wave{position:absolute;left:0;top:-64px;width:100%;height:85px;z-index:2;pointer-events:none}
@media(min-width:768px) and (max-width:1100px){.nzcf-copy{width:41%;margin-left:4%}.nzcf-copy h1{font-size:clamp(34px,4vw,47px)!important}}
@media(max-width:767px){
 .nzcf-main{display:flex;flex-direction:column;overflow:visible;background:#063c53}
 .nzcf-photo{position:relative;inset:auto;width:100%;height:clamp(190px,56vw,290px);z-index:0}
 .nzcf-curve-desktop{display:none!important}
 .nzcf-curve-mobile{display:block;position:absolute;z-index:2;top:calc(clamp(190px,56vw,290px) - 55px);left:0;width:100%;height:57px;pointer-events:none}
 .nzcf-copy{position:relative;z-index:1;width:100%;margin:0;padding:29px 25px 38px;background:#063c53}
 .nzcf-copy::before{display:none!important}
 .nzcf-info{padding:35px 25px 26px}
 .nzcf-bottom-wave{display:none}
}
