/* FrontLine V25 responsive pass: navigation, wizard, panels, mobile forms */
html,body{max-width:100%;overflow-x:clip}body{min-width:0}img,video,canvas,svg,iframe{max-width:100%}input,textarea,select{min-width:0;max-width:100%} .site-shell, #appView, .workspace-shell{min-width:0}
.wizard-shell [name=email][readonly]{background:rgba(70,100,160,.10);border-color:#6185d0;cursor:not-allowed;opacity:1}
@media(max-width:1024px){
.nav{width:100%;max-width:100%;padding-inline:clamp(12px,3vw,30px);gap:14px;height:auto;min-height:82px;flex-wrap:wrap}
.nav-links{gap:clamp(9px,1.6vw,20px)}.nav-actions{gap:8px!important;min-width:0;flex-wrap:wrap;justify-content:flex-end}
.nav-actions>*{flex-shrink:0}.nav .brand{min-width:0}.brand-name{font-size:clamp(15px,2vw,21px)}
.hero{padding-inline:clamp(15px,4vw,42px)!important}.dev-showcase{max-width:100%}
}
@media(max-width:767px){
:root{--mobile-pad:16px}
.nav{min-height:0;gap:8px 10px;padding:13px var(--mobile-pad);justify-content:space-between;align-items:center}
.nav .brand{gap:8px;max-width:58%;flex-shrink:1}.nav .brand-mark{width:34px;height:34px;flex-shrink:0}.nav .brand-mark img{width:34px;height:34px}.nav .brand-name{font-size:clamp(14px,3.5vw,18px);white-space:nowrap;letter-spacing:-.5px}
.nav-links{order:3;width:100%;justify-content:center;gap:clamp(18px,6vw,38px);margin:4px 0 0;padding:4px 0;border-top:1px solid rgba(153,161,222,.14)}
.nav-links a{font-size:13px!important;min-height:36px;display:inline-flex;align-items:center}
.nav-actions{gap:5px!important;margin-left:auto;max-width:100%}
.site-theme-toggle,.language-toggle,.nav-actions button{font-size:11px!important;padding:7px 9px!important;min-height:35px!important;line-height:1.2;white-space:nowrap}
.account-btn{max-width:126px;overflow:hidden;text-overflow:ellipsis;font-size:11px!important}
.header-notifications>button{font-size:11px!important;padding:7px 9px!important}
.hero{padding:42px var(--mobile-pad) 30px!important;min-height:0!important;display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:8px;overflow:hidden}
.hero-copy{width:100%!important;max-width:100%!important;order:0;z-index:2}
.hero h1{font-size:clamp(34px,8.6vw,58px)!important;line-height:1.12!important;letter-spacing:-1.6px!important;margin:17px 0!important;overflow-wrap:normal}
.hero-sub{font-size:14px!important;line-height:1.65!important;max-width:100%!important}
.hero-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px!important;margin-top:22px!important}
.hero-actions .btn{padding:11px 8px!important;min-height:46px!important;max-width:100%!important;min-width:0!important;gap:4px!important;font-size:12px!important;white-space:normal;text-align:center}
.dev-showcase{order:1;position:relative!important;inset:auto!important;top:auto!important;right:auto!important;left:auto!important;bottom:auto!important;width:100%!important;max-width:100%!important;height:auto!important;min-height:230px;aspect-ratio:1.45;transform:none!important;perspective:none!important;margin:6px auto 0!important;overflow:hidden!important}
.dev-showcase .dev-window{max-width:100%!important}.dev-showcase .dev-floating-card{max-width:42%;font-size:10px!important}
.hero-bottom,.scroll-to-explore{display:none!important}
.pricing-block,.contact-section,.reviews-inline,.footer{padding-inline:var(--mobile-pad)!important}
.pricing-block h2,.contact-heading h2{font-size:clamp(25px,7vw,36px)!important;line-height:1.25!important}
.pricing-cards,.pricing-grid,.contact-grid,.contact-section,.footer-top{grid-template-columns:minmax(0,1fr)!important}
.pricing-cards>*,.pricing-grid>*,.contact-grid>*,.contact-section>*,.footer-top>*{min-width:0!important;max-width:100%!important}
.neural-price,.price-card{padding:20px!important;min-height:0!important}.neural-price .btn{width:100%;min-height:45px;padding:9px!important}
.modal-backdrop.page-mode{padding:8px!important;overflow-y:auto!important;align-items:flex-start!important}
.page-mode .modal{width:100%!important;max-width:100%!important;min-width:0!important;min-height:0!important;padding:24px 12px 15px!important;margin:0!important;border-radius:16px!important;overflow:visible!important}
.wizard-shell{max-width:100%!important;min-width:0!important;width:100%!important;padding:0!important}
.wizard-shell h2{font-size:clamp(23px,6.3vw,30px)!important;line-height:1.3!important}
.wizard-shell .wizard-heading{display:flex!important;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}
.wizard-shell .wizard-choices{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:9px!important}
.wizard-choice{min-width:0!important;min-height:50px!important;padding:12px!important;font-size:14px!important}
.wizard-shell .wizard-page{min-width:0!important;max-width:100%!important;padding:16px 12px!important}
.wizard-shell .form-grid{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:12px!important}
.wizard-shell .field,.wizard-shell .field input,.wizard-shell .field textarea,.wizard-shell .field select{min-width:0!important;width:100%!important;font-size:16px!important}
.wizard-footer{display:flex!important;flex-wrap:wrap;gap:8px!important;justify-content:space-between}
.wizard-footer .btn{flex:1 1 130px;min-width:0;padding:10px!important;min-height:46px!important;font-size:13px!important}
#appView:has(.workspace-shell){padding-inline:8px!important}.workspace-shell{width:100%!important;max-width:100%!important;grid-template-columns:minmax(0,1fr)!important;min-width:0!important;margin:10px auto 24px!important}
.workspace-sidebar{max-width:100%!important;padding:12px!important}.workspace-sidebar nav{display:flex!important;gap:6px!important;max-width:100%!important;overflow-x:auto!important;overscroll-behavior-x:contain}
.ws-nav{padding:9px 12px!important;font-size:12px!important;white-space:nowrap}
.workspace-content{padding:16px 12px!important;min-width:0!important;overflow-wrap:anywhere}
.ws-top{display:flex!important;flex-wrap:wrap!important;gap:10px}.ws-top h1{font-size:clamp(23px,6vw,32px)!important}.ws-top-controls{flex-wrap:wrap!important}
.ws-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}.ws-stats>div,.ws-card{padding:14px!important;min-width:0}
.ws-form{grid-template-columns:minmax(0,1fr)!important}.ws-order{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:10px!important}
.ws-card,.ws-order,.portal-card{overflow-wrap:anywhere;min-width:0!important}.ws-order>button{align-self:flex-start}
.ws-pagination{gap:6px}.ws-page-button{padding:9px!important;font-size:12px}
.preview-frame{height:170px!important}.preview-card{padding:12px!important}
#modal .modal:not(.page-mode){max-width:calc(100vw - 20px)!important}
.footer{width:100%!important;overflow:hidden}.footer-top{gap:24px!important}.footer-bottom{flex-wrap:wrap;gap:12px}.footer :is(a,p,span){overflow-wrap:anywhere}
}
@media(max-width:390px){.nav{padding-inline:10px}.nav .brand-name{font-size:13px}.nav-actions{gap:3px!important}.nav-actions button{padding:6px!important;font-size:10px!important}.account-btn{max-width:98px}.hero-actions{grid-template-columns:minmax(0,1fr)}.hero-actions .btn{width:100%}.ws-stats{grid-template-columns:minmax(0,1fr)!important}}
@media(prefers-reduced-motion:reduce){.first-visit-loader{transition:none!important}}
