.page-contact {
  --ct-card-bg: rgba(20, 42, 62, 0.62);
  --ct-line-soft: rgba(195, 208, 219, 0.14);
}

.page-contact .ct-hero {
  position: relative;
  overflow: hidden;
  padding-block: 18px 0;
}

.page-contact .ct-hero::before {
  content: "";
  position: absolute;
  inset: -80px -40px auto -40px;
  height: 320px;
  background:
    linear-gradient(112deg, var(--c-ink-2) 0%, rgba(20, 42, 62, 0.42) 54%, rgba(11, 27, 43, 0) 80%),
    linear-gradient(300deg, rgba(61, 245, 138, 0.14) 0%, rgba(61, 245, 138, 0) 48%);
  clip-path: polygon(0 0, 100% 0, 100% 56%, 0 100%);
  pointer-events: none;
}

.page-contact .ct-hero__inner {
  position: relative;
  z-index: 1;
}

.page-contact h1 {
  margin: 0 0 16px;
  font-family: var(--font-narrow);
  font-size: clamp(28px, 5.4vw, 44px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: var(--c-paper);
  max-width: 22ch;
}

.page-contact .ct-hero__lede {
  margin: 0 0 4px;
  max-width: 60ch;
  font-size: 16px;
  line-height: 1.85;
  color: var(--paper-72);
}

.page-contact .ct-quick {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  margin-top: 28px;
  background: var(--ct-line-soft);
  border: 1px solid var(--ct-line-soft);
  border-radius: var(--r-sm);
  overflow: hidden;
}

.page-contact .ct-quick__item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 16px;
  background: var(--c-ink);
}

.page-contact .ct-quick__label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--paper-52);
}

.page-contact .ct-quick__value {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--c-paper);
  word-break: break-all;
}

.page-contact .ct-quick__value--key {
  color: var(--c-lime);
}

.page-contact .ct-body {
  padding-top: 40px;
}

.page-contact .ct-body__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.page-contact .ct-rail,
.page-contact .ct-flow {
  min-width: 0;
}

.page-contact .ct-rail {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 12px;
}

.page-contact .ct-rail__title {
  margin: 0;
  font-family: var(--font-narrow);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--c-paper);
}

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

.page-contact .ct-channel {
  position: relative;
  padding: 22px 18px 18px;
  background: var(--c-paper);
  color: var(--c-ink);
  border: 1px solid var(--line-34);
  border-radius: var(--r-md);
  box-shadow: 5px 5px 0 rgba(7, 17, 28, 0.5);
}

.page-contact .ct-channel::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-image: repeating-linear-gradient(
    0deg,
    rgba(11, 27, 43, 0.05) 0 1px,
    transparent 1px 5px
  );
  opacity: 0.5;
  pointer-events: none;
}

.page-contact .ct-channel__label {
  position: absolute;
  top: -11px;
  left: 12px;
  padding: 3px 9px;
  background: var(--c-sand);
  color: var(--c-ink);
  border: 1px solid var(--line-34);
  border-radius: var(--r-sm);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  transform: rotate(-1.8deg);
}

.page-contact .ct-channel__name {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink-58);
}

.page-contact .ct-channel__value {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--c-ink);
  word-break: break-all;
}

.page-contact .ct-channel__use {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-58);
}

.page-contact .ct-flow {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.page-contact .ct-block h2 {
  margin: 0 0 14px;
  padding-left: 14px;
  border-left: 3px solid var(--c-lime);
  font-family: var(--font-narrow);
  font-size: clamp(20px, 3.4vw, 24px);
  font-weight: 800;
  line-height: 1.32;
  letter-spacing: -0.01em;
  color: var(--c-paper);
}

.page-contact .ct-block__sub {
  margin-top: 30px;
}

.page-contact .ct-block p {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--paper-72);
}

.page-contact .ct-block p:last-child {
  margin-bottom: 0;
}

.page-contact .ct-block a {
  color: var(--c-cyan);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-contact .ct-block a:hover,
.page-contact .ct-block a:focus-visible {
  color: var(--c-lime);
}

.page-contact .ct-block__foot {
  margin-top: 16px;
  font-size: 14px;
  color: var(--paper-52);
}

.page-contact .ct-scale {
  margin: 20px 0 22px;
  padding: 18px 16px 14px;
  background: var(--c-ink-2);
  border: 1px solid var(--line-14);
  border-radius: var(--r-md);
}

.page-contact .ct-scale__head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--paper-52);
}

.page-contact .ct-scale__track {
  position: relative;
  height: 16px;
  background: var(--line-08);
  border: 1px solid var(--line-20);
  border-radius: var(--r-sm);
  overflow: hidden;
  transition: border-color 160ms var(--ease), box-shadow 160ms var(--ease);
}

.page-contact .ct-scale__fill {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(61, 245, 138, 0.82), rgba(57, 198, 230, 0.82));
}

.page-contact .ct-scale__ticks {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    90deg,
    rgba(7, 17, 28, 0.5) 0 1px,
    transparent 1px 12.5%
  );
}

.page-contact .ct-scale:hover .ct-scale__track,
.page-contact .ct-scale:focus-within .ct-scale__track {
  border-color: var(--c-lime);
  box-shadow: 0 0 0 1px rgba(61, 245, 138, 0.35);
}

.page-contact .ct-scale__axis {
  display: flex;
  justify-content: space-between;
  margin-top: 9px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--paper-52);
}

.page-contact .ct-scale__note {
  display: block;
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: rgba(242, 246, 250, 0.34);
  transition: color 160ms var(--ease);
}

.page-contact .ct-scale:hover .ct-scale__note {
  color: var(--c-lime);
}

.page-contact .ct-prio {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  counter-reset: ct-prio;
}

.page-contact .ct-prio li {
  counter-increment: ct-prio;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 10px;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px solid var(--line-08);
  font-size: 14px;
  line-height: 1.7;
  color: var(--paper-72);
}

.page-contact .ct-prio li::before {
  content: counter(ct-prio, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--c-cyan);
}

.page-contact .ct-req {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.page-contact .ct-req li {
  position: relative;
  padding: 13px 15px 13px 46px;
  background: var(--ct-card-bg);
  border-left: 2px solid var(--line-20);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--paper-72);
}

.page-contact .ct-req li::before {
  content: "✓";
  position: absolute;
  left: 15px;
  top: 13px;
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  color: var(--c-lime);
}

.page-contact .ct-req strong {
  color: var(--c-paper);
  font-weight: 700;
}

.page-contact .ct-shot {
  margin: 22px 0 6px;
}

.page-contact .ct-types {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.page-contact .ct-type {
  padding: 16px 16px 14px;
  background: var(--ct-card-bg);
  border: 1px solid var(--line-14);
  border-radius: var(--r-md);
}

.page-contact .ct-type__k {
  display: inline-block;
  margin: 0 0 12px;
  padding: 3px 9px;
  border: 1px solid rgba(61, 245, 138, 0.42);
  border-radius: var(--r-sm);
  background: rgba(61, 245, 138, 0.08);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--c-lime);
}

.page-contact .ct-type__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.page-contact .ct-type__list li {
  position: relative;
  padding-left: 14px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--paper-72);
}

.page-contact .ct-type__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 5px;
  height: 5px;
  background: var(--c-cyan);
  border-radius: 1px;
}

.page-contact .ct-block--self {
  padding: 22px 20px 20px;
  background: var(--c-ink-2);
  border: 1px solid var(--line-14);
  border-radius: var(--r-md);
}

.page-contact .ct-self {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  display: grid;
  gap: 1px;
  background: var(--line-08);
  border-radius: var(--r-sm);
  overflow: hidden;
}

.page-contact .ct-self li {
  background: var(--c-ink-2);
  padding: 0;
}

.page-contact .ct-self a {
  display: block;
  padding: 13px 14px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--c-paper);
  text-decoration: none;
  border-left: 2px solid transparent;
  transition: border-color 160ms var(--ease), background-color 160ms var(--ease);
}

.page-contact .ct-self a:hover,
.page-contact .ct-self a:focus-visible {
  border-left-color: var(--c-lime);
  background: rgba(61, 245, 138, 0.06);
  color: var(--c-lime);
}

.page-contact .ct-self__more {
  margin: 0;
  font-size: 14px;
}

.page-contact .ct-close {
  padding: 20px 18px;
  background: var(--c-deep);
  border: 1px solid var(--line-14);
  border-radius: var(--r-md);
}

.page-contact .ct-close p {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--paper-72);
}

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

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

  .page-contact .ct-block p {
    font-size: 16px;
  }
}

@media (min-width: 1000px) {
  .page-contact .ct-body {
    padding-top: 52px;
  }

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

  .page-contact .ct-hero__lede {
    font-size: 17px;
  }
}
