/* BERZAN BauPilot — isolated progressive-enhancement UI; no external resources. */
:root{--bp-ink:#14232a;--bp-steel:#394e5a;--bp-orange:#f89035;--bp-paper:#f6f2ea;--bp-line:#d5d1c9;--bp-cream:#fffdfa;--bp-muted:#52636a;--bp-ease:cubic-bezier(.22,.61,.36,1)}
html{scroll-behavior:smooth;scroll-padding-top:92px}
html .ba-pilot-page{background:var(--bp-paper);color:var(--bp-ink);font-family:Inter,Arial,sans-serif;line-height:1.6}
.ba-pilot-page *, .ba-pilot-page *::before,.ba-pilot-page *::after{box-sizing:border-box}
.ba-pilot-page :is(button,select,input,textarea,a):focus-visible{outline:3px solid #bc5a17!important;outline-offset:3px}
.ba-pilot-page header.nav.nav{background:#fffdfa!important;border-bottom:1px solid #d5d1c9!important}
.ba-pilot-page header.nav.nav .nav-links>a:not(.btn){color:#14232a!important}
.ba-pilot-page header.nav.nav .brand-copy strong{color:#14232a!important}
.ba-pilot-page header.nav.nav .brand-copy strong b{color:#a94a14!important}
.ba-pilot-page header.nav.nav .brand-copy small{color:#394e5a!important}
.ba-pilot-page header.nav.nav .menu-btn{background:#fffdfa!important;border:1px solid #a5a5a0!important}
.ba-pilot-page header.nav.nav .menu-btn span{background:#14232a!important}
.ba-pilot-page .wrap{max-width:1240px}
.ba-pilot-page .ba-pilot-hero{position:relative;min-height:460px;background:#14232a;color:#fff;overflow:hidden;isolation:isolate}
.ba-pilot-page .ba-pilot-hero .ba-pilot-visual{position:absolute;inset:0 0 0 50%;z-index:-1}
.ba-pilot-page .ba-pilot-hero .ba-pilot-visual::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#14232a 0%,rgba(20,35,42,.42) 62%,rgba(20,35,42,.13) 100%)}
.ba-pilot-page .ba-pilot-hero .ba-pilot-visual img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 48%;filter:saturate(.87)}
.ba-pilot-page .ba-pilot-hero-inner{padding:clamp(58px,8vw,115px) 0}
.ba-pilot-page .ba-pilot-kicker,.ba-pilot-page .ba-pilot-label{font-size:.73rem;letter-spacing:.19em;text-transform:uppercase;font-weight:850}
.ba-pilot-page .ba-pilot-kicker{color:#ffb87f;margin-bottom:15px}
.ba-pilot-page .ba-pilot-hero h1{margin:0 0 23px;max-width:14ch;font-weight:850;letter-spacing:-.064em;line-height:.99;font-size:clamp(2.8rem,5.9vw,5.9rem);color:#fff}
.ba-pilot-page .ba-pilot-hero p{font-size:clamp(1rem,1.35vw,1.14rem);line-height:1.65;color:#e3e9e9;max-width:59ch;margin:0 0 25px}
.ba-pilot-page .ba-pilot-facts{display:flex;gap:10px;flex-wrap:wrap}
.ba-pilot-page .ba-pilot-facts span{display:inline-flex;padding:7px 11px;border:1px solid rgba(255,255,255,.24);background:rgba(255,255,255,.07);border-radius:4px;font-size:.81rem;color:#f6f2ea;font-weight:550}
.ba-pilot-page .ba-pilot-workspace{padding:clamp(46px,6vw,80px) 0 clamp(80px,7vw,105px);background:#f6f2ea}
.ba-pilot-page .ba-pilot-workspace .wrap{max-width:980px}
.ba-pilot-page .ba-pilot-toolbar{display:flex;align-items:center;justify-content:space-between;gap:25px;margin-bottom:24px}
.ba-pilot-page .ba-pilot-label{color:#a04813;margin:0}
.ba-pilot-page .ba-pilot-progress{width:min(45%,220px);height:5px;background:#ded9d0;border-radius:10px;overflow:hidden}
.ba-pilot-page .ba-pilot-progress span{display:block;width:33.333%;height:100%;background:#ae510e;border-radius:10px;transition:width .25s ease}
.ba-pilot-page #baupilot-form,.ba-pilot-page .ba-pilot-result{display:block;background:#fffdfa;border:1px solid #ddd5cb;border-radius:10px;padding:clamp(25px,5.3vw,58px);box-shadow:0 18px 52px rgba(20,35,42,.07)}
.ba-pilot-page .ba-pilot-step[hidden],.ba-pilot-page .ba-pilot-result[hidden],.ba-pilot-page #baupilot-form[hidden],.ba-pilot-page #ba-pilot-error[hidden]{display:none!important}
.ba-pilot-page .ba-pilot-n{display:inline-flex;font-size:.77rem;font-weight:850;letter-spacing:.17em;color:#a24813;text-transform:uppercase}
.ba-pilot-page .ba-pilot-step-head h2,.ba-pilot-page .ba-pilot-result h2{font-size:clamp(2rem,4.4vw,3.5rem);letter-spacing:-.06em;line-height:1.02;margin:8px 0 14px;color:#14232a}
.ba-pilot-page .ba-pilot-step-head p,.ba-pilot-page .ba-pilot-result-top p{font-size:1rem;line-height:1.6;color:var(--bp-muted);max-width:65ch}
.ba-pilot-page .ba-pilot-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 25px;margin:32px 0}
.ba-pilot-page .ba-pilot-fields>label{display:flex;flex-direction:column;gap:8px;min-width:0;font-size:14px;font-weight:760;color:#1d3039}
.ba-pilot-page .ba-pilot-fields>label>span{display:block}
.ba-pilot-page .ba-pilot-fields :is(input:not([type=radio]),select,textarea){font-size:16px!important;width:100%;color:#14232a;background:#fff;border:1px solid #bfc3c0;border-radius:6px;min-height:52px;padding:12px 14px;box-shadow:none}
.ba-pilot-page .ba-pilot-fields textarea{resize:vertical;min-height:132px}
.ba-pilot-page .ba-pilot-fields small{color:#58666b;font-size:.81rem;font-weight:400;line-height:1.5}
.ba-pilot-page .ba-pilot-span{grid-column:1/-1}
.ba-pilot-page .ba-pilot-choice{display:flex;flex-wrap:wrap;align-content:start;gap:10px;border:0;padding:0;min-width:0}
.ba-pilot-page .ba-pilot-choice legend{font-size:14px;font-weight:760;margin-bottom:8px}
.ba-pilot-page .ba-pilot-choice label{display:flex;align-items:center;gap:8px;padding:12px;border:1px solid #d0cbc2;border-radius:6px;font-size:.92rem;background:#fff;cursor:pointer}
.ba-pilot-page .ba-pilot-choice input{accent-color:#aa4d11;width:20px;height:20px}
.ba-pilot-page .ba-pilot-actions{display:flex;justify-content:space-between;align-items:center;gap:12px;padding-top:25px;border-top:1px solid var(--bp-line)}
.ba-pilot-page .ba-pilot-next,.ba-pilot-page .ba-pilot-back{min-height:52px;padding:12px 24px;font-weight:800;font-size:.95rem;border-radius:4px;cursor:pointer;transition:transform .2s ease,background .2s ease}
.ba-pilot-page .ba-pilot-next{background:#f89035;color:#14232a;border:1px solid #f89035;margin-left:auto}
@media (hover:hover) and (pointer:fine){.ba-pilot-page .ba-pilot-next:hover{background:#ffad64;transform:translateY(-1px)}}
.ba-pilot-page .ba-pilot-back{border:1px solid #a6a9a4;background:#fffdfa;color:#1b2b34}
@media (hover:hover) and (pointer:fine){.ba-pilot-page .ba-pilot-back:hover{background:#f2eee7}}
.ba-pilot-page .ba-pilot-alert{padding:14px;background:#fff3ee;border:1px solid #cf6a2b;color:#713108;font-weight:680;border-radius:4px;margin-bottom:14px}
.ba-pilot-page .ba-pilot-result-top{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;flex-wrap:wrap}
.ba-pilot-page .ba-pilot-status{color:#165036;border:1px solid #8cbba3;background:#edf8f0;padding:8px 12px;border-radius:4px;font-weight:760;font-size:.82rem}
.ba-pilot-page .ba-pilot-result pre{display:block;white-space:pre-wrap;overflow-wrap:anywhere;font:500 .95rem/1.7 ui-monospace,SFMono-Regular,Consolas,monospace;background:#f4f0e9;color:#14232a;padding:25px;border:1px solid #d8cfc4;border-radius:6px;margin:24px 0}
.ba-pilot-page .ba-pilot-result-actions{display:flex;flex-wrap:wrap;gap:10px}
.ba-pilot-page .ba-pilot-result-actions .ba-pilot-next{margin:0}
.ba-pilot-page .ba-pilot-tip{font-size:.88rem;color:#3a5058}
.ba-pilot-page .ba-pilot-bottom{background:#14232a;color:#fff;padding:clamp(50px,7vw,94px) 0}
.ba-pilot-page .ba-pilot-bottom-grid{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:clamp(35px,6vw,90px);align-items:center}
.ba-pilot-page .ba-pilot-bottom h2{font-size:clamp(2rem,4vw,4rem);line-height:1.03;letter-spacing:-.06em;color:#fff;margin:15px 0}
.ba-pilot-page .ba-pilot-bottom p:not(.ba-pilot-label){color:#d7e1e4;font-size:1rem;line-height:1.65;max-width:54ch}
.ba-pilot-page .ba-pilot-bottom .ba-pilot-label{color:#ffb87f}
.ba-pilot-page .ba-pilot-proof-link{color:#ffb87f;border-bottom:1px solid #ffb87f;font-weight:850;padding:10px 0;display:inline-block}
.ba-pilot-page .ba-pilot-photo{display:block;position:relative;overflow:hidden;background:#1e343f;border:1px solid rgba(255,255,255,.12)}
.ba-pilot-page .ba-pilot-photo img{width:100%;height:auto;aspect-ratio:16/10;object-fit:cover;display:block}
.ba-pilot-page .ba-pilot-photo span{display:block;position:absolute;inset:auto 0 0 0;padding:18px 20px;background:linear-gradient(0deg,#14232a,transparent);color:#fff;font-size:.82rem;font-weight:800}
.ba-pilot-page .ba-pilot-footer{background:#101b21;color:#d5e0e3;padding:24px 0 36px}
.ba-pilot-page .ba-pilot-footer .wrap{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.ba-pilot-page .ba-pilot-footer p{margin:0;color:#d5e0e3;font-size:.83rem}
.ba-pilot-page .ba-pilot-footer a{color:#ffb87f;text-decoration:underline;text-underline-offset:4px}
@media(max-width:1100px){
 .ba-pilot-page header.nav.nav .nav-links{background:#fffdfa!important}
 .ba-pilot-page header.nav.nav .nav-links>a:not(.btn){color:#14232a!important}
}
@media(max-width:760px){
 .ba-pilot-page .ba-pilot-hero{min-height:0}
 .ba-pilot-page .ba-pilot-hero .ba-pilot-visual{inset:0 0 auto 0;height:255px}
 .ba-pilot-page .ba-pilot-hero .ba-pilot-visual::after{background:linear-gradient(0deg,#14232a,rgba(20,35,42,.10) 88%)}
 .ba-pilot-page .ba-pilot-hero-inner{padding:230px 0 34px}
 .ba-pilot-page .ba-pilot-hero h1{font-size:clamp(2.4rem,10vw,3.8rem);line-height:1.02;max-width:18ch}
 .ba-pilot-page .ba-pilot-hero p{font-size:.99rem}
 .ba-pilot-page .ba-pilot-facts{gap:8px}
 .ba-pilot-page .ba-pilot-facts span{font-size:.76rem;padding:6px 8px}
 .ba-pilot-page .ba-pilot-toolbar{align-items:flex-start;flex-direction:column;gap:14px}
 .ba-pilot-page .ba-pilot-progress{width:100%;max-width:none}
 .ba-pilot-page #baupilot-form,.ba-pilot-page .ba-pilot-result{padding:24px 18px;border-radius:7px}
 .ba-pilot-page .ba-pilot-fields{grid-template-columns:1fr;gap:17px;margin:24px 0}
 .ba-pilot-page .ba-pilot-actions{flex-wrap:wrap}
 .ba-pilot-page .ba-pilot-next,.ba-pilot-page .ba-pilot-back{min-height:48px}
 .ba-pilot-page .ba-pilot-next{flex:1}
 .ba-pilot-page .ba-pilot-result-actions>*{width:100%}
 .ba-pilot-page .ba-pilot-result pre{padding:16px;font-size:.82rem}
 .ba-pilot-page .ba-pilot-bottom-grid{grid-template-columns:1fr}
 .ba-pilot-page .ba-pilot-footer .wrap{flex-direction:column;align-items:flex-start}
}
@media(max-width:380px){
 .ba-pilot-page .ba-pilot-hero h1{font-size:2.35rem}
 .ba-pilot-page .ba-pilot-step-head h2{font-size:2rem}
 .ba-pilot-page .ba-pilot-next{padding-inline:12px}
}
@media(prefers-reduced-motion:reduce){
 html{scroll-behavior:auto}
 .ba-pilot-page *{transition:none!important;animation:none!important}
}