.domain-sale {
  max-width: 55rem;
  overflow: hidden;
  margin-block: clamp(2rem, 5vw, 5.25rem) clamp(3rem, 7vw, 7rem);
  border: 1px solid #413e48;
  border-radius: clamp(0.9rem, 2vw, 1.5rem);
  background: #121215;
}

.domain-sale-head,
.domain-offer {
  padding: clamp(1.25rem, 4vw, 3.6rem);
}

.domain-sale-head {
  background: radial-gradient(ellipse at 96% 0%, #332b40, transparent 65%),
    linear-gradient(125deg, #1d1b23, #141419 70%);
  border-bottom: 1px solid #413e48;
}

.domain-sale-head .eyebrow {
  margin-bottom: 1rem;
  color: #c9bdd9;
}

.domain-sale-head h1 {
  font-weight: 500;
  font-size: clamp(2.75rem, 8.5vw, 6.2rem);
  line-height: 1.02;
  overflow-wrap: anywhere;
}

.domain-sale-head h1 span {
  color: #bcb2cd;
}

.domain-sale-intro {
  margin-top: 1.05rem;
  color: #d0cdd5;
  max-width: 55ch;
}

.domain-offer h2 {
  font-size: clamp(1.7rem, 3vw, 2.45rem);
  margin-bottom: 1.55rem;
}

.domain-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem clamp(0.75rem, 2vw, 1.35rem);
}

.domain-fields label {
  display: grid;
  gap: 0.4rem;
  align-content: start;
  min-width: 0;
  font-size: 0.94rem;
  font-weight: 500;
}

.domain-fields small {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 400;
}

.domain-wide {
  grid-column: 1 / -1;
}

.domain-fields :is(input, textarea) {
  width: 100%;
  min-width: 0;
  border: 1px solid #676571;
  border-radius: 0.6rem;
  background: #0b0b0e;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 400;
  padding: 0.7rem 0.9rem;
}

.domain-fields input {
  min-height: 3.1rem;
}

.domain-fields textarea {
  resize: vertical;
}

.domain-amount-input {
  position: relative;
}

.domain-amount-input input {
  min-height: 3.7rem;
  padding-right: 4.5rem;
  font: 500 1.45rem/1.2 var(--sans);
}

.domain-amount-input input::placeholder {
  color: #97939f;
}

.domain-amount-input > span {
  position: absolute;
  inset: 50% 1rem auto auto;
  transform: translateY(-50%);
  color: #c3becd;
  font: 500 0.8rem/1 var(--mono);
  pointer-events: none;
}

.domain-offer-footer {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
}

.domain-offer-footer p {
  max-width: 43ch;
  color: var(--muted);
  font-size: 0.88rem;
}

.domain-offer-footer a {
  color: var(--ink);
}

.domain-offer-footer button {
  flex: none;
}

@media (max-width: 36rem) {
  .domain-fields {
    grid-template-columns: minmax(0, 1fr);
  }

  .domain-offer-footer {
    align-items: stretch;
    flex-direction: column;
  }
}
