
/* 手机和平板使用自然文档流，避免桌面画布缩小后无法阅读和操作。 */
@media (max-width: 900px) {
  html { scroll-padding-top: 76px; }
  body { scroll-snap-type: none; }
  .screen-shell, #closing-section { height: auto; min-height: 0; scroll-snap-align: none; }
  .screen-stage, #closing-section .screen-stage {
    position: relative; width: 100%; height: auto; padding: 64px 20px;
    display: flex; flex-direction: column; gap: 28px;
  }
  #hero-section .screen-stage { padding-top: 110px; }
  .global-topbar { height: 64px; padding: 0 16px; background: rgba(255,255,255,.96); }
  .global-topbar .brand { gap: 8px; flex-shrink: 0; }
  .global-topbar .brand strong { font-size: 18px; }
  .global-topbar .navlinks { gap: 8px; }
  .global-topbar .navlinks a { display: none; }
  .global-topbar .navlinks button { height: 44px; padding: 0 14px; margin-left: 0; font-size: 13px; }
  .screen-stage .hero-copy {
    position: relative; inset: auto; width: 100%; transform: none;
  }
  .hero-copy h1 { margin: 24px 0 16px; font-size: clamp(30px, 7.9vw, 54px); line-height: 1.3; white-space: normal; }
  .hero-copy .subtitle { font-size: 16px; line-height: 1.8; white-space: normal; }
  .hero-actions { gap: 24px; margin-top: 26px; flex-wrap: wrap; }
  .primary-cta { width: auto; height: 50px; padding: 0 22px; font-size: 16px; }
  .learn { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; }
  .screen-stage .chat-panel {
    position: relative; inset: auto; width: 100%; height: 580px; border-radius: 18px;
  }
  .chat-header { height: 76px; padding: 0 16px; }
  .profile { gap: 10px; }
  .profile .profile-logo { width: 40px; height: 40px; }
  .profile strong { font-size: 18px; }
  .online { font-size: 12px; }
  .header-actions button { min-width: 44px; min-height: 44px; }
  .chat-scroll { top: 76px; bottom: 146px; height: auto; padding: 16px 12px; }
  .message-row { gap: 8px; }
  .message-row > .logo-window { width: 28px !important; height: 28px !important; }
  .message-card { min-width: 0; max-width: calc(100% - 36px); width: auto; height: auto; padding: 14px 12px; font-size: 14px; overflow-wrap: anywhere; }
  .intro-card p, .ai-card { font-size: 14px; }
  .suggestions button { height: auto; min-height: 44px; padding: 10px; gap: 8px; white-space: normal; text-align: left; font-size: 13px; }
  .thinking-step { font-size: 13px; white-space: normal; }
  .user-bubble { max-width: 90%; padding: 12px 16px; font-size: 14px; overflow-wrap: anywhere; }
  .composer-zone { top: auto; height: 146px; padding: 0 12px; }
  .composer { height: 50px; margin-top: 14px; padding-left: 14px; gap: 6px; }
  .composer input { min-width: 0; font-size: 16px; }
  .composer .send { flex: 0 0 44px; width: 44px; height: 44px; }
  .quick-actions { overflow-x: auto; padding-bottom: 8px; margin-top: 10px; }
  .quick-actions span { flex-shrink: 0; font-size: 12px; min-height: 36px; display: inline-flex; align-items: center; }
}

@media (max-width: 900px) {
  .screen-stage > .sec-head, .screen-stage > .sec-foot {
    position: relative; inset: auto; width: 100%;
  }
  .sec-head h2 { font-size: clamp(27px, 5.8vw, 38px); line-height: 1.45; letter-spacing: 0; }
  .sec-head p { font-size: 16px; line-height: 1.8; margin-top: 14px; }
  .sec-foot { font-size: 13px; line-height: 1.8; }
  .hero-note { line-height: 1.8; }
  .reveal { opacity: 1; transform: none; }
  .cap-marquee { position: relative; inset: auto; width: 100%; overflow-x: auto; scroll-snap-type: x mandatory; }
  .cap-track { gap: 16px; transform: none !important; }
  .cap-card { width: min(300px, calc(100vw - 40px)); scroll-snap-align: start; }
  .cap-card[aria-hidden] { display: none; }
  .cap-nav { position: relative; inset: auto; }
  .pipeline { position: relative; inset: auto; width: 100%; height: auto; flex-direction: column; gap: 12px; }
  .pipe-node { width: 100%; height: 112px; }
  .pipe-arrow { flex: none; width: 2px; height: 20px; margin: 0; }
  .pipe-arrow::after { top: auto; bottom: -1px; right: -4px; transform: rotate(90deg); }
  .gov { position: relative; inset: auto; width: 100%; }
  .gov-title { line-height: 1.7; }
  .gov-grid { grid-template-columns: minmax(0, 1fr); }
  .gov-viz { display: none; }
  .calc-tags { position: relative; inset: auto; width: 100%; gap: 8px; }
  .calc-tags span { padding: 8px 12px; font-size: 13px; }
  .org-tree { position: relative; inset: auto; width: 100%; }
  .org-level { gap: 8px; margin: 0 0 16px; flex-wrap: wrap; }
  .org-level::before { width: 12px; }
  .org-indent-1 { padding-left: 12px; }
  .org-indent-2 { padding-left: 24px; }
  .org-indent-3 { padding-left: 36px; }
  .org-node, .org-node.sub, .org-node.leaf { padding: 12px; font-size: 15px; border-radius: 10px; }
  .group-cards, .co-grid { position: relative; inset: auto; width: 100%; grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .info-card, .co-card { height: auto; padding: 24px; }
  .im-items, .im-items.right { position: relative; inset: auto; width: 100%; }
  .im-ring { position: relative; inset: auto; transform: none; width: 100%; height: auto; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
  .im-ring .orbit, .im-wave { display: none; }
  .im-hub { position: relative; inset: auto; transform: none; width: 100%; height: 110px; border-radius: 20px; }
  .im-node, .im-node.n1, .im-node.n2, .im-node.n3 { position: relative; inset: auto; transform: none; padding: 16px 12px; gap: 8px; font-size: 14px; }
  .im-logo { height: 28px; max-width: 42px; object-fit: contain; }
  .fast-row { position: relative; inset: auto; width: 100%; height: auto; padding: 24px; flex-direction: column; gap: 16px; }
  .fast-side { min-width: 0; }
  .fast-side b { font-size: 30px; }
  .fast-arrow { transform: rotate(90deg); }
  .price-row { position: relative; inset: auto; width: 100%; grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .price-card { padding: 26px 20px; }
  .price-card li { font-size: 16px; line-height: 1.6; }
  .price-figure { font-size: 28px; }
  .price-figure small { display: block; margin: 8px 0 0; font-size: 15px; }
  .modules-band { position: relative; inset: auto; width: 100%; flex-wrap: wrap; gap: 8px; }
  .modules-band span { flex: 1 1 28%; padding: 14px 8px; font-size: 13px; }
  .modules-band > i { display: none; }
  .closing-copy { position: relative; inset: auto; width: 100%; }
  .closing-copy h2 { font-size: clamp(28px, 7.5vw, 42px); line-height: 1.4; }
  .closing-copy p { font-size: 16px; line-height: 1.8; margin-top: 20px; }
  .closing-actions { margin-top: 28px; gap: 12px; flex-wrap: wrap; }
  .closing-actions button { height: 52px; padding: 0 24px; font-size: 16px; }
  .closing-foot { position: relative; inset: auto; font-size: 13px; line-height: 1.8; }
}
