.page-home img {
  max-width: 100%;
}

/* ===== 首屏 ===== */
.page-home .home-hero {
  padding-bottom: 72px;
}

.page-home .hero-context {
  margin: 0 0 18px;
  font-size: 12.5px;
  letter-spacing: 0.08em;
  color: var(--gold-400);
}

.page-home .hero-context .mono {
  color: var(--gold-300);
  font-weight: 700;
}

.page-home .home-hero h1 {
  margin: 0 0 20px;
  max-width: 15em;
  font-size: clamp(30px, 7.2vw, 56px);
  line-height: 1.14;
  letter-spacing: -0.02em;
  font-stretch: condensed;
}

.page-home .hero-lead {
  margin: 0 0 48px;
  max-width: 38em;
  font-size: 16px;
  line-height: 1.8;
  color: #c4ced7;
}

.page-home .hero-bento {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap);
}

.page-home .hero-bento > * {
  animation: home-rise 0.55s var(--ease) both;
}

.page-home .hero-bento > :nth-child(1) { animation-delay: 0ms; }
.page-home .hero-bento > :nth-child(2) { animation-delay: 60ms; }
.page-home .hero-bento > :nth-child(3) { animation-delay: 120ms; }
.page-home .hero-bento > :nth-child(4) { animation-delay: 180ms; }
.page-home .hero-bento > :nth-child(5) { animation-delay: 240ms; }
.page-home .hero-bento > :nth-child(6) { animation-delay: 300ms; }

@keyframes home-rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.page-home .hero-bento .panel {
  transition: transform 0.24s var(--ease), border-color 0.24s var(--ease),
    box-shadow 0.24s var(--ease);
}

.page-home .hero-bento .panel:hover {
  transform: translateY(-2px);
  border-color: rgba(240, 195, 104, 0.7);
  box-shadow: var(--shadow-lift);
}

/* 焦点块 */
.page-home .hero-focus {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 340px;
  overflow: hidden;
}

.page-home .focus-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-home .focus-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.42;
}

.page-home .hero-focus::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(12, 26, 40, 0.32) 0%,
    rgba(12, 26, 40, 0.86) 58%,
    rgba(12, 26, 40, 0.97) 100%
  );
}

.page-home .focus-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  padding: 5px 11px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--gold-300);
  border: var(--rule);
  border-radius: var(--radius);
  background: rgba(12, 26, 40, 0.72);
}

.page-home .focus-body {
  position: relative;
  z-index: 2;
  padding: 26px 22px 28px;
}

.page-home .focus-body h2 {
  margin: 8px 0 12px;
  font-size: clamp(22px, 4.6vw, 32px);
  line-height: 1.22;
  letter-spacing: -0.015em;
}

.page-home .focus-body p {
  margin: 0 0 20px;
  max-width: 34em;
  font-size: 14.5px;
  line-height: 1.72;
  color: #c4ced7;
}

/* 普通模块 */
.page-home .hero-tile {
  display: flex;
  flex-direction: column;
  padding: 22px 22px 24px;
}

.page-home .hero-tile h2 {
  margin: 8px 0 10px;
  font-size: clamp(18px, 3.8vw, 21px);
  line-height: 1.32;
  letter-spacing: -0.01em;
}

.page-home .hero-tile p {
  margin: 0 0 18px;
  font-size: 14.5px;
  line-height: 1.72;
  color: #9fabb5;
}

.page-home .tile-link {
  margin-top: auto;
  align-self: flex-start;
  padding-bottom: 2px;
  font-size: 14px;
  color: var(--gold-400);
  text-decoration: none;
  border-bottom: 1px solid rgba(217, 166, 90, 0.42);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.page-home .tile-link:hover,
.page-home .tile-link:focus-visible {
  color: var(--gold-300);
  border-color: var(--gold-300);
}

/* ===== 设备与系统覆盖 ===== */
.page-home .cover-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}

.page-home .cover-main h2 {
  margin: 10px 0 16px;
  font-size: clamp(24px, 4.8vw, 38px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.page-home .cover-main > p {
  margin: 0 0 26px;
  max-width: 34em;
  font-size: 15px;
  line-height: 1.82;
  color: var(--ink-soft);
}

.page-home .device-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.page-home .device-list li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 12px 15px;
  background: var(--paper);
  font-size: 14.5px;
  color: var(--ink);
}

.page-home .device-list li::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-600);
  transform: translateY(-2px);
}

.page-home .cover-figure {
  margin: 0;
}

.page-home .cover-figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.page-home .cover-figure figcaption {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--ink-soft);
}

.page-home .os-block {
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.page-home .os-block h3 {
  margin: 0 0 18px;
  font-size: 20px;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.page-home .os-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
}

.page-home .os-list li {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.page-home .os-name {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.page-home .os-ver {
  display: block;
  font-size: 12.5px;
  letter-spacing: 0.03em;
  color: var(--jade-600);
}

/* ===== 桌面端程序 ===== */
.page-home .program-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 38px;
}

.page-home .program-intro h2 {
  margin: 10px 0 16px;
  font-size: clamp(24px, 4.8vw, 38px);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-home .program-intro > p {
  margin: 0 0 26px;
  max-width: 32em;
  font-size: 15px;
  line-height: 1.8;
  color: #c4ced7;
}

.page-home .spec-row {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}

.page-home .spec-row li {
  padding: 14px 12px 13px;
  border: var(--rule);
  border-radius: var(--radius);
  background: var(--navy-700);
}

.page-home .spec-num {
  font-size: clamp(22px, 5vw, 28px);
  font-weight: 700;
  line-height: 1;
  color: var(--gold-300);
}

.page-home .spec-unit {
  margin-left: 3px;
  font-size: 12px;
  color: var(--gold-400);
}

.page-home .spec-label {
  display: block;
  margin-top: 10px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--muted);
}

.page-home .step-list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: home-step;
  display: grid;
  gap: var(--gap);
}

.page-home .step-list li {
  position: relative;
  padding: 20px 20px 20px 64px;
  border: var(--rule);
  border-radius: var(--radius);
  background: var(--navy-800);
  transition: border-color 0.24s var(--ease), transform 0.24s var(--ease);
}

.page-home .step-list li::before {
  content: "0" counter(home-step);
  position: absolute;
  left: 20px;
  top: 20px;
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--gold-400);
}

.page-home .step-list li:hover {
  border-color: rgba(240, 195, 104, 0.58);
  transform: translateX(2px);
}

.page-home .step-list h3 {
  margin: 0 0 6px;
  font-size: 16.5px;
  line-height: 1.4;
  letter-spacing: -0.005em;
}

.page-home .step-list p {
  margin: 0;
  font-size: 14px;
  line-height: 1.72;
  color: var(--muted);
}

.page-home .version-note {
  margin: 34px 0 0;
  padding-top: 20px;
  border-top: var(--rule-soft);
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--muted);
}

.page-home .version-note .mono {
  color: var(--gold-400);
  font-weight: 700;
}

/* ===== 维护记录 ===== */
.page-home .home-records {
  position: relative;
  overflow: hidden;
}

.page-home .records-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.page-home .records-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.16;
}

.page-home .home-records .wrap {
  position: relative;
  z-index: 1;
}

.page-home .home-records h2 {
  margin: 10px 0 14px;
  font-size: clamp(24px, 4.8vw, 38px);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-home .home-records .lead {
  margin: 0 0 34px;
  max-width: 40em;
  font-size: 15px;
  line-height: 1.8;
  color: #c4ced7;
}

.page-home .timeline {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 10px;
}

.page-home .timeline:focus-visible {
  outline: 2px solid var(--gold-400);
  outline-offset: 4px;
}

.page-home .tl-track {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: var(--gap);
}

.page-home .tl-item {
  position: relative;
  flex: 0 0 84%;
  min-width: 248px;
  padding: 38px 20px 22px;
  border: var(--rule);
  border-radius: var(--radius);
  background: rgba(22, 50, 74, 0.72);
  scroll-snap-align: start;
}

.page-home .tl-item::before {
  content: "";
  position: absolute;
  top: 15px;
  left: 20px;
  right: -8px;
  height: 1px;
  background: rgba(169, 118, 47, 0.45);
}

.page-home .tl-item:last-child::before {
  right: 20px;
  background: linear-gradient(90deg, rgba(240, 195, 104, 0.6), rgba(240, 195, 104, 0.05));
}

.page-home .tl-dot {
  position: absolute;
  top: 11px;
  left: 20px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold-600);
  box-shadow: 0 0 0 4px rgba(169, 118, 47, 0.14);
}

.page-home .tl-issue {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--gold-400);
}

.page-home .tl-item h3 {
  margin: 0 0 10px;
  font-size: 17px;
  line-height: 1.38;
  letter-spacing: -0.01em;
}

.page-home .tl-item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.72;
  color: #b4c0ca;
}

.page-home .tl-item.is-current {
  border-color: rgba(240, 195, 104, 0.65);
  background: rgba(22, 50, 74, 0.94);
}

.page-home .tl-item.is-current .tl-issue {
  color: var(--gold-300);
}

.page-home .tl-item.is-current .tl-dot {
  background: var(--gold-300);
  animation: home-pulse 2.4s ease-in-out infinite;
}

@keyframes home-pulse {
  0%, 100% {
    box-shadow: 0 0 0 4px rgba(240, 195, 104, 0.18);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(240, 195, 104, 0.04);
  }
}

.page-home .records-actions {
  margin-top: 32px;
}

/* ===== 评测与反馈 ===== */
.page-home .fb-lead {
  margin: 0 0 30px;
  font-size: 15px;
  line-height: 1.82;
  color: var(--ink-soft);
}

.page-home .fb-links {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap);
  margin: 0 0 26px;
}

.page-home .fb-card {
  display: block;
  padding: 22px;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color 0.24s var(--ease), transform 0.24s var(--ease),
    box-shadow 0.24s var(--ease);
}

.page-home .fb-card:hover,
.page-home .fb-card:focus-visible {
  border-color: var(--gold-600);
  transform: translateY(-2px);
  box-shadow: 0 18px 36px -26px rgba(12, 26, 40, 0.55);
}

.page-home .fb-tag {
  display: inline-block;
  margin-bottom: 12px;
  padding: 3px 10px;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--jade-600);
  border: 1px solid rgba(46, 139, 122, 0.38);
  border-radius: 999px;
}

.page-home .fb-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.36;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.page-home .fb-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.72;
  color: var(--ink-soft);
}

.page-home .save-tip {
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink-soft);
}

.page-home .save-tip summary {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-weight: 600;
  color: var(--ink);
  list-style: none;
}

.page-home .save-tip summary::-webkit-details-marker {
  display: none;
}

.page-home .save-tip summary::before {
  content: "+";
  font-family: var(--font-mono);
  font-size: 16px;
  line-height: 1;
  color: var(--gold-600);
}

.page-home .save-tip[open] summary::before {
  content: "–";
}

.page-home .save-tip p {
  margin: 12px 0 0;
  line-height: 1.78;
}

.page-home .save-tip kbd {
  padding: 1px 6px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 3px;
}

/* ===== 服务覆盖 ===== */
.page-home .coverage-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px;
  align-items: center;
}

.page-home .coverage-figure {
  margin: 0;
}

.page-home .coverage-figure img {
  display: block;
  width: 100%;
  height: auto;
  border: var(--rule);
  border-radius: var(--radius);
}

.page-home .coverage-body h2 {
  margin: 10px 0 16px;
  font-size: clamp(24px, 4.8vw, 38px);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-home .coverage-body > p {
  margin: 0 0 28px;
  max-width: 40em;
  font-size: 15px;
  line-height: 1.8;
  color: #c4ced7;
}

.page-home .stat-row {
  list-style: none;
  margin: 0 0 30px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gap);
}

.page-home .stat-row li {
  position: relative;
  overflow: hidden;
  padding: 18px 14px 16px 18px;
  border: var(--rule);
  border-radius: var(--radius);
  background: var(--navy-700);
}

.page-home .stat-row li::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gold-600);
}

.page-home .stat-num {
  display: inline-block;
  font-size: clamp(26px, 6vw, 32px);
  font-weight: 700;
  line-height: 1;
  color: var(--gold-300);
}

.page-home .stat-unit {
  margin-left: 4px;
  font-size: 12.5px;
  color: var(--gold-400);
}

.page-home .stat-label {
  display: block;
  margin-top: 10px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--muted);
}

/* ===== 响应式 ===== */
@media (min-width: 620px) {
  .page-home .device-list {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 760px) {
  .page-home .os-list {
    grid-template-columns: repeat(5, 1fr);
  }

  .page-home .fb-links {
    grid-template-columns: 1fr 1fr;
  }

  .page-home .stat-row {
    grid-template-columns: repeat(4, 1fr);
  }

  .page-home .tl-item {
    flex: 0 0 300px;
  }
}

@media (min-width: 900px) {
  .page-home .cover-grid {
    grid-template-columns: 7fr 5fr;
    gap: 52px;
  }

  .page-home .program-grid {
    grid-template-columns: 5fr 7fr;
    gap: 56px;
  }

  .page-home .coverage-grid {
    grid-template-columns: 4fr 8fr;
    gap: 54px;
  }
}

@media (min-width: 960px) {
  .page-home .hero-bento {
    grid-template-columns: repeat(12, 1fr);
  }

  .page-home .hero-focus {
    grid-column: span 7;
    grid-row: span 2;
    min-height: 420px;
  }

  .page-home .hero-tile--a,
  .page-home .hero-tile--b {
    grid-column: span 5;
  }

  .page-home .hero-tile--c,
  .page-home .hero-tile--d,
  .page-home .hero-tile--e {
    grid-column: span 4;
  }

  .page-home .focus-body {
    padding: 30px 30px 32px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .hero-bento > * {
    animation: none;
  }

  .page-home .tl-item.is-current .tl-dot {
    animation: none;
  }

  .page-home .hero-bento .panel:hover,
  .page-home .fb-card:hover {
    transform: none;
  }
}
