/* Preview-page layout: compact hero, form beside headline, no live-site upload. */
.hero{padding:20px 0 24px}
.heroLogo{display:block;width:100%;max-width:120px!important;height:auto;margin:0 0 8px;mix-blend-mode:lighten}
.hero-split{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(320px,1.08fr);gap:24px 32px;align-items:start}
.hero-copy h1{font-size:clamp(26px,3.2vw,38px);margin:0 0 8px;line-height:1.15}
.hero-copy .sub{font-size:16px;line-height:1.45;margin:0 0 8px;max-width:36em}
.hero-copy .lede{font-size:14px;color:var(--muted);margin:0 0 8px;max-width:36em}
.hero-copy .line{margin-top:8px;font-size:13px}
.brandline{margin:0 0 6px;letter-spacing:.08em;text-transform:uppercase;font-size:11px;font-weight:700;color:var(--muted)}
.hero-form{padding:14px 16px}
.hero-form .stepper{margin:0 0 10px;gap:12px;font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);display:flex}
.hero-form .stepper .on{color:var(--blue2)}
.hero-form .fgrid{gap:8px 10px}
.hero-form label.f{font-size:12px;gap:3px;font-weight:600}
.hero-form input,.hero-form select,.hero-form textarea{min-height:38px;padding:6px 10px;font-size:14px}
.hero-form textarea{min-height:58px}
.hero-form .btn{min-height:42px;width:100%;margin-top:4px}
.hero-form .form-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:4px}
.hero-form .muted.small{font-size:11px;margin:8px 0 0;line-height:1.4}
.hero-form .err{margin:6px 0 0}
button.linkish{background:none;border:0;color:var(--blue2);font-weight:700;cursor:pointer;padding:6px 4px;font-size:13px}
.offers{display:grid;gap:14px;margin:22px 0 0}
.offer .hook{color:var(--white);font-size:17px;font-weight:700;line-height:1.35;margin:0 0 8px}
.offer .muted{margin:0 0 12px}
.fit,.details{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:22px 0 0}
.example{border-color:rgba(21,149,255,.45);max-width:800px}
.example p{margin:0;color:var(--silver)}
.faq{display:grid;gap:10px;margin-top:22px;max-width:800px}
.faq details{background:var(--panel);border:1px solid var(--line);border-radius:var(--r);padding:14px 16px}
.faq summary{cursor:pointer;font-weight:700;color:var(--white);font-size:16px;list-style:none}
.faq summary::-webkit-details-marker{display:none}
.faq summary:after{content:"+";float:right;color:var(--blue2);font-weight:800}
.faq details[open] summary:after{content:"–"}
.faq details p{margin:12px 0 0;color:var(--muted)}
.legal-ph{font-size:12px;color:var(--muted);margin-top:12px}
.qualify{max-width:800px}
.hero-form.pulse{box-shadow:0 0 0 2px var(--blue)}
@media(max-width:980px){
  .hero-split{grid-template-columns:1fr;gap:18px}
  .hero{padding:16px 0 20px}
  .fit,.details{grid-template-columns:1fr}
  .heroLogo{max-width:84px!important;margin-bottom:4px}
}
@media(max-width:760px){
  .hero-form .fgrid{grid-template-columns:1fr}
}

/* Keep the Step 1 Continue to Contact Details button in view at a 1280x800 desktop fold. */
.hero-form{
  max-height: calc(100vh - 96px);
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.hero-form .form-step:not(.hidden){
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
}
.hero-form .fgrid{
  overflow: auto;
  min-height: 0;
  padding-right: 2px;
}
.hero-form .form-actions,
.hero-form .stepper,
.hero-form .muted.small,
.hero-form .err{
  flex-shrink: 0;
}
#review{scroll-margin-top:80px}

/* Mobile: let the form grow with the page so extra fields are not clipped, and
   do not cover fields with the sticky bar — the form already sits under the copy. */
@media(max-width:980px){
  .hero-form{max-height:none}
  .hero-form .form-step:not(.hidden){overflow:visible;display:block}
  .hero-form .fgrid{overflow:visible}
  .mcta{display:none!important}
}

/* Homepage + landing CTAs, tiles, after-submit, loan-range placeholder */
.heroLogo{max-width:120px!important}
.home-hero .heroLogo{max-width:100px!important;margin-bottom:6px}
.hero-cta{display:flex;flex-direction:column;align-items:flex-start;gap:10px;margin-top:12px}
.hero-cta .btn{width:auto;min-width:min(100%,320px);letter-spacing:.04em}
.hero-cta .text-cta{color:var(--blue2);font-weight:700;font-size:15px;text-decoration:none;padding:2px 0}
.hero-cta .text-cta:hover{color:var(--white);text-decoration:underline}
.hero-note{margin:0;font-size:12px;line-height:1.45;color:var(--muted);max-width:36em}
.contact-secondary{margin:0;font-size:13px;color:var(--muted);font-weight:500}
.contact-secondary a{color:var(--blue2);font-weight:600;text-decoration:none}
.contact-secondary a:hover{text-decoration:underline}
.path-tiles{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:22px 0 0}
.path-tiles.six{grid-template-columns:repeat(3,1fr)}
.path-tile{display:block;text-decoration:none;color:inherit;transition:border-color .15s ease, transform .15s ease}
.path-tile:hover{border-color:var(--blue);transform:translateY(-1px)}
.path-tile h3{margin:0 0 4px;font-size:18px}
.path-tile .muted{margin:0}
.after-steps{margin-top:22px}
@media(max-width:980px){
  .heroLogo{max-width:84px!important;margin-bottom:4px}
  .home-hero .heroLogo{max-width:72px!important;margin-bottom:4px}
  .home-hero{padding:10px 0 16px}
  .home-hero .hero-copy h1{font-size:clamp(22px,6.4vw,32px);margin-bottom:6px}
  .home-hero .sub{font-size:15px;margin-bottom:8px}
  .home-hero .eyebrow{margin-bottom:6px}
  .hero-cta .btn{width:100%;min-width:0}
  .path-tiles,.path-tiles.six{grid-template-columns:1fr 1fr}
}
@media(max-width:560px){
  .path-tiles,.path-tiles.six{grid-template-columns:1fr}
}
