.page-contact {
  --c-line: var(--grid-line);
  --c-card: var(--ink-800);
  --c-card-soft: var(--ink-700);
  --c-pad: 20px;
  background: var(--ink-900);
  color: var(--paper);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

.page-contact .mono {
  font-family: var(--font-mono);
  font-weight: 600;
  letter-spacing: 0.02em;
}

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

.page-contact .media-frame {
  margin: 0;
  overflow: hidden;
}

.page-contact .media-frame img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-contact .media-frame__caption {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

/* ---------- 首屏 ---------- */
.contact-hero {
  position: relative;
  padding: 92px 0 36px;
  border-bottom: 1px solid var(--c-line);
  background:
    radial-gradient(120% 85% at 88% 0%, rgba(53, 225, 209, 0.11), transparent 62%),
    radial-gradient(95% 65% at 0% 8%, rgba(154, 107, 255, 0.12), transparent 66%),
    var(--ink-900);
}

.contact-hero__grid {
  display: grid;
  gap: 28px;
  margin-top: 20px;
}

.contact-hero__title {
  margin: 12px 0 0;
  font-family: var(--font-narrow);
  font-weight: 800;
  font-size: 31px;
  line-height: 1.04;
  letter-spacing: -0.02em;
  max-width: 15em;
}

.contact-hero__lead {
  margin: 16px 0 0;
  max-width: 36em;
  font-size: 16px;
  line-height: 1.75;
  color: var(--muted);
}

.hero-lines {
  list-style: none;
  margin: 24px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--c-line);
  display: grid;
  gap: 10px;
}

.hero-lines__item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 12px;
  align-items: baseline;
}

.hero-lines__key {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--cyan);
}

.hero-lines__val {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  color: var(--paper);
  overflow-wrap: anywhere;
}

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

.contact-hero__actions .btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.contact-hero__media {
  position: relative;
}

.contact-hero__media .media-frame {
  border: 1px solid var(--c-line);
}

/* ---------- 通用章节 ---------- */
.page-contact .psec {
  padding: 46px 0;
  border-top: 1px solid var(--c-line);
}

.page-contact .psec--types {
  border-top: 0;
}

.page-contact .section-head__title {
  margin: 0;
  font-family: var(--font-narrow);
  font-weight: 800;
  font-size: 25px;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.page-contact .section-head__lead {
  margin: 12px 0 0;
  max-width: 36em;
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
}

/* ---------- 三类反馈卡 ---------- */
.fcards {
  display: grid;
  gap: 16px;
  margin-top: 26px;
}

.fcard {
  position: relative;
  padding: 22px var(--c-pad) 20px 24px;
  background: var(--c-card);
  border: 1px solid var(--c-line);
  box-shadow: inset 2px 2px 0 rgba(6, 7, 11, 0.6);
  transition: transform var(--ease), border-color var(--ease), box-shadow var(--ease);
}

.fcard::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--fc, var(--cyan));
}

.fcard--cyan { --fc: var(--cyan); }
.fcard--amber { --fc: var(--amber); }
.fcard--violet { --fc: var(--violet); }

.fcard:focus-visible,
.fcard:hover {
  transform: translateY(-2px);
  border-color: var(--fc, var(--cyan));
  box-shadow: 0 0 0 1px var(--fc, var(--cyan)), inset 2px 2px 0 rgba(6, 7, 11, 0.6);
}

.fcard:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

.fcard__idx {
  display: block;
  font-size: 12px;
  color: var(--violet);
  transition: color var(--ease);
}

.fcard:hover .fcard__idx,
.fcard:focus-visible .fcard__idx {
  color: var(--cyan);
}

.fcard__title {
  margin: 8px 0 0;
  font-family: var(--font-narrow);
  font-weight: 800;
  font-size: 19px;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.fcard__desc {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

.fcard__list {
  list-style: none;
  margin: 14px 0 0;
  padding: 12px 0 0;
  border-top: 1px dashed var(--c-line);
  display: grid;
  gap: 6px;
  font-size: 14px;
}

.fcard__list li {
  position: relative;
  padding-left: 14px;
  line-height: 1.6;
}

.fcard__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.66em;
  width: 6px;
  height: 1px;
  background: var(--fc, var(--cyan));
}

.fcard__hint {
  margin: 14px 0 0;
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
  border-left: 2px solid var(--fc, var(--cyan));
  padding-left: 10px;
}

/* ---------- 上报要素清单 ---------- */
.elements {
  display: grid;
  gap: 26px;
  margin-top: 26px;
}

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

.checklist__item {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 12px;
  align-items: start;
  padding: 14px 16px;
  background: var(--c-card);
  border: 1px solid var(--c-line);
  transition: border-color var(--ease), background var(--ease);
}

.checklist__item:hover {
  border-color: var(--violet-line);
}

.checklist__box {
  appearance: none;
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  margin: 3px 0 0;
  border: 1px solid var(--c-line);
  background: var(--c-card-soft);
  cursor: pointer;
  position: relative;
  flex: none;
}

.checklist__box:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

.checklist__box:checked {
  border-color: var(--cyan);
  background: var(--cyan-soft);
}

.checklist__box:checked::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 1px;
  width: 6px;
  height: 12px;
  border-right: 2px solid var(--cyan);
  border-bottom: 2px solid var(--cyan);
  transform: rotate(42deg);
}

.checklist__body {
  display: block;
  cursor: pointer;
}

.checklist__num {
  display: block;
  font-size: 12px;
  color: var(--violet);
}

.checklist__title {
  display: block;
  margin-top: 2px;
  font-family: var(--font-narrow);
  font-weight: 800;
  font-size: 17px;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.checklist__text {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

.checklist__box:checked + .checklist__body .checklist__num {
  color: var(--cyan);
}

.checklist__box:checked + .checklist__body .checklist__title {
  color: var(--cyan);
}

.elements__media {
  margin: 0;
}

.elements__media .media-frame {
  border: 1px solid var(--c-line);
}

/* ---------- 时效刻度 ---------- */
.timeline {
  margin-top: 26px;
  border-top: 1px solid var(--c-line);
}

.timeline__row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 14px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--c-line);
  transition: background var(--ease);
}

.timeline__row:hover,
.timeline__row:focus-visible {
  background: rgba(19, 24, 38, 0.6);
  outline: none;
}

.timeline__row:focus-visible {
  box-shadow: inset 2px 0 0 var(--cyan);
}

.timeline__label {
  font-family: var(--font-narrow);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.timeline__bar {
  grid-column: 1 / -1;
  grid-row: 2;
  display: block;
  height: 6px;
  background:
    repeating-linear-gradient(90deg, var(--c-line) 0 1px, transparent 1px 14px),
    var(--ink-700);
}

.timeline__fill {
  display: block;
  height: 100%;
  transition: filter var(--ease);
}

.timeline__fill--12 { width: 25%; background: var(--cyan); }
.timeline__fill--24 { width: 50%; background: var(--violet); }
.timeline__fill--48 { width: 100%; background: var(--muted); }

.timeline__num {
  font-size: 20px;
  line-height: 1;
  color: var(--paper);
  text-align: right;
}

.timeline__row:hover .timeline__num,
.timeline__row:focus-visible .timeline__num {
  color: var(--cyan);
}

.timeline__note {
  grid-column: 1 / -1;
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
  transition: color var(--ease);
}

.timeline__row:hover .timeline__note,
.timeline__row:focus-visible .timeline__note {
  color: var(--paper);
}

/* ---------- 合作 ---------- */
.collab {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  border-top: 1px solid var(--c-line);
}

.collab__item {
  display: grid;
  gap: 8px;
  padding: 20px 0;
  border-bottom: 1px solid var(--c-line);
}

.collab__idx {
  font-size: 13px;
  color: var(--violet);
}

.collab__title {
  margin: 0;
  font-family: var(--font-narrow);
  font-weight: 800;
  font-size: 18px;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.collab__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 34em;
}

.collab__how {
  margin: 0;
  padding: 10px 12px;
  font-size: 13px;
  line-height: 1.65;
  background: var(--c-card);
  border-left: 2px solid var(--violet-line);
  color: var(--paper);
}

.collab__tag {
  display: inline-block;
  margin-right: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--cyan);
}

/* ---------- 联系卡片 ---------- */
.contact-card {
  position: relative;
  margin: 28px 0 0;
  padding: 0 8px 8px 0;
}

.contact-card::before {
  content: "";
  position: absolute;
  left: 10px;
  right: 0;
  top: 10px;
  bottom: 0;
  background: var(--c-card-soft);
  border: 1px solid var(--c-line);
}

.contact-card__inner {
  position: relative;
  background: var(--c-card);
  border: 1px solid var(--c-line);
  padding: 6px var(--c-pad);
}

.contact-card__row {
  display: grid;
  gap: 4px;
  padding: 18px 0;
  border-bottom: 1px solid var(--c-line);
}

.contact-card__row:last-child {
  border-bottom: 0;
}

.contact-card__label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--cyan);
}

.contact-card__value {
  font-family: var(--font-narrow);
  font-weight: 800;
  font-size: 18px;
  line-height: 1.35;
  letter-spacing: -0.01em;
  overflow-wrap: anywhere;
}

.contact-card__value--mono {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: 0;
}

.contact-card__note {
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
}

.contact-card__row--legal .contact-card__value--mono {
  font-size: 15px;
  color: var(--muted);
}

.reach-more {
  display: grid;
  gap: 10px;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--c-line);
}

.contact-link {
  display: inline-block;
  font-size: 14px;
  line-height: 1.6;
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid var(--cyan-line);
  padding-bottom: 1px;
  transition: color var(--ease), border-color var(--ease);
}

.contact-link:hover,
.contact-link:focus-visible {
  color: var(--paper);
  border-color: var(--paper);
  outline: none;
}

.contact-link:focus-visible {
  box-shadow: 0 0 0 2px var(--cyan);
}

/* ---------- 中屏 ---------- */
@media (min-width: 720px) {
  .page-contact {
    font-size: 17px;
    --c-pad: 26px;
  }

  .contact-hero {
    padding-top: 116px;
    padding-bottom: 52px;
  }

  .contact-hero__title {
    font-size: 42px;
    max-width: 13em;
  }

  .hero-lines {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 24px;
  }

  .hero-lines__item:last-child {
    grid-column: 1 / -1;
  }

  .page-contact .psec {
    padding: 60px 0;
  }

  .page-contact .section-head__title {
    font-size: 31px;
  }

  .fcards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }

  .elements {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: start;
    gap: 32px;
  }

  .timeline__row {
    grid-template-columns: 200px 1fr 84px;
    gap: 10px 20px;
    align-items: center;
  }

  .timeline__bar {
    grid-column: 2;
    grid-row: 1;
  }

  .timeline__num {
    grid-column: 3;
    grid-row: 1;
    font-size: 22px;
  }

  .timeline__note {
    grid-column: 2 / -1;
    grid-row: 2;
  }

  .collab__item {
    grid-template-columns: 40px 1fr;
    gap: 6px 18px;
    align-items: start;
  }

  .collab__idx {
    grid-row: span 3;
    padding-top: 3px;
  }

  .collab__how {
    grid-column: 2;
  }

  .contact-card__row {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 6px 18px;
    align-items: baseline;
  }

  .contact-card__label {
    padding-top: 4px;
  }

  .contact-card__note {
    grid-column: 2;
  }

  .contact-card__value--mono {
    font-size: 24px;
  }

  .reach-more {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 24px;
  }
}

/* ---------- 大屏 ---------- */
@media (min-width: 1024px) {
  .contact-hero {
    padding-top: 140px;
    padding-bottom: 68px;
  }

  .contact-hero__grid {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: end;
    gap: 48px;
  }

  .contact-hero__title {
    font-size: 56px;
    max-width: 11em;
  }

  .contact-hero__lead {
    font-size: 17px;
  }

  .hero-lines {
    grid-template-columns: 1fr;
    max-width: 30em;
  }

  .hero-lines__item:last-child {
    grid-column: auto;
  }

  .page-contact .section-head__title {
    font-size: 36px;
  }

  .page-contact .section-head__lead {
    font-size: 16px;
  }

  .collab__item {
    grid-template-columns: 40px minmax(0, 1fr) minmax(0, 1fr);
    gap: 8px 28px;
    align-items: start;
  }

  .collab__idx {
    grid-row: span 2;
  }

  .collab__text {
    grid-column: 2;
  }

  .collab__how {
    grid-column: 3;
    grid-row: 1 / span 2;
    align-self: start;
  }

  .contact-card__inner {
    padding: 10px 30px;
  }
}
