/* Section edges only. Pinned library / statement / pricing geometry stays authored. */
.s--demo, .s--logos, .s--features, .s--intro, .s--plan, .s--integrations {
  padding-block: 48px;
}
.s--demo .u-body { max-width: 460px; margin: 16px auto 0 }
.s--demo .cal-block { margin-top: 28px }
.s--features .u-h2-large { margin-bottom: 14px }
.s--intro .u-body { margin-bottom: 0 }
.s--intro .pillars { margin-top: 12px }
@media (max-width: 860px) {
  .s--demo, .s--logos, .s--features, .s--intro, .s--plan, .s--integrations { padding-block: 24px }
}

/* Lightweight recorded previews keep the original card geometry and active-state motion. */
#pillars .pillar { cursor: pointer }
.site-preview {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  overflow: hidden; border: 1px solid rgba(255,255,255,.5); border-radius: 10px;
  background: #f5f5f5; color: #1b1b1b;
  box-shadow: 0 12px 28px rgba(11,45,92,.12);
}
.site-preview__bar {
  display: flex; align-items: center; gap: 4px; flex: 0 0 24px; padding: 0 9px;
  border-bottom: 1px solid rgba(11,45,92,.08); font-size: 10px; line-height: 1;
}
.site-preview__controls { display: flex; gap: 4px; flex: none }
.site-preview__controls svg { width: 11px; height: 11px; display: block }
.site-preview__bar > span:last-child { margin: auto }
.site-preview img { width: 100%; height: 0; min-height: 0; flex: 1; object-fit: cover; object-position: top }
.site-preview__video {
  position: absolute; left: 0; top: 24px; width: 100%; height: calc(100% - 24px);
  object-fit: cover; object-position: top; opacity: 0; pointer-events: none;
  transition: opacity .25s ease;
}
.site-preview__video.is-ready { opacity: 1 }
.site-preview__cta { position: absolute; right: 10px; bottom: 10px; z-index: 2; margin-top: calc(-1 * var(--lqm-pad)) }
.site-preview:focus-visible { outline: 2px solid #fff; outline-offset: 4px }

/* A separate browsing context below the unchanged, still-interactive navbar. */
.website-dialog {
  position: fixed; inset: var(--website-top, var(--hdr-h)) 0 0; z-index: 59;
  width: 100%; height: calc(100dvh - var(--website-top, var(--hdr-h))); max-width: none; max-height: none; margin: 0; padding: 0;
  border: 1px solid rgba(255,255,255,.4); border-bottom: 0; border-radius: 10px 10px 0 0;
  background: #fff; color: #0b2d5c; box-shadow: 0 12px 60px rgba(0,12,38,.25); overflow: hidden;
}
.website-dialog[open] { display: flex; flex-direction: column }
.website-dialog__bar {
  display: flex; justify-content: flex-end; align-items: center; flex: 0 0 28px;
  border-bottom: 1px solid #dfe4ec;
}
.website-dialog__close { width: 44px; height: 28px; flex: 0 0 44px; padding: 0; font-size: 15px; line-height: 1 }
/* The site is pinned to the content box rather than given a percentage height:
   a percentage resolved through a flex item whose own height comes from
   flex-grow is the one thing mobile Safari gets wrong here, and it left a strip
   of the dialog's own white showing under the site. */
.website-dialog__content { position: relative; min-height: 0; flex: 1; overflow: hidden }
.website-dialog iframe { position: absolute; inset: 0; display: block; width: 100%; height: 100%; border: 0; background: #fff }
.website-dialog__status { position: absolute; inset: 0; display: grid; place-content: center; margin: 0; padding: 24px; text-align: center; background: #f5f5f5 }
.website-dialog__status[hidden] { display: none }
.website-dialog a:focus-visible, .website-dialog button:focus-visible { outline: 2px solid #0b2d5c; outline-offset: -3px }
html.website-open { overflow-anchor: none }
.hdr { transition: box-shadow .34s ease }
.website-open:not(.website-closing) .hdr {
  box-shadow: 0 8px 24px rgba(0,12,38,.22);
}
.website-open .tod { visibility: hidden }
@media (prefers-reduced-motion: reduce) { .hdr { transition: none } }
