/* ============ 首页 · 神话方方档案室 ============ */
.page-home {
  --home-step: 44px;
  --home-hair: 1px solid var(--line);
  --home-gold-hair: 1px solid var(--gold);
}

/* ---------- 封面 ---------- */
.page-home .home-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(112px, 17vw, 208px) clamp(40px, 6vw, 80px);
  border-bottom: var(--home-hair);
  background-color: var(--ink-deep);
}

.page-home .home-hero__art {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.4;
}

.page-home .home-hero__art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.page-home .home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(7, 16, 24, 0.86) 0%, rgba(11, 27, 43, 0.72) 44%, var(--ink) 100%);
}

.page-home .home-hero__inner {
  display: grid;
  gap: clamp(18px, 2.6vw, 30px);
}

.page-home .home-hero__index {
  margin: 0;
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  letter-spacing: 0.2em;
  color: var(--gold);
}

.page-home .home-hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 0.96;
  letter-spacing: -0.015em;
}

.page-home .home-hero__title-cn {
  display: block;
  font-size: clamp(2.75rem, 12.5vw, 8rem);
  color: var(--paper-white);
}

.page-home .home-hero__title-deck {
  display: block;
  margin-top: clamp(12px, 1.8vw, 22px);
  padding-left: clamp(0px, 1vw, 6px);
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 2.2vw, 1.5rem);
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--gold-bright);
}

.page-home .home-hero__body {
  display: grid;
  gap: clamp(24px, 3.6vw, 46px);
  margin-top: clamp(20px, 3vw, 40px);
  padding-top: clamp(22px, 3vw, 34px);
  border-top: var(--home-gold-hair);
}

.page-home .home-hero__intro {
  display: grid;
  gap: clamp(18px, 2.4vw, 28px);
  align-content: start;
}

.page-home .home-hero__lede {
  margin: 0;
  max-width: 36em;
  font-size: var(--fs-16);
  line-height: 1.9;
  color: var(--paper);
}

.page-home .home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-home .home-hero__facts {
  display: grid;
  gap: 1px;
  margin: 0;
  background: var(--line);
  border: var(--home-hair);
}

.page-home .home-fact {
  background: var(--ink-deep);
  padding: clamp(14px, 2.2vw, 22px);
}

.page-home .home-fact__k {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  letter-spacing: 0.16em;
  color: var(--gray);
}

.page-home .home-fact__v {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  margin: 0;
}

.page-home .home-fact__num {
  font-family: var(--font-mono);
  font-size: var(--fs-32);
  font-weight: 700;
  line-height: 1;
  color: var(--gold-bright);
}

.page-home .home-fact__u {
  font-size: var(--fs-12);
  color: var(--gray);
}

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

@media (min-width: 940px) {
  .page-home .home-hero__body {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    align-items: start;
  }
  .page-home .home-hero__lede {
    font-size: var(--fs-18);
  }
}

/* ---------- 两条主线 ---------- */
.page-home .home-lanes {
  display: grid;
  gap: clamp(24px, 3.4vw, 44px);
  margin-top: clamp(30px, 4.6vw, 60px);
}

.page-home .home-lanes__stack {
  display: grid;
  gap: clamp(18px, 2.4vw, 28px);
}

.page-home .lane {
  position: relative;
  overflow: hidden;
  padding: clamp(22px, 3vw, 34px);
  background: var(--ink-deep);
  border: var(--home-hair);
  border-left-width: 3px;
  border-radius: var(--radius);
  transition: transform 0.35s var(--ease);
}

.page-home .lane--cinnabar { border-left-color: var(--cinnabar); }
.page-home .lane--jade { border-left-color: var(--jade); }

.page-home .lane::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--gold-bright);
  transition: width 0.45s var(--ease);
}

.page-home .lane:hover { transform: translateY(-4px); }
.page-home .lane:hover::after,
.page-home .lane:focus-within::after { width: 100%; }

.page-home .lane__tag {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  letter-spacing: 0.18em;
}

.page-home .lane--cinnabar .lane__tag { color: var(--cinnabar); }
.page-home .lane--jade .lane__tag { color: var(--jade); }

.page-home .lane__title {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: var(--fs-24);
  font-weight: 700;
  line-height: 1.35;
  color: var(--paper-white);
}

.page-home .lane__text {
  margin: 0 0 18px;
  font-size: var(--fs-16);
  line-height: 1.85;
  color: var(--paper);
}

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

.page-home .lane__list li {
  position: relative;
  padding-left: 20px;
  font-size: var(--fs-14);
  line-height: 1.8;
  color: var(--gray);
}

.page-home .lane__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 9px;
  height: 1px;
  background: var(--gold);
}

.page-home .lane__link {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: var(--fs-14);
  letter-spacing: 0.06em;
  color: var(--gold-bright);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease);
}

.page-home .lane__link:hover,
.page-home .lane__link:focus-visible {
  border-bottom-color: var(--gold-bright);
}

.page-home .home-lanes__figure {
  margin: 0;
  display: grid;
  gap: 12px;
}

.page-home .home-lanes__figure img,
.page-home .home-tiers__figure img,
.page-home .home-android__figure img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
}

@media (min-width: 980px) {
  .page-home .home-lanes {
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
    align-items: start;
  }
}

/* ---------- 四类内容阶梯 ---------- */
.page-home .home-tiers {
  margin: clamp(28px, 4.4vw, 56px) 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: clamp(18px, 2.4vw, 28px);
}

.page-home .tier {
  position: relative;
  display: grid;
  gap: 12px;
  padding: clamp(22px, 3vw, 32px);
  background: linear-gradient(180deg, rgba(30, 50, 67, 0.5) 0%, rgba(7, 16, 24, 0.94) 100%);
  border: var(--home-hair);
  border-radius: var(--radius);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.page-home .tier:nth-child(1) { --tier-accent: var(--gold-bright); }
.page-home .tier:nth-child(2) { --tier-accent: var(--cinnabar); }
.page-home .tier:nth-child(3) { --tier-accent: var(--jade); }
.page-home .tier:nth-child(4) { --tier-accent: var(--gold); }

.page-home .tier::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  width: 52px;
  height: 2px;
  background: var(--tier-accent);
}

.page-home .tier:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 38px -30px rgba(216, 178, 94, 0.7);
}

.page-home .tier__index {
  margin: 0;
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  letter-spacing: 0.2em;
  color: var(--tier-accent);
}

.page-home .tier__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--fs-24);
  font-weight: 700;
  color: var(--paper-white);
}

.page-home .tier__text {
  margin: 0;
  font-size: var(--fs-14);
  line-height: 1.8;
  color: var(--gray);
}

.page-home .tier__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
  border-top: var(--home-hair);
  padding-top: 14px;
}

.page-home .tier__list li {
  position: relative;
  padding-left: 18px;
  font-size: var(--fs-14);
  line-height: 1.8;
  color: var(--paper);
}

.page-home .tier__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 8px;
  height: 1px;
  background: var(--tier-accent);
}

.page-home .tier__link {
  justify-self: start;
  font-family: var(--font-mono);
  font-size: var(--fs-14);
  letter-spacing: 0.06em;
  color: var(--gold-bright);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease);
}

.page-home .tier__link:hover,
.page-home .tier__link:focus-visible {
  border-bottom-color: var(--gold-bright);
}

.page-home .home-tiers__figure {
  margin: clamp(34px, 5vw, 64px) 0 0;
  display: grid;
  gap: 12px;
}

@media (min-width: 780px) {
  .page-home .home-tiers {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }
  .page-home .home-tiers > .tier:nth-child(even) {
    margin-top: var(--home-step);
  }
}

/* ---------- 厅别轴说明 ---------- */
.page-home .home-rail {
  display: grid;
  gap: clamp(26px, 4vw, 54px);
}

.page-home .home-rail__demo {
  padding: clamp(16px, 2.4vw, 24px);
  background: var(--ink-deep);
  border: var(--home-hair);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
}

.page-home .home-rail__demo-title {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  letter-spacing: 0.18em;
  color: var(--gray);
}

.page-home .home-rail__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .home-rail__item {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  border-bottom: var(--home-hair);
  transition: background 0.25s var(--ease);
}

.page-home .home-rail__item:last-child { border-bottom: none; }

.page-home .home-rail__no {
  font-family: var(--font-mono);
  font-size: var(--fs-14);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--gold);
}

.page-home .home-rail__name {
  font-size: var(--fs-14);
  color: var(--paper);
}

.page-home .home-rail__hint {
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  letter-spacing: 0.08em;
  color: var(--gray);
  opacity: 0;
  transform: translateX(-5px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}

.page-home .home-rail__item:hover .home-rail__hint,
.page-home .home-rail__item:focus-within .home-rail__hint,
.page-home .home-rail__item--on .home-rail__hint {
  opacity: 1;
  transform: none;
}

.page-home .home-rail__item--on { background: rgba(196, 73, 58, 0.12); }

.page-home .home-rail__item--on .home-rail__name { color: var(--paper-white); }

.page-home .home-rail__demo-foot {
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: var(--home-hair);
  font-size: var(--fs-12);
  line-height: 1.7;
  color: var(--gray);
}

.page-home .home-rail__copy {
  display: grid;
  gap: clamp(16px, 2.2vw, 24px);
  align-content: start;
}

.page-home .section-head--stack {
  display: grid;
  gap: 10px;
  margin: 0;
}

.page-home .home-rail__text {
  margin: 0;
  max-width: 38em;
  font-size: var(--fs-16);
  line-height: 1.9;
  color: var(--paper);
}

.page-home .home-rail__notes {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0;
  border-top: var(--home-hair);
}

.page-home .home-rail__notes li {
  padding: 14px 0;
  border-bottom: var(--home-hair);
  font-size: var(--fs-14);
  line-height: 1.85;
  color: var(--gray);
}

.page-home .home-rail__notes strong {
  display: inline-block;
  margin-right: 8px;
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--gold-bright);
}

@media (min-width: 920px) {
  .page-home .home-rail {
    grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
    align-items: start;
  }
}

/* ---------- 安卓活动规则入口 ---------- */
.page-home .home-android {
  display: grid;
  gap: clamp(26px, 4vw, 54px);
}

.page-home .home-android__copy {
  display: grid;
  gap: clamp(14px, 2vw, 20px);
  align-content: start;
}

.page-home .home-android__copy .section-head__title { margin: 0; }

.page-home .home-android__text {
  margin: 0;
  max-width: 36em;
  font-size: var(--fs-16);
  line-height: 1.9;
  color: var(--paper);
}

.page-home .home-android__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  border-top: var(--home-hair);
  padding-top: 16px;
}

.page-home .home-android__list li {
  position: relative;
  padding-left: 20px;
  font-size: var(--fs-14);
  line-height: 1.85;
  color: var(--gray);
}

.page-home .home-android__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 9px;
  height: 1px;
  background: var(--jade);
}

.page-home .home-android__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

.page-home .home-android__figure {
  margin: 0;
  display: grid;
  gap: 12px;
}

@media (min-width: 900px) {
  .page-home .home-android {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    align-items: center;
  }
}

/* ---------- 最近档案更新 ---------- */
.page-home .home-updates {
  margin: clamp(26px, 4vw, 52px) 0 0;
  padding: 0;
  list-style: none;
  border-top: var(--home-gold-hair);
}

.page-home .update {
  display: grid;
  gap: 10px;
  padding: clamp(18px, 2.6vw, 28px) 0;
  border-bottom: var(--home-hair);
  transition: background 0.3s var(--ease);
}

.page-home .update:hover { background: rgba(30, 50, 67, 0.34); }

.page-home .update__meta {
  margin: 0;
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  letter-spacing: 0.14em;
  color: var(--gold);
}

.page-home .update__body { display: grid; gap: 8px; }

.page-home .update__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--fs-18);
  font-weight: 700;
  line-height: 1.5;
}

.page-home .update__title a {
  color: var(--paper-white);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.page-home .update__title a:hover,
.page-home .update__title a:focus-visible {
  color: var(--gold-bright);
  border-bottom-color: var(--gold-bright);
}

.page-home .update__text {
  margin: 0;
  max-width: 46em;
  font-size: var(--fs-14);
  line-height: 1.85;
  color: var(--gray);
}

.page-home .home-updates__foot {
  margin-top: clamp(22px, 3vw, 34px);
}

@media (min-width: 860px) {
  .page-home .update {
    grid-template-columns: 210px minmax(0, 1fr);
    gap: clamp(20px, 3vw, 42px);
    align-items: start;
  }
}

/* ---------- 核对与联系（暖纸色分区） ---------- */
.page-home .home-contact {
  display: grid;
  gap: clamp(26px, 4vw, 54px);
}

.page-home .home-contact__copy {
  display: grid;
  gap: 14px;
  align-content: start;
}

.page-home .home-contact__copy .section-head__index {
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  letter-spacing: 0.2em;
  color: var(--cinnabar);
}

.page-home .home-contact__copy .section-head__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4.4vw, 2.4rem);
  font-weight: 800;
  line-height: 1.35;
  color: var(--ink-deep);
}

.page-home .home-contact__text {
  margin: 0;
  max-width: 36em;
  font-size: var(--fs-16);
  line-height: 1.9;
  color: var(--ink);
}

.page-home .home-contact__card {
  padding: clamp(22px, 3vw, 34px);
  background: var(--ink-deep);
  border: var(--home-gold-hair);
  border-radius: var(--radius);
}

.page-home .home-contact__label {
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  letter-spacing: 0.18em;
  color: var(--gold);
}

.page-home .home-contact__value {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: var(--fs-18);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--gold-bright);
  word-break: break-all;
}

.page-home .home-contact__note {
  margin: 0 0 18px;
  font-size: var(--fs-14);
  line-height: 1.85;
  color: var(--paper);
}

.page-home .home-contact__link {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: var(--fs-14);
  letter-spacing: 0.06em;
  color: var(--gold-bright);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease);
}

.page-home .home-contact__link:hover,
.page-home .home-contact__link:focus-visible {
  border-bottom-color: var(--gold-bright);
}

.page-home .home-contact__trust {
  margin: clamp(30px, 4.4vw, 54px) 0 0;
  padding-top: clamp(16px, 2.4vw, 24px);
  border-top: 1px solid var(--ink);
  max-width: 52em;
  font-size: var(--fs-13, 0.8125rem);
  line-height: 1.85;
  color: var(--ink);
}

.page-home .home-contact__trust a {
  color: var(--cinnabar);
  text-decoration: none;
  border-bottom: 1px solid var(--cinnabar);
}

@media (min-width: 880px) {
  .page-home .home-contact {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: start;
  }
}

/* ---------- 键盘焦点 ---------- */
.page-home a:focus-visible,
.page-home .lane:focus-within,
.page-home .tier:focus-within {
  outline: 2px solid var(--gold-bright);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .page-home .lane,
  .page-home .tier,
  .page-home .home-rail__hint,
  .page-home .update {
    transition: none;
  }
  .page-home .lane:hover,
  .page-home .tier:hover {
    transform: none;
  }
}
<<<END>>>

.page-home {
  --fs-13: 1rem;
}
