.site-menu-toggle,.site-menu-extra{display:none}
.site-menu-toggle[hidden]{display:none!important}
.header>.brand{order:0}.header>.product-nav{order:1}.header>.header-actions{order:2}
@media(max-width:1100px){
  .header{display:grid;grid-template-columns:minmax(32px,1fr) auto 44px;gap:8px 12px;height:auto;min-height:72px;padding:12px 14px;align-items:center}
  .header>.brand{grid-column:1;grid-row:1;min-width:0;max-width:100%;overflow:hidden;margin:0}
  .header>.brand>span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .header>.header-actions{grid-column:2;grid-row:1;min-width:0;margin:0;justify-content:flex-end}
  .header .header-link{display:none}
  .header.site-nav-ready>.site-menu-toggle{grid-column:3;grid-row:1;display:grid;place-items:center;width:44px;height:44px;padding:10px;border:1px solid #e7e1e8;border-radius:11px;background:#fff;color:#554b5b;cursor:pointer}
  .site-menu-icon{display:grid;gap:4px;width:20px}
  .site-menu-icon i{display:block;width:20px;height:2px;border-radius:2px;background:currentColor;transition:transform .18s,opacity .18s}
  .site-menu-open .site-menu-icon i:first-child{transform:translateY(6px) rotate(45deg)}
  .site-menu-open .site-menu-icon i:nth-child(2){opacity:0}
  .site-menu-open .site-menu-icon i:last-child{transform:translateY(-6px) rotate(-45deg)}
  .header>.product-nav{grid-column:1/-1;grid-row:2;display:none;width:100%;min-width:0;margin:0;padding:12px 0 2px;border-top:1px solid var(--line);max-height:min(66dvh,460px);overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;scrollbar-width:thin}
  .header.site-menu-open>.product-nav{display:grid;grid-template-columns:1fr 1fr;gap:5px;animation:site-menu-enter .16s ease-out}
  .header>.product-nav a{display:flex;align-items:center;min-width:0;min-height:46px;padding:11px 13px;border-radius:9px;white-space:normal;font-size:12px;line-height:1.45;color:#63596b;overflow-wrap:anywhere;transform:none}
  .header>.product-nav a:hover,.header>.product-nav a:focus-visible,.header>.product-nav a[aria-current=page]{background:var(--red-soft);color:var(--red)}
  .header .header-actions .button,.header .header-account-button,.header .header-credit-menu{min-height:44px}
  .header .public-auth-actions{min-width:0}
  .header .header-actions .button{padding:10px 12px}
  .header .site-menu-extra{display:flex}
}
@media(max-width:780px){
  html{scroll-padding-top:105px}
  .header{width:calc(100% - 24px);gap:8px;top:8px;padding:10px 12px;border-radius:15px}
  .header .brand>span:last-child{display:none}
  .header .signed-in-actions,.header .signed-out-actions,.header .public-auth-actions{gap:6px}
  .header .header-account-button{margin-left:0}
  .header .header-credit-dropdown{display:none}
  #view-billing>.hero.row{display:block}
  #view-billing .balance{display:flex;align-items:baseline;gap:8px;width:fit-content;max-width:100%;margin-top:16px;text-align:left;overflow-wrap:anywhere}
  .customer-content .hero h2{font-size:clamp(28px,7.5vw,35px)}
  button,.button{touch-action:manipulation}
  main button,main .button,.auth-modal button{min-height:44px}
  main .button.small,main .api-copy-button,main .customer-sidebar nav button{min-height:44px}
  main input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=range]),main select,main textarea,.auth-modal input{font-size:16px}
  main input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=range]),main select,.auth-modal input{min-height:48px}
  .password-field input{padding-right:64px}
  .password-field button{top:2px;height:calc(100% - 4px);min-height:44px}
  .auth-modal{overflow-y:auto;padding:12px;align-items:safe center}
  .auth-modal-card{max-height:calc(100dvh - 24px);overflow-y:auto;overscroll-behavior:contain}
  .auth-form-panel{padding-top:52px}
  .auth-modal .auth-privacy,.auth-modal .auth-form-panel label>small{font-size:11px!important;line-height:1.65}
  .auth-close{top:7px;right:7px;width:44px;height:44px}
  .modal-open #aw-support{visibility:hidden;pointer-events:none}
  .seo-footer nav,.site-footer nav{display:grid;grid-template-columns:1fr 1fr;gap:3px 12px;width:100%}
  .seo-footer nav a,.site-footer nav a{display:flex;align-items:center;min-height:44px;font-size:12px;line-height:1.5}
  .preview-result ol,.landing-preview-result ol,.result-preview-card ol{font-size:11px;line-height:1.8;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
  #aw-support{right:14px;bottom:max(14px,env(safe-area-inset-bottom))}
  #aw-support .aw-chat-launch{position:relative;width:48px;height:48px;min-height:48px;justify-content:center;padding:12px;border-radius:50%}
  #aw-support .aw-chat-launch>span{display:none}
  #aw-support .aw-chat-launch>b{position:absolute;right:-4px;top:-5px;font-size:11px;border:2px solid white}
  #aw-support .aw-chat-panel{bottom:62px}
  #aw-support .aw-chat-close,#aw-support .aw-chat-panel form button{min-width:44px;min-height:44px}
}
@media(max-width:360px){
  .header{padding-inline:10px;column-gap:7px}
  .header .header-actions .button{padding:10px;font-size:11px}
  .header .header-account-button b{display:none}
  .header .header-account-button{padding:6px}
  .header .header-credit-menu{padding-inline:7px}
  .header>.product-nav a{padding-inline:10px;font-size:11px}
}
@keyframes site-menu-enter{from{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){.site-menu-icon i{transition:none}.header.site-menu-open>.product-nav{animation:none}}
