.page-home {
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

/* ===== 首屏：杂志封面 ===== */
.page-home .hero {
  position: relative;
  padding: 22px 0 0;
  background:
    radial-gradient(85% 62% at 92% 0%, var(--accent-soft), transparent 66%),
    linear-gradient(180deg, var(--ink-800) 0%, var(--bg) 84%);
}

.page-home .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(118deg, rgba(91, 231, 176, 0.05) 0 1px, transparent 1px 28px);
  pointer-events: none;
}

.page-home .hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 32px;
}

.page-home .hero-title {
  font-family: var(--font-display);
  font-weight: 200;
  font-size: clamp(2.7rem, 11vw, 5.4rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 14px 0 0;
}

.page-home .hero-title strong {
  display: block;
  font-weight: 600;
  color: var(--accent);
}

.page-home .hero-lead {
  margin: 20px 0 0;
  max-width: 32rem;
  font-size: 1rem;
  line-height: 1.9;
  color: var(--muted);
}

.page-home .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.page-home .hero-visual {
  display: block;
}

.page-home .hero-img {
  display: block;
  width: 100%;
  height: clamp(150px, 32vw, 240px);
  object-fit: cover;
  border-radius: var(--radius-lg);
  filter: saturate(0.7) brightness(0.9);
}

.page-home .hero-cards {
  position: relative;
  display: grid;
  gap: 12px;
  margin-top: -30px;
  padding-inline: 12px;
}

.page-home .hero-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease);
}

.page-home .hero-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent-line);
}

.page-home .hero-card-label {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--muted-2);
}

.page-home .hero-card-num {
  margin: 6px 0 0;
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--accent);
  line-height: 1.1;
}

.page-home .hero-card-num span {
  margin-left: 0.3em;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  color: var(--muted);
}

.page-home .hero-card-desc {
  margin: 8px 0 0;
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--muted);
}

.page-home .hero-ticker {
  position: relative;
  z-index: 1;
  margin-top: 30px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(14, 33, 28, 0.55);
}

.page-home .ticker-track {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 14px 0;
  scrollbar-width: none;
}

.page-home .ticker-track::-webkit-scrollbar {
  display: none;
}

.page-home .ticker-item {
  flex: 0 0 auto;
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.page-home .ticker-k {
  font-size: 0.85rem;
  color: var(--text);
}

.page-home .ticker-v {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--accent);
}

/* ===== 章节骨架 ===== */
.page-home .hm-section {
  padding: 52px 0;
  position: relative;
}

.page-home .hm-section + .hm-section {
  border-top: 1px solid var(--line);
}

.page-home .hm-head {
  max-width: 44rem;
  margin-bottom: 26px;
}

.page-home .hm-title {
  font-family: var(--font-display);
  font-weight: 200;
  font-size: clamp(1.7rem, 5.2vw, 2.8rem);
  line-height: 1.14;
  letter-spacing: -0.01em;
  margin: 10px 0 0;
}

.page-home .hm-sub {
  margin: 14px 0 0;
  font-size: 0.95rem;
  line-height: 1.9;
  color: var(--muted);
}

.page-home .inline-link {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.9rem;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid var(--accent-line);
  padding-bottom: 1px;
  transition: border-color 0.2s var(--ease);
}

.page-home .inline-link:hover {
  border-bottom-color: var(--accent);
}

.page-home .img-frame img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: inherit;
}

/* ===== 02 三步开始 ===== */
.page-home .start-grid {
  display: grid;
  gap: 24px;
}

.page-home .steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.page-home .step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: border-color 0.2s var(--ease);
}

.page-home .step:hover {
  border-color: var(--accent-line);
}

.page-home .step-num {
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1;
  color: var(--accent);
  opacity: 0.85;
}

.page-home .step-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.page-home .step-desc {
  margin: 8px 0 0;
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--muted);
}

.page-home .start-figure {
  border-radius: var(--radius-lg);
}

/* ===== 03 功能索引 ===== */
.page-home .feat-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}

.page-home .feat-card {
  position: relative;
  padding: 22px 18px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease);
}

.page-home .feat-card::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 0;
  width: 30px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

.page-home .feat-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent-line);
}

.page-home .feat-card:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  transform: translateY(-2px);
  border-color: var(--accent-line);
}

.page-home .feat-num {
  display: block;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--accent);
}

.page-home .feat-title {
  margin: 8px 0 0;
  font-size: 1.15rem;
  font-weight: 600;
}

.page-home .feat-desc {
  margin: 8px 0 0;
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--muted);
}

.page-home .feat-meta {
  margin: 14px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--muted-2);
}

/* ===== 04 更新节奏 ===== */
.page-home .rhythm-grid {
  display: grid;
  gap: 24px;
}

.page-home .rhythm-bars {
  border-top: 1px solid var(--line);
}

.page-home .rhythm-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.page-home .rhythm-name {
  grid-column: 1;
  grid-row: 1;
  font-size: 0.98rem;
  font-weight: 600;
}

.page-home .rhythm-val {
  grid-column: 2;
  grid-row: 1;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--accent-warm);
  white-space: nowrap;
}

.page-home .rhythm-desc {
  grid-column: 1 / -1;
  grid-row: 2;
  font-size: 0.875rem;
  line-height: 1.8;
  color: var(--muted);
}

.page-home .rhythm-figure {
  border-radius: var(--radius-lg);
}

/* ===== 05 射手榜对照 ===== */
.page-home .ctable-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  -webkit-overflow-scrolling: touch;
}

.page-home .ctable {
  width: 100%;
  min-width: 460px;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.page-home .ctable thead th {
  padding: 12px 14px;
  text-align: left;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--muted-2);
  background: var(--surface-2);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.page-home .ctable tbody th,
.page-home .ctable tbody td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.page-home .ctable tbody th {
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
}

.page-home .ctable tbody tr:last-child th,
.page-home .ctable tbody tr:last-child td {
  border-bottom: 0;
}

.page-home .ctable tbody tr:nth-child(even) {
  background: var(--surface-2);
}

.page-home .ctable .num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.06em;
}

.page-home .ctable .diff {
  color: var(--accent-warm);
  background: var(--warm-soft);
  font-weight: 600;
}

.page-home .compare-note {
  margin: 14px 0 0;
  font-size: 0.85rem;
  line-height: 1.8;
  color: var(--muted-2);
}

.page-home .compare-figure {
  margin-top: 22px;
  border-radius: var(--radius-lg);
}

.page-home .compare-cta {
  margin: 22px 0 0;
}

/* ===== 06 新手三问 ===== */
.page-home .faq-list {
  display: grid;
  gap: 10px;
}

.page-home .faq-item {
  padding: 0 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: border-color 0.2s var(--ease);
}

.page-home .faq-item[open],
.page-home .faq-item:hover {
  border-color: var(--accent-line);
}

.page-home .faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.page-home .faq-item summary::-webkit-details-marker {
  display: none;
}

.page-home .faq-item summary::after {
  content: "+";
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 1.15rem;
  line-height: 1;
  color: var(--accent);
}

.page-home .faq-item[open] summary::after {
  content: "−";
}

.page-home .faq-body {
  margin: 0;
  padding: 0 0 18px;
  font-size: 0.92rem;
  line-height: 1.85;
  color: var(--muted);
}

.page-home .faq-more {
  margin: 18px 0 0;
}

/* ===== 延伸入口 ===== */
.page-home .hm-more-title {
  margin-bottom: 20px;
}

.page-home .more-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.page-home .more-link {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas:
    "num title"
    "num desc";
  gap: 2px 14px;
  padding: 16px 18px;
  text-decoration: none;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease);
}

.page-home .more-link:hover {
  transform: translateY(-2px);
  border-color: var(--accent-line);
}

.page-home .more-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.page-home .more-k {
  grid-area: num;
  align-self: center;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--accent);
}

.page-home .more-t {
  grid-area: title;
  font-size: 1rem;
  font-weight: 600;
}

.page-home .more-d {
  grid-area: desc;
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--muted);
}

/* ===== 响应式 ===== */
@media (min-width: 760px) {
  .page-home .hm-section {
    padding: 72px 0;
  }

  .page-home .feat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-home .hero-img {
    height: 260px;
  }

  .page-home .hero-card-num {
    font-size: 2.3rem;
  }
}

@media (min-width: 960px) {
  .page-home .hero {
    padding-top: 34px;
  }

  .page-home .hero-grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
    gap: 52px;
    align-items: start;
  }

  .page-home .hero-visual {
    padding-top: 8px;
  }

  .page-home .hero-img {
    height: 210px;
  }

  .page-home .hero-cards {
    margin-top: -26px;
    padding-inline: 14px;
  }

  .page-home .hero-card:nth-child(2) {
    margin-left: 18px;
  }

  .page-home .hero-card:nth-child(3) {
    margin-left: 36px;
  }

  .page-home .hero-ticker {
    margin-top: 40px;
  }

  .page-home .hm-section {
    padding: 92px 0;
  }

  .page-home .hm-section + .hm-section {
    border-top: 0;
  }

  .page-home .hm-section::before {
    content: "";
    position: absolute;
    left: 0;
    top: 92px;
    width: 3px;
    height: 46px;
    border-radius: 3px;
    background: linear-gradient(180deg, var(--accent), transparent);
    opacity: 0.55;
  }

  .page-home .start-grid {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 40px;
    align-items: start;
  }

  .page-home .feat-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }

  .page-home .rhythm-grid {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 44px;
    align-items: start;
  }

  .page-home .rhythm-row {
    padding: 18px 0;
  }

  .page-home .more-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-home .more-list > li:first-child {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1200px) {
  .page-home .hero-title {
    font-size: 6rem;
  }

  .page-home .hero-lead {
    font-size: 1.05rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .hero-card,
  .page-home .feat-card,
  .page-home .step,
  .page-home .faq-item,
  .page-home .more-link {
    transition: opacity 0.2s linear;
  }

  .page-home .hero-card:hover,
  .page-home .feat-card:hover,
  .page-home .more-link:hover,
  .page-home .feat-card:focus-visible {
    transform: none;
  }
}
