
/* 手机和平板使用自然文档流，避免桌面画布缩小后无法阅读和操作。 */
@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 > .platform-heading, .screen-stage > .screening-heading,
  .screen-stage > .interview-heading, .screen-stage > .insights-heading {
    position: relative; inset: auto !important; width: 100%; opacity: 1; transform: none; text-align: left !important;
  }
  .platform-heading h2, .screening-heading h2, .interview-heading h2, .insights-heading h2 {
    font-size: clamp(27px, 5.8vw, 38px) !important; line-height: 1.45 !important; letter-spacing: 0 !important;
  }
  .benefits { position: relative; inset: auto; width: 100%; height: auto; grid-template-columns: 1fr; }
  .benefit { padding: 18px; }
  .benefit + .benefit { border-left: 0; border-top: 1px solid rgba(0,0,0,.06); }
  .benefit-copy strong { font-size: 17px; }
  .benefit-copy small { font-size: 13px; }
  .header-actions { gap: 0; }
  .generating { min-width: 0; font-size: 14px; }
  .jd-card, .platform-card { width: auto; }
  .jd-head { gap: 12px; flex-wrap: wrap; }
  .platform-diagram {
    position: relative; inset: auto !important; width: 100%; height: auto;
    display: flex; flex-direction: column; align-items: stretch; gap: 14px;
  }
  .platform-orbit, .connector, .publish-wave { display: none; }
  .platform-node {
    position: relative; inset: auto; width: 100%; height: 92px; padding: 16px;
    gap: 16px; opacity: 1; transform: none !important;
  }
  .platform-node .node-icon { flex: 0 0 48px; width: 48px; height: 48px; }
  .platform-node .node-text strong { font-size: 18px; }
  .platform-node .node-sub { font-size: 13px; }
  .publish-core {
    position: relative; inset: auto; align-self: center; width: 156px; height: 156px;
    max-height: none; opacity: 1; margin: 20px 0; transform: none !important;
  }
  .publish-core-content strong { font-size: 22px; }
  .platform-benefits { position: relative; inset: auto; width: 100%; display: grid; gap: 20px; opacity: 1; transform: none; }
  .platform-benefit { width: 100%; }
  .platform-benefit strong { font-size: 18px; }
  .platform-benefit span { font-size: 14px; }
  /* 卡片沿用原插画尺寸，由用户横滑阅读，停止桌面的自动位移。 */
  .workflow-window {
    position: relative; inset: auto !important; width: 100% !important; height: 530px !important;
    overflow-x: auto !important; overflow-y: hidden !important; scroll-snap-type: x mandatory;
  }
  .workflow-track { position: relative; left: 0 !important; top: 0 !important; transform: none !important; width: max-content; padding: 10px 0; }
  .workflow-card { scroll-snap-align: start; }
  .workflow-arrow { display: none !important; }
  .workflow-progress { position: relative !important; inset: auto !important; width: 100% !important; display: flex; justify-content: center; gap: 2px !important; transform: none !important; }
  .workflow-dot, .workflow-dot.is-active { flex: 0 0 44px; min-width: 44px; min-height: 44px; padding: 17px !important; background: transparent !important; box-shadow: none !important; }
  .workflow-dot::after { content: ""; display: block; width: 10px; height: 10px; border-radius: 50%; background: #d8e3f6; }
  .workflow-dot.is-active::after { background: #5798f4; }
  .interview-flow { position: relative; inset: auto !important; width: 100%; grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .interview-step { opacity: 1; transform: none; }
  .interview-step-head { gap: 12px; }
  .interview-step-head h3 { font-size: 20px; }
  .interview-icon { width: 48px; height: 48px; font-size: 24px; }
  .interview-arrow { height: 44px; opacity: 1; transform: rotate(90deg); font-size: 32px; }
  .interview-step-foot { margin-top: 16px; font-size: 14px; line-height: 1.7; }
  .interview-panel { height: 315px; }
  .insight-board {
    position: relative; inset: auto !important; width: 100%; height: auto; padding: 20px 8px;
    grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 0; opacity: 1; transform: none;
  }
  .insight-item { padding: 0 6px; }
  .insight-item + .insight-item { border-left: 0; }
  .insight-item i { width: 60px; height: 60px; font-size: 32px; }
  .insight-item strong { margin-top: 14px; font-size: 18px; }
  .insight-item span { margin-top: 8px; font-size: 12px; white-space: normal; }
  .insight-query { position: relative; inset: auto; width: 100%; height: 72px; padding: 0 12px; grid-template-columns: 32px minmax(0,1fr) 44px; gap: 8px; opacity: 1; transform: none; }
  .insight-query .logo-window { width: 32px; height: 32px; }
  .insight-query input { min-width: 0; font-size: 16px; }
  .insight-response { position: relative; inset: auto; width: 100%; font-size: 14px; }
  .insight-response:not(.is-visible) { display: none; }
  .insights-stage > .insight-orbit, .insights-stage > .insight-glow { display: none; }
  .closing-cta { height: auto; min-height: 0; }
  .closing-cta__inner { padding: 60px 0; }
  .closing-cta h2 { font-size: clamp(28px, 7.5vw, 42px); line-height: 1.4; }
  .closing-cta__actions { flex-wrap: wrap; }
  .closing-cta__actions button { font-size: 16px; }
}
