/* Fleets page. Everything is scoped to this page. The live preview's insides (.fp) are styled in site.css; this file only places it. */
[data-page="fleets.html"] .body{margin-bottom:0}
/* two-tone headings: the shared .two grid utility must not turn a heading into columns */
[data-page="fleets.html"] .h2.two{display:block}
[data-page="fleets.html"] .h2 .mute{color:#8b93a4}
[data-page="fleets.html"] .num-xl{font-family:var(--serif);font-weight:700;font-size:clamp(48px,6vw,72px);line-height:.95;letter-spacing:-.025em;font-variant-numeric:lining-nums tabular-nums}
[data-page="fleets.html"] .rule-t{border-top:var(--hair);padding-top:16px}
/* F1 hero: the quote form on the left, "Your fleet loan, as you type" on the right, sticky beside the fields */
.f-hero{padding-top:72px;padding-bottom:clamp(72px,8vw,112px)}
.f-heg{display:grid;grid-template-columns:minmax(0,6fr) minmax(0,6fr);grid-template-rows:auto 1fr;column-gap:64px;align-items:start}
.f-copy{grid-column:1;grid-row:1}
.f-copy .h1{font-size:clamp(40px,3.6vw,52px);line-height:1.05;letter-spacing:-.025em}
.f-copy .lede{max-width:46ch;margin:22px 0 32px}
.f-quote{grid-column:1;grid-row:2;max-width:none}
.f-quote .lf{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 16px}
.f-g{display:contents}
.f-quote .fl input[aria-invalid="true"]{border-color:var(--c);outline:1px solid var(--c);outline-offset:-2px}
/* the range message keeps its own line under the fields, so showing it never moves the button */
.f-msg{min-height:20px;margin:8px 0 0 2px;color:var(--c);opacity:0;transition:opacity .2s ease}
.f-msg.on{opacity:1}
.f-quote .la{margin-top:6px}
.f-pv{grid-column:2;grid-row:1 / span 2;position:sticky;top:96px;min-width:0}
.f-pv .fp:empty{min-height:600px}
/* F2 from request to funded: the mobile robot drives along the rule in step with the fill, stopping at each step */
.f-tlw{position:relative;margin-top:22px;padding-top:96px}
.f-track{position:absolute;top:103px;left:8px;width:calc(75% + 18px);height:2px;background:rgba(40,71,206,.16)}
.f-fill{position:absolute;inset:0;background:var(--c);transform:scaleX(0);transform-origin:left}
.f-runner{position:absolute;bottom:3px;left:0;width:64px;transform:translateX(-50%)}
.f-runner canvas{display:block;width:100%}
.f-tlw.in-view .f-fill{animation:f-fill 4.2s cubic-bezier(.45,0,.55,1) .4s both}
.f-tlw.in-view .f-runner{animation:f-run 4.2s cubic-bezier(.45,0,.55,1) .4s both}
@keyframes f-fill{0%,6%{transform:scaleX(0)}30%,38%{transform:scaleX(.3333)}62%,70%{transform:scaleX(.6667)}94%,100%{transform:scaleX(1)}}
.f-tlw.done .f-fill{animation:none;transform:none}.f-tlw.done .f-runner{animation:none;left:100%}
@keyframes f-run{0%,6%{left:0}30%,38%{left:33.33%}62%,70%{left:66.67%}94%,100%{left:100%}}
.f-tl{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}
.f-tl li{position:relative;display:flex;flex-direction:column;gap:6px;padding-top:34px}
.f-node{position:absolute;left:0;top:0;width:16px;height:16px;border-radius:50%;background:#fff;box-shadow:inset 0 0 0 2px rgba(40,71,206,.35);transition:background .3s ease,box-shadow .3s ease;transition-delay:calc(var(--s) * 1.34s + .4s)}
.f-tlw.in-view .f-node{background:var(--c);box-shadow:inset 0 0 0 2px var(--c),0 0 0 5px rgba(40,71,206,.12)}
.f-tl b{font:600 23px/1.2 var(--serif);margin-top:4px}
.f-tl em{font-style:normal;color:#4a5262;font-size:15.5px;max-width:28ch}
.f-tk{margin-top:14px;padding-top:12px;border-top:1px solid rgba(40,71,206,.18);font-weight:600;font-size:15px}
.f-tk small{display:block;font-weight:400;font-size:14px;color:var(--muted);margin-bottom:2px}
/* F3 why a loan: two-tone heading, then two hairline-topped columns */
.f-whys .h2{margin-bottom:56px}
.f-whyg{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:64px}
.f-wc{display:flex;flex-direction:column;padding-top:28px}
.f-wn{margin:0 0 26px;display:flex;align-items:baseline;gap:14px}
.f-wn .num-xl{color:var(--ink)}
.f-wc:first-child .f-wn .num-xl{color:var(--c)}
.f-wn small{font-size:17px;color:var(--muted)}
.f-wc .h3{margin:0 0 8px}
.f-wp{margin:0;color:#4a5262;font-size:16px;max-width:40ch}
.f-wc.in-view .f-adv i{transform:none}
/* both cards end on a dot row at the same height: the loan split under 70%, the ownership kept under 0 */
/* F4 the page's one gradient band: one statement, one button back to the form */
.f-end{padding-block:112px}
.f-endi{display:flex;flex-direction:column;align-items:center;text-align:center}
.f-end .vis{font-family:var(--serif);font-weight:700;font-size:clamp(30px,3.5vw,50px);line-height:1.12;letter-spacing:-.02em;color:#fff;max-width:20ch;margin:0;text-wrap:balance}
.f-end .btn{margin-top:32px}
@media (prefers-reduced-motion:reduce){.f-tlw.in-view .f-fill,.f-tlw.in-view .f-runner{animation:none}.f-fill,.f-tl li::after{transform:none;transition:none}.f-runner{left:100%}.f-node{background:var(--c);transition:none}.f-msg{transition:none}}
@media (max-width:1100px){.f-heg{column-gap:40px}}
/* under 900px one column: h1, lede, the four fleet fields, the preview, then email, company and the button.
   The form and its field wrapper step out of the layout (display:contents) so their groups can sit either side of the preview. */
@media (max-width:900px){
 .f-hero{padding-top:40px}
 .f-heg{display:flex;flex-direction:column;align-items:stretch}
 .f-quote,.f-quote .lf{display:contents}
 .f-quote .lf[hidden],.f-quote .la[hidden],.f-quote .ldone[hidden]{display:none}
 .f-g{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 12px}
 .f-copy{order:1}.f-g1{order:2}.f-msg{order:3;margin-top:6px}.f-pv{order:4}.f-g2{order:5}.f-quote .la{order:6}.f-quote .ldone{order:7}
 .f-copy .lede{margin:18px 0 28px}
 .f-pv{position:static;margin:10px 0 28px}
 .f-g2{margin-bottom:4px}
 .f-quote .la{margin-top:16px}
 .f-quote .ldone{margin-top:4px}
 .f-pv .fp:empty{min-height:420px}}
@media (max-width:820px){
 .f-tlw{padding-top:0;margin-top:8px}
 .f-track{display:none}
 .f-tl{grid-template-columns:minmax(0,1fr);gap:30px}
 .f-tl li{padding:0 0 0 40px}
 .f-tl li:not(:last-child)::before,.f-tl li:not(:last-child)::after{content:"";position:absolute;left:7px;top:22px;bottom:-26px;width:2px;background:rgba(40,71,206,.16)}
 .f-tl li:not(:last-child)::after{background:var(--c);transform:scaleY(0);transform-origin:top;transition:transform .7s ease calc(var(--s) * .7s + .5s)}
 .f-tlw.in-view .f-tl li::after{transform:none}
 .f-node{top:4px;transition-delay:calc(var(--s) * .7s + .4s)}
 .f-whyg{grid-template-columns:minmax(0,1fr);gap:48px}}
@media (max-width:680px){
 .f-copy .h1{font-size:40px;line-height:1.05}
 .f-g .fl:first-child,.f-g1 .fl:last-child{grid-column:1 / -1}
 .f-g2{grid-template-columns:minmax(0,1fr)}
 .f-whys .h2{margin-bottom:32px}
 .f-wn{margin-bottom:18px}
 .f-end{padding-block:88px}}
