@charset "UTF-8";

/* 新增素材的展示布局；全站字号仍在 readability.css 开头统一调整。 */
.teaser-gif { display: block; aspect-ratio: 856 / 480; background: #080d09; }
.teaser-gif > img { width: 100%; height: 100%; object-fit: contain; transform: none; }
.teaser-links { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 24px; margin-top: 24px; }
.teaser-links .teaser-cta { display: inline-flex; align-items: center; min-height: 44px; font-size: var(--font-small); margin: 0; }
.teaser-links button { color: var(--muted); font-size: var(--font-label); min-height: 44px; padding: 8px 0; }
.robot-story { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 72px); align-items: center; border: 1px solid var(--line); padding: clamp(22px, 3vw, 44px); background: var(--panel); margin-top: 36px; }
.robot-story > img { width: 100%; height: auto; max-height: 510px; object-fit: contain; }
.robot-story-copy { min-width: 0; }
.robot-story h2 { font-size: clamp(26px, 2.8vw, 40px); line-height: 1.6; margin-block: 18px; }
.robot-story-copy > p:not(.eyebrow) { color: var(--muted); font-size: var(--font-body); line-height: 2; }
.robot-facts { display: flex; flex-wrap: wrap; gap: 22px 40px; padding-block: 26px; }
.robot-facts > div { display: flex; flex-direction: column; gap: 6px; }
.robot-facts strong { font: 32px var(--mono); font-weight: 400; color: var(--accent); }
.robot-facts span { font-size: var(--font-label); color: var(--muted); }
.robot-jump-links { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 26px; }
.robot-jump-links .text-link { font-size: var(--font-small); min-height: 44px; display: inline-flex; align-items: center; }
.robot-demos, #gallery, .demo-card { scroll-margin-top: 120px; }
.demo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
.demo-card { min-width: 0; border: 1px solid var(--line); background: var(--panel); }
.demo-card > video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: contain; background: #060806; }
.demo-card.is-portrait > video { aspect-ratio: 4 / 3; max-height: 540px; }
.demo-copy { padding: 26px; }
.demo-copy h3 { font-size: 24px; line-height: 1.6; margin-block: 12px; }
.demo-copy > p:last-child { font-size: var(--font-body); line-height: 1.95; color: var(--muted); }

@media (max-width: 850px) {
  .robot-story { grid-template-columns: 1fr; }
  .robot-story > img { max-height: 440px; }
}

@media (max-width: 650px) {
  .demo-grid { grid-template-columns: 1fr; gap: 24px; }
  .robot-story { margin-top: 26px; padding: 22px; gap: 22px; }
  .robot-story h2 { font-size: 27px; }
  .robot-facts { gap: 24px; }
  .robot-facts strong { font-size: 28px; }
  .demo-copy { padding: 22px; }
  .demo-copy h3 { font-size: 23px; }
  .demo-card.is-portrait > video { aspect-ratio: 3 / 4; }
}
