.accent-contact {
  --accent: #B73D5E;
  --accent-soft: #FBEBF0;
  --accent-deep: #8A2843;
}

.ct-main {
  padding-bottom: clamp(3rem, 8vh, 5rem);
}

.ct-steps,
.ct-wide {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.75rem;
}

.ct-wide {
  padding-top: 0.75rem;
}

.ct-pair {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.75rem;
}

.ct-step {
  position: relative;
  min-width: 0;
  padding: var(--cap-pad);
  color: var(--text-main);
}

.ct-step::before {
  content: "";
  position: absolute;
  top: 28px;
  bottom: 28px;
  left: 0;
  width: 4px;
  background: var(--accent);
  border-radius: 0 4px 4px 0;
}

.ct-step .num {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.65rem;
  color: var(--accent-deep);
  background: var(--accent-soft);
  border-radius: var(--pill);
}

.ct-step-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.ct-step-title {
  margin: 0;
  font-size: clamp(1.35rem, 2.6vw, 1.75rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
}

.ct-step-text {
  max-width: 60ch;
  margin: 0.75rem 0 0;
  color: var(--text-muted);
}

.ct-details {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.ct-details li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-weight: 600;
  color: var(--heading-primary);
}

.ct-details .icon {
  --icon-size: 20px;
  margin-top: 0.15rem;
  color: var(--accent);
}

.ct-details a {
  color: var(--heading-primary);
  text-decoration: none;
}

.ct-details a:hover {
  color: var(--link-hover);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ct-details-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-subtle);
}

.ct-or {
  position: relative;
  margin: 0;
  padding: 0.25rem 0;
  text-align: center;
}

.ct-or::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--border-light);
}

.ct-or span {
  position: relative;
  display: inline-block;
  padding: 0 1rem;
  background: var(--bg-primary);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-subtle);
}

.ct-form {
  display: grid;
  gap: 1.1rem;
  margin-top: 1.5rem;
}

.ct-form--inline {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
}

.ct-field {
  display: grid;
  gap: 0.4rem;
  min-width: 0;
}

.ct-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--heading-primary);
}

.ct-input {
  width: 100%;
  padding: 0.85rem 1rem;
  font: inherit;
  font-size: 1rem;
  color: var(--text-main);
  background: var(--bg-primary);
  border: 1px solid #C5D3DE;
  border-radius: var(--radius-sm);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.ct-input::placeholder {
  color: var(--text-subtle);
}

.ct-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent);
}

.ct-textarea {
  min-height: 9rem;
  resize: vertical;
}

.ct-submit {
  justify-self: start;
}

.ct-form--inline .ct-submit {
  justify-self: stretch;
}

.ct-consent {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-subtle);
}

.ct-consent a {
  color: var(--accent-deep);
  text-underline-offset: 3px;
}

.ct-consent a:hover {
  color: var(--link-hover);
}

.ct-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.ct-status {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
}

.ct-status:empty {
  display: none;
}

.ct-status.is-success {
  color: #1D7A46;
}

.ct-status.is-error {
  color: #B3261E;
}

.ct-input[aria-invalid="true"] {
  border-color: #B3261E;
}

.ct-submit[disabled] {
  opacity: 0.6;
  cursor: progress;
}

@media (min-width: 861px) {
  .ct-pair {
    position: relative;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 2.5rem;
  }

  .ct-or--pair {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 4rem;
    height: 4rem;
    padding: 0;
    transform: translate(-50%, -50%);
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-radius: 50%;
    box-shadow: var(--shadow-card);
  }

  .ct-or--pair::before {
    display: none;
  }

  .ct-or--pair span {
    padding: 0;
    background: none;
    font-size: 0.72rem;
    letter-spacing: 0.04em;
  }
}

@media (max-width: 560px) {
  .ct-form--inline {
    grid-template-columns: minmax(0, 1fr);
  }

  .ct-submit,
  .ct-form--inline .ct-submit {
    justify-self: stretch;
    justify-content: center;
  }
}
