.page-home {
  --home-pad: clamp(52px, 8vw, 100px);
  --home-gap: clamp(26px, 5vw, 52px);
  background: var(--ink);
  color: var(--paper);
  overflow-x: clip;
}

.page-home .container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.page-home .media {
  display: block;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--ink-soft);
}

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

.page-home .media__caption {
  margin-top: 10px;
  font-size: 0.76rem;
  line-height: 1.6;
  letter-spacing: 0.04em;
  color: var(--text-faint);
}

/* 面包屑 */
.page-home .breadcrumbs {
  padding: clamp(88px, 13vw, 128px) var(--gutter) 0;
  max-width: var(--maxw);
  margin: 0 auto;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--text-faint);
}

.page-home .breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .breadcrumbs li::after {
  content: "/";
  margin-left: 0.5em;
  color: var(--gold-deep);
}

.page-home .breadcrumbs li:last-child::after {
  content: "";
}

.page-home .breadcrumbs a {
  color: var(--gold-soft);
  text-decoration: none;
}

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

/* 首屏 */
.page-home .home-hero {
  position: relative;
  padding: clamp(24px, 4vw, 40px) 0 var(--home-pad);
  background:
    radial-gradient(120% 82% at 88% 4%, rgba(200, 164, 93, 0.18), transparent 62%),
    radial-gradient(80% 70% at 2% 98%, rgba(43, 36, 64, 0.62), transparent 72%);
  overflow: hidden;
}

.page-home .home-hero__inner {
  display: grid;
  gap: clamp(32px, 6vw, 62px);
}

.page-home .eyebrow {
  margin: 0;
  font-size: 0.74rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
}

.page-home .home-hero h1 {
  margin: 0.5em 0 0.55em;
  font-family: var(--font-display);
  font-size: clamp(2rem, 7.2vw, 4rem);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: 0.03em;
  color: var(--paper);
  text-wrap: balance;
}

.page-home .home-hero__text {
  margin: 0;
  max-width: 34em;
  font-family: var(--font-body);
  font-size: clamp(0.94rem, 2.6vw, 1.02rem);
  line-height: 1.85;
  color: var(--text-dim);
}

.page-home .home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(22px, 4vw, 32px);
}

.page-home .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.78em 1.5em;
  border-radius: var(--radius-pill);
  font-family: var(--font-ui);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.page-home .btn--gold {
  background: linear-gradient(135deg, var(--gold-soft), var(--gold) 46%, var(--gold-deep));
  color: var(--ink);
  box-shadow: 0 16px 34px -22px rgba(200, 164, 93, 0.9);
}

.page-home .btn--ghost {
  border: 1px solid var(--line);
  color: var(--gold-soft);
  background: transparent;
}

.page-home .btn:hover {
  transform: translateY(-2px);
}

.page-home .btn--ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.page-home .home-hero__meta {
  display: grid;
  gap: 8px;
  margin: clamp(26px, 4vw, 36px) 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.84rem;
  line-height: 1.7;
  color: var(--text-faint);
}

.page-home .home-hero__meta li {
  position: relative;
  padding-left: 16px;
}

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

.page-home .home-hero__meta .u-mono {
  color: var(--gold-soft);
  font-family: var(--font-mono);
  font-weight: 600;
}

.page-home .home-hero__visual {
  position: relative;
}

.page-home .home-hero__media {
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lift);
}

.page-home .home-hero__dragon {
  display: none;
}

.page-home .home-hero__vert {
  display: none;
}

/* 应用中心 + 苹果侧卡 */
.page-home .home-entry {
  position: relative;
  padding: var(--home-pad) 0;
  background:
    radial-gradient(90% 80% at 100% 0%, rgba(18, 59, 54, 0.95), transparent 66%),
    var(--ink);
  color: var(--paper);
}

.page-home .home-entry__grid {
  display: grid;
  gap: var(--home-gap);
}

.page-home .home-entry__main h2,
.page-home .apple-card h2 {
  margin: 0.42em 0 0.6em;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 4.6vw, 2.3rem);
  font-weight: 800;
  line-height: 1.24;
  letter-spacing: 0.03em;
}

.page-home .home-entry__lead,
.page-home .apple-card__lead {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--text-dim);
}

.page-home .home-entry__media {
  margin-top: clamp(22px, 4vw, 32px);
  aspect-ratio: 3 / 2;
  border: 1px solid var(--line-soft);
}

.page-home .home-entry__media .media__caption {
  padding: 10px 2px 0;
}

.page-home .home-entry__points {
  display: grid;
  gap: 1px;
  margin: clamp(24px, 4vw, 34px) 0;
  padding: 0;
  list-style: none;
  background: var(--line-soft);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.page-home .home-entry__points li {
  padding: 18px 20px;
  background: rgba(11, 12, 14, 0.72);
}

.page-home .home-entry__points h3 {
  margin: 0 0 0.4em;
  font-family: var(--font-ui);
  font-size: 0.94rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gold-soft);
}

.page-home .home-entry__points p {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.86rem;
  line-height: 1.78;
  color: var(--text-dim);
}

.page-home .apple-card {
  padding: clamp(20px, 4vw, 28px);
  background: linear-gradient(162deg, var(--ink-soft), var(--ink) 64%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lift);
}

.page-home .apple-card__tag {
  display: inline-block;
  margin: 0;
  padding: 0.34em 0.9em;
  border: 1px solid rgba(178, 58, 50, 0.6);
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: #E4A9A3;
}

.page-home .apple-card__media {
  margin: clamp(18px, 3vw, 24px) 0;
  aspect-ratio: 4 / 5;
  max-height: 380px;
  border: 1px solid var(--line-soft);
}

.page-home .apple-card__tabs details {
  padding: 12px 0;
  border-top: 1px solid var(--line-soft);
}

.page-home .apple-card__tabs details:last-child {
  border-bottom: 1px solid var(--line-soft);
}

.page-home .apple-card__tabs summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  list-style: none;
  cursor: pointer;
  font-family: var(--font-ui);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--gold-soft);
}

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

.page-home .apple-card__tabs summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--cinnabar);
}

.page-home .apple-card__tabs details[open] summary::after {
  content: "−";
}

.page-home .apple-card__tabs p {
  margin: 0.65em 0 0;
  font-family: var(--font-body);
  font-size: 0.84rem;
  line-height: 1.8;
  color: var(--text-dim);
}

.page-home .apple-card__btn {
  width: 100%;
  margin-top: clamp(18px, 3vw, 24px);
}

/* 费用说明 */
.page-home .home-fees {
  padding: var(--home-pad) 0;
  background: var(--paper);
  color: var(--ink);
}

.page-home .home-fees .eyebrow {
  color: var(--gold-deep);
}

.page-home .home-fees__head h2,
.page-home .home-paths__head h2 {
  margin: 0.42em 0 0.55em;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4.8vw, 2.4rem);
  font-weight: 800;
  line-height: 1.24;
  letter-spacing: 0.03em;
  color: var(--ink);
}

.page-home .home-fees__lead,
.page-home .home-paths__lead {
  margin: 0 0 clamp(24px, 4vw, 34px);
  max-width: 44em;
  font-family: var(--font-body);
  font-size: 0.94rem;
  line-height: 1.85;
  color: rgba(11, 12, 14, 0.74);
}

.page-home .table-frame {
  overflow-x: auto;
  border: 1px solid rgba(11, 12, 14, 0.16);
  border-radius: var(--radius-md);
  background: var(--paper);
  -webkit-overflow-scrolling: touch;
}

.page-home .home-fees__table {
  width: 100%;
  min-width: 660px;
  border-collapse: collapse;
}

.page-home .home-fees__table thead th {
  padding: 13px 14px;
  background: var(--ink);
  color: var(--gold);
  font-family: var(--font-ui);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-align: left;
  white-space: nowrap;
}

.page-home .home-fees__table tbody td {
  padding: 14px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  line-height: 1.72;
  color: var(--ink);
  vertical-align: top;
  border-bottom: 1px solid rgba(11, 12, 14, 0.08);
}

.page-home .home-fees__table tbody tr:nth-child(even) td {
  background: var(--mist);
}

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

.page-home .home-fees__table tbody td:last-child {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--gold-deep);
  white-space: nowrap;
}

.page-home .home-fees__notes {
  display: grid;
  gap: 8px;
  margin-top: clamp(22px, 4vw, 30px);
}

.page-home .home-fees__notes details {
  padding: 10px 0 10px 14px;
  border-left: 2px solid var(--cinnabar);
  background: linear-gradient(90deg, rgba(178, 58, 50, 0.07), transparent 72%);
}

.page-home .home-fees__notes summary {
  list-style: none;
  cursor: pointer;
  font-family: var(--font-ui);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ink);
}

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

.page-home .home-fees__notes summary::before {
  content: "▸ ";
  color: var(--cinnabar);
}

.page-home .home-fees__notes details[open] summary::before {
  content: "▾ ";
}

.page-home .home-fees__notes p {
  margin: 0.6em 0 0;
  max-width: 52em;
  font-family: var(--font-body);
  font-size: 0.82rem;
  line-height: 1.8;
  color: rgba(11, 12, 14, 0.72);
}

.page-home .home-fees__more {
  margin: clamp(22px, 4vw, 30px) 0 0;
  font-family: var(--font-body);
  font-size: 0.86rem;
  line-height: 1.8;
  color: rgba(11, 12, 14, 0.7);
}

.page-home .home-fees__more .u-mono {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--gold-deep);
}

.page-home .home-fees__more a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 1px;
}

.page-home .home-fees__more a:hover {
  color: var(--gold-deep);
}

/* 版本时间轴 */
.page-home .home-versions {
  padding: var(--home-pad) 0;
  background:
    radial-gradient(86% 74% at 0% 4%, rgba(43, 36, 64, 0.75), transparent 62%),
    var(--ink);
  color: var(--paper);
}

.page-home .home-versions__grid {
  display: grid;
  gap: var(--home-gap);
}

.page-home .home-versions__aside h2 {
  margin: 0.42em 0 0.6em;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4.8vw, 2.4rem);
  font-weight: 800;
  line-height: 1.24;
  letter-spacing: 0.03em;
}

.page-home .home-versions__lead {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.94rem;
  line-height: 1.85;
  color: var(--text-dim);
}

.page-home .home-versions__media {
  margin-top: clamp(22px, 4vw, 30px);
  aspect-ratio: 2 / 1;
  border: 1px solid var(--line-soft);
}

.page-home .home-versions__note {
  margin: 16px 0 0;
  font-family: var(--font-body);
  font-size: 0.84rem;
  line-height: 1.8;
  color: var(--text-faint);
}

.page-home .home-versions__note .u-mono {
  font-family: var(--font-mono);
  color: var(--gold-soft);
}

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

.page-home .timeline::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: linear-gradient(180deg, var(--gold), rgba(178, 58, 50, 0.65) 58%, rgba(200, 164, 93, 0.1));
}

.page-home .timeline__item {
  position: relative;
  padding: 0 0 clamp(22px, 3.6vw, 30px);
}

.page-home .timeline__item::before {
  content: "";
  position: absolute;
  left: -26px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--cinnabar);
  box-shadow: 0 0 0 3px rgba(178, 58, 50, 0.2);
}

.page-home .timeline__when {
  margin: 0 0 0.45em;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  color: var(--gold);
}

.page-home .timeline__when .u-mono {
  font-family: var(--font-mono);
}

.page-home .timeline__item h3 {
  margin: 0 0 0.4em;
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.5;
}

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

.page-home .timeline__item h3 a:hover {
  color: var(--gold-soft);
  border-bottom-color: var(--gold);
}

.page-home .timeline__item > p:last-child {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.85rem;
  line-height: 1.8;
  color: var(--text-dim);
}

.page-home .home-versions__foot {
  margin: clamp(26px, 4vw, 36px) 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
  max-width: 62em;
  font-family: var(--font-body);
  font-size: 0.83rem;
  line-height: 1.85;
  color: var(--text-faint);
}

/* 常用路径 */
.page-home .home-paths {
  padding: var(--home-pad) 0;
  background: var(--paper);
  color: var(--ink);
}

.page-home .home-paths .eyebrow {
  color: var(--gold-deep);
}

.page-home .path-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: homepath;
}

.page-home .path-list__item {
  position: relative;
  padding: 20px 20px 20px 20px;
  border: 1px solid rgba(11, 12, 14, 0.14);
  border-radius: var(--radius-md);
  background: linear-gradient(150deg, rgba(220, 228, 232, 0.5), rgba(243, 239, 230, 0.9));
  counter-increment: homepath;
}

.page-home .path-list__item::before {
  content: "0" counter(homepath);
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--gold-deep);
}

.page-home .path-list__item h3 {
  margin: 0 0 0.45em;
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ink);
}

.page-home .path-list__item p {
  margin: 0 0 0.9em;
  font-family: var(--font-body);
  font-size: 0.85rem;
  line-height: 1.78;
  color: rgba(11, 12, 14, 0.72);
}

.page-home .path-list__link {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 0.83rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
}

.page-home .path-list__link::after {
  content: " →";
  color: var(--cinnabar);
}

.page-home .path-list__link:hover {
  color: var(--gold-deep);
}

.page-home .home-support {
  display: grid;
  gap: 18px;
  margin-top: clamp(28px, 5vw, 42px);
  padding: clamp(22px, 4vw, 32px);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(200, 164, 93, 0.22), transparent 62%),
    var(--ink);
  color: var(--paper);
}

.page-home .home-support h3 {
  margin: 0 0 0.5em;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 3.4vw, 1.45rem);
  font-weight: 800;
  letter-spacing: 0.03em;
}

.page-home .home-support p {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.88rem;
  line-height: 1.85;
  color: var(--text-dim);
}

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

/* 平板及以上 */
@media (min-width: 760px) {
  .page-home .path-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

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

  .page-home .home-support {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.9fr);
    align-items: center;
  }

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

/* 桌面：非对称双栏 */
@media (min-width: 940px) {
  .page-home .home-hero__inner {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.85fr);
    align-items: center;
  }

  .page-home .home-hero__visual {
    padding-right: 22px;
  }

  .page-home .home-hero__dragon {
    display: block;
    position: absolute;
    right: -6px;
    bottom: -26px;
    width: 128px;
    height: auto;
    opacity: 0.55;
    pointer-events: none;
  }

  .page-home .home-hero__vert {
    display: block;
    position: absolute;
    right: -2px;
    top: 4px;
    writing-mode: vertical-rl;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.42em;
    color: var(--gold-soft);
    opacity: 0.8;
  }

  .page-home .home-entry__grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.78fr);
    align-items: start;
  }

  .page-home .apple-card {
    position: sticky;
    top: 104px;
  }

  .page-home .home-versions__grid {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: clamp(36px, 5vw, 64px);
    align-items: start;
  }

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

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

@media (min-width: 1160px) {
  .page-home .path-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .btn,
  .page-home .path-list__link,
  .page-home .timeline__item h3 a {
    transition: none;
  }

  .page-home .btn:hover {
    transform: none;
  }
}
