@media(max-width:780px){
 html{overscroll-behavior-y:none}
 .preview-bar{padding:9px 16px;gap:10px;flex-wrap:wrap;font-size:.75rem}
 .preview-tag{font-size:.65rem}.preview-note{width:100%;margin-left:0;font-size:.75rem}
 .site-header{padding:19px 18px}.brand{width:185px}.site-header nav{font-size:.875rem}
 .site-header nav a:first-child,.desktop-cta{display:none}
 .layout{display:block;padding:0 16px 35px}.hero{min-height:440px}.hero-content{padding:28px}
 .hero h1{font-size:3rem}.hero-description{font-size:1rem}.section-heading h2{font-size:1.5rem}
 .services{grid-template-columns:1fr}.services>button{padding:20px}.services h3{font-size:1rem}
 .services p{font-size:.9rem}.service-action{font-size:.875rem}.try-panel{padding:24px}
 .try-panel h2{font-size:1.55rem}.example-questions button{font-size:.875rem}
 .site-footer{padding:20px 20px 240px;flex-direction:column;gap:8px}

 .mobile-widget{position:fixed;bottom:calc(16px + env(safe-area-inset-bottom));right:16px;max-width:calc(100vw - 32px);display:flex;flex-direction:column;align-items:flex-end;gap:12px;z-index:20}
 .launcher-prompts{display:flex;flex-direction:column;align-items:flex-end;gap:8px}
 .launcher-prompts button{background:white;color:var(--navy);border:1px solid #d5dff3;box-shadow:0 3px 15px #13224c14;padding:12px 15px;border-radius:14px 14px 3px 14px;font-size:.875rem;line-height:1.35;min-height:44px;text-align:left}
 .launcher-prompts button:active{background:var(--pale)}
 .mobile-launcher{display:flex;align-items:center;gap:10px;background:var(--navy);color:#fff;border:2px solid white;border-radius:30px;padding:8px 18px 8px 9px;box-shadow:0 8px 28px #00007842;font-weight:600;font-size:.875rem}
 .mobile-launcher img{height:34px;width:42px;object-fit:contain;background:white;border-radius:50%;padding:4px}

 html.chat-open{overflow:hidden;scroll-behavior:auto}
 body.chat-open{position:fixed;top:var(--chat-page-top,0px);left:0;right:0;width:100%;overflow:hidden;overscroll-behavior:none}
 body.chat-open::before{content:"";position:fixed;inset:0;background:#fff;z-index:29}
 .chat-open .mobile-widget{display:none}
 .chat-column{position:fixed;inset:auto;top:var(--chat-visible-top,0px);left:var(--chat-visible-left,0px);width:var(--chat-visible-width,100%);height:var(--chat-visible-height,100dvh);background:#fff;z-index:30;display:none;overflow:hidden;overscroll-behavior:none;padding-top:env(safe-area-inset-top)}
 body.chat-open .chat-column{display:block}
 .chat{height:100%;min-height:0;border:0;border-radius:0;box-shadow:none;padding-bottom:env(safe-area-inset-bottom)}
 .chat-header{padding:16px}.chat-header>div:nth-child(2){min-width:0;flex:1}
 .chat-header h2{font-size:1.03rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 .chat-header p{font-size:.8rem}.chat-notice{font-size:.75rem}.message{font-size:1rem}
 .suggestions button{font-size:.875rem}.composer input{font-size:1rem}.chat-footer{font-size:.75rem}
 .chat-caption{display:none}.icon-button{flex-shrink:0}.mobile-close{display:block;margin-left:0;font-size:1.8rem}
 .messages{padding-top:22px;-webkit-overflow-scrolling:touch;overscroll-behavior-y:contain}
 .chat-header,.chat-notice,.suggestions,.composer,.chat-footer{flex-shrink:0}

 .keyboard-open .chat-header{padding:10px 14px}.keyboard-open .chat-logo{width:46px;height:34px}
 .keyboard-open .chat-header h2{font-size:.94rem}
 .keyboard-open .chat-notice,.keyboard-open .suggestions,.keyboard-open .chat-footer{display:none}
 .keyboard-open .composer{padding:10px 12px}.keyboard-open .messages{padding-top:14px}
}
@media(max-width:780px) and (max-height:520px){
 .chat-notice,.chat-footer,.suggestions{display:none}.chat-header{padding:10px 14px}
 .chat-logo{width:46px;height:34px}.chat-header h2{font-size:.94rem}.composer{padding:10px 12px}
}
