.page-home {
  position: relative;
  color: var(--paper-50);
  font-family: var(--font-body);
  padding-bottom: 64px;
  background:
    radial-gradient(680px 340px at 78% 4%, rgba(167, 139, 250, 0.14), transparent 70%),
    radial-gradient(560px 300px at 4% 30%, rgba(23, 192, 138, 0.13), transparent 72%);
}

.page-home .home-frame {
  position: relative;
  max-width: var(--shell-max);
  margin-inline: auto;
  padding-inline: 18px;
}

.page-home h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(21px, 3.6vw, 28px);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

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

/* ---------- 面包屑 ---------- */
.page-home .breadcrumb {
  padding-top: 16px;
  font-size: 12px;
  color: var(--slate-300);
}

.page-home .breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .breadcrumb li + li::before {
  content: "/";
  margin-right: 6px;
  color: rgba(147, 167, 180, 0.6);
}

.page-home .breadcrumb a {
  color: var(--emerald-200);
  text-decoration: none;
}

.page-home .breadcrumb a:hover {
  text-decoration: underline;
}

.page-home .breadcrumb [aria-current="page"] {
  color: var(--paper-50);
}

/* ---------- 首屏索引与主题声明 ---------- */
.page-home .home-masthead {
  display: grid;
  gap: 26px;
  padding: 24px 0 34px;
  border-bottom: 1px solid var(--line-slate);
}

.page-home .home-coord {
  margin: 0 0 12px;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--emerald-200);
  text-transform: uppercase;
}

.page-home h1 {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: clamp(28px, 7vw, 50px);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.02em;
}

.page-home .home-lede {
  margin: 0;
  max-width: 34em;
  font-size: 15.5px;
  line-height: 1.8;
  color: rgba(232, 238, 242, 0.82);
}

.page-home .home-jump {
  display: flex;
  gap: 8px;
  margin: 22px 0 0;
  padding: 2px 0 8px;
  list-style: none;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

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

.page-home .home-jump a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 15px;
  white-space: nowrap;
  border: 1px solid var(--line-hard);
  border-radius: var(--radius-pill);
  color: var(--paper-50);
  font-size: 13px;
  text-decoration: none;
  transition: background-color 0.18s var(--ease), border-color 0.18s var(--ease);
}

.page-home .home-jump a:hover,
.page-home .home-jump a:focus-visible {
  background-color: rgba(23, 192, 138, 0.16);
  border-color: var(--emerald-500);
}

.page-home .home-jump-num {
  font-size: 11px;
  color: var(--gold-400);
  letter-spacing: 0.08em;
}

.page-home .home-figure-cut {
  position: relative;
  margin: 0;
  padding: 8px;
}

.page-home .home-figure-cut::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid var(--line-hard);
  border-radius: var(--radius-md);
  clip-path: polygon(0 0, 100% 0, 100% 86%, 10% 100%);
  pointer-events: none;
}

.page-home .home-figure-cut img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
  border-radius: var(--radius-md);
  background: var(--ink-500);
  clip-path: polygon(0 0, 100% 0, 100% 86%, 10% 100%);
}

/* ---------- 主体双栏 ---------- */
.page-home .home-body {
  display: grid;
  gap: 40px;
  padding: 40px 0 8px;
}

.page-home .home-head {
  margin-bottom: 18px;
}

.page-home .home-kicker {
  margin: 0 0 8px;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--emerald-200);
}

/* ---------- 时间轴 ---------- */
.page-home .home-tl-note {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px;
  margin-bottom: 26px;
  border: 1px solid var(--line-slate);
  border-left: 3px solid var(--emerald-500);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  background: rgba(18, 49, 74, 0.55);
}

.page-home .home-tl-note img {
  flex: 0 0 96px;
  width: 96px;
  height: auto;
  border-radius: var(--radius-sm);
}

.page-home .home-tl-note p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.75;
  color: rgba(232, 238, 242, 0.8);
}

.page-home .home-timeline-list {
  position: relative;
  margin: 0;
  padding: 0 0 0 26px;
  list-style: none;
}

.page-home .home-timeline-list::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 10px;
  bottom: 18px;
  width: 1px;
  background: linear-gradient(to bottom, var(--emerald-500), var(--emerald-200) 55%, rgba(111, 243, 192, 0.1));
}

.page-home .tl-item {
  position: relative;
  padding-bottom: 12px;
}

.page-home .tl-item::before {
  content: "";
  position: absolute;
  left: -23px;
  top: 22px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold-400);
  box-shadow: 0 0 0 4px rgba(255, 201, 74, 0.14);
}

.page-home .tl-card {
  border: 1px solid var(--line-slate);
  border-radius: var(--radius-md);
  background: var(--ink-700);
  transition: border-color 0.18s var(--ease), background-color 0.18s var(--ease);
}

.page-home .tl-card:hover {
  border-color: var(--line-hard);
}

.page-home .tl-card[open] {
  border-color: var(--line-hard);
  background: var(--ink-500);
}

.page-home .tl-summary {
  display: grid;
  gap: 7px;
  padding: 13px 15px;
  cursor: pointer;
  list-style: none;
}

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

.page-home .tl-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.page-home .tl-issue {
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--gold-400);
}

.page-home .tl-range {
  padding: 2px 9px;
  font-size: 11.5px;
  color: var(--emerald-200);
  border: 1px dashed var(--line-hard);
  border-radius: var(--radius-pill);
}

.page-home .tl-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0;
}

.page-home .tl-action {
  font-size: 12px;
  color: var(--emerald-200);
}

.page-home .tl-action::after {
  content: "  +";
  font-family: var(--font-mono);
}

.page-home .tl-card[open] .tl-action::after {
  content: "  −";
}

.page-home .tl-detail {
  padding: 0 15px 15px;
  border-top: 1px dashed var(--line-slate);
  margin-top: 2px;
}

.page-home .tl-detail p {
  margin: 12px 0 10px;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(232, 238, 242, 0.82);
}

.page-home .tl-detail ul {
  margin: 0;
  padding-left: 16px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--slate-300);
}

.page-home .tl-detail li::marker {
  color: var(--emerald-500);
}

.page-home .home-more {
  margin: 20px 0 0;
  padding-left: 26px;
  font-size: 13.5px;
}

.page-home .home-more a {
  color: var(--emerald-200);
  text-decoration: none;
  border-bottom: 1px solid var(--line-hard);
  padding-bottom: 2px;
}

.page-home .home-more a:hover {
  color: var(--gold-400);
  border-bottom-color: var(--gold-400);
}

/* ---------- 产品线卡片 ---------- */
.page-home .prod-stack {
  display: grid;
  gap: 14px;
}

.page-home .prod-card {
  display: block;
  padding: 15px 16px 17px;
  border: 1px solid var(--line-hard);
  border-radius: var(--radius-md);
  background: var(--ink-700);
  color: inherit;
  text-decoration: none;
  box-shadow: 4px 4px 0 rgba(23, 192, 138, 0.18);
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), background-color 0.18s var(--ease);
}

.page-home .prod-card:hover,
.page-home .prod-card:focus-visible {
  transform: translateY(-2px);
  background: var(--ink-500);
  box-shadow: 6px 6px 0 rgba(23, 192, 138, 0.28);
}

.page-home .prod-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.page-home .prod-coord {
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--gold-400);
}

.page-home .prod-name {
  margin: 8px 0 6px;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.page-home .prod-desc {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.75;
  color: rgba(232, 238, 242, 0.78);
}

.page-home .prod-fit {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.page-home .prod-fit span {
  padding: 3px 10px;
  font-size: 11.5px;
  color: var(--emerald-200);
  border: 1px dashed var(--line-hard);
  border-radius: var(--radius-pill);
  transition: border-color 0.18s var(--ease), background-color 0.18s var(--ease);
}

.page-home .prod-card:hover .prod-fit span {
  border-style: solid;
  background: rgba(23, 192, 138, 0.12);
}

.page-home .home-products-figure {
  margin: 20px 0 0;
}

.page-home .home-products-figure img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: var(--radius-md);
  border: 1px solid var(--line-slate);
  background: var(--ink-500);
}

.page-home .home-archive {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 18px 0 0;
  padding-top: 14px;
  border-top: 1px dashed var(--line-slate);
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--slate-300);
}

.page-home .home-archive a {
  color: var(--emerald-200);
  text-decoration: none;
  white-space: nowrap;
}

.page-home .home-archive a:hover {
  color: var(--gold-400);
}

/* ---------- 快速通道 ---------- */
.page-home .home-quick {
  display: grid;
  gap: 14px;
  padding: 34px 0 8px;
  margin-top: 34px;
  border-top: 1px solid var(--line-slate);
}

.page-home .quick-card {
  display: block;
  padding: 18px 17px 20px;
  border: 1px solid var(--line-slate);
  border-radius: var(--radius-md);
  color: inherit;
  text-decoration: none;
  transition: transform 0.18s var(--ease), border-color 0.18s var(--ease);
}

.page-home .quick-card--device {
  background: linear-gradient(158deg, rgba(23, 192, 138, 0.16), rgba(6, 24, 38, 0) 78%);
}

.page-home .quick-card--room {
  background: linear-gradient(158deg, rgba(255, 201, 74, 0.14), rgba(6, 24, 38, 0) 78%);
}

.page-home .quick-card:hover,
.page-home .quick-card:focus-visible {
  transform: translateY(-2px);
  border-color: var(--emerald-500);
}

.page-home .quick-kicker {
  display: block;
  margin-bottom: 9px;
  font-size: 11.5px;
  letter-spacing: 0.12em;
  color: var(--emerald-200);
}

.page-home .quick-title {
  font-size: 20px;
}

.page-home .quick-text {
  margin: 10px 0 0;
  font-size: 13.5px;
  line-height: 1.8;
  color: rgba(232, 238, 242, 0.8);
}

/* ---------- 反馈承诺窄带 ---------- */
.page-home .home-promise {
  display: grid;
  gap: 16px;
  align-items: center;
  margin-top: 34px;
  padding: 20px 18px;
  border-left: 3px solid var(--coral-500);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  background: rgba(255, 122, 89, 0.08);
}

.page-home .promise-figure {
  margin: 0;
  width: 96px;
}

.page-home .promise-figure img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
}

.page-home .promise-kicker {
  margin: 0 0 8px;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  color: var(--coral-500);
}

.page-home .promise-title {
  font-size: 20px;
}

.page-home .promise-text {
  margin: 10px 0 0;
  font-size: 13.5px;
  line-height: 1.8;
  color: rgba(232, 238, 242, 0.82);
}

.page-home .promise-actions {
  margin: 0;
}

.page-home .promise-actions .btn {
  display: inline-block;
  white-space: nowrap;
}

/* ---------- 尾部链接 ---------- */
.page-home .home-tail {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--line-slate);
  font-size: 12.5px;
}

.page-home .home-tail a {
  color: var(--slate-300);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.page-home .home-tail a:hover {
  color: var(--emerald-200);
  border-bottom-color: var(--line-hard);
}

/* ---------- 断点 ---------- */
@media (min-width: 640px) {
  .page-home .home-frame {
    padding-inline: 26px;
  }

  .page-home .home-tl-note img {
    flex-basis: 132px;
    width: 132px;
  }

  .page-home .home-tl-note p {
    font-size: 14px;
  }

  .page-home .home-archive {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
  }

  .page-home .promise-figure {
    width: 118px;
  }
}

@media (min-width: 760px) {
  .page-home .home-quick {
    grid-template-columns: 1fr 1fr;
  }

  .page-home .home-promise {
    grid-template-columns: 118px minmax(0, 1fr) auto;
    gap: 22px;
    padding: 24px 24px;
  }
}

@media (min-width: 960px) {
  .page-home .home-masthead {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: end;
    gap: 36px;
    padding: 30px 0 40px;
  }

  .page-home .home-body {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 44px;
    padding-top: 46px;
  }

  .page-home .prod-stack .prod-card:nth-child(2) {
    margin-inline-start: 22px;
  }

  .page-home .prod-stack .prod-card:nth-child(3) {
    margin-inline-start: 44px;
  }

  .page-home .home-products {
    padding-top: 6px;
  }

  .page-home .quick-text {
    font-size: 14px;
  }

  .page-home .promise-figure {
    width: 132px;
  }
}

@media (min-width: 1180px) {
  .page-home::before,
  .page-home::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 9px;
    pointer-events: none;
    background-image: repeating-linear-gradient(
      to bottom,
      var(--line-slate) 0 1px,
      transparent 1px 120px
    );
  }

  .page-home::before {
    left: 6px;
    border-left: 1px solid var(--line-slate);
  }

  .page-home::after {
    right: 6px;
    border-right: 1px solid var(--line-slate);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .prod-card,
  .page-home .quick-card,
  .page-home .home-jump a,
  .page-home .prod-fit span {
    transition: none;
  }

  .page-home .prod-card:hover,
  .page-home .quick-card:hover {
    transform: none;
  }
}
