/* Home page only (English copy is longer) / 仅首页使用（英文文案更长） */

/* Cost table: keep numbers on one line, tighter cells on phones
   成本对比表：数字不换行，手机上收紧单元格内边距 */
.cost-table td.num, .cost-table th.num { white-space: nowrap; }
@media (max-width: 640px) {
  .cost-table th, .cost-table td { padding: 12px 10px; }
  .cost-table th { font-size: .8rem; }
  .cost-table { font-size: .88rem; }
}

/* Capability cards: "Learn more" links line up at the bottom. / 能力卡片："了解更多"底部对齐。 */
.cap-cards > .card { display: flex; flex-direction: column; }
.cap-cards > .card .card-link { margin-top: auto; padding-top: 16px; align-self: flex-start; }

.figure-more { margin-top: 16px; text-align: center; }

/* Hero diagram scrolls inside its frame on phones. / 手机上首屏图在框内横向滚动。 */
.hero-visual .scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.hero-visual .hint { display: none; font-size: .78rem; color: var(--ink-500); margin-top: 8px; text-align: center; }
@media (max-width: 640px) {
  .hero-visual { padding: 14px; }
  .hero-visual .scroll img { width: 560px; max-width: none; }
  .hero-visual .hint { display: block; }
}
