/* 独立移动端样式（≤768px 生效） */
@media (max-width: 768px){
  .container{padding:0 16px}
  .site-header .topbar{height:56px}
  .logo img{height:28px}
  .logo .slogan{font-size:14px}
  .nav-toggle{display:block;background:transparent;border:1px solid var(--border);height:34px;width:44px;border-radius:8px}
  .nav{display:none;position:absolute;left:0;right:0;top:56px;background:#fff;border-bottom:1px solid var(--border);padding:10px 12px;flex-direction:column;gap:8px}
  .nav.open{display:flex}
  .search input{min-width:0;width:140px}

  .banner{height:220px;border-radius:12px}
  .h1{font-size:26px}
  .p{font-size:14px}

  .grid-3{grid-template-columns:1fr}
  .grid-2{grid-template-columns:1fr}
  .share-list{grid-template-columns:1fr}

  .site-footer .wrap{grid-template-columns:1fr}
  .site-footer .wrap, .site-footer .footer-links, .copy{text-align:center}
  .qr{justify-content:center}

  /* sub-hero and buy bar tweaks */
  .page-hero{padding:10px 12px}
  .page-hero .title{font-size:18px}
  .buy-bar .price b{font-size:18px}

  /* 新增块的栅格适配 */
  .kpis,.features,.team,.cards-3{grid-template-columns:1fr}
}

/* desktop */
.search { display:flex; align-items:center; gap:8px; }
.search form { display:flex; align-items:center; gap:8px; width:100%; }

/* mobile (≤768px) */
.nav-toggle{ display:block; background:transparent; border:1px solid var(--border); height:34px; width:44px; border-radius:8px; flex:0 0 auto; }
.search{ gap:6px; }
.search form{ gap:6px; }
.search button{ flex:0 0 auto; } /* 搜索按钮与nav-toggle都不被拉伸 */