/* =============================================================================
   Mobile focus (<=720px)
   目标：手机上先讲清价值，再给细节。仅作用于小屏，桌面端不受影响。
   - 首屏：一句话定位 + 放大的"前后对比"数字
   - 三张能力卡：横向滑动，不再纵向堆叠
   - 意图驱动演示：折叠为「工具调用 → 结论 → 待审批动作」
   - 能力清单：按价值排序，先展示 5 项，其余折叠
   ============================================================================= */
@media (max-width: 720px) {

  /* ---------- 首屏 ---------- */
  .page-screen--hero .hero {
    padding-top: 5.6rem;
  }
  /* 标题：整句平衡折行，不再在词中间断开；装饰图标缩小并改为行内 */
  .page-screen--hero .hero-title {
    font-size: clamp(1.35rem, 6.3vw, 1.8rem);
    line-height: 1.28;
    text-align: center;
  }
  .page-screen--hero .hero-title-line {
    white-space: normal;
    text-wrap: balance;
    overflow-wrap: break-word;
    hyphens: auto;
  }
  /* 德语、俄语等长单词语言：字号再小一点，避免词中断行 */
  html:lang(de) .page-screen--hero .hero-title,
  html:lang(ru) .page-screen--hero .hero-title,
  html:lang(fr) .page-screen--hero .hero-title,
  html:lang(es) .page-screen--hero .hero-title,
  html:lang(it) .page-screen--hero .hero-title {
    font-size: clamp(1.2rem, 5.3vw, 1.5rem);
  }
  .page-screen--hero .hero-title-pair,
  .page-screen--hero .hero-title-mark-wrap {
    display: none;
  }
  .page-screen--hero .hero-what:not(.hero-what--pos) {
    display: none;
  }
  .page-screen--hero .hero-what--pos {
    margin-top: 0.85rem;
    font-size: 0.93rem;
    line-height: 1.7;
    color: #334155;
    text-align: center;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
    overflow: hidden;
  }
  .page-screen--hero .hero-what--pos .hero-em {
    color: #003fec;
    font-weight: 700;
  }
  .page-screen--hero .hero-ctas {
    margin-top: 1.25rem;
    gap: 0.7rem;
  }
  .page-screen--hero .hero-ctas .btn {
    min-height: 3rem;
    font-size: 1rem;
  }
  /* 把次要 CTA 降级成文字链接，避免两个大按钮抢焦点 */
  .page-screen--hero .hero-ctas .btn-ghost {
    min-height: 2.4rem;
    border-color: transparent;
    background: transparent;
    box-shadow: none;
    color: #003fec;
    font-size: 0.92rem;
    font-weight: 600;
  }
  .page-screen--hero .hero-ctas .btn-ghost::after {
    content: " ›";
  }

  /* 前后对比：放大数字，让价值一眼可见 */
  .page-screen--hero .hero-stat {
    margin-top: 1.1rem;
  }
  .page-screen--hero .hero-stat-list {
    padding: 0.95rem 0.6rem 0.85rem;
    gap: 0.25rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(0, 63, 236, 0.1);
    box-shadow: 0 10px 28px rgba(0, 63, 236, 0.06);
  }
  .page-screen--hero .hero-stat-nums {
    flex-direction: column;
    flex-wrap: nowrap;
    min-height: 0;
    gap: 0.2rem;
    white-space: normal;
    text-align: center;
  }
  .page-screen--hero .hero-stat-arrow {
    display: none;
  }
  .page-screen--hero .hero-stat-trad {
    font-size: 0.72rem;
  }
  .page-screen--hero .hero-stat-meta {
    font-size: 1.2rem;
    line-height: 1.15;
    font-weight: 800;
    color: #003fec;
  }
  .page-screen--hero .hero-stat-cap {
    font-size: 0.72rem;
    line-height: 1.35;
    color: #475569;
  }

  /* ---------- 三张能力卡：横滑 ---------- */
  .page-screen--hero .landing-panel .proof-metrics--cards {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0.8rem;
    width: 100vw;
    margin-inline: calc(50% - 50vw);
    padding: 0.25rem 1.75rem 1rem;
    max-width: none;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 1.75rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .page-screen--hero .landing-panel .proof-metrics--cards::-webkit-scrollbar {
    display: none;
  }
  .page-screen--hero .landing-panel .proof-metric--card,
  .page-screen--hero .landing-panel .proof-metric--card:hover {
    flex: 0 0 min(84vw, 21rem);
    width: min(84vw, 21rem) !important;
    max-width: none !important;
    scroll-snap-align: start;
  }
  .hc-dots {
    display: flex;
    justify-content: center;
    gap: 0.4rem;
    margin: -0.2rem 0 0.4rem;
  }
  .hc-dots i {
    width: 0.4rem;
    height: 0.4rem;
    border-radius: 999px;
    background: rgba(0, 63, 236, 0.18);
    transition: width 0.25s ease, background 0.25s ease;
  }
  .hc-dots i.is-on {
    width: 1.1rem;
    background: #003fec;
  }

  /* ---------- 意图驱动演示：压缩 ---------- */
  .rd .rd-think,
  .rd .rd-tool-name > span,
  .rd .rd-ttps,
  .rd .rd-act-call,
  .rd .rd-act-d,
  .rd .rd-hostrow,
  .rd .rd-chrome-tag {
    display: none !important;
  }
  .rd .rd-tool {
    padding-block: 0.5rem;
    align-items: center;
    grid-template-columns: 26px minmax(0, 1fr) auto;
  }
  .rd .rd-tool-res {
    display: none;
  }
  .rd .rd-act {
    padding-block: 0.7rem;
  }
  .rd .rd-calls {
    display: block;
  }

  /* ---------- 能力清单：先看最重要的 5 项 ---------- */
  #features .feat-mobile-summary {
    display: flex !important;
    flex-direction: column;
    gap: 0.7rem;
  }
  #features .feat-mobile-card {
    order: 20;
    position: relative;
    padding: 0.9rem 2.6rem 0.9rem 1rem;
  }
  #features .feat-mobile-card[data-arch-demo="denoise"]   { order: 1; }
  #features .feat-mobile-card[data-arch-demo="mita"]      { order: 2; }
  #features .feat-mobile-card[data-arch-demo="workbench"] { order: 3; }
  #features .feat-mobile-card[data-arch-demo="agentgov"]  { order: 4; }
  #features .feat-mobile-card[data-arch-demo="memory"]    { order: 5; }
  #features .feat-mobile-card p {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
  }
  #features .feat-mobile-card::after {
    content: "›";
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.4rem;
    line-height: 1;
    color: #003fec;
  }
  #features .feat-mobile-card-go {
    display: none;
  }
  #features .feat-mobile-summary:not(.is-open) .feat-mobile-card:not([data-arch-demo="denoise"]):not([data-arch-demo="mita"]):not([data-arch-demo="workbench"]):not([data-arch-demo="agentgov"]):not([data-arch-demo="memory"]) {
    display: none;
  }
  #features .feat-more {
    order: 6;
    align-self: stretch;
    padding: 0.8rem 1rem;
    border: 1px dashed rgba(0, 63, 236, 0.35);
    border-radius: 0.9rem;
    background: rgba(0, 63, 236, 0.04);
    color: #003fec;
    font: inherit;
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
  }
  #features .feat-mobile-summary.is-open .feat-more {
    order: 40;
  }
  #features .feat-mobile-cta {
    order: 50;
    margin-top: 0.4rem;
  }

  /* ---------- 交付方式：横滑，避免三张卡纵向堆叠 ---------- */
  .solutions-deploy-block .deploy-grid {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0.8rem;
    width: calc(100% + 2.5rem);
    margin-inline: -1.25rem;
    padding: 0.25rem 1.25rem 0.9rem;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 1.25rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .solutions-deploy-block .deploy-grid::-webkit-scrollbar {
    display: none;
  }
  .solutions-deploy-block .deploy-card {
    flex: 0 0 min(80vw, 19rem);
    scroll-snap-align: start;
  }

  /* ---------- 页脚：收紧 ---------- */
  .footer .footer-seo-about {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
  }
  .footer .footer-col ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0;
    margin: 0.6rem 0 0;
  }
  .footer .footer-col li {
    margin: 0;
  }
  .footer .footer-col li a {
    display: inline-flex;
    align-items: center;
    min-height: 2.25rem;
    padding: 0 0.85rem;
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
  }

  /* ---------- 悬浮按钮：缩小，少挡正文 ---------- */
  .fab-stack .fab-btn {
    transform: scale(0.88);
    transform-origin: right bottom;
  }
}


@media (min-width: 721px) {
  .hc-dots,
  .feat-more {
    display: none !important;
  }
}
