/* 官网展示页面；下载与更新日志继续使用 site.css。 */
.homepage {
  --home-muted: #aaa49d;
  --home-line: rgba(232, 228, 221, 0.13);
  color: var(--text-primary);
  font-size: 15px;
}
.homepage > .page {
  max-width: none;
  padding-bottom: 0;
  font-size: 14px;
}
.homepage > .page > .bar {
  padding-inline: 0;
}
.homepage .wrap {
  width: min(1240px, calc(100% - 80px));
  margin-inline: auto;
}
.homepage a {
  text-decoration: none;
}
.homepage button,
.homepage input,
.homepage select {
  font: inherit;
}
.homepage button {
  cursor: pointer;
}
.homepage button:disabled {
  cursor: default;
}
.homepage :focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
.skip-link {
  position: absolute;
  top: -60px;
  left: 20px;
  padding: 10px;
  background: var(--bg-base);
  z-index: 100;
}
.skip-link:focus {
  top: 10px;
}
.hero {
  text-align: center;
  padding-block: 30px 32px;
}
.hero h1 {
  margin: 25px 0 22px;
  font-size: clamp(35px, 4.3vw, 62px);
  line-height: 1.3;
  letter-spacing: 0.015em;
  font-weight: 500;
}
.hero-accent {
  color: #b9c9bc;
}
.hero-description {
  color: var(--home-muted);
  font-size: 15px;
  line-height: 1.9;
  max-width: 620px;
  margin-inline: auto;
  white-space: pre-line;
}
.primary-action {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  background: var(--accent);
  color: #1f2923;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.15s;
}
.primary-action:hover {
  background: #9cbeaf;
}
.text-action {
  display: inline-flex;
  gap: 18px;
  align-items: center;
  font-size: 14px;
  color: var(--text-primary);
}
.text-action:hover {
  color: var(--accent);
}
.platform-note {
  margin-top: 17px;
  color: var(--home-muted);
  font-size: 11px;
  letter-spacing: 0.04em;
}
.demo-section {
  scroll-margin-top: 24px;
}
.software-window {
  height: 650px;
  background: #252321;
  border: 1px solid #48443e;
  border-radius: 10px;
  box-shadow: 0 36px 90px #0004;
  overflow: hidden;
  position: relative;
  isolation: isolate;
}
.demo-fallback {
  display: grid;
  place-content: center;
  height: 100%;
  color: var(--home-muted);
}
.homepage h2 {
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.45;
  font-weight: 500;
  white-space: pre-line;
}
.simple-feature {
  padding: 30px 0;
  border-top: 1px solid var(--home-line);
}
.simple-feature p {
  color: var(--home-muted);
}
.closing {
  text-align: center;
  padding-block: 95px 90px;
  border-top: 1px solid var(--home-line);
  margin-top: 80px !important;
}
.closing h2 {
  margin: 20px 0 28px;
  font-size: clamp(27px, 3vw, 38px);
}
.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  border-top: 1px solid var(--home-line);
  padding-block: 28px 38px;
  font-size: 11px;
  color: var(--home-muted);
}
.site-footer > div:first-child {
  display: flex;
  gap: 16px;
  align-items: baseline;
}
.footer-name {
  color: var(--text-primary);
  font: 16px var(--font-cn-serif);
}
.footer-links {
  display: flex;
  gap: 22px;
}
.footer-links a:hover {
  color: var(--accent);
}
@media (max-width: 760px) {
  .homepage .wrap {
    width: calc(100% - 32px);
  }
  .hero {
    padding-block: 28px 24px;
  }
  .hero h1 {
    margin-top: 20px;
  }
  .hero-description {
    font-size: 13px;
  }
  .primary-action {
    padding: 11px 17px;
    gap: 20px;
  }
  .platform-note {
    font-size: 10px;
  }
  .software-window {
    height: 650px;
  }
  .closing {
    padding-block: 55px;
    margin-top: 45px !important;
  }
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .site-footer .footer-links {
    flex-wrap: wrap;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
.feature-list {
  padding-top: 75px;
  scroll-margin-top: 24px;
}
.feature-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
}
.homepage .demo-web-controls {
  justify-content: flex-end;
}
.feature-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.7fr);
  gap: 40px;
  align-items: center;
  padding: 70px 0;
  border-top: 1px solid var(--home-line);
}
.feature-copy {
  max-width: 440px;
}
.feature-copy h2 {
  margin: 0 0 18px;
  font-size: clamp(27px, 2.4vw, 35px);
}
.feature-copy > p {
  font-size: 14px;
  color: #b8ada0;
  line-height: 1.9;
}
.feature-launch {
  display: inline-flex;
  align-items: center;
  gap: 25px;
  border: 0;
  border-bottom: 1px solid #7ba89a4a;
  padding: 8px 0;
  margin-top: 20px;
  background: none;
  color: #b4c8b7;
  font-size: 13px !important;
}
.feature-launch:hover {
  color: #d0e0d0;
}
.feature-section.reversed .feature-copy {
  order: 2;
}
.feature-section.reversed .feature-visual {
  order: 1;
}
.feature-section.reversed {
  grid-template-columns: minmax(0, 1.7fr) minmax(260px, 0.72fr);
}
.feature-visual {
  background: #292621;
  border: 1px solid #73634b33;
  border-radius: 8px;
  box-shadow: 0 18px 45px #0002;
  overflow: hidden;
}
.feature-preview {
  margin: 0;
  min-width: 0;
}
.feature-section.reversed .feature-preview {
  order: 1;
}
.feature-preview-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 1100/760;
}
.feature-preview-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 1100px;
  height: 760px;
  transform-origin: top left;
  pointer-events: none;
  user-select: none;
}
.asset-credits {
  padding: 45px 0 0;
  color: var(--home-muted);
  font-size: 12px;
  scroll-margin-top: 30px;
}
.homepage .asset-credits h2 {
  font-size: 20px;
  margin: 0 0 14px;
}
.asset-credits p {
  margin: 13px 0 24px;
  line-height: 1.9;
}
.asset-credit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 35px;
}
.asset-credit-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin: 0;
  min-width: 0;
}
.asset-credit-thumbnail {
  flex: 0 0 112px;
}
.asset-credit-thumbnail img {
  display: block;
  width: 112px;
  height: 78px;
  object-fit: cover;
  border-radius: 3px;
}
.asset-credit-item figcaption {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 11px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.asset-credit-item strong {
  font-weight: 500;
  color: var(--text-primary);
}
.asset-credits a {
  color: #b4c8b7;
}
.asset-credits a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (max-width: 1000px) {
  .feature-section,
  .feature-section.reversed {
    gap: 40px;
  }
}
@media (max-width: 760px) {
  .feature-section,
  .feature-section.reversed {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 40px 0;
  }
  .feature-section.reversed .feature-copy,
  .feature-section.reversed .feature-visual,
  .feature-section.reversed .feature-preview {
    order: 0;
  }
  .feature-copy {
    max-width: none;
  }
  .feature-copy h2 {
    font-size: 28px;
    margin: 0 0 15px;
  }
  .feature-copy > p {
    font-size: 13px;
  }
  .feature-launch {
    margin-top: 12px;
  }
  .asset-credit-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .asset-credit-thumbnail {
    flex-basis: 96px;
  }
  .asset-credit-thumbnail img {
    width: 96px;
    height: 70px;
  }
}

/* 物种配图展开现有详情内容；主演示仍保留窗口内滚动。 */
.feature-preview-long { aspect-ratio:auto; }
.feature-preview-long .feature-preview-canvas { height:auto; }
#feature-sections .feature-preview-long .software-preview .av-overlay { position:relative; inset:auto; overflow:visible; }
#feature-sections .feature-preview-long .software-preview .av-species-scroll { flex:none; overflow:visible; }
#feature-sections .feature-preview-long .software-preview .av-species-bar { position:static; }
.credits-page { padding-block:40px 70px; }
.credits-page .asset-credits { padding-top:0; }
.credits-page h1 { font-size:clamp(26px,3vw,36px); }
.demo-status:empty { display:none; }

/* 窄屏主演示使用与功能配图相同的等比静态画面。 */
.demo-mobile-hint { text-align: center; color: var(--home-muted); font-size: 12px; margin: 14px 0 0; }
.demo-mobile-hint[hidden], #demo-reset[hidden], .brand .en[hidden] { display: none; }
.feature-preview-trips { aspect-ratio: 1100 / 620; }
