.page-home {
  --home-orange: #FF6B00;
  --home-blue: #00C4FF;
  --home-bg: #F6F1E7;
  --home-surface: #FFFCF7;
  --home-text: #1A1A1A;
  --home-sub: #4A3F35;
  --home-border: #2B2118;
  --home-line: #D6CABB;
  --home-shadow: 6px 6px 0 var(--home-border);
  --home-font-display: "Barlow Condensed", "Oswald", "Noto Sans SC", sans-serif;
  --home-font-body: "Inter", "Noto Sans SC", "PingFang SC", sans-serif;
  background: var(--home-bg);
  color: var(--home-text);
  font-family: var(--home-font-body);
  overflow-x: hidden;
}

.page-home .container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.page-home .section-kicker {
  margin: 0 0 10px;
  font-family: var(--home-font-display);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--home-orange);
  -webkit-font-smoothing: antialiased;
}

.page-home .section-title {
  margin: 0;
  font-family: var(--home-font-display);
  font-size: 42px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.page-home .section-desc {
  margin: 14px 0 0;
  max-width: 560px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--home-sub);
}

.page-home .section-head--center {
  text-align: center;
}

.page-home .section-head--center .section-desc {
  margin-left: auto;
  margin-right: auto;
}

.page-home .section-head--on-dark .section-desc {
  color: rgba(255, 255, 255, 0.78);
}

.page-home .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  border: 2px solid var(--home-border);
  box-shadow: 4px 4px 0 var(--home-border);
  background: transparent;
  color: var(--home-text);
  transition: transform 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease, color 0.16s ease;
  cursor: pointer;
}

.page-home .btn:hover,
.page-home .btn:focus-visible {
  transform: translate(3px, 3px);
  box-shadow: 1px 1px 0 var(--home-border);
}

.page-home .btn-primary {
  background: var(--home-orange);
  color: var(--home-text);
}

.page-home .btn-primary:hover {
  background: var(--home-text);
  color: var(--home-surface);
}

.page-home .btn-outline {
  background: var(--home-surface);
}

.page-home .btn-outline:hover {
  background: var(--home-bg);
}

.page-home .btn-secondary {
  background: var(--home-blue);
  color: var(--home-text);
  border-color: var(--home-text);
}

.page-home .btn-secondary:hover {
  background: var(--home-text);
  color: var(--home-blue);
}

.page-home .btn__arrow,
.page-home .quick-entry__arrow {
  display: inline-block;
  transition: transform 0.16s ease;
}

.page-home .btn:hover .btn__arrow,
.page-home .quick-entry__link:hover .quick-entry__arrow {
  transform: translateX(10px);
}

.page-home .media-frame {
  position: relative;
  overflow: hidden;
  border: 3px solid var(--home-border);
  box-shadow: var(--home-shadow);
  background: var(--home-surface);
}

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

.page-home .tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  font-family: var(--home-font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 2px solid var(--home-border);
  white-space: nowrap;
}

.page-home .tag--orange {
  background: var(--home-orange);
  color: var(--home-text);
}

.page-home .tag--blue {
  background: var(--home-blue);
  color: var(--home-text);
}

/* ===== 首屏：左右分屏 + 对角线色块 ===== */
.page-home .home-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 720px;
  background: var(--home-bg);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 92%);
  margin-bottom: 40px;
}

.page-home .home-hero__frame {
  position: absolute;
  inset: 0;
  z-index: 0;
  clip-path: polygon(52% 0, 100% 0, 100% 100%, 34% 100%);
  background: var(--home-border);
}

.page-home .home-hero__bg {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.36;
}

.page-home .home-hero__content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px 24px 64px;
}

.page-home .home-hero__kicker {
  margin: 0 0 14px;
  font-family: var(--home-font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--home-orange);
}

.page-home #home-hero-title {
  margin: 0 0 16px;
  font-family: var(--home-font-display);
  font-size: 42px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.01em;
  max-width: 480px;
}

.page-home .home-hero__lead {
  margin: 0 0 20px;
  max-width: 480px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--home-sub);
}

.page-home .home-hero__meta {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--home-border);
  border-left: 3px solid var(--home-blue);
  padding-left: 12px;
}

.page-home .home-hero__board {
  background: var(--home-surface);
  border: 3px solid var(--home-border);
  box-shadow: var(--home-shadow);
  padding: 24px;
  position: relative;
}

.page-home .home-hero__board::before {
  content: "";
  position: absolute;
  top: -3px;
  right: 30px;
  width: 60px;
  height: 8px;
  background: var(--home-orange);
  border-bottom: 2px solid var(--home-border);
}

.page-home .home-hero__board-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.page-home .home-hero__board-index {
  font-family: var(--home-font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--home-orange);
  line-height: 1;
}

.page-home .home-hero__board h2 {
  margin: 0;
  font-family: var(--home-font-display);
  font-size: 26px;
  line-height: 1;
  font-weight: 700;
}

.page-home .home-hero__board-desc {
  margin: 0 0 20px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--home-sub);
  max-width: 420px;
}

.page-home .quick-entry {
  display: flex;
  flex-direction: column;
}

.page-home .quick-entry__link {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px 14px;
  padding: 16px 0;
  border-top: 1px solid var(--home-line);
  text-decoration: none;
  color: var(--home-text);
  transition: background-color 0.14s ease, color 0.14s ease;
}

.page-home .quick-entry__link:first-child {
  border-top: 2px solid var(--home-border);
}

.page-home .quick-entry__link:hover,
.page-home .quick-entry__link:focus-visible {
  background: var(--home-text);
  color: var(--home-surface);
}

.page-home .quick-entry__text {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
}

.page-home .quick-entry__arrow {
  margin-left: auto;
}

.page-home .quick-entry__note {
  grid-column: 2;
  font-size: 13px;
  line-height: 1.4;
  color: var(--home-sub);
}

.page-home .quick-entry__link:hover .quick-entry__note {
  color: var(--home-line);
}

.page-home .home-hero__bar {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 30px;
  justify-content: center;
  width: 100%;
  max-width: 1280px;
  margin: auto auto 0;
  padding: 0 24px 32px;
  font-family: var(--home-font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--home-border);
}

.page-home .home-hero__bar span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.page-home .home-hero__bar span::before {
  content: "";
  width: 28px;
  height: 4px;
  background: var(--home-orange);
}

/* ===== 苹果入口路径优化 ===== */
.page-home .home-update {
  padding: 88px 0 72px;
  background: var(--home-bg);
}

.page-home .home-update .section-head {
  margin-bottom: 40px;
}

.page-home .home-update__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: stretch;
}

.page-home .home-update__media {
  height: 100%;
  min-height: 220px;
}

.page-home .home-update .media-frame__img {
  object-fit: cover;
}

.page-home .version-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 3px solid var(--home-border);
}

.page-home .version-list__item {
  position: relative;
  padding: 0 0 36px 32px;
}

.page-home .version-list__item:last-child {
  padding-bottom: 0;
}

.page-home .version-list__item::before {
  content: "";
  position: absolute;
  left: -16px;
  top: 4px;
  width: 26px;
  height: 26px;
  border: 3px solid var(--home-border);
  background: var(--home-surface);
}

.page-home .version-list__item:nth-child(1)::before {
  background: var(--home-blue);
}

.page-home .version-list__item:nth-child(2)::before {
  background: var(--home-orange);
}

.page-home .version-list__item:nth-child(3)::before {
  background: var(--home-text);
}

.page-home .version-list__index {
  display: block;
  font-family: var(--home-font-display);
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  color: var(--home-orange);
  margin-bottom: 6px;
}

.page-home .version-list__body h3 {
  margin: 0 0 6px;
  font-family: var(--home-font-display);
  font-size: 24px;
  line-height: 1.1;
  font-weight: 700;
}

.page-home .version-list__body p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--home-sub);
  max-width: 480px;
}

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

/* ===== 赛前前瞻 ===== */
.page-home .home-preview {
  position: relative;
  padding: 96px 0;
  background: var(--home-text);
  color: var(--home-surface);
  clip-path: polygon(0 3%, 100% 0, 100% 97%, 0 100%);
}

.page-home .home-preview__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.22;
}

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

.page-home .home-preview__layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

.page-home .home-preview .section-title {
  color: var(--home-surface);
}

.page-home .home-preview .section-kicker {
  color: var(--home-orange);
}

.page-home .preview-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 36px 0 32px;
}

.page-home .preview-stats__item {
  background: var(--home-border);
  border: 2px solid rgba(246, 241, 231, 0.4);
  padding: 18px 12px;
  text-align: center;
}

.page-home .preview-stats__num {
  display: block;
  font-family: var(--home-font-display);
  font-size: 48px;
  line-height: 1;
  font-weight: 800;
  color: var(--home-orange);
}

.page-home .preview-stats__label {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.3;
  color: rgba(246, 241, 231, 0.82);
}

.page-home .preview-field {
  display: flex;
  flex-direction: column;
  border-top: 2px solid var(--home-orange);
}

.page-home .preview-field__panel {
  border-bottom: 1px solid rgba(246, 241, 231, 0.28);
  background: transparent;
  transition: background-color 0.16s ease;
}

.page-home .preview-field__panel[open] {
  background: rgba(246, 241, 231, 0.06);
}

.page-home .preview-field__panel summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 4px;
  cursor: pointer;
  list-style: none;
}

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

.page-home .preview-field__panel summary:hover {
  background: rgba(255, 107, 0, 0.08);
}

.page-home .preview-field__title {
  font-family: var(--home-font-display);
  font-size: 26px;
  line-height: 1;
  font-weight: 700;
  color: var(--home-surface);
}

.page-home .preview-field__meta {
  margin-left: auto;
  font-size: 13px;
  color: rgba(246, 241, 231, 0.65);
  white-space: nowrap;
}

.page-home .preview-field__arrow {
  font-size: 20px;
  color: var(--home-orange);
  transition: transform 0.16s ease;
}

.page-home .preview-field__panel[open] .preview-field__arrow {
  transform: rotate(45deg);
}

.page-home .preview-field__content {
  padding: 0 4px 20px;
  max-width: 520px;
}

.page-home .preview-field__content p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(246, 241, 231, 0.82);
}

/* ===== 排查指南 ===== */
.page-home .home-troubleshoot {
  padding: 96px 0 88px;
  background: var(--home-bg);
}

.page-home .home-troubleshoot__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.page-home .home-troubleshoot .section-title {
  max-width: 420px;
}

.page-home .home-troubleshoot__lead {
  margin: 20px 0 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--home-sub);
  max-width: 500px;
}

.page-home .check-list {
  list-style: none;
  margin: 32px 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.page-home .check-list li {
  position: relative;
  padding: 12px 16px 12px 48px;
  border: 2px solid var(--home-border);
  background: var(--home-surface);
  font-size: 15px;
  line-height: 1.55;
  box-shadow: 3px 3px 0 rgba(43, 33, 24, 0.5);
}

.page-home .check-list li::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  border: 2px solid var(--home-border);
  background: var(--home-blue);
  border-radius: 50%;
}

.page-home .home-troubleshoot__media {
  height: auto;
  min-height: 300px;
  max-height: 560px;
}

.page-home .home-troubleshoot .media-frame__img {
  object-position: center top;
}

/* ===== 高效服务承诺 ===== */
.page-home .home-promise {
  padding: 88px 0;
  background: var(--home-surface);
}

.page-home .home-promise .section-head {
  margin-bottom: 48px;
}

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

.page-home .promise-item {
  position: relative;
  padding: 30px 24px 28px;
  border: 3px solid var(--home-border);
  background: var(--home-bg);
  box-shadow: 5px 5px 0 var(--home-border);
  transition: background-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.page-home .promise-item:hover {
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 var(--home-border);
}

.page-home .promise-item:nth-child(2) {
  background: var(--home-orange);
}

.page-home .promise-item__num {
  display: block;
  font-family: var(--home-font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--home-orange);
  margin-bottom: 12px;
}

.page-home .promise-item:nth-child(2) .promise-item__num {
  color: var(--home-text);
}

.page-home .promise-item h3 {
  margin: 0 0 10px;
  font-family: var(--home-font-display);
  font-size: 28px;
  line-height: 1.1;
  font-weight: 700;
}

.page-home .promise-item p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--home-sub);
}

.page-home .promise-item:nth-child(2) p {
  color: var(--home-text);
}

/* ===== 信任带 ===== */
.page-home .home-trust {
  padding: 88px 0 96px;
  background: var(--home-border);
  color: var(--home-surface);
  clip-path: polygon(0 6%, 100% 0, 100% 100%, 0 100%);
}

.page-home .home-trust__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  padding-top: 48px;
}

.page-home .home-trust__title {
  margin: 0 0 16px;
  font-family: var(--home-font-display);
  font-size: 40px;
  line-height: 1;
  font-weight: 700;
}

.page-home .home-trust__desc {
  margin: 0 0 32px;
  max-width: 560px;
  font-size: 16px;
  line-height: 1.65;
  color: rgba(246, 241, 231, 0.82);
}

.page-home .trust-list {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  border-top: 2px solid var(--home-orange);
}

.page-home .trust-list__item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(246, 241, 231, 0.24);
}

.page-home .trust-list dt {
  font-family: var(--home-font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--home-orange);
}

.page-home .trust-list dd {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
}

.page-home .home-trust__links {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.page-home .home-trust__label {
  margin: 0 0 6px;
  font-family: var(--home-font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--home-blue);
}

.page-home .home-trust__link {
  position: relative;
  padding-left: 22px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--home-surface);
  text-decoration: none;
  transition: color 0.14s ease, padding-left 0.14s ease;
}

.page-home .home-trust__link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 12px;
  height: 12px;
  background: var(--home-orange);
  border: 2px solid var(--home-surface);
  transition: background-color 0.14s ease;
}

.page-home .home-trust__link:hover,
.page-home .home-trust__link:focus-visible {
  color: var(--home-orange);
  padding-left: 28px;
}

.page-home .home-trust__link:hover::before {
  background: var(--home-blue);
}

@media (min-width: 640px) {
  .page-home .container {
    padding: 0 40px;
  }

  .page-home .home-hero {
    min-height: 680px;
  }

  .page-home .home-hero__content {
    padding: 96px 40px 64px;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 420px);
    gap: 60px;
    align-items: start;
  }

  .page-home #home-hero-title,
  .page-home .section-title {
    font-size: 52px;
  }

  .page-home .home-hero__lead {
    font-size: 17px;
  }

  .page-home .home-hero__bar {
    padding: 0 40px 40px;
    font-size: 15px;
  }

  .page-home .home-update__layout {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 48px;
  }

  .page-home .home-update__media {
    min-height: 320px;
  }

  .page-home .home-preview {
    clip-path: polygon(0 2%, 100% 0, 100% 98%, 0 100%);
  }

  .page-home .home-preview__layout {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
  }

  .page-home .preview-stats__num {
    font-size: 56px;
  }

  .page-home .home-troubleshoot__grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
  }

  .page-home .home-troubleshoot__media {
    min-height: 420px;
  }

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

  .page-home .promise-item h3 {
    font-size: 30px;
  }

  .page-home .home-trust__inner {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 70px;
    padding-top: 40px;
  }
}

@media (min-width: 1024px) {
  .page-home .home-hero {
    min-height: 760px;
  }

  .page-home .home-hero__content {
    grid-template-columns: minmax(0, 1.2fr) minmax(380px, 440px);
    gap: 80px;
    padding: 120px 40px 80px;
  }

  .page-home #home-hero-title {
    font-size: 64px;
  }

  .page-home .home-hero__board {
    padding: 30px;
  }

  .page-home .home-hero__bar {
    padding-bottom: 56px;
  }

  .page-home .section-title {
    font-size: 56px;
  }

  .page-home .home-update {
    padding: 120px 0 96px;
  }

  .page-home .home-update__layout {
    gap: 72px;
  }

  .page-home .home-preview {
    padding: 130px 0;
  }

  .page-home .home-preview__layout {
    gap: 96px;
  }

  .page-home .home-troubleshoot {
    padding: 128px 0 112px;
  }

  .page-home .home-troubleshoot__grid {
    gap: 96px;
  }

  .page-home .home-promise {
    padding: 120px 0;
  }

  .page-home .promise-grid {
    gap: 28px;
  }

  .page-home .home-trust {
    padding: 112px 0 128px;
  }

  .page-home .home-trust__title {
    font-size: 48px;
  }
}

.page-home *,
.page-home *::before,
.page-home *::after {
  box-sizing: border-box;
}

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

.page-home section:focus {
  outline: none;
}

.page-home a:focus-visible,
.page-home .btn:focus-visible,
.page-home summary:focus-visible {
  outline: 3px solid var(--home-blue);
  outline-offset: 2px;
  border-radius: 0;
}
