.demo-page {
  min-height: 100vh;
}

.demo-nav-shell {
  justify-content: space-between;
}

.demo-nav-actions {
  margin-left: auto;
}

.demo-main {
  padding: 52px 0 88px;
}

.demo-section {
  padding-top: 28px;
}

.demo-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 32px;
  align-items: start;
}

.demo-copy,
.demo-form-shell {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.demo-copy {
  padding: 42px;
  background:
    radial-gradient(circle at top left, rgba(56, 216, 255, 0.16), transparent 0 34%),
    linear-gradient(180deg, rgba(7, 18, 30, 0.94), rgba(4, 11, 20, 0.98));
}

.demo-copy h1 {
  margin-bottom: 18px;
  font-size: clamp(2.7rem, 5vw, 4.3rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.demo-lead {
  max-width: 56ch;
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--muted-strong);
}

.demo-highlights {
  display: grid;
  gap: 16px;
  margin-top: 36px;
}

.demo-highlight-card {
  padding: 22px 24px;
  border: 1px solid rgba(121, 240, 209, 0.14);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
}

.demo-highlight-card strong {
  display: block;
  margin-bottom: 8px;
}

.demo-highlight-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.6;
}

.demo-form-shell {
  padding: 30px;
  background: rgba(255, 255, 255, 0.97);
  color: #122437;
}

.demo-form-header {
  margin-bottom: 22px;
}

.demo-kicker {
  margin-bottom: 10px;
  color: #557086;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.76rem;
}

.demo-form-header h2 {
  margin-bottom: 0;
  font-size: 2rem;
  color: #091a2a;
}

.demo-form {
  display: grid;
  gap: 12px;
}

.demo-form label {
  font-weight: 700;
  color: #183147;
}

.demo-form input,
.demo-form textarea {
  width: 100%;
  padding: 15px 16px;
  border: 1px solid rgba(18, 43, 63, 0.14);
  border-radius: 16px;
  background: #f7fbff;
  color: #0d2235;
  font: inherit;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.demo-form input:focus,
.demo-form textarea:focus {
  outline: none;
  border-color: rgba(56, 216, 255, 0.7);
  box-shadow: 0 0 0 4px rgba(56, 216, 255, 0.12);
  background: #ffffff;
}

.demo-form textarea {
  resize: vertical;
  min-height: 156px;
}

.demo-submit {
  margin-top: 10px;
  width: 100%;
}

.demo-submit[disabled] {
  cursor: wait;
  opacity: 0.72;
}

.demo-form-message {
  min-height: 24px;
  margin-top: 16px;
  color: #1b5e20;
  font-weight: 600;
}

.demo-form-message.is-error {
  color: #b3261e;
}

@media (max-width: 980px) {
  .demo-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .demo-main {
    padding: 28px 0 64px;
  }

  .demo-copy,
  .demo-form-shell {
    padding: 24px;
  }

  .demo-copy h1 {
    font-size: 2.5rem;
  }
}
