/* 首页增量布局；按钮、版心、配置纸张与 tab 使用共享组件。 */
.home-hero-chips {
  margin-top: 18px;
}

.home-tutorial-link {
  margin-top: 10px;
  margin-bottom: 0;
  font-size: 13px;
}

.home-app-preview {
  margin-block: 32px 0;
  text-align: center;
}

.home-app-preview img {
  display: block;
  width: 100%;
  max-width: 320px;
  height: auto;
  margin-inline: auto;
  border-radius: 10px;
  box-shadow: 0 12px 40px var(--shadow);
}

.home-paper-caption {
  margin: 20px auto 0;
  max-width: 720px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.7;
}

.home-sheet-note {
  position: absolute;
  top: 207px;
  right: 52px;
  display: flex;
  align-items: center;
  gap: 16px;
  pointer-events: none;
  color: var(--sketch);
}

.home-sheet-note svg {
  width: 28px;
  height: 150px;
}

.home-sheet-note span {
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.8;
}

.home-status {
  margin-top: 10px;
}

.home-status-line {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 32px;
  padding-top: 22px;
  padding-bottom: 22px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.8;
  color: var(--text-secondary);
}

.home-status-line span {
  max-width: 100%;
  overflow-wrap: anywhere;
}

.home-code-note {
  margin-top: 14px;
  margin-bottom: 0;
  color: var(--text-secondary);
  font-size: 13px;
}

.home-section-link {
  margin-top: 40px;
  margin-bottom: 0;
  font-size: 14px;
}

.home-start-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--border);
}

.home-start-list > li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
  gap: 64px;
  padding-top: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}

.home-step-label {
  display: flex;
  align-items: baseline;
}

.home-step-label h3 {
  margin: 0;
}

.home-step-copy {
  color: var(--text-secondary);
  line-height: 1.95;
}

.home-step-copy p {
  margin-top: 0;
  margin-bottom: 18px;
}

.home-step-copy p:last-child {
  margin-bottom: 0;
}

.home-fact-copy {
  max-width: var(--reading);
  margin-inline: auto;
  margin-top: 64px;
}

.home-fact-copy article + article {
  margin-top: 48px;
  padding-top: 48px;
  border-top: 1px solid var(--border);
}

.home-fact-copy h3 {
  margin-top: 0;
  margin-bottom: 20px;
}

.home-fact-copy p {
  margin-top: 0;
  margin-bottom: 20px;
  color: var(--text-secondary);
  line-height: 1.95;
}

.home-fact-copy p:last-child {
  margin-bottom: 0;
}

.home-fact-copy strong {
  color: var(--text);
  font-weight: var(--weight-semibold);
}

.home-article-list {
  max-width: var(--reading);
  margin-inline: auto;
}

.plat[data-home-platform] .plat-arc {
  display: none;
}

html[data-visitor-os="ios"] .plat[data-home-platform="ios"],
html[data-visitor-os="mac"] .plat[data-home-platform="mac"],
html[data-visitor-os="windows"] .plat[data-home-platform="windows"],
html[data-visitor-os="android"] .plat[data-home-platform="android"],
html[data-visitor-os="linux"] .plat[data-home-platform="linux"] {
  color: var(--text);
  font-weight: var(--weight-semibold);
}

html[data-visitor-os="ios"] .plat[data-home-platform="ios"] .plat-arc,
html[data-visitor-os="mac"] .plat[data-home-platform="mac"] .plat-arc,
html[data-visitor-os="windows"] .plat[data-home-platform="windows"] .plat-arc,
html[data-visitor-os="android"] .plat[data-home-platform="android"] .plat-arc,
html[data-visitor-os="linux"] .plat[data-home-platform="linux"] .plat-arc {
  display: block;
}

@media (max-width: 1080px) {
  .home-sheet-note {
    display: none;
  }
}

@media (max-width: 768px) {
  .home-start-list > li {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
}

@media (max-width: 640px) {
  .home-hero-chips {
    margin-top: 12px;
    gap: 6px;
  }

  .home-tutorial-link {
    margin-top: 8px;
  }

  .home-status {
    margin-top: 64px;
  }

  .home-status-line {
    justify-content: flex-start;
    gap: 10px;
  }

  .home-start-list > li {
    padding-top: 32px;
    padding-bottom: 32px;
  }

  .home-fact-copy {
    margin-top: 40px;
  }

  .home-fact-copy article + article {
    margin-top: 36px;
    padding-top: 36px;
  }
}