/* 首屏左右分栏 + 对比图切换 + 折叠能力表，追加到 style.css 末尾 */

/* ---------------------------------------------------------------- 首屏分栏 */
.hero { padding: 96px 0 84px; text-align: left; }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 56px; align-items: center;
}
.hero-copy h1 { font-size: clamp(30px, 3.3vw, 46px); margin: 16px 0 18px; max-width: none; }
.hero-copy .lede { margin: 0 0 8px; font-size: 15.5px; }
.hero-copy .sub { margin: 0 0 10px; max-width: none; }
.hero-copy .hero-note { margin: 0 0 30px; max-width: none; }
.hero-copy .cta-row { justify-content: flex-start; }
.hero-copy .hero-meta {
  justify-content: flex-start; gap: 34px; margin-top: 38px;
  padding-top: 20px; border-top: 1px solid var(--hair);
}
.hero-copy .hero-meta div { white-space: nowrap; }

/* 对比图卡片 */
.hero-demo {
  min-width: 0; position: relative;
  margin-right: calc(-1 * ((100vw - var(--maxw)) / 2 + 32px));
}
@media (max-width: 1240px) { .hero-demo { margin-right: 0; } }
.cmp-tabs { display: flex; gap: 8px; margin-bottom: 12px; }
.cmp-tabs button {
  appearance: none; cursor: pointer;
  font: inherit; font-size: 12.5px; letter-spacing: .06em;
  padding: 7px 16px; border-radius: 999px;
  border: 1px solid var(--hair-strong); background: var(--card); color: var(--muted);
  transition: background .16s ease, color .16s ease, border-color .16s ease;
}
.cmp-tabs button:hover { border-color: var(--ink-2); color: var(--ink); }
.cmp-tabs button.is-active {
  background: var(--brand); border-color: var(--brand); color: var(--on-brand);
}
.cmp-figure {
  margin: 0; border: 1px solid var(--hair); border-radius: 14px; overflow: hidden;
  background: var(--card); box-shadow: 0 30px 70px -46px rgba(26, 26, 46, .38);
}
.cmp-figure img { display: block; width: 100%; height: auto; }
.cmp-figure { min-height: 220px; }
.cmp-note {
  margin: 10px 0 0; font-size: 11.5px; letter-spacing: .1em; color: var(--muted);
}

/* ---------------------------------------------------------------- 能力表折叠 */
.spec-more { margin-top: 18px; }
.spec-more summary {
  cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: 8px;
  font-size: 13.5px; color: var(--accent);
  border-bottom: 1px solid var(--accent-soft); padding-bottom: 2px;
}
.spec-more summary::-webkit-details-marker { display: none; }
.spec-more summary::after { content: "↓"; font-size: 12px; }
.spec-more[open] summary::after { content: "↑"; }
.spec-extra { margin-top: 8px; }

/* ---------------------------------------------------------------- 模式区截图 */
.mode-shot { margin: 0 0 34px; }
.mode-shot img {
  width: 100%; border: 1px solid var(--hair); border-radius: 12px; background: #fff;
  box-shadow: 0 24px 60px -44px rgba(26, 26, 46, .34);
}
.mode-shot figcaption {
  margin-top: 10px; font-size: 11.5px; letter-spacing: .12em; color: var(--muted);
}

@media (max-width: 980px) {
  .hero { padding: 84px 0 60px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .hero-copy .hero-meta { gap: 22px; }
  .cmp-tabs { flex-wrap: wrap; }
}
