/* 首页增量样式：复用全站颜色与字体，不影响作品、文章和工具详情页。 */
.home-page .hero-section { min-height: auto; padding-bottom: 64px; }
.home-page .hero-desc { margin-bottom: 30px; }
.home-page .section { padding: 64px 0; }
.home-page .section-header { margin-bottom: 30px; }
.home-page .section-note { color: var(--text-2); }

.featured-tools { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.featured-tool {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid #CFD9CD;
  border-top: 3px solid var(--accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.tool-status {
  align-self: flex-start;
  padding: 3px 9px;
  background: var(--accent-bg);
  color: #48634C;
  border-radius: 5px;
  font-size: .73rem;
  line-height: 1.7;
}
.featured-tool[data-status="preparing"] .tool-status,
.featured-tool[data-status="paid-preview"] .tool-status,
.featured-tool[data-status="commercial-experiment"] .tool-status { background: #F6EEE2; color: #82623C; }
.featured-tool[data-status="testing"] .tool-status { background: #EDF0F5; color: #526379; }
.featured-tool[data-status="paid"] .tool-status { background: #F2EDE4; color: #6A6258; }
.tool-name { font-size: 1.2rem; line-height: 1.45; margin: 17px 0 12px; }
.tool-value { font-size: .94rem; line-height: 1.85; color: var(--text); }
.tool-description { margin-top: 8px; font-size: .82rem; line-height: 1.7; color: var(--text-2); }
.tool-audience { margin: 18px 0 20px; font-size: .8rem; line-height: 1.75; color: var(--text-2); }
.tool-footer { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--border-lt); }
.tool-note { font-size: .73rem; color: var(--text-2); }
.tool-entry {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 16px;
  margin-left: auto;
  font-size: .85rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  background: var(--accent-dk);
  color: white;
}
.tool-entry:hover { background: #49674E; color: white; }
.tool-pending { color: var(--text-2); font-size: .8rem; }
.tool-footer .tool-pending { margin-left: auto; padding: 10px 0; }
.experiment-note { margin: 24px 0 30px; padding: 18px 22px; border-left: 3px solid var(--accent); background: rgba(255,255,255,.48); border-radius: 0 8px 8px 0; }
.experiment-note h3 { font-size: .9rem; margin-bottom: 6px; }
.experiment-note p { font-size: .82rem; line-height: 1.85; color: var(--text-2); }
.experiment-path { display: inline; }

.learning-collection { border-top: 1px solid var(--border); }
.home-page summary { cursor: pointer; padding: 18px 0; color: var(--accent-dk); }
.collection-title { color: var(--text); font-weight: 650; font-size: .95rem; }
.collection-hint { margin-left: 14px; color: var(--text-2); font-size: .8rem; font-weight: 400; }
.learning-intro { font-size: .83rem; color: var(--text-2); margin-bottom: 8px; }
.learning-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 30px; }
.learning-tool { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--border); }
.learning-copy { min-width: 0; }
.learning-name { font-size: .88rem; font-weight: 600; }
.learning-description { font-size: .78rem; color: var(--text-2); line-height: 1.75; margin-top: 4px; }
.learning-entry { display: inline-flex; align-items: center; min-height: 44px; flex-shrink: 0; font-size: .8rem; text-decoration: underline; text-underline-offset: 4px; }
.learning-tool .tool-pending { flex-shrink: 0; }
.more-works { margin-top: 24px; border-top: 1px solid var(--border); }
.home-page :is(a, button, summary):focus-visible { outline: 2px solid var(--accent-dk); outline-offset: 4px; }
.home-page .dir-card { box-shadow: none; background: transparent; padding: 20px; }
.home-page .cur-note { margin-top: 24px; padding: 18px 24px; }

@media (min-width: 641px) and (max-width: 900px) {
  .home-page .site-nav { gap: 14px; }
  .home-page .nav-link { font-size: .8rem; }
  .featured-tool { padding: 18px; }
  .tool-name { font-size: 1.08rem; }
}
@media (max-width: 760px) {
  .featured-tools { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .home-page .hero-section { padding-top: calc(var(--nav-h) + 32px); padding-bottom: 36px; }
  .home-page .hero-eyebrow { margin-bottom: 14px; }
  .home-page .hero-title { font-size: 1.85rem; }
  .home-page .hero-subtitle { margin-bottom: 18px; font-size: 1rem; }
  .home-page .hero-desc { font-size: .88rem; line-height: 1.9; margin-bottom: 24px; }
  .home-page .hero-actions { flex-direction: row; gap: 10px; }
  .home-page .hero-actions .btn { width: auto; flex: 1; padding: 10px 8px; font-size: .85rem; }
  .home-page .section { padding: 40px 0; }
  .home-page .section-header { margin-bottom: 22px; }
  .home-page .section-note { font-size: .82rem; }
  .featured-tools { gap: 14px; }
  .featured-tool { padding: 20px; }
  .tool-name { margin-top: 12px; }
  .tool-audience { margin: 12px 0 16px; }
  .tool-footer { padding-top: 10px; }
  .experiment-note { padding: 16px; margin: 20px 0; }
  .experiment-path { display: block; margin: 4px 0; }
  .collection-hint { display: block; margin-left: 18px; margin-top: 4px; font-size: .76rem; }
  .learning-list { grid-template-columns: 1fr; }
  .home-page #directions .grid { gap: 10px; }
  .home-page .dir-card { padding: 16px; }
  .home-page .dir-icon { float: left; margin: 0 12px 0 0; font-size: 1.25rem; }
  .home-page .dir-title { margin-bottom: 6px; }
  .home-page .dir-desc { font-size: .82rem; line-height: 1.75; }
  .home-page .art-group { padding: 20px 18px; }
  .home-page .art-brief { display: none; }
  .home-page .art-item { gap: 10px; }
  .home-page .art-title { font-size: .87rem; }
  .home-page .art-read-btn { min-height: 44px; display: inline-flex; align-items: center; }
  .home-page .about-body { gap: 12px; }
  .home-page .about-body p { font-size: .9rem; line-height: 1.9; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .home-page *, .home-page *::before, .home-page *::after { transition: none; }
}

/* 商业化准备按钮沿用原入口样式，仅提示，不触发支付。 */
.tool-payment { border: 0; font-family: inherit; cursor: pointer; max-width: 100%; }
.tool-payment-notice { flex-basis: 100%; font-size: .8rem; line-height: 1.7; color: var(--text-2); }
.tool-payment-notice:empty { display: none; }
