/* home.css — 首页 */

/* 首页现在只有 hero 一块：让页脚落到视口底部，短内容不会挤在上面 */
body.home {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--bg-primary);
}
body.home main { flex: 1 1 auto; }

.hero-band {
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(900px 400px at 8% -20%, var(--accent-dim), transparent 72%),
    var(--bg-secondary);
}

.hero {
  display: grid;
  grid-template-columns: 1.12fr 1fr;
  gap: 0;
  align-items: stretch;
  padding: 64px 0 68px;
}
.hero__text { padding-right: 48px; }
.hero__aside { border-left: 1px solid var(--border); padding-left: 48px; }

.hero__title {
  margin-top: 18px;
  font-size: clamp(32px, 5.4vw, 52px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.14;
}
.hero__title em { font-style: normal; color: var(--accent); }
.hero__lede {
  margin-top: 18px;
  max-width: 34em;
  font-size: 16px;
  color: var(--text-secondary);
}
.hero__cta { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; }
.hero__note { margin-top: 14px; font-size: 12.5px; color: var(--text-tertiary); }

.hero__text > * { animation: rise 0.5s cubic-bezier(0.22, 1, 0.36, 1) both; }
.hero__text > *:nth-child(2) { animation-delay: 0.04s; }
.hero__text > *:nth-child(3) { animation-delay: 0.08s; }
.hero__text > *:nth-child(4) { animation-delay: 0.12s; }
.hero__text > *:nth-child(5) { animation-delay: 0.16s; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }

/* 示例登记卡 */
.specimen {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}
.specimen:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.specimen__top {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-subtle);
}
.specimen__date { margin-left: auto; font-size: 12.5px; color: var(--text-tertiary); }
.specimen__body { padding: 14px 16px 6px; }
.specimen__row {
  display: flex;
  gap: 14px;
  padding: 7px 0;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 14px;
}
.specimen__row:last-of-type { border-bottom: 0; }
.specimen__k {
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--text-tertiary);
  width: 46px;
  flex: none;
  padding-top: 3px;
}
.specimen__v { font-weight: 600; }

.specimen .meter { margin: 14px 0 12px; }

.specimen__list { border-top: 1px solid var(--border-subtle); }
.specimen__list li {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 16px;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 13.5px;
}
.specimen__list li:last-child { border-bottom: 0; }
.specimen__list time { margin-left: auto; font-size: 12px; color: var(--text-tertiary); }
.specimen__list .done { color: var(--success); font-weight: 600; }
.specimen__list .todo { color: var(--danger); font-weight: 600; }

/* 页脚 */
.site-foot {
  border-top: 1px solid var(--border);
  padding: 26px 0 40px;
  font-size: 12.5px;
  color: var(--text-secondary);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  align-items: center;
}
.site-foot .mono { color: var(--text-tertiary); }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding: 40px 0 46px; gap: 32px; }
  .hero__text { padding-right: 0; }
  .hero__aside { border-left: 0; padding-left: 0; border-top: 1px solid var(--border); padding-top: 32px; }
}
