.page-contact {
  --ct-space: clamp(56px, 8vw, 112px);
  --ct-gap: clamp(16px, 2.4vw, 28px);
  background:
    radial-gradient(110% 70% at 88% 0%, rgba(255, 107, 26, .16), transparent 58%),
    linear-gradient(180deg, #050f1d 0%, var(--ky-night) 55%, #05101f 100%);
  color: var(--ky-white);
  overflow-x: clip;
}

.page-contact * {
  box-sizing: border-box;
}

.page-contact h1,
.page-contact h2,
.page-contact h3 {
  margin: 0;
  font-weight: 800;
  letter-spacing: -.01em;
}

.page-contact h2 {
  font-size: clamp(24px, 4vw, 40px);
  line-height: 1.14;
}

.page-contact p {
  margin: 0;
}

.page-contact section {
  position: relative;
}

/* ---------- 首屏 ---------- */
.ct-hero {
  padding: clamp(40px, 6vw, 78px) 0 clamp(26px, 4vw, 46px);
}

.ct-hero__grid {
  display: grid;
  gap: clamp(26px, 4vw, 52px);
  align-items: center;
}

.page-contact h1 {
  margin-top: 14px;
  font-size: clamp(36px, 9vw, 76px);
  line-height: 1.02;
  letter-spacing: -.025em;
  font-weight: 900;
}

.ct-hero__lede {
  margin-top: 18px;
  max-width: 46ch;
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.78;
  color: var(--ky-mist);
}

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

.ct-hero__media {
  position: relative;
  margin: 0;
  aspect-ratio: 3 / 2;
  border: 1px solid var(--ky-line-faint);
  background: var(--ky-ink);
  overflow: hidden;
  clip-path: polygon(0 0, 94% 0, 100% 9%, 100% 100%, 6% 100%, 0 91%);
}

.ct-hero__media .ky-media__img,
.ct-hero__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ct-hero__facts {
  margin-top: clamp(30px, 5vw, 56px);
  padding-top: clamp(20px, 3vw, 28px);
  border-top: 1px solid var(--ky-line-faint);
  display: grid;
  gap: var(--ct-gap);
}

.ct-fact__n {
  display: block;
  font-family: var(--ky-font-mono);
  font-weight: 700;
  font-size: clamp(22px, 3.6vw, 36px);
  letter-spacing: -.01em;
  color: var(--ky-orange);
}

.ct-fact__l {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--ky-mist);
}

/* ---------- 章节共用 ---------- */
.ct-channels,
.ct-types,
.ct-flow,
.ct-scenes {
  padding: var(--ct-space) 0;
}

.ct-section-head {
  max-width: 62ch;
  margin-bottom: clamp(24px, 4vw, 44px);
}

.ct-section-head h2 {
  margin-top: 10px;
}

.ct-section-head__lede {
  margin-top: 14px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--ky-mist);
}

/* ---------- 联系方式面板 ---------- */
.ct-console {
  padding: 0;
  overflow: hidden;
}

.ct-console__bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-items: center;
  justify-content: space-between;
  padding: 14px clamp(16px, 3vw, 28px);
  border-bottom: 1px solid var(--ky-line-faint);
  background: rgba(18, 58, 94, .38);
}

.ct-console__bar-note {
  font-family: var(--ky-font-mono);
  font-size: 12px;
  letter-spacing: .05em;
  color: var(--ky-mist);
}

.ct-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--ky-green);
  vertical-align: middle;
}

.ct-console__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ct-line {
  display: grid;
  gap: 8px;
  padding: clamp(18px, 3vw, 26px) clamp(16px, 3vw, 28px);
  border-bottom: 1px solid var(--ky-line-faint);
}

.ct-line:last-child {
  border-bottom: 0;
}

.ct-line__k {
  font-family: var(--ky-font-mono);
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--ky-amber);
}

.ct-line__v {
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 700;
  line-height: 1.45;
  word-break: break-word;
}

.ct-line__v a {
  color: var(--ky-white);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 107, 26, .55);
  padding-bottom: 1px;
}

.ct-line__v a:hover,
.ct-line__v a:focus-visible {
  color: var(--ky-orange);
}

.ct-line__d {
  font-size: 14px;
  line-height: 1.72;
  color: var(--ky-mist);
}

/* ---------- 反馈类型 ---------- */
.ct-types__grid {
  display: grid;
  gap: var(--ct-gap);
}

.ct-type {
  border: 1px solid var(--ky-line-faint);
  background: linear-gradient(180deg, rgba(13, 34, 61, .72), rgba(7, 20, 38, .72));
  transition: border-color .3s var(--ky-ease), background .3s var(--ky-ease);
}

.ct-type[open] {
  border-color: rgba(255, 107, 26, .6);
  background: linear-gradient(180deg, rgba(18, 58, 94, .62), rgba(7, 20, 38, .8));
}

.ct-type summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: clamp(16px, 2.4vw, 22px);
  cursor: pointer;
  list-style: none;
}

.ct-type summary::-webkit-details-marker {
  display: none;
}

.ct-type summary:focus-visible {
  outline: 1px solid var(--ky-orange);
  outline-offset: -3px;
}

.ct-type__idx {
  font-family: var(--ky-font-mono);
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--ky-orange);
}

.ct-type__text {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.ct-type__name {
  font-size: clamp(17px, 2.2vw, 21px);
  font-weight: 800;
  letter-spacing: -.01em;
}

.ct-type__hint {
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--ky-mist);
}

.ct-type__plus {
  position: relative;
  width: 14px;
  height: 14px;
  flex: none;
}

.ct-type__plus::before,
.ct-type__plus::after {
  content: "";
  position: absolute;
  background: var(--ky-orange);
}

.ct-type__plus::before {
  left: 0;
  top: 6px;
  width: 14px;
  height: 2px;
}

.ct-type__plus::after {
  left: 6px;
  top: 0;
  width: 2px;
  height: 14px;
  transition: transform .25s var(--ky-ease);
}

.ct-type[open] .ct-type__plus::after {
  transform: scaleY(0);
}

.ct-type__body {
  padding: 0 clamp(16px, 2.4vw, 22px) clamp(18px, 2.4vw, 22px);
  border-top: 1px solid var(--ky-line-faint);
}

.ct-type__body p {
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ky-mist);
}

.ct-type__body .ct-type__meta {
  font-family: var(--ky-font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--ky-amber);
}

/* ---------- 订阅提醒 ---------- */
.ct-sub {
  padding: var(--ct-space) 0;
  border-top: 1px solid var(--ky-line-faint);
  border-bottom: 1px solid var(--ky-line-faint);
  background: linear-gradient(160deg, rgba(18, 58, 94, .55), rgba(7, 20, 38, 0) 68%);
}

.ct-sub__grid {
  display: grid;
  gap: clamp(26px, 4vw, 52px);
  align-items: center;
}

.ct-sub__lede {
  margin-top: 16px;
  font-size: 16px;
  line-height: 1.78;
  color: var(--ky-mist);
  max-width: 52ch;
}

.ct-pulse {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--ky-orange);
  vertical-align: middle;
  box-shadow: 0 0 0 0 rgba(255, 107, 26, .55);
  animation: ct-pulse 2.2s var(--ky-ease) infinite;
}

@keyframes ct-pulse {
  70% {
    box-shadow: 0 0 0 12px rgba(255, 107, 26, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 107, 26, 0);
  }
}

.ct-sub__steps {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
  counter-reset: ctSub;
}

.ct-sub__steps li {
  position: relative;
  padding-left: 40px;
  font-size: 15px;
  line-height: 1.7;
}

.ct-sub__steps li::before {
  counter-increment: ctSub;
  content: counter(ctSub, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 2px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  font-family: var(--ky-font-mono);
  font-size: 11px;
  color: var(--ky-green);
  border: 1px solid rgba(57, 255, 136, .45);
}

.ct-sub__actions {
  margin-top: 26px;
}

.ct-sub__media {
  margin: 0;
  aspect-ratio: 1 / 1;
  border: 1px solid var(--ky-line-faint);
  background: var(--ky-ink);
  overflow: hidden;
}

.ct-sub__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- 处理流程 ---------- */
.ct-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--ct-gap);
}

.ct-step {
  padding: clamp(20px, 3vw, 26px);
  border: 1px solid var(--ky-line-faint);
  border-top: 2px solid var(--ky-orange);
  background: rgba(13, 34, 61, .5);
}

.ct-step__n {
  font-family: var(--ky-font-mono);
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--ky-orange);
}

.ct-step h3 {
  margin-top: 12px;
  font-size: 18px;
  font-weight: 800;
}

.ct-step p {
  margin-top: 10px;
  font-size: 14.5px;
  line-height: 1.72;
  color: var(--ky-mist);
}

/* ---------- 常见场景 ---------- */
.ct-scenes__list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--ky-line-faint);
}

.ct-scene {
  display: grid;
  gap: 10px;
  padding: clamp(18px, 2.6vw, 26px) 0;
  border-bottom: 1px solid var(--ky-line-faint);
}

.ct-scene h3 {
  font-size: clamp(16px, 2vw, 19px);
  font-weight: 700;
}

.ct-scene p {
  font-size: 14.5px;
  line-height: 1.72;
  color: var(--ky-mist);
}

.ct-scene a {
  justify-self: start;
  font-family: var(--ky-font-mono);
  font-size: 13px;
  letter-spacing: .02em;
  color: var(--ky-orange);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 107, 26, .4);
  padding-bottom: 2px;
  white-space: nowrap;
  word-break: break-word;
}

.ct-scene a:hover,
.ct-scene a:focus-visible {
  color: var(--ky-amber);
}

/* ---------- 底部提示 ---------- */
.ct-tail {
  padding: clamp(30px, 5vw, 56px) 0 clamp(48px, 7vw, 92px);
}

.ct-tail__inner {
  display: grid;
  gap: 20px;
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid var(--ky-line-soft);
  background: linear-gradient(120deg, rgba(255, 107, 26, .13), rgba(7, 20, 38, .42) 62%);
}

.ct-tail__inner p {
  margin-top: 12px;
  max-width: 56ch;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ky-mist);
}

.ct-tail__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- 响应式 ---------- */
@media (min-width: 720px) {
  .ct-types__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ct-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ct-hero__facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 820px) {
  .ct-line {
    grid-template-columns: 116px minmax(0, 1fr) minmax(0, 1.25fr);
    gap: 22px;
    align-items: baseline;
  }

  .ct-scene {
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.5fr) auto;
    gap: 24px;
    align-items: center;
  }
}

@media (min-width: 900px) {
  .ct-hero__grid {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
    gap: clamp(32px, 4vw, 64px);
  }

  .ct-sub__grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  }

  .ct-tail__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }
}

@media (min-width: 1100px) {
  .ct-steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .ct-hero__media {
    clip-path: polygon(0 0, 92% 0, 100% 7%, 100% 100%, 8% 100%, 0 93%);
  }

  .ct-hero__facts {
    gap: 18px;
  }

  .ct-scene a {
    white-space: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-contact .ct-pulse {
    animation: none;
  }

  .page-contact .ct-type__plus::after {
    transition: none;
  }

  .page-contact .ct-type {
    transition: none;
  }
}
