/* demo.html only (the shared demo styles are in site.css). */
.demo-sms-consent { margin: -6px 0 0; }
.demo-phone .demo-phone-far { margin-top: 4px; font-size: .8rem; }

/* Full use of the width: on wide screens the intro and its steps on the left (they stay in view), the form and the
 * later stages on the right; the three products always in one row of three equal cards (one column on phones, never
 * two plus one). Room at the bottom so the privacy notice never hides the form's buttons. */
.demo-page .demo-wrap { max-width: 1280px; }
.demo-page main { padding-bottom: 120px; }
.demo-choices { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.demo-choice { flex-direction: column; gap: 10px; padding: 18px 16px; min-height: 100%; }
.demo-choice input { margin: 0; }
@media (min-width: 1101px) {
  .demo-page .demo-wrap { grid-template-columns: minmax(300px, 400px) minmax(0, 1fr); column-gap: clamp(40px, 5vw, 80px); row-gap: 0; align-items: start; }
  .demo-page .demo-wrap > section:not([hidden]) ~ section:not([hidden]) { margin-top: 28px; }
  .demo-page .demo-intro { grid-column: 1; grid-row: 1 / span 20; position: sticky; top: 104px; }
  .demo-page .demo-wrap > section { grid-column: 2; }
  .demo-page .demo-steps { flex-direction: column; gap: 14px; margin-top: 28px; padding: 20px 22px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
}
@media (min-width: 1800px) {
  .demo-page .demo-wrap { max-width: 1440px; }
  .demo-page .demo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .demo-page .demo-grid > .demo-sms-consent { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .demo-choices { grid-template-columns: minmax(0, 1fr); }
  .demo-choice { flex-direction: row; gap: 12px; padding: 16px; }
  .demo-choice input { margin-top: 4px; }
}
