.demo-main { padding: 144px 24px 80px; }
.demo-intro { max-width: 800px; margin: 0 auto 64px; text-align: center; }
.demo-intro :is(h1, h2) { margin: 0 0 20px; font-size: clamp(36px, 4.4vw, 54px); font-weight: 500; line-height: 1.08; letter-spacing: -.045em; text-wrap: balance; }
.demo-intro > p:last-child { max-width: 540px; margin: 0 auto; color: var(--ink-60); font-size: 19px; line-height: 1.55; text-wrap: pretty; }
.demo-panel { max-width: 1230px; margin: 0 auto; padding: 80px 64px; border: 1px solid #ffeadb; border-radius: 40px; background: linear-gradient(180deg, #fff5ed, #fff 90%); }
.demo-layout { display: grid; grid-template-columns: minmax(0, 343px) minmax(0, 440px); justify-content: center; align-items: start; gap: 80px; }
.demo-benefits { min-width: 0; }
.demo-benefit + .demo-benefit { margin-top: 22px; padding-top: 22px; position: relative; }
.demo-benefit + .demo-benefit::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 1px; background: linear-gradient(90deg, #d6c1b2, transparent); }
.demo-benefit :is(h2, h3) { margin: 0 0 12px; font-size: 20px; font-weight: 500; line-height: 1.4; }
.demo-benefit ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.demo-benefit li { display: flex; align-items: flex-start; gap: 10px; font-size: 17px; line-height: 1.6; color: #49413c; }
.demo-benefit svg { flex: 0 0 20px; width: 20px; height: 20px; margin-top: 3px; color: var(--brand-deep); }
.demo-booking { --calendar-height: 660px; position: relative; min-width: 0; width: 100%; height: var(--calendar-height); border-radius: 30px; background: white; box-shadow: 0 8px 32px rgba(77, 31, 17, .08); overflow: hidden; }
/* Reserve space before the widget loads and constrain third-party inline sizing. */
#demo-calendar { height: 100% !important; background: white; }
.demo-booking iframe { display: block; width: 100%; height: 100% !important; border: 0; background: white; }
.demo-booking[aria-busy="true"] #demo-calendar { opacity: 0; pointer-events: none; }
.demo-loading { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; color: var(--ink-60); font-size: 14px; background: white; }
.demo-booking[aria-busy="false"] .demo-loading { display: none; }
.demo-loading__spinner { width: 28px; height: 28px; border: 2px solid var(--brand-soft); border-top-color: var(--brand-deep); border-radius: 50%; animation: demo-spin .8s linear infinite; }
.demo-booking .calendly-spinner { display: none; }
.demo-booking-error { padding: 32px; color: var(--ink-60); line-height: 1.6; }
.demo-booking-error a { color: var(--brand-deep); text-decoration: underline; }
.demo-booking--unavailable { height: auto; }
.demo-booking:has(.demo-booking-error:not([hidden])):not(.demo-booking--unavailable) { height: auto; }
.demo-booking:has(.demo-booking-error:not([hidden])):not(.demo-booking--unavailable) #demo-calendar { height: var(--calendar-height) !important; }
@keyframes demo-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .demo-loading__spinner { animation: none; } }
@media (max-width: 1000px) {
  .demo-panel { padding: 48px 32px; }
  .demo-layout { gap: 36px; }
}
@media (max-width: 760px) {
  .demo-main { padding: 124px 16px 48px; }
  .demo-intro { margin-bottom: 36px; }
  .demo-intro > p:last-child { font-size: 17px; }
  .demo-panel { padding: 32px 20px; border-radius: 28px; }
  .demo-layout { grid-template-columns: minmax(0, 440px); gap: 36px; }
  .demo-booking { --calendar-height: 700px; border-radius: 20px; }
}
@media (max-width: 380px) {
  .demo-panel { padding: 28px 8px; }
  .demo-benefits { padding: 0 8px; }
}

#talk.demo-home { padding: 88px 24px 80px; scroll-margin-top: 100px; }
@media (max-width: 760px) { #talk.demo-home { padding: 56px 16px 48px; } }
