.page-home {
  --home-gap: clamp(18px, 3vw, 32px);
  --home-section: clamp(52px, 7vw, 96px);
}

.page-home .home-sec-head {
  max-width: 64ch;
  margin-bottom: var(--home-gap);
}

.page-home .home-sec-head--tight {
  margin-bottom: clamp(18px, 3vw, 28px);
}

.page-home .home-sec-head h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.7rem, 4.4vw, 2.7rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--white);
  margin: 0.35em 0 0.55em;
  overflow-wrap: break-word;
}

.page-home .home-sec-head__lede {
  margin: 0;
  max-width: 58ch;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--mist);
}

/* ---------- 首屏 ---------- */
.page-home .home-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 4vw, 48px) 0 clamp(6px, 1.6vw, 18px);
}

.page-home .home-hero__slash {
  position: absolute;
  top: -14%;
  right: -18%;
  width: 70%;
  height: 82%;
  background:
    linear-gradient(135deg, rgba(255, 106, 43, 0.28), rgba(255, 106, 43, 0) 68%),
    linear-gradient(225deg, rgba(182, 255, 59, 0.16), rgba(182, 255, 59, 0) 62%);
  clip-path: polygon(22% 0, 100% 12%, 82% 100%, 0 86%);
  pointer-events: none;
  z-index: 0;
}

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

.page-home .home-hero__crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin: 0 0 clamp(16px, 3vw, 30px);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: var(--mist);
}

.page-home .home-hero__crumbs span:nth-child(2) {
  color: var(--signal);
}

.page-home .home-hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(22px, 4vw, 44px);
  align-items: center;
}

.page-home .home-hero__copy {
  min-width: 0;
}

.page-home .home-hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.1rem, 8vw, 4.4rem);
  line-height: 1.03;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  color: var(--white);
  overflow-wrap: break-word;
}

.page-home .home-hero h1 em {
  font-style: normal;
  display: inline-block;
  color: var(--volt);
  border-bottom: 6px solid var(--signal);
  padding-bottom: 0.04em;
}

.page-home .home-hero__lede {
  margin: 0 0 clamp(20px, 3vw, 30px);
  max-width: 48ch;
  font-size: clamp(0.98rem, 2.2vw, 1.12rem);
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.82);
}

.page-home .home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.page-home .home-hero__micro {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--mist);
}

.page-home .home-hero__visual {
  position: relative;
  margin: 0;
  overflow: hidden;
  clip-path: polygon(0 8%, 100% 0, 100% 92%, 9% 100%);
  min-width: 0;
}

.page-home .home-hero__visual img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.page-home .home-hero__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(150deg, rgba(255, 106, 43, 0.26), rgba(11, 27, 51, 0) 55%);
  pointer-events: none;
}

.page-home .home-hero__visual-tag {
  position: absolute;
  left: 14px;
  bottom: 16px;
  padding: 0.34rem 0.8rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-strong);
  background: rgba(7, 16, 31, 0.78);
  color: var(--volt);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
}

/* ---------- 计分牌 ---------- */
.page-home .scoreboard {
  margin-top: clamp(22px, 4vw, 42px);
  padding: clamp(14px, 2.4vw, 22px);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(19, 52, 92, 0.92), rgba(7, 16, 31, 0.97));
  box-shadow: 0 26px 60px -32px rgba(0, 0, 0, 0.85);
}

.page-home .scoreboard__slots {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.page-home .scoreboard__slot {
  position: relative;
  display: grid;
  gap: 0.22rem;
  padding: 16px 46px 16px 18px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--signal);
  border-radius: var(--r-md);
  background: rgba(11, 27, 51, 0.72);
  text-decoration: none;
  color: var(--white);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.page-home .scoreboard__slot:hover,
.page-home .scoreboard__slot:focus-visible {
  transform: translateY(-4px);
  border-color: var(--volt);
  background: rgba(19, 52, 92, 0.88);
}

.page-home .scoreboard__code {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  color: var(--volt);
}

.page-home .scoreboard__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.32rem;
  letter-spacing: 0.01em;
}

.page-home .scoreboard__hint {
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--mist);
}

.page-home .scoreboard__go {
  position: absolute;
  right: 16px;
  bottom: 14px;
  color: var(--signal);
  font-size: 1.1rem;
}

.page-home .home-notice {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
}

.page-home .home-notice summary {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  cursor: pointer;
  list-style: none;
  font-size: 0.86rem;
  line-height: 1.6;
  color: var(--mist);
}

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

.page-home .home-notice summary::after {
  content: "+";
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--signal);
}

.page-home .home-notice[open] summary::after {
  content: "–";
}

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

.page-home .home-notice__list li {
  padding: 10px 12px;
  border-radius: var(--r-md);
  border-left: 2px solid var(--volt);
  background: rgba(11, 27, 51, 0.62);
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--white);
}

.page-home .home-notice__list .mono {
  margin-right: 0.5rem;
  color: var(--volt);
  font-size: 0.76rem;
}

/* ---------- 三步 ---------- */
.page-home .home-steps {
  padding: var(--home-section) 0 0;
}

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

.page-home .home-step {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: clamp(20px, 3vw, 30px);
  background: var(--ink-deep);
}

.page-home .home-step__num {
  font-size: 0.86rem;
  letter-spacing: 0.2em;
  color: var(--signal);
}

.page-home .home-step h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.32rem;
  color: var(--white);
}

.page-home .home-step p {
  flex: 1;
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.78;
  color: var(--mist);
}

.page-home .home-step a {
  align-self: flex-start;
  padding-bottom: 2px;
  font-size: 0.85rem;
  color: var(--volt);
  text-decoration: none;
  border-bottom: 1px solid rgba(182, 255, 59, 0.45);
}

.page-home .home-step a:hover {
  border-bottom-color: var(--volt);
}

/* ---------- 并排对照 ---------- */
.page-home .home-compare {
  padding: var(--home-section) 0 0;
}

.page-home .home-compare__figure {
  margin: 0 0 var(--home-gap);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.page-home .home-compare__figure img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.page-home .home-compare__cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.page-home .vcol {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--panel);
}

.page-home .vcol--b {
  border-color: rgba(255, 106, 43, 0.38);
  background: rgba(19, 52, 92, 0.55);
}

.page-home .vcol__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.6rem;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--line-strong);
}

.page-home .vcol__title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
}

.page-home .vcol__meta {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  color: var(--volt);
}

.page-home .vcol__list {
  list-style: none;
  margin: 12px 0 0;
  padding: 0 6px 0 0;
  display: grid;
  gap: 8px;
  max-height: 276px;
  overflow-y: auto;
  scroll-snap-type: y proximity;
}

.page-home .vcol__list li {
  scroll-snap-align: start;
  display: grid;
  gap: 2px;
  padding: 10px 12px;
  border-left: 3px solid rgba(157, 176, 200, 0.35);
  border-radius: var(--r-md);
  background: rgba(11, 27, 51, 0.72);
}

.page-home .vcol--b .vcol__list li {
  border-left-color: rgba(255, 106, 43, 0.62);
}

.page-home .vcol__cat {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--mist);
}

.page-home .vcol__name {
  font-size: 0.92rem;
  color: var(--white);
}

.page-home .vcol__round {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--volt);
}

.page-home .home-compare__note {
  margin: 16px 0 0;
  padding: 14px 18px;
  border-radius: var(--r-md);
  background: var(--paper);
  color: var(--paper-ink);
  font-size: 0.9rem;
  line-height: 1.78;
}

/* ---------- 时间线 ---------- */
.page-home .home-timeline {
  padding: var(--home-section) 0 0;
}

.page-home .home-timeline__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 4vw, 52px);
}

.page-home .home-timeline__intro h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.7rem, 4.4vw, 2.7rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--white);
  margin: 0.35em 0 0.55em;
  overflow-wrap: break-word;
}

.page-home .home-timeline__intro p {
  margin: 0 0 18px;
  font-size: 0.98rem;
  line-height: 1.8;
  color: var(--mist);
}

.page-home .home-timeline__figure {
  margin: 0 0 18px;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
}

.page-home .home-timeline__figure img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.page-home .home-timeline__link {
  display: inline-block;
  font-size: 0.88rem;
  color: var(--volt);
  text-decoration: none;
  border-bottom: 1px solid rgba(182, 255, 59, 0.45);
  padding-bottom: 2px;
}

.page-home .home-tl {
  list-style: none;
  margin: 0;
  padding: 0 0 0 24px;
  position: relative;
  min-width: 0;
}

.page-home .home-tl::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 8px;
  bottom: 10px;
  width: 2px;
  background: linear-gradient(180deg, var(--signal), var(--volt));
  opacity: 0.75;
}

.page-home .home-tl__item {
  position: relative;
  padding-bottom: 18px;
}

.page-home .home-tl__item::before {
  content: "";
  position: absolute;
  left: -24px;
  top: 8px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--volt);
  box-shadow: 0 0 0 4px rgba(182, 255, 59, 0.16);
}

.page-home .home-tl__item--now::before {
  background: var(--signal);
  box-shadow: 0 0 0 4px rgba(255, 106, 43, 0.22);
}

.page-home .home-tl__date {
  display: block;
  margin-bottom: 6px;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--mist);
}

.page-home .home-tl__card {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: rgba(19, 52, 92, 0.55);
}

.page-home .home-tl__item--now .home-tl__card {
  border-color: rgba(255, 106, 43, 0.55);
  background: rgba(19, 52, 92, 0.78);
}

.page-home .home-tl__card h3 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.06rem;
  color: var(--white);
}

.page-home .home-tl__card p {
  margin: 0 0 10px;
  font-size: 0.88rem;
  line-height: 1.72;
  color: var(--mist);
}

.page-home .home-tl__card .tag {
  font-size: 0.68rem;
}

/* ---------- iOS 导出 ---------- */
.page-home .home-ios {
  padding: var(--home-section) 0 0;
}

.page-home .home-ios__panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(20px, 3vw, 40px);
  padding: clamp(22px, 4vw, 48px);
  border-radius: var(--r-lg);
  background: var(--paper);
  color: var(--paper-ink);
}

.page-home .home-ios__copy {
  min-width: 0;
}

.page-home .home-ios__panel h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.6rem, 4.2vw, 2.45rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0.35em 0 0.55em;
  color: var(--paper-ink);
  overflow-wrap: break-word;
}

.page-home .home-ios__lede {
  margin: 0 0 18px;
  font-size: 0.98rem;
  line-height: 1.8;
  color: var(--paper-ink);
}

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

.page-home .home-ios__list li {
  position: relative;
  padding-left: 22px;
  font-size: 0.94rem;
  line-height: 1.72;
}

.page-home .home-ios__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.52em;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--signal);
}

.page-home .home-ios__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.82rem 1.35rem;
  border-radius: var(--r-pill);
  background: var(--paper-ink);
  color: var(--paper);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.page-home .home-ios__cta:hover,
.page-home .home-ios__cta:focus-visible {
  background: var(--ember);
  color: var(--white);
}

.page-home .home-ios__figure {
  margin: 0;
  border-radius: var(--r-md);
  overflow: hidden;
}

.page-home .home-ios__figure img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

/* ---------- 信任与联系 ---------- */
.page-home .home-trust {
  padding: var(--home-section) 0 clamp(48px, 7vw, 88px);
}

.page-home .home-trust__panel {
  padding: clamp(22px, 4vw, 44px);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  background: linear-gradient(160deg, rgba(19, 52, 92, 0.62), rgba(7, 16, 31, 0.92));
}

.page-home .home-trust__stats {
  list-style: none;
  margin: 0 0 clamp(20px, 3vw, 32px);
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--home-gap);
}

.page-home .home-trust__num {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(1.5rem, 3.4vw, 2rem);
  line-height: 1.1;
  color: var(--volt);
}

.page-home .home-trust__label {
  display: block;
  margin-top: 4px;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--mist);
}

.page-home .home-trust__foot {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  padding-top: clamp(18px, 3vw, 26px);
  border-top: 1px solid var(--line);
}

.page-home .home-trust__team {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.8;
  color: var(--mist);
}

.page-home .home-trust__contact {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  align-items: center;
  font-size: 0.92rem;
  color: var(--white);
}

.page-home .home-trust__contact a {
  color: var(--white);
  text-decoration: none;
  border-bottom: 1px solid rgba(182, 255, 59, 0.5);
  overflow-wrap: anywhere;
}

.page-home .home-trust__contact a:hover {
  color: var(--volt);
}

.page-home .home-trust__contact .mono {
  font-size: 0.86rem;
  color: var(--white);
}

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

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

@media (min-width: 820px) {
  .page-home .home-steps__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 860px) {
  .page-home .home-compare__cols {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }
}

@media (min-width: 920px) {
  .page-home .home-hero__grid {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  }

  .page-home .home-ios__panel {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
  }

  .page-home .home-timeline__grid {
    grid-template-columns: 0.82fr 1.18fr;
    align-items: start;
  }
}

@media (min-width: 980px) {
  .page-home .home-trust__foot {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
  }

  .page-home .home-trust__contact {
    justify-content: flex-end;
  }

  .page-home .home-tl {
    padding-left: 28px;
  }

  .page-home .home-tl__item::before {
    left: -28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .scoreboard__slot {
    transition: none;
  }

  .page-home .scoreboard__slot:hover,
  .page-home .scoreboard__slot:focus-visible {
    transform: none;
  }
}
