.page-contact {
  background: var(--yt-ink-900);
  color: var(--yt-paper-50);
}

.page-contact .ct-crumbs-dark .yt-crumbs__link {
  color: var(--yt-steel-200);
}

.page-contact .ct-crumbs-dark .yt-crumbs__link[aria-current="page"] {
  color: var(--yt-orange-300);
}

/* ---------- Hero ---------- */

.ct-hero {
  position: relative;
  padding: 108px 0 56px;
  background:
    radial-gradient(120% 88% at 84% 0%, rgba(255, 90, 31, .16), transparent 58%),
    linear-gradient(166deg, var(--yt-ink-700) 0%, var(--yt-ink-900) 68%);
  overflow: hidden;
}

.ct-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(45deg, rgba(169, 195, 214, .06) 0 1px, transparent 1px 18px);
  pointer-events: none;
}

.ct-hero__inner {
  position: relative;
}

.ct-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
  margin-top: 30px;
}

.ct-hero__title {
  margin: 18px 0 0;
  font-family: var(--yt-font-head);
  font-weight: 800;
  font-size: clamp(32px, 7vw, 58px);
  line-height: 1.08;
  letter-spacing: -.025em;
  color: var(--yt-paper-50);
}

.ct-hero__lead {
  margin: 20px 0 0;
  max-width: 46ch;
  font-size: 17px;
  line-height: 1.75;
  color: var(--yt-steel-200);
}

.ct-hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.ct-hero__figure {
  margin: 0;
  clip-path: var(--yt-cut);
  background: var(--yt-ink-700);
  position: relative;
}

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

/* ---------- 主体左右分屏 ---------- */

.ct-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
  padding: 56px 0 80px;
}

/* ---------- 左侧联系面板 ---------- */

.ct-rail__panel {
  position: relative;
  padding: 28px 22px 24px;
  background: var(--yt-ink-700);
  clip-path: var(--yt-cut);
}

.ct-rail__panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 58px;
  height: 3px;
  background: var(--yt-orange-500);
}

.ct-rail__title {
  margin: 0 0 8px;
  font-family: var(--yt-font-head);
  font-size: 21px;
  line-height: 1.32;
  letter-spacing: -.01em;
  color: var(--yt-paper-50);
}

.ct-rail__note {
  margin: 0 0 20px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--yt-steel-200);
}

.ct-channel {
  padding: 18px 0;
  border-top: 1px solid var(--yt-line);
  overflow-wrap: anywhere;
}

.ct-channel__key {
  display: block;
  font-family: var(--yt-font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--yt-orange-300);
}

.ct-channel__val {
  display: block;
  margin-top: 8px;
  font-size: 17px;
  line-height: 1.5;
  color: var(--yt-paper-50);
}

.ct-channel__val--mono {
  font-family: var(--yt-font-mono);
  font-size: 15px;
  letter-spacing: -.01em;
}

.ct-channel__hint {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--yt-steel-200);
}

.ct-copy {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}

.ct-copy__status {
  margin: 0;
  min-height: 1.2em;
  font-family: var(--yt-font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--yt-lime-400);
}

/* ---------- 右侧连续画布 ---------- */

.ct-flow {
  display: grid;
  gap: 0;
}

.ct-block {
  padding: 36px 0;
  border-top: 1px solid var(--yt-line-soft);
  scroll-margin-top: calc(var(--yt-header-h-compact) + 24px);
}

.ct-block:first-child {
  border-top: 0;
  padding-top: 0;
}

.ct-block__title {
  margin: 0;
  font-family: var(--yt-font-head);
  font-size: clamp(24px, 3.6vw, 34px);
  line-height: 1.2;
  letter-spacing: -.022em;
  color: var(--yt-paper-50);
}

.ct-block__lead {
  margin: 16px 0 0;
  max-width: 60ch;
  font-size: 16px;
  line-height: 1.75;
  color: var(--yt-steel-200);
}

.ct-flow a {
  color: var(--yt-orange-300);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ct-flow a:hover,
.ct-flow a:focus-visible {
  color: var(--yt-orange-500);
}

.ct-checklist {
  display: grid;
  gap: 14px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.ct-checklist li {
  position: relative;
  padding-left: 26px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--yt-steel-200);
}

.ct-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .78em;
  width: 14px;
  height: 2px;
  background: var(--yt-orange-500);
  transform: skewX(-32deg);
}

.ct-checklist strong {
  color: var(--yt-paper-50);
  font-weight: 700;
}

.ct-steps {
  display: grid;
  gap: 18px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: ct-step;
}

.ct-steps li {
  counter-increment: ct-step;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  font-size: 16px;
  line-height: 1.72;
  color: var(--yt-steel-200);
}

.ct-steps li::before {
  content: counter(ct-step, decimal-leading-zero);
  font-family: var(--yt-font-mono);
  font-size: 13px;
  letter-spacing: .08em;
  color: var(--yt-lime-400);
  padding-top: 5px;
}

.ct-note {
  margin: 24px 0 0;
  max-width: 60ch;
  font-size: 15px;
  line-height: 1.78;
  color: var(--yt-steel-200);
  padding-left: 14px;
  border-left: 2px solid var(--yt-line);
}

/* ---------- 合作洽谈 ---------- */

.ct-partner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 26px;
  margin-top: 28px;
}

.ct-partner__figure {
  margin: 0;
  clip-path: var(--yt-cut);
  background: var(--yt-ink-700);
}

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

.ct-partner__body .ct-checklist {
  margin-top: 0;
}

/* ---------- 城市覆盖图例 ---------- */

.ct-legend {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.ct-legend__item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  background: var(--yt-ink-700);
  clip-path: var(--yt-cut-sm);
  transition: background .25s ease;
}

.ct-legend__item:hover {
  background: var(--yt-pitch-500);
}

.ct-legend__dot {
  display: block;
  border-radius: 50%;
  background: var(--yt-orange-500);
}

.ct-legend__item--sh .ct-legend__dot {
  width: 22px;
  height: 22px;
  background: var(--yt-orange-500);
}

.ct-legend__item--bj .ct-legend__dot {
  width: 20px;
  height: 20px;
  background: var(--yt-lime-400);
}

.ct-legend__item--gd .ct-legend__dot {
  width: 18px;
  height: 18px;
  background: var(--yt-steel-200);
}

.ct-legend__item--cd .ct-legend__dot {
  width: 16px;
  height: 16px;
  background: var(--yt-orange-300);
}

.ct-legend__name {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--yt-paper-50);
}

.ct-legend__count {
  font-family: var(--yt-font-mono);
  font-size: 12px;
  line-height: 1.5;
  text-align: right;
  font-variant-numeric: tabular-nums;
  color: var(--yt-steel-200);
}

.ct-legend__count strong {
  font-size: 17px;
  color: var(--yt-lime-400);
}

/* ---------- 收尾 ---------- */

.ct-outro {
  margin-top: 12px;
  padding: 28px 24px;
  border-top: 0;
  background: linear-gradient(118deg, var(--yt-ink-700) 0%, var(--yt-pitch-500) 100%);
  clip-path: var(--yt-cut);
}

.ct-outro p {
  margin: 14px 0 0;
  max-width: 56ch;
  font-size: 16px;
  line-height: 1.75;
  color: var(--yt-paper-50);
}

.ct-outro a {
  color: var(--yt-orange-300);
}

/* ---------- 桌面栅格 ---------- */

@media (min-width: 620px) {
  .ct-legend {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 760px) {
  .ct-partner {
    grid-template-columns: 5fr 7fr;
    gap: 32px;
    align-items: start;
  }
}

@media (min-width: 900px) {
  .ct-hero {
    padding: 132px 0 72px;
  }

  .ct-hero__grid {
    grid-template-columns: 1.05fr .95fr;
    gap: 48px;
    align-items: center;
  }

  .ct-copy {
    margin-top: 0;
  }
}

@media (min-width: 1000px) {
  .ct-body {
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
    gap: 56px;
    align-items: start;
    padding: 72px 0 96px;
  }

  .ct-rail__panel {
    position: sticky;
    top: calc(var(--yt-header-h-compact) + 24px);
    padding: 30px 26px 26px;
  }

  .ct-block {
    padding: 44px 0;
  }
}

@media (max-width: 480px) {
  .ct-hero {
    padding: 96px 0 48px;
  }

  .ct-rail__panel {
    padding: 24px 18px 20px;
  }

  .ct-block {
    padding: 30px 0;
  }

  .ct-legend__item {
    gap: 12px;
    padding: 14px 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ct-legend__item {
    transition: none;
  }
}
