.demo-main {
  padding: 7rem 0 5rem;
  background: #fff;
}

.demo-grid {
  display: grid;
  gap: 3rem;
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.5rem;
  align-items: center;
}

@media (min-width: 960px) {
  .demo-main {
    min-height: calc(100vh - 12rem);
    padding: 8rem 0 6rem;
  }

  .demo-grid {
    grid-template-columns: 1fr 1fr;
    gap: clamp(3rem, 7vw, 5.5rem);
  }
}

.demo-copy h1 {
  margin: 0;
  font-size: clamp(2.25rem, 4.5vw, 3.25rem);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.03em;
}

.demo-copy-lead {
  margin: 1.5rem 0 0;
  max-width: 26rem;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: rgba(0, 0, 0, 0.55);
}

.demo-logos {
  margin-top: 3rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.75rem 2.25rem;
}

.demo-logos img {
  display: block;
  height: 1.375rem;
  width: auto;
  max-width: 6.5rem;
  object-fit: contain;
}

@media (min-width: 768px) {
  .demo-logos img {
    height: 1.625rem;
  }
}

.demo-form {
  display: grid;
  gap: 0;
}

.demo-field {
  display: grid;
  gap: 0.375rem;
  margin-bottom: 1rem;
}

.demo-field label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(0, 0, 0, 0.72);
}

.demo-field input,
.demo-field textarea {
  width: 100%;
  border: 1px solid #E7E5E2;
  border-radius: 0.5rem;
  padding: 0.6875rem 0.75rem;
  font: inherit;
  font-size: 0.9375rem;
  color: inherit;
  background: #fff;
  transition: border-color 0.15s ease;
}

.demo-field input:focus,
.demo-field textarea:focus {
  outline: none;
  border-color: rgba(0, 0, 0, 0.35);
}

.demo-field textarea {
  min-height: 5.5rem;
  resize: vertical;
}

.demo-checks {
  display: grid;
  gap: 0.75rem;
  margin: 0.25rem 0 1.25rem;
}

.demo-check {
  display: flex;
  gap: 0.625rem;
  align-items: flex-start;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: rgba(0, 0, 0, 0.62);
}

.demo-check input {
  margin-top: 0.2rem;
  flex: none;
}

.demo-check a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.demo-submit {
  width: 100%;
  border: 0;
  border-radius: 999px;
  padding: 0.8125rem 1.25rem;
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #fff;
  background: #0a0a0a;
  cursor: pointer;
  transition: opacity 0.15s ease;
}

.demo-submit:hover:not(:disabled) {
  opacity: 0.88;
}

.demo-submit:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.demo-error {
  margin-top: 0.75rem;
  font-size: 0.8125rem;
  color: #b42318;
}

.demo-success {
  display: none;
  padding: 2rem 0;
}

.demo-success.is-visible {
  display: block;
}

.demo-success h2 {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.demo-success p {
  margin-top: 0.625rem;
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(0, 0, 0, 0.55);
  max-width: 24rem;
}

.demo-form.is-hidden {
  display: none;
}
