.contact-page .legal-page-inner {
  width: min(100%, 1180px);
}

.contact-hero-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.contact-channel-card {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 210px;
  padding: 24px;
  border: 1px solid rgba(129, 165, 176, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015)),
    rgba(14, 30, 40, 0.84);
  color: inherit;
  text-decoration: none;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.16);
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.contact-channel-card:hover,
.contact-channel-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(119, 227, 192, 0.42);
  background-color: rgba(18, 38, 48, 0.96);
  outline: none;
}

.contact-channel-card span {
  color: #77e3c0;
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.contact-channel-card strong {
  overflow-wrap: anywhere;
  color: #f7fbff;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.25;
}

.contact-channel-card p {
  margin: 0;
  color: rgba(208, 225, 231, 0.72);
  font-size: 14px;
  line-height: 1.65;
}

.contact-document {
  margin-top: 18px;
}

.contact-inline-action a {
  color: #77e3c0;
  font-weight: 760;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-inline-action a:hover,
.contact-inline-action a:focus-visible {
  color: #a2f2d7;
}

@media (max-width: 920px) {
  .contact-hero-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .contact-hero-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 26px;
  }

  .contact-channel-card,
  .contact-channel-card:last-child {
    grid-column: auto;
    min-height: 0;
    padding: 20px;
  }
}
