.page-contact {
  --ct-pad: clamp(20px, 4vw, 56px);
  --ct-gap: clamp(24px, 3.4vw, 52px);
  --ct-radius: 2px;
  position: relative;
  display: block;
  background: var(--night);
  color: var(--mist);
  font-family: var(--font-sans);
  overflow-x: clip;
}

.page-contact .ct-frame {
  position: relative;
  padding: 10px;
  border: 1px solid var(--line-dark-strong);
  background: rgba(18, 36, 74, 0.5);
}

.page-contact .ct-frame::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 10px;
  right: 10px;
  height: 5px;
  background-image: repeating-linear-gradient(90deg, var(--line-dark-strong) 0 1px, transparent 1px 34px);
  pointer-events: none;
}

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

/* ---------- 首屏 ---------- */

.page-contact .ct-hero {
  position: relative;
  padding: calc(var(--header-h) + 36px) 0 clamp(34px, 6vw, 76px);
  background:
    radial-gradient(120% 78% at 88% 0%, rgba(255, 107, 26, 0.16), transparent 62%),
    radial-gradient(90% 60% at 0% 100%, rgba(200, 255, 62, 0.09), transparent 60%),
    linear-gradient(180deg, var(--night) 0%, var(--stand) 100%);
  overflow: hidden;
}

.page-contact .ct-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 200px;
  background: linear-gradient(96deg, transparent 41.6%, rgba(200, 255, 62, 0.08) 41.9%, rgba(200, 255, 62, 0.08) 42.6%, transparent 42.9%);
  pointer-events: none;
}

.page-contact .ct-hero__inner {
  position: relative;
  z-index: 1;
  padding-inline: var(--ct-pad);
}

.page-contact .ct-hero .bw-crumb {
  margin-bottom: 28px;
}

.page-contact .ct-hero__eyebrow {
  margin: 0 0 16px;
  color: var(--orange);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
}

.page-contact .ct-hero__title {
  margin: 0 0 22px;
  color: var(--mist);
  font-size: clamp(36px, 7.4vw, 76px);
  line-height: 1.0;
  font-weight: 900;
  letter-spacing: -0.02em;
  max-width: 20ch;
}

.page-contact .ct-hero__lede {
  margin: 0;
  max-width: 60ch;
  color: var(--mist);
  font-size: clamp(15.5px, 1.4vw, 18px);
  line-height: 1.85;
}

.page-contact .ct-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.page-contact .ct-hero__facts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  margin: 38px 0 0;
  border: 1px solid var(--line-dark);
  background: var(--line-dark);
}

.page-contact .ct-hero__fact {
  padding: 16px 18px;
  background: rgba(10, 23, 48, 0.74);
}

.page-contact .ct-hero__fact dt {
  font-size: 11.5px;
  letter-spacing: 0.18em;
  color: var(--steel);
}

.page-contact .ct-hero__fact dd {
  margin: 7px 0 0;
  font-family: var(--font-mono);
  font-size: 16px;
  color: var(--lime);
  letter-spacing: 0.01em;
}

.page-contact .ct-hero__figure {
  position: relative;
  z-index: 1;
  max-width: var(--wide-max);
  margin: clamp(34px, 5.5vw, 64px) auto 0;
  padding-inline: var(--ct-pad);
}

.page-contact .ct-hero__figure .bw-figure__caption {
  margin-top: 12px;
  color: var(--steel);
  font-size: 13px;
  letter-spacing: 0.02em;
}

/* ---------- 分屏主体 ---------- */

.page-contact .ct-split {
  padding-block: clamp(42px, 6.5vw, 92px);
  background: linear-gradient(180deg, var(--night) 0%, #081226 100%);
}

.page-contact .ct-split__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--ct-gap);
  padding-inline: var(--ct-pad);
}

.page-contact .ct-split__left {
  display: grid;
  gap: clamp(30px, 4vw, 52px);
  align-content: start;
}

.page-contact .ct-sheet {
  position: relative;
  padding: clamp(28px, 4.6vw, 62px) clamp(22px, 4vw, 56px);
  background: var(--cream);
  color: var(--ink);
  border-radius: var(--ct-radius);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.38);
}

.page-contact .ct-sheet::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 88px;
  height: 5px;
  background: var(--vermillion);
}

.page-contact .ct-sheet__num {
  position: absolute;
  top: clamp(12px, 2vw, 22px);
  right: clamp(18px, 3vw, 32px);
  font-family: var(--font-mono);
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1;
  color: rgba(43, 33, 25, 0.13);
  letter-spacing: -0.03em;
  pointer-events: none;
}

.page-contact .ct-sheet__title {
  margin: 0 0 14px;
  color: var(--ink);
  max-width: 22ch;
}

.page-contact .ct-sheet__intro {
  margin: 0 0 26px;
  max-width: 54ch;
  color: rgba(43, 33, 25, 0.78);
  font-size: 15.5px;
  line-height: 1.85;
}

.page-contact .ct-tabs {
  margin-top: 6px;
}

.page-contact .ct-tablist {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  border-bottom: 1px solid var(--line-light);
}

.page-contact .ct-tab {
  appearance: none;
  margin: 0;
  padding: 10px 14px 12px;
  background: transparent;
  border: 0;
  border-bottom: 3px solid transparent;
  font-family: var(--font-sans);
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: rgba(43, 33, 25, 0.58);
  cursor: pointer;
  transition: color 0.22s var(--ease), border-color 0.22s var(--ease);
}

.page-contact .ct-tab:hover {
  color: var(--ink);
}

.page-contact .ct-tab[aria-selected="true"] {
  color: var(--ink);
  border-bottom-color: var(--vermillion);
}

.page-contact .ct-tab:focus-visible {
  outline: 2px solid var(--vermillion);
  outline-offset: 2px;
}

.page-contact .ct-panel {
  padding-top: 22px;
}

.page-contact .ct-panel[hidden] {
  display: none;
}

.page-contact .ct-panel > p {
  margin: 0 0 16px;
  max-width: 56ch;
  color: rgba(43, 33, 25, 0.8);
  font-size: 15px;
  line-height: 1.85;
}

.page-contact .ct-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.page-contact .ct-list li {
  position: relative;
  padding-left: 22px;
  color: var(--ink);
  font-size: 14.5px;
  line-height: 1.75;
}

.page-contact .ct-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.66em;
  width: 12px;
  height: 2px;
  background: var(--vermillion);
}

.page-contact .ct-points__title {
  margin: 0 0 4px;
  color: var(--mist);
}

.page-contact .ct-point-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-contact .ct-point {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  padding: 22px 0;
  border-top: 1px solid var(--line-dark);
}

.page-contact .ct-point:last-child {
  border-bottom: 1px solid var(--line-dark);
}

.page-contact .ct-point__num {
  padding-top: 3px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--lime);
}

.page-contact .ct-point__title {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 900;
  letter-spacing: -0.01em;
  color: var(--mist);
}

.page-contact .ct-point__text {
  margin: 0;
  max-width: 54ch;
  color: var(--steel);
  font-size: 14.5px;
  line-height: 1.82;
}

/* ---------- 右列联系卡片 ---------- */

.page-contact .ct-split__right {
  display: grid;
  gap: 14px;
  align-content: start;
}

.page-contact .ct-channels__eyebrow {
  margin: 0;
  color: var(--orange);
  font-size: 12px;
  letter-spacing: 0.2em;
}

.page-contact .ct-channels__title {
  margin: 0 0 6px;
  color: var(--mist);
}

.page-contact .ct-cards {
  display: grid;
  gap: 16px;
  margin-top: 8px;
}

.page-contact .ct-card {
  position: relative;
  padding: 34px 22px 26px;
  background: linear-gradient(155deg, var(--stand) 0%, #0b1830 100%);
  border: 1px solid var(--line-dark);
  clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 26px, 100% 100%, 0 100%);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}

.page-contact .ct-card:hover,
.page-contact .ct-card:focus-within {
  transform: translateY(-4px);
  border-color: rgba(200, 255, 62, 0.42);
}

.page-contact .ct-card__num {
  position: absolute;
  top: 0;
  left: 0;
  padding: 8px 13px;
  background: var(--lime);
  color: var(--night);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
}

.page-contact .ct-card__label {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--steel);
}

.page-contact .ct-card__value {
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: clamp(15px, 2.2vw, 19px);
  line-height: 1.5;
  color: var(--mist);
  word-break: break-word;
  overflow-wrap: anywhere;
}

.page-contact .ct-card:nth-child(2) .ct-card__value {
  color: var(--lime);
}

.page-contact .ct-card__note {
  margin: 0;
  color: var(--steel);
  font-size: 14px;
  line-height: 1.82;
}

.page-contact .ct-note {
  margin: 6px 0 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--steel);
}

/* ---------- 处理路径 ---------- */

.page-contact .ct-flow {
  padding-block: clamp(44px, 7vw, 98px);
  background: linear-gradient(180deg, var(--stand) 0%, var(--night) 100%);
  border-top: 1px solid var(--line-dark);
}

.page-contact .ct-flow__head {
  max-width: 62ch;
  margin-bottom: clamp(28px, 4vw, 50px);
}

.page-contact .ct-flow__eyebrow {
  margin: 0;
  color: var(--orange);
  font-size: 12px;
  letter-spacing: 0.2em;
}

.page-contact .ct-flow__head .bw-title {
  margin: 12px 0 16px;
  color: var(--mist);
}

.page-contact .ct-flow__head .bw-lede {
  margin: 0;
  color: var(--steel);
  font-size: 16px;
  line-height: 1.85;
}

.page-contact .ct-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--line-dark-strong);
}

.page-contact .ct-node {
  position: relative;
  padding: 32px 22px 30px 20px;
  border-bottom: 1px solid var(--line-dark);
  outline: none;
  transition: background-color 0.3s var(--ease);
}

.page-contact .ct-node::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 20px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--night);
  border: 2px solid var(--steel);
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.page-contact .ct-node__idx {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--steel);
}

.page-contact .ct-node__title {
  margin: 10px 0 10px;
  font-size: 19px;
  font-weight: 900;
  letter-spacing: -0.01em;
  color: var(--mist);
  transition: color 0.3s var(--ease);
}

.page-contact .ct-node__desc {
  margin: 0;
  max-width: 42ch;
  color: var(--steel);
  font-size: 14.5px;
  line-height: 1.82;
  transition: color 0.3s var(--ease);
}

.page-contact .ct-node:hover,
.page-contact .ct-node:focus,
.page-contact .ct-node:focus-within {
  background-color: rgba(200, 255, 62, 0.05);
}

.page-contact .ct-node:hover::before,
.page-contact .ct-node:focus::before,
.page-contact .ct-node:focus-within::before {
  background: var(--lime);
  border-color: var(--lime);
  transform: scale(1.28);
}

.page-contact .ct-node:hover .ct-node__title,
.page-contact .ct-node:focus .ct-node__title {
  color: var(--lime);
}

.page-contact .ct-node:hover .ct-node__desc,
.page-contact .ct-node:focus .ct-node__desc {
  color: var(--mist);
}

.page-contact .ct-flow__figure {
  max-width: 900px;
  margin: clamp(32px, 5vw, 62px) 0 0 auto;
}

.page-contact .ct-flow__figure .ct-frame img {
  aspect-ratio: 14 / 9;
}

.page-contact .ct-flow__figure .bw-figure__caption {
  margin-top: 12px;
  color: var(--steel);
  font-size: 13px;
}

.page-contact .ct-flow__link {
  margin: 22px 0 0;
  color: var(--steel);
  font-size: 14.5px;
  line-height: 1.8;
}

.page-contact .ct-flow__link a {
  color: var(--lime);
  text-decoration: none;
  border-bottom: 1px solid rgba(200, 255, 62, 0.45);
}

.page-contact .ct-flow__link a:hover {
  border-bottom-color: var(--lime);
}

/* ---------- 奶油区：教程与合作 ---------- */

.page-contact .ct-help {
  padding-block: clamp(46px, 7vw, 98px);
  background: var(--cream);
  color: var(--ink);
}

.page-contact .ct-help__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(20px, 3vw, 44px);
  padding-inline: var(--ct-pad);
}

.page-contact .ct-help__col {
  padding: clamp(24px, 3.4vw, 46px);
  background: rgba(227, 214, 190, 0.42);
  border-top: 4px solid var(--vermillion);
}

.page-contact .ct-help__col--coop {
  border-top-color: var(--ink);
}

.page-contact .ct-help__kicker {
  margin: 0 0 14px;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--vermillion);
}

.page-contact .ct-help__col--coop .ct-help__kicker {
  color: var(--ink);
}

.page-contact .ct-help__col .bw-title {
  margin: 0 0 14px;
  color: var(--ink);
}

.page-contact .ct-help__col p {
  margin: 0 0 24px;
  max-width: 54ch;
  color: rgba(43, 33, 25, 0.8);
  font-size: 15.5px;
  line-height: 1.85;
}

.page-contact .ct-help__btn.bw-btn--primary {
  background: var(--vermillion);
  border-color: var(--vermillion);
  color: var(--cream);
}

.page-contact .ct-help__btn.bw-btn--primary:hover {
  background: #a72318;
  border-color: #a72318;
}

.page-contact .ct-help__btn.bw-btn--ghost {
  background: transparent;
  border-color: rgba(43, 33, 25, 0.42);
  color: var(--ink);
}

.page-contact .ct-help__btn.bw-btn--ghost:hover {
  border-color: var(--ink);
  background: rgba(43, 33, 25, 0.06);
}

/* ---------- 收尾数据条 ---------- */

.page-contact .ct-stats {
  padding-block: clamp(34px, 5vw, 58px);
  background: var(--night);
}

.page-contact .ct-data-bar {
  border-top: 1px solid var(--line-dark-strong);
  border-bottom: 1px solid var(--line-dark-strong);
}

.page-contact .ct-data-bar__cell {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px 18px;
}

.page-contact .ct-stat__value {
  font-family: var(--font-mono);
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--lime);
}

.page-contact .ct-stat__label {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--steel);
}

.page-contact .ct-unit {
  margin-left: 0.16em;
  font-family: var(--font-sans);
  font-size: 0.34em;
  letter-spacing: 0.04em;
  color: var(--steel);
  vertical-align: 0.5em;
}

/* ---------- 断点 ---------- */

@media (min-width: 720px) {
  .page-contact .ct-hero__facts {
    grid-template-columns: repeat(3, 1fr);
  }

  .page-contact .ct-data-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 860px) {
  .page-contact .ct-timeline {
    grid-template-columns: repeat(4, 1fr);
  }

  .page-contact .ct-node {
    border-bottom: 0;
    border-left: 1px solid var(--line-dark);
    padding: 34px 26px 30px 24px;
  }

  .page-contact .ct-node:first-child {
    border-left: 0;
  }

  .page-contact .ct-node::before {
    left: 24px;
  }
}

@media (min-width: 900px) {
  .page-contact .ct-help__grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    align-items: start;
  }

  .page-contact .ct-help__col--coop {
    margin-top: 40px;
  }

  .page-contact .ct-flow__figure {
    margin-right: 0;
  }
}

@media (min-width: 1024px) {
  .page-contact .ct-split__grid {
    grid-template-columns: minmax(0, 1.34fr) minmax(0, 0.86fr);
    align-items: start;
  }

  .page-contact .ct-card:nth-child(2) {
    margin-left: 18px;
  }

  .page-contact .ct-card:nth-child(3) {
    margin-left: 36px;
  }

  .page-contact .ct-split__right {
    margin-top: 6px;
  }
}

@media (min-width: 1280px) {
  .page-contact .ct-hero__title {
    max-width: 16ch;
  }

  .page-contact .ct-flow__figure {
    max-width: 960px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-contact *,
  .page-contact *::before,
  .page-contact *::after {
    transition: none !important;
    animation: none !important;
  }
}
