/* Approved portrait demo, scoped to app advertising surfaces. */
.app-demo { width:100%;max-width:360px;margin:0 auto;color:var(--stone-600);min-width:0; }
.app-demo__screen { position:relative;width:100%;aspect-ratio:9/16;overflow:hidden;border-radius:18px;background:#143d39;box-shadow:0 20px 55px rgba(20,61,57,.16); }
.app-demo__poster,.app-demo__video { display:block;width:100%;height:100%;object-fit:contain; }
.app-demo__video { position:absolute;inset:0;opacity:0;pointer-events:none; }
.app-demo[data-playing="true"] .app-demo__video { opacity:1; }
.app-demo[data-playing="true"] .app-demo__poster { visibility:hidden; }
.app-demo__caption { display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:52px;font-size:.8125rem;line-height:1.4;text-align:left; }
.app-demo__toggle { font:inherit;font-weight:700;color:#175e66;background:transparent;border:0;border-radius:4px;min-height:44px;padding:8px 2px;cursor:pointer;text-decoration:underline;text-underline-offset:3px; }
.app-demo__toggle[hidden] { display:none; }
.app-demo__toggle:focus-visible { outline:3px solid #175e66;outline-offset:3px; }
.hero .app-demo-hero { flex:0 1 360px;max-width:360px;width:100%;min-width:0;transform:none; }
.hero .app-demo-hero .app-demo { width:100%; }
.tool-app-preview .app-demo { max-width:340px; }
.app-demo-section { padding:48px 0 64px;background:var(--background-alt); }
.app-demo-section__layout { display:grid;grid-template-columns:minmax(0,1fr);gap:32px;align-items:center; }
.app-demo-section__copy { max-width:540px;min-width:0; }
.app-demo-section__copy h2 { font-size:clamp(1.75rem,3vw,2.5rem);line-height:1.2;margin:0 0 20px; }
.app-demo-section__copy p { font-size:1.0625rem;line-height:1.7;margin:0 0 24px; }
@media(min-width:768px) { .app-demo-section__layout { grid-template-columns:minmax(0,1fr) minmax(0,360px);gap:64px; } }
@media(min-width:768px) and (max-width:959px) { .hero .container:has(.app-demo-hero) { flex-direction:column; } .hero .container:has(.app-demo-hero) .hero-content { width:100%; } .hero .app-demo-hero { flex-basis:auto; } }
@media(prefers-reduced-motion:reduce) { .app-demo * { animation:none!important;transition:none!important; } }
