.page-home {
  --home-edge: rgba(125, 135, 151, 0.28);
  --home-edge-strong: rgba(125, 135, 151, 0.48);
  --home-lime-soft: rgba(199, 255, 63, 0.16);
  --home-gap: 16px;
}

.page-home .home-shell {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

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

.page-home .home-textlink {
  display: inline-block;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--night-700);
  text-decoration: none;
  border-bottom: 1.5px solid var(--cyan-500);
  padding-bottom: 2px;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.page-home .home-textlink:hover,
.page-home .home-textlink:focus-visible {
  color: var(--ink-900);
  border-bottom-color: var(--lime-400);
}

.page-home .home-textlink--light {
  color: var(--warm-100);
}

.page-home .home-textlink--light:hover,
.page-home .home-textlink--light:focus-visible {
  color: var(--mint-200);
}

/* ---------- 首屏拼贴 ---------- */
.page-home .home-hero {
  position: relative;
  overflow: hidden;
  padding: 28px 0 44px;
  color: var(--warm-100);
  background:
    radial-gradient(circle at 82% 18%, rgba(53, 214, 196, 0.16), transparent 58%),
    linear-gradient(168deg, var(--night-900) 0%, var(--night-700) 58%, var(--violet-600) 100%);
}

.page-home .home-hero__art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.55;
}

.page-home .home-context {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--steel-500);
}

.page-home .home-context__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime-400);
  box-shadow: 0 0 0 4px rgba(199, 255, 63, 0.18);
}

.page-home .home-hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--home-gap);
}

.page-home .home-hero__lead {
  padding: 24px 22px 26px;
  border: 1px solid var(--home-edge);
  border-radius: var(--radius-lg);
  background: rgba(7, 18, 38, 0.55);
}

.page-home .home-hero__lead h1 {
  margin: 14px 0 16px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2rem, 7vw, 3.1rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--warm-100);
}

.page-home .home-hero__lede {
  margin: 0 0 22px;
  max-width: 34em;
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(248, 245, 236, 0.82);
}

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

.page-home .home-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 12px;
  margin: 0;
  padding: 18px 0 0;
  list-style: none;
  border-top: 1px dashed var(--home-edge);
}

.page-home .home-stats li {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.page-home .home-stats strong {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 1.35rem;
  color: var(--lime-400);
  letter-spacing: 0.02em;
}

.page-home .home-stats span {
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--steel-500);
}

.page-home .home-hero__shot {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--home-edge-strong);
  border-radius: var(--radius-lg);
  background: linear-gradient(150deg, var(--night-700), var(--violet-600));
  min-height: 220px;
}

.page-home .home-hero__shot img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  opacity: 0.92;
}

.page-home .home-hero__badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 7px 15px;
  border-radius: var(--radius-pill);
  background: var(--lime-400);
  color: var(--night-900);
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.page-home .home-mini {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
  border: 1px solid var(--home-edge);
  border-radius: var(--radius-md);
  background: rgba(14, 42, 82, 0.75);
  color: var(--warm-100);
  text-decoration: none;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.page-home .home-mini:hover,
.page-home .home-mini:focus-visible {
  transform: translateY(-2px);
  border-color: var(--lime-400);
  background: rgba(43, 35, 80, 0.85);
}

.page-home .home-mini__kicker {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--steel-500);
}

.page-home .home-mini__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.12rem;
  line-height: 1.4;
}

.page-home .home-mini__desc {
  font-size: 0.86rem;
  line-height: 1.65;
  color: rgba(248, 245, 236, 0.72);
}

.page-home .home-mini--mint {
  border-color: rgba(223, 255, 176, 0.55);
}

.page-home .home-mini--mint .home-mini__kicker {
  color: var(--mint-200);
}

.page-home .home-hero__band {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 24px 22px;
  border-radius: var(--radius-lg);
  background: var(--mint-200);
  color: var(--ink-900);
}

.page-home .home-hero__band h2 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.15rem, 3.4vw, 1.5rem);
  line-height: 1.42;
  color: var(--ink-900);
}

.page-home .home-hero__band p {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.7;
  color: rgba(17, 22, 29, 0.76);
}

.page-home .home-hero__band-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.page-home .home-hero__band-links .home-hero__textlink {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--night-700);
  text-decoration: none;
  border-bottom: 1.5px solid rgba(17, 22, 29, 0.35);
  padding-bottom: 2px;
}

.page-home .home-hero__band-links .home-hero__textlink:hover,
.page-home .home-hero__band-links .home-hero__textlink:focus-visible {
  border-bottom-color: var(--ink-900);
}

/* ---------- 章节跳转条 ---------- */
.page-home .home-jump {
  position: sticky;
  top: var(--topbar-h);
  z-index: 5;
  background: var(--warm-100);
  border-bottom: 1px solid var(--home-edge);
}

.page-home .home-jump__list {
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 10px 0;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: thin;
}

.page-home .home-jump__list a {
  display: block;
  white-space: nowrap;
  padding: 7px 14px;
  border: 1px solid var(--home-edge);
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.03em;
  color: var(--night-700);
  text-decoration: none;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}

.page-home .home-jump__list a:hover,
.page-home .home-jump__list a:focus-visible {
  background: var(--mint-200);
  border-color: var(--lime-400);
}

/* ---------- 通用章节 ---------- */
.page-home .home-section {
  padding: 52px 0;
  background: var(--warm-100);
}

.page-home .home-section--dark {
  background: linear-gradient(178deg, var(--night-900), var(--night-700) 82%, var(--violet-600));
  color: var(--warm-100);
}

.page-home .home-section__head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  margin-bottom: 32px;
}

.page-home .home-section__num {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  line-height: 1;
  color: var(--cyan-500);
  padding-top: 4px;
}

.page-home .home-section--dark .home-section__num {
  color: var(--lime-400);
}

.page-home .home-section__head h2 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.5rem, 4.6vw, 2.3rem);
  line-height: 1.26;
  letter-spacing: -0.01em;
  color: var(--ink-900);
}

.page-home .home-section--dark .home-section__head h2 {
  color: var(--warm-100);
}

.page-home .home-section__intro {
  margin: 0;
  max-width: 42em;
  font-size: 0.98rem;
  line-height: 1.78;
  color: rgba(17, 22, 29, 0.74);
}

.page-home .home-section--dark .home-section__intro {
  color: rgba(248, 245, 236, 0.78);
}

/* ---------- 01 场景栏目 ---------- */
.page-home .home-scenes__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--home-gap);
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .home-scenes__item {
  padding: 22px;
  border: 1px solid var(--home-edge);
  border-radius: var(--radius-md);
  background: #fff;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.page-home .home-scenes__item:hover {
  transform: translateY(-2px);
  border-color: var(--cyan-500);
}

.page-home .home-scenes__item h3 {
  margin: 14px 0 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  line-height: 1.42;
  color: var(--ink-900);
}

.page-home .home-scenes__item p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.72;
  color: rgba(17, 22, 29, 0.72);
}

.page-home .home-scenes__links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 16px;
}

/* ---------- 02 版本与费用 ---------- */
.page-home .home-plans__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--home-gap);
}

.page-home .home-plan {
  display: flex;
  flex-direction: column;
  padding: 24px 22px;
  border: 1px solid var(--home-edge-strong);
  border-radius: var(--radius-lg);
  background: #fff;
}

.page-home .home-plan--pro {
  background: var(--night-900);
  border-color: rgba(199, 255, 63, 0.5);
  color: var(--warm-100);
}

.page-home .home-plan__head h3 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--ink-900);
}

.page-home .home-plan--pro .home-plan__head h3 {
  color: var(--warm-100);
}

.page-home .home-plan__price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 0 0 6px;
}

.page-home .home-plan__amount {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 2.4rem;
  line-height: 1;
  color: var(--ink-900);
}

.page-home .home-plan--pro .home-plan__amount {
  color: var(--lime-400);
}

.page-home .home-plan__unit {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--steel-500);
}

.page-home .home-plan__note {
  margin: 0 0 18px;
  font-size: 0.82rem;
  color: var(--steel-500);
}

.page-home .home-plan__list {
  flex: 1;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 11px;
}

.page-home .home-plan__list li {
  position: relative;
  padding-left: 20px;
  font-size: 0.92rem;
  line-height: 1.68;
  color: rgba(17, 22, 29, 0.78);
}

.page-home .home-plan__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--cyan-500);
}

.page-home .home-plan--pro .home-plan__list li {
  color: rgba(248, 245, 236, 0.8);
}

.page-home .home-plan--pro .home-plan__list li::before {
  background: var(--lime-400);
}

.page-home .home-plan__cta {
  align-self: flex-start;
}

.page-home .home-plans__banner {
  margin-top: 20px;
  border: 1px solid var(--home-edge);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--night-700);
}

.page-home .home-plans__banner img {
  width: 100%;
  aspect-ratio: 5 / 2;
  object-fit: cover;
  opacity: 0.8;
}

.page-home .home-plans__banner-body {
  padding: 22px;
  color: var(--warm-100);
}

.page-home .home-plans__banner-body h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  line-height: 1.42;
}

.page-home .home-plans__banner-body p {
  margin: 0 0 16px;
  font-size: 0.92rem;
  line-height: 1.72;
  color: rgba(248, 245, 236, 0.78);
}

/* ---------- 03 移动端索引 ---------- */
.page-home .home-mobile__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
}

.page-home .home-mobile__sub {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--mint-200);
}

.page-home .home-mobile__sub:not(:first-child) {
  margin-top: 26px;
}

.page-home .home-mobile__body p {
  margin: 0 0 16px;
  font-size: 0.94rem;
  line-height: 1.78;
  color: rgba(248, 245, 236, 0.8);
}

.page-home .home-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 8px;
  padding: 0;
  list-style: none;
}

.page-home .home-tags .tag {
  cursor: default;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.page-home .home-tags .tag:hover {
  border-color: var(--lime-400);
  background: var(--home-lime-soft);
}

.page-home .home-mobile__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 22px 0 0;
  padding: 18px 0 0;
  border-top: 1px dashed var(--home-edge-strong);
}

.page-home .home-mobile__facts div {
  min-width: 0;
}

.page-home .home-mobile__facts dt {
  font-size: 0.76rem;
  color: var(--steel-500);
  margin-bottom: 6px;
}

.page-home .home-mobile__facts dd {
  margin: 0;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--lime-400);
}

.page-home .home-mobile__figure {
  margin: 0;
  border: 1px solid var(--home-edge-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--night-700);
}

.page-home .home-mobile__figure img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

/* ---------- 04 赛场笔记 ---------- */
.page-home .home-notes__figure {
  margin: 0 0 24px;
  border: 1px solid var(--home-edge);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.page-home .home-notes__figure img {
  width: 100%;
  aspect-ratio: 11 / 7;
  object-fit: cover;
}

.page-home .home-notes__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .home-notes__item {
  padding: 20px;
  border: 1px solid var(--home-edge);
  border-radius: var(--radius-md);
  background: #fff;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.page-home .home-notes__item:hover {
  border-color: var(--lime-400);
  background: rgba(223, 255, 176, 0.24);
}

.page-home .home-notes__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

.page-home .home-notes__phase {
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: var(--night-900);
  color: var(--mint-200);
}

.page-home .home-notes__time {
  color: var(--steel-500);
  align-self: center;
}

.page-home .home-notes__item h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  line-height: 1.45;
  color: var(--ink-900);
}

.page-home .home-notes__item p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(17, 22, 29, 0.72);
}

.page-home .home-notes__more {
  margin: 24px 0 0;
}

/* ---------- 05 支持入口 ---------- */
.page-home .home-support__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.page-home .home-support__help h3,
.page-home .home-support__card h3 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--warm-100);
}

.page-home .home-support__topics {
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 2px;
}

.page-home .home-support__topics li a {
  display: block;
  padding: 11px 0;
  border-bottom: 1px solid var(--home-edge);
  font-size: 0.92rem;
  line-height: 1.6;
  color: rgba(248, 245, 236, 0.86);
  text-decoration: none;
  transition: color 0.2s var(--ease), padding-left 0.2s var(--ease);
}

.page-home .home-support__topics li a:hover,
.page-home .home-support__topics li a:focus-visible {
  color: var(--lime-400);
  padding-left: 6px;
}

.page-home .home-support__hint {
  margin: 0 0 18px;
  font-size: 0.86rem;
  line-height: 1.7;
  color: var(--steel-500);
}

.page-home .home-support__card {
  padding: 22px;
  border: 1px solid var(--home-edge-strong);
  border-radius: var(--radius-lg);
  background: rgba(14, 42, 82, 0.72);
}

.page-home .home-support__contact {
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.page-home .home-support__contact li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  min-width: 0;
}

.page-home .home-support__label {
  flex: 0 0 76px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--steel-500);
}

.page-home .home-support__value {
  flex: 1 1 160px;
  min-width: 0;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  word-break: break-all;
  color: var(--warm-100);
}

.page-home .home-support__note {
  margin: 0 0 16px;
  font-size: 0.86rem;
  line-height: 1.7;
  color: rgba(248, 245, 236, 0.74);
}

.page-home .home-support__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--home-edge);
  font-size: 0.82rem;
  color: var(--steel-500);
}

.page-home .home-support__legal a {
  color: var(--steel-500);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.page-home .home-support__legal a:hover,
.page-home .home-support__legal a:focus-visible {
  color: var(--lime-400);
  border-bottom-color: var(--lime-400);
}

/* ---------- 焦点可见性 ---------- */
.page-home a:focus-visible,
.page-home button:focus-visible {
  outline: 2px solid var(--lime-400);
  outline-offset: 3px;
}

.page-home .home-section:not(.home-section--dark) a:focus-visible,
.page-home .home-section:not(.home-section--dark) button:focus-visible {
  outline-color: var(--cyan-500);
}

/* ---------- 平板 ---------- */
@media (min-width: 720px) {
  .page-home .home-shell {
    padding-left: 32px;
    padding-right: 32px;
  }

  .page-home .home-hero {
    padding: 40px 0 56px;
  }

  .page-home .home-hero__lead {
    padding: 32px 30px 34px;
  }

  .page-home .home-hero__band {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 26px 30px;
  }

  .page-home .home-hero__band-text {
    flex: 1 1 auto;
    max-width: 60ch;
  }

  .page-home .home-hero__band-links {
    flex: 0 0 auto;
  }

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

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

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

/* ---------- 桌面拼贴 ---------- */
@media (min-width: 900px) {
  .page-home .home-hero__grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-template-areas:
      "lead lead lead lead lead lead lead shot shot shot shot shot"
      "mini1 mini1 mini1 mini1 mini2 mini2 mini2 shot shot shot shot shot"
      "band band band band band band band band band band band band";
    align-items: stretch;
  }

  .page-home .home-hero__lead {
    grid-area: lead;
  }

  .page-home .home-hero__shot {
    grid-area: shot;
    min-height: 380px;
  }

  .page-home .home-hero__shot img {
    min-height: 380px;
  }

  .page-home .home-mini--mint {
    grid-area: mini1;
  }

  .page-home .home-mini:not(.home-mini--mint) {
    grid-area: mini2;
  }

  .page-home .home-hero__band {
    grid-area: band;
  }

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

  .page-home .home-scenes__item {
    grid-column: span 3;
  }

  .page-home .home-scenes__item--wide {
    grid-column: span 6;
  }

  .page-home .home-mobile__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: start;
    gap: 32px;
  }

  .page-home .home-notes__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .page-home .home-section {
    padding: 68px 0;
  }
}

@media (min-width: 1024px) {
  .page-home .home-jump {
    top: 0;
  }

  .page-home .home-shell {
    padding-left: 44px;
    padding-right: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .home-mini,
  .page-home .home-scenes__item,
  .page-home .home-notes__item,
  .page-home .home-support__topics li a {
    transition: none;
  }

  .page-home .home-mini:hover,
  .page-home .home-scenes__item:hover {
    transform: none;
  }
}
