.page-contact {
  --ct-edge: clamp(1rem, 2.6vw, 1.6rem);
  display: block;
  overflow-x: clip;
}

/* ---------- 首屏 ---------- */
.page-contact .ct-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(1.25rem, 4vw, 3rem) 0 clamp(2.25rem, 6vw, 4.25rem);
  border-bottom: 2px solid var(--line);
}

.page-contact .ct-hero::before {
  content: "";
  position: absolute;
  top: -22%;
  right: -14%;
  width: min(720px, 76%);
  height: 140%;
  background: var(--panel);
  transform: skewY(-7deg);
  transform-origin: top left;
  z-index: 0;
}

.page-contact .ct-hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: clamp(72px, 16vw, 240px);
  height: 6px;
  background: var(--orange);
  z-index: 1;
}

.page-contact .ct-hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  gap: clamp(1.75rem, 5vw, 3.25rem);
  align-items: start;
}

.page-contact .ct-hero__title {
  margin: 0.6rem 0 1rem;
  font-family: var(--font-sans);
  font-weight: 900;
  font-size: clamp(2.4rem, 8.4vw, 4.9rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--white);
}

.page-contact .ct-hero__accent {
  display: block;
  color: var(--orange);
}

.page-contact .ct-hero__lede {
  max-width: 44ch;
  color: var(--muted);
}

.page-contact .ct-hero__meta {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 1rem 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 0.55rem;
}

.page-contact .ct-hero__meta li {
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.page-contact .ct-hero__meta li::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  background: var(--orange);
  transform: translateY(-1px);
}

.page-contact .ct-hero__figure {
  margin: 0;
}

.page-contact .ct-hero__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 7 / 4;
  object-fit: cover;
  border: 2px solid var(--line);
  background: var(--panel-2);
  box-shadow: var(--shadow-hard);
}

.page-contact .ct-hero__figure figcaption {
  margin-top: 0.8rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--muted);
}

/* ---------- 章节骨架 ---------- */
.page-contact .ct-sec {
  padding: clamp(2rem, 5vw, 3.75rem) 0;
}

.page-contact .ct-sec + .ct-sec {
  border-top: 1px solid var(--line);
}

.page-contact .ct-sec .index-bar {
  align-items: baseline;
}

/* ---------- 渠道面板 ---------- */
.page-contact .ct-channels {
  display: grid;
  gap: var(--gap);
  margin-top: clamp(1.25rem, 3vw, 2rem);
}

.page-contact .ct-chan {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: clamp(1.25rem, 3vw, 1.9rem);
  background: var(--panel);
  border: 2px solid var(--line);
  box-shadow: var(--shadow-hard);
  transition: transform 0.18s var(--ease), border-color 0.18s var(--ease);
}

.page-contact .ct-chan:hover {
  transform: translateY(-2px);
  border-color: var(--orange);
}

.page-contact .ct-chan::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 30px;
  height: 30px;
  background: var(--orange);
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
  pointer-events: none;
}

.page-contact .ct-chan__idx {
  position: absolute;
  top: 0.35rem;
  right: 0.7rem;
  font-family: var(--font-mono);
  font-size: clamp(2.6rem, 7vw, 4rem);
  line-height: 1;
  color: var(--line);
  pointer-events: none;
  user-select: none;
}

.page-contact .ct-chan__title {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--muted);
}

.page-contact .ct-chan__value {
  margin: 0;
  font-family: var(--font-mono);
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  line-height: 1.5;
  color: var(--orange);
  word-break: break-all;
}

.page-contact .ct-chan__note {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--muted);
}

.page-contact .ct-copy {
  margin-top: auto;
  align-self: flex-start;
  min-height: 44px;
  position: relative;
  z-index: 1;
}

.page-contact .ct-copy.is-copied {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--ink);
}

/* ---------- 响应节奏 ---------- */
.page-contact .ct-resp {
  display: grid;
  gap: var(--gap);
  margin-top: clamp(1.25rem, 3vw, 2rem);
}

.page-contact .ct-resp__cap {
  padding: 0 0 0.75rem;
  text-align: left;
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.page-contact .ct-bound {
  padding: clamp(1.1rem, 2.6vw, 1.6rem);
  background: var(--panel);
  border: 2px solid var(--line);
  border-left: 6px solid var(--red);
}

.page-contact .ct-bound__t {
  margin: 0 0 0.9rem;
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--white);
}

.page-contact .ct-bound__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.6rem;
}

.page-contact .ct-bound__list li {
  position: relative;
  padding-left: 1.1rem;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--muted);
}

.page-contact .ct-bound__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 2px;
  background: var(--red);
}

.page-contact .ct-bound__note {
  margin: 1rem 0 0;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
  font-size: 0.875rem;
  line-height: 1.75;
  color: var(--muted);
}

.page-contact .ct-bound__note a {
  color: var(--blue);
  text-decoration: none;
  border-bottom: 1px solid var(--blue);
}

/* ---------- 纠错流程 ---------- */
.page-contact .ct-fix {
  display: grid;
  gap: var(--gap);
  margin-top: clamp(1.25rem, 3vw, 2rem);
}

.page-contact .ct-flow {
  border: 2px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow-hard);
}

.page-contact .ct-step {
  position: relative;
  border-bottom: 1px solid var(--line);
}

.page-contact .ct-step:last-child {
  border-bottom: 0;
}

.page-contact .ct-step + .ct-step::before {
  content: "";
  position: absolute;
  top: -7px;
  left: var(--ct-edge);
  width: 12px;
  height: 12px;
  background: var(--orange);
  transform: rotate(45deg);
  z-index: 2;
}

.page-contact .ct-step__head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(0.75rem, 2vw, 1.1rem);
  width: 100%;
  min-height: 44px;
  padding: clamp(0.9rem, 2.2vw, 1.25rem) var(--ct-edge);
  background: transparent;
  border: 0;
  color: var(--white);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.page-contact .ct-step__no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 44px;
  height: 44px;
  background: var(--panel-2);
  border: 2px solid var(--line);
  color: var(--orange);
  font-family: var(--font-mono);
  font-size: 0.9375rem;
}

.page-contact .ct-step__label {
  font-size: clamp(1rem, 2.2vw, 1.125rem);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.01em;
  transition: color 0.18s var(--ease);
}

.page-contact .ct-step__head:hover .ct-step__label,
.page-contact .ct-step__head:focus-visible .ct-step__label {
  color: var(--orange);
}

.page-contact .ct-step__body {
  padding: 0 var(--ct-edge) clamp(1rem, 2.4vw, 1.35rem);
}

.page-contact .ct-step__body p {
  margin: 0;
  max-width: 54ch;
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--muted);
}

.page-contact .ct-step__body a {
  color: var(--blue);
  text-decoration: none;
  border-bottom: 1px solid var(--blue);
}

.page-contact .ct-fix__fig {
  margin: 0;
}

.page-contact .ct-fix__fig img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 2px solid var(--line);
  background: var(--panel-2);
}

.page-contact .ct-fix__fig figcaption {
  margin-top: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--muted);
}

/* ---------- 合作方向 ---------- */
.page-contact .ct-coop__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem 1.5rem;
  margin-top: clamp(1.25rem, 3vw, 2rem);
}

.page-contact .ct-coop__list {
  display: grid;
  gap: var(--gap);
  margin-top: clamp(1.1rem, 2.6vw, 1.75rem);
}

.page-contact .ct-coop {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: clamp(1.1rem, 2.6vw, 1.6rem);
  background: var(--panel);
  border: 2px solid var(--line);
  border-top: 4px solid var(--panel-2);
  transition: transform 0.18s var(--ease), border-color 0.18s var(--ease);
}

.page-contact .ct-coop:hover {
  transform: translateY(-2px);
  border-color: var(--orange);
  border-top-color: var(--orange);
}

.page-contact .ct-coop__k {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--blue);
}

.page-contact .ct-coop__t {
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.45;
  color: var(--white);
}

.page-contact .ct-coop__d {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--muted);
}

.page-contact .ct-coop__note {
  margin: clamp(1.1rem, 2.6vw, 1.6rem) 0 0;
  padding: 0.9rem 0 0 1rem;
  border-top: 1px solid var(--line);
  border-left: 4px solid var(--orange);
  font-size: 0.875rem;
  line-height: 1.75;
  color: var(--muted);
}

/* ---------- 备案与站点性质 ---------- */
.page-contact .ct-record {
  margin-top: clamp(1.25rem, 3vw, 2rem);
  padding: clamp(1.1rem, 2.8vw, 1.75rem);
  background: var(--panel);
  border: 2px solid var(--line);
  display: grid;
  gap: 0.9rem;
}

.page-contact .ct-record__row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.4rem 1.25rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px dashed var(--line);
}

.page-contact .ct-record__row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.page-contact .ct-record__k {
  flex: none;
  min-width: 5.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.page-contact .ct-record__v {
  flex: 1 1 16rem;
  font-family: var(--font-mono);
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--white);
  word-break: break-word;
}

.page-contact .ct-record__v a {
  color: var(--blue);
  text-decoration: none;
  border-bottom: 1px solid var(--blue);
}

/* ---------- 结尾状态行 ---------- */
.page-contact .ct-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.5rem;
  margin: 0 0 clamp(2rem, 5vw, 3.5rem);
  padding: 1rem 0;
  border-top: 2px solid var(--line);
  border-bottom: 2px solid var(--line);
  font-size: 0.8125rem;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.page-contact .ct-status > span:not(.status-chip) {
  position: relative;
  padding-left: 0.9rem;
}

.page-contact .ct-status > span:not(.status-chip)::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  background: var(--dim);
}

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

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

@media (min-width: 900px) {
  .page-contact .ct-hero__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: center;
  }

  .page-contact .ct-resp {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: start;
  }

  .page-contact .ct-fix {
    grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
    align-items: start;
  }
}

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

  .page-contact .ct-hero::before {
    transform: skewY(-8deg) translateY(-2%);
  }
}

@media (max-width: 560px) {
  .page-contact .ct-chan::after {
    width: 22px;
    height: 22px;
  }

  .page-contact .ct-record__k {
    min-width: 100%;
  }
}
</main>
