.book-demo-page main,
.book-demo-page main > .demo-page-hero,
.book-demo-page main > .demo-scheduling { background: var(--panel-alt); }
.book-demo-page .demo-page-hero {
  min-height: clamp(230px, 19vw, 275px);
  padding: 40px 0;
  text-align: center;
}
.demo-page-hero .demo-hero-heading { display: flex; flex-direction: column; align-items: center; }
.demo-page-hero h1 { max-width: none; font-size: clamp(40px, 4.8vw, 66px); font-weight: 500; letter-spacing: -.05em; }
.demo-hero-rule { width: 1px; height: 24px; margin-top: 24px; background: linear-gradient(var(--accent), transparent); opacity: .5; }
.demo-page-hero .demo-hero-streams { opacity: 1; }
.book-demo-page .demo-scheduling { padding: 32px 0 clamp(64px, 8vw, 104px); }
.demo-scheduling-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: clamp(40px, 6vw, 80px); align-items: center; max-width: 1120px; }
.demo-walkthrough { max-width: 440px; }
.demo-walkthrough h2 { margin: 0 0 22px; color: var(--text); font: 500 clamp(29px, 2.8vw, 36px)/1.25 var(--font-display); letter-spacing: -.035em; }
.demo-description { margin: 0; color: var(--muted); font-size: clamp(18px, 1.6vw, 21px); line-height: 1.75; }
.demo-walkthrough h3 { margin: 32px 0 22px; color: var(--text); font-family: var(--font-display); font-size: 19px; line-height: 1.4; font-weight: 600; letter-spacing: -.02em; }
.demo-expectations { display: grid; gap: 22px; list-style: none; padding: 0; margin: 0; }
.demo-expectations li { position: relative; padding-left: 28px; color: var(--text); font-size: 16px; line-height: 1.65; }
.demo-expectations li::before { content: ''; position: absolute; left: 2px; top: 8px; width: 7px; height: 12px; border: solid var(--accent); border-width: 0 1.5px 1.5px 0; transform: rotate(40deg); }
.demo-calendar-column { position: relative; min-width: 0; }
.demo-calendar-shell { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: 0 12px 40px rgba(30,54,74,.035); }
#demo-calendar { width: 100%; min-width: 0; height: 620px; }
#demo-calendar iframe { display: block; width: 100%; border: 0; }
.demo-calendar-status { position: absolute; inset: 0; z-index: 1; margin: 0; padding: 24px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; background: #fff; color: #586a78; text-align: center; font-size: 14px; pointer-events: none; }
.demo-loading-dots { display: flex; gap: 5px; font-size: 20px; line-height: 1; }
.demo-loading-dots > span { animation: demo-type-dot-one 3.6s step-end infinite; }
.demo-loading-dots > span:nth-child(2) { animation-name: demo-type-dot-two; }
.demo-loading-dots > span:nth-child(3) { animation-name: demo-type-dot-three; }
@keyframes demo-type-dot-one { 0%, 100% { opacity: 1; } }
@keyframes demo-type-dot-two { 0%, 95%, 100% { opacity: 0; } 25% { opacity: 1; } }
@keyframes demo-type-dot-three { 0%, 95%, 100% { opacity: 0; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .demo-loading-dots > span { animation: none; opacity: 1; }
}
.demo-calendar-shell.is-ready .demo-calendar-status { display: none; }
.demo-calendar-shell.is-unavailable { min-height: 180px; }
.demo-calendar-shell.is-unavailable #demo-calendar { height: 180px; }
.demo-calendar-noscript { padding: 32px; color: #586a78; }
.demo-calendar-alternative { position: absolute; top: 100%; right: 0; margin: 18px 0 0; text-align: right; font-size: 13px; }
.demo-calendar-alternative a { color: var(--accent); display: inline-flex; gap: 8px; align-items: center; }
.demo-calendar-alternative a:hover { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 900px) {
  .demo-scheduling-grid { grid-template-columns: 1fr; gap: 36px; max-width: 680px; }
  .demo-walkthrough { max-width: none; }
}
@media (max-width: 600px) {
  .book-demo-page .demo-page-hero { min-height: 215px; padding: 32px 0; }
  .demo-page-hero h1 { max-width: 420px; font-size: clamp(35px, 9vw, 48px); }
  .demo-page-hero .demo-hero-streams { width: 180%; max-width: none; left: -40%; opacity: .75; }
  .demo-description { font-size: 17px; }
  .demo-walkthrough h3 { margin-top: 28px; }
  .demo-expectations { gap: 18px; }
  .demo-expectations li { font-size: 15px; }
  .demo-calendar-shell { border-radius: 10px; margin-inline: -8px; }
  .demo-calendar-shell.is-unavailable, .demo-calendar-shell.is-unavailable #demo-calendar { min-height: 180px; }
}
