/* Request Demo only. Preserve the live site's shared stylesheet and layout. */
body[data-page="request-demo"] .ra-wrap {
  max-width: 820px;
}
body[data-page="request-demo"] .ra-purpose {
  margin-bottom: 1.35rem;
  padding: 1rem 1.05rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #f8fafc;
}
body[data-page="request-demo"] .ra-purpose p {
  margin: 0;
  font-size: .92rem;
  color: var(--muted);
}
body[data-page="request-demo"] .ra-section {
  margin: 0 0 1.5rem;
  padding: 0;
  border: 0;
}
body[data-page="request-demo"] .ra-section legend {
  padding: 0;
  margin-bottom: .85rem;
  font-size: .78rem;
  font-weight: 750;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--primary-deep);
}


/* Request Demo: taller hero, with title and copy safely below the artwork. */
body[data-page="request-demo"] #rd-hero.page-hero {
  min-height: 460px;
  padding-top: clamp(5.5rem, 7vw, 7rem);
  padding-bottom: clamp(3.5rem, 5vw, 5rem);
}
body[data-page="request-demo"] #rd-hero .cs-hero-navy > .wrap {
  position: relative;
  z-index: 2;
}

/* Header rows are now controlled sitewide in assets/css/site.css. */
/* Phones retain the working collapsible navigation; both principal CTAs
   remain reachable without overlap. */
@media (max-width: 760px) {
  body[data-page="request-demo"] #rd-hero.page-hero {
    min-height: 0;
    padding-top: 5rem;
    padding-bottom: 3.5rem;
  }
}

/* Anchor access: leave the business form visible below the fixed header. */
body[data-page="request-demo"] #rd-form-section {
  scroll-margin-top: 9rem;
}

/* Request Demo: compact transition from hero to application form only. */
body[data-page="request-demo"] #rd-hero.page-hero {
  min-height: 0;
  padding-bottom: clamp(1.5rem, 3vw, 2.25rem);
}
body[data-page="request-demo"] #rd-form-section.section-sm {
  padding-top: clamp(1.25rem, 2.5vw, 2rem);
}
